armbian-build/patch/u-boot/u-boot-s5p6818/u-boot-s5p6818-default.patch

13 lines
574 B
Diff

diff --git a/include/configs/s5p6818_nanopim3.h b/include/configs/s5p6818_nanopim3.h
index 88f81f2..730fec5
--- a/include/configs/s5p6818_nanopim3.h
+++ b/include/configs/s5p6818_nanopim3.h
@@ -299,6 +299,7 @@
"console=ttySAC0,115200n8 initrd=0x49000000,0x400000 root=/dev/mmcblk2p1 console=tty1"
#define CONFIG_BOOTCOMMAND \
+ "if test -e mmc 1:1 boot/boot.scr; then ext4load mmc 1:1 0x49000000 boot/boot.scr; source 0x49000000; fi; " \
"ext4load mmc 1:1 0x48000000 boot/Image; " \
"mw 0x49000000 0 0x400000; " \
"ext4load mmc 1:1 0x49000000 boot/uInitrd; " \