correct booting off sdcard
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
7a79cf8d78
commit
39848c3725
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ all:
|
||||||
push:
|
push:
|
||||||
git pull
|
git pull
|
||||||
git add --all
|
git add --all
|
||||||
-git commit -a
|
-git commit -a -s
|
||||||
git push
|
git push
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
|
|
@ -4,16 +4,16 @@
|
||||||
# mkimage -C none -A arm -T script -d simple.cmd simple.scr
|
# mkimage -C none -A arm -T script -d simple.cmd simple.scr
|
||||||
|
|
||||||
# then, at the u-boot prompt run:
|
# 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}
|
# source ${scriptaddr}
|
||||||
|
|
||||||
### BOOT SCRIPT START ####
|
### BOOT SCRIPT START ####
|
||||||
### BOOT SCRIPT START ####
|
### BOOT SCRIPT START ####
|
||||||
### BOOT SCRIPT START ####
|
### BOOT SCRIPT START ####
|
||||||
|
|
||||||
ext4load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64
|
ext4load mmc 0: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 0: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 ${fdt_addr_r} /boot/dtb/allwinner/sun50i-a64-pinebook.dtb
|
||||||
|
|
||||||
setenv bootargs 'root=/dev/mmcblk0p1 console=ttyS0,115200 console=tty1'
|
setenv bootargs 'root=/dev/mmcblk0p1 console=ttyS0,115200 console=tty1'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue