fix boot off emmc and sdcard
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
7a8d9bc106
commit
6a78153883
|
@ -16,9 +16,11 @@ others:
|
|||
sdcard:
|
||||
mkimage -C none -A arm -T script -d sdcard.cmd sdcard.scr
|
||||
cp -a sdcard.* /boot/
|
||||
cp -a sdcard.* /home/sdcard/boot/
|
||||
sync
|
||||
|
||||
emmc:
|
||||
mkimage -C none -A arm -T script -d emmc.cmd emmc.scr
|
||||
cp -a emmc.* /boot/
|
||||
cp -a emmc.* /home/internal-mmc/boot/
|
||||
sync
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
### BOOT SCRIPT START ####
|
||||
### BOOT SCRIPT START ####
|
||||
|
||||
ext4load mmc 0:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64
|
||||
ext4load mmc 0:1 ${kernel_addr_r} /boot/vmlinuz-4.19.2-sunxi64
|
||||
ext4load mmc 0:1 ${fdt_addr_r} /boot/dtb/allwinner/sun50i-a64-pinebook.dtb
|
||||
ext4load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64
|
||||
ext4load mmc 1:1 ${kernel_addr_r} /boot/vmlinuz-4.19.2-sunxi64
|
||||
ext4load mmc 1:1 ${fdt_addr_r} /boot/dtb/allwinner/sun50i-a64-pinebook.dtb
|
||||
|
||||
setenv bootargs 'root=/dev/mmcblk2p1 console=ttyS0,115200 console=tty0'
|
||||
|
||||
|
|
Loading…
Reference in New Issue