u-boot/rpi_b-bootscr.patch

25 lines
742 B
Diff

Index: u-boot-2013.10/include/configs/rpi_b.h
===================================================================
--- u-boot-2013.10.orig/include/configs/rpi_b.h
+++ u-boot-2013.10/include/configs/rpi_b.h
@@ -130,8 +130,8 @@
"boot_targets=mmc0\0" \
\
"script_boot=" \
- "if fatload ${devtype} ${devnum}:1 " \
- "${scriptaddr} boot.scr.uimg; then " \
+ "if ext2load ${devtype} ${devnum}:2 " \
+ "${scriptaddr} boot.scr; then " \
"source ${scriptaddr}; " \
"fi;\0" \
\
@@ -167,7 +167,7 @@
#define CONFIG_CMD_PART
#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT
+#define CONFIG_CMD_EXT2
/* Some things don't make sense on this HW or yet */
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_NET