diff --git a/boot-script/Makefile b/boot-script/Makefile index 3745de5..c638388 100644 --- a/boot-script/Makefile +++ b/boot-script/Makefile @@ -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 diff --git a/boot-script/emmc.cmd b/boot-script/emmc.cmd index 9ac235e..de1fdfa 100644 --- a/boot-script/emmc.cmd +++ b/boot-script/emmc.cmd @@ -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'