From 39848c3725f20c021c9e60efb073379169b01e9a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 13 Jan 2019 22:42:44 -0800 Subject: [PATCH] correct booting off sdcard Signed-off-by: Jeff Carr --- Makefile | 2 +- boot-script/simplesdcard.cmd | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 404c1d2..9547700 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: push: git pull git add --all - -git commit -a + -git commit -a -s git push update: diff --git a/boot-script/simplesdcard.cmd b/boot-script/simplesdcard.cmd index 53ac844..fc4d575 100644 --- a/boot-script/simplesdcard.cmd +++ b/boot-script/simplesdcard.cmd @@ -4,16 +4,16 @@ # mkimage -C none -A arm -T script -d simple.cmd simple.scr # then, at the u-boot prompt run: -# ext4load mmc 1:1 ${scriptaddr} /root/pinebook/boot-script/simple.scr +# ext4load mmc 0:1 ${scriptaddr} /root/pinebook/boot-script/simple.scr # source ${scriptaddr} ### BOOT SCRIPT START #### ### BOOT SCRIPT START #### ### BOOT SCRIPT START #### -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 +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 setenv bootargs 'root=/dev/mmcblk0p1 console=ttyS0,115200 console=tty1'