mirror of
https://github.com/Fishwaldo/build.git
synced 2025-04-01 19:51:21 +00:00
22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
diff --git a/u-boot-pine64/include/configs/sun50iw1p1.h b/u-boot-pine64/include/configs/sun50iw1p1.h
|
|
index ccbad4a..f0650ed 100644
|
|
--- a/u-boot-pine64/include/configs/sun50iw1p1.h
|
|
+++ b/u-boot-pine64/include/configs/sun50iw1p1.h
|
|
@@ -352,7 +352,7 @@
|
|
"initrd_filename=initrd.img\0" \
|
|
"bootenv_filename=uEnv.txt\0" \
|
|
"load_bootenv=" \
|
|
- "fatload mmc ${boot_part} ${load_addr} ${bootenv_filename}\0" \
|
|
+ "ext4load mmc ${boot_part} ${load_addr} /boot/${bootenv_filename} || fatload mmc ${boot_part} ${load_addr} ${bootenv_filename} || ext4load mmc ${boot_part} ${load_addr} /boot/${bootenv_filename}\0" \
|
|
"import_bootenv=" \
|
|
"env import -t ${load_addr} ${filesize}\0" \
|
|
"load_dtb=" \
|
|
@@ -368,7 +368,7 @@
|
|
"fatload mmc ${boot_part} ${initrd_addr} ${initrd_filename}; "\
|
|
"setenv initrd_size ${filesize}\0" \
|
|
"load_bootscript=" \
|
|
- "fatload mmc ${boot_part} ${load_addr} ${script}\0" \
|
|
+ "ext4load mmc ${boot_part} ${load_addr} /boot/${script} || fatload mmc ${boot_part} ${load_addr} ${script} || ext4load mmc ${boot_part} ${load_addr} ${script}\0" \
|
|
"scriptboot=source ${load_addr}\0" \
|
|
"set_cmdline=" \
|
|
"setenv bootargs console=${console} ${optargs} " \
|