make something to image a box
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
39848c3725
commit
7cd618bf6d
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
|
||||
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
|
||||
sync
|
||||
|
|
|
@ -49,7 +49,7 @@ toms-recent-commits:
|
|||
git log --pretty=format:"%ad:%an:%d:%B" --date=short --reverse --all --since=2.months.ago --author=trini
|
||||
|
||||
# builds and runs on Jan 1 2019
|
||||
build-pinebook
|
||||
build-pinebook:
|
||||
export CROSS_COMPILE=/home/pinebook/cross-compilers/gcc-linaro/bin/aarch64-linux-gnu-
|
||||
git checkout anarsoul/pinebook-wip-20181109
|
||||
make pinebook_defconfig
|
||||
|
@ -191,3 +191,11 @@ brom64:
|
|||
mmc part
|
||||
fatwrite mmc 0 0 brom_a64.bin 0x10000
|
||||
aarch64-linux-gnu-objdump -D -b binary -marm brom_a64.bin
|
||||
|
||||
install-internal-emmc:
|
||||
parted /dev/mmcblk2 mklabel msdos
|
||||
parted /dev/mmcblk2 mkpart primary ext4 1MiB 15.5GB
|
||||
mkfs.ext4 /dev/mmcblk2p1
|
||||
mount /dev/mmcblk2p1 /mnt/test/
|
||||
cd /mnt/test ; tar xfj /root/mmcblk2p1.tar.bz2
|
||||
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
|
||||
|
|
Loading…
Reference in New Issue