forked from pool/u-boot
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
|
Index: u-boot-2012.04.01/include/configs/mx53loco.h
|
||
|
===================================================================
|
||
|
--- u-boot-2012.04.01.orig/include/configs/mx53loco.h
|
||
|
+++ u-boot-2012.04.01/include/configs/mx53loco.h
|
||
|
@@ -56,6 +56,7 @@
|
||
|
#define CONFIG_CMD_MMC
|
||
|
#define CONFIG_GENERIC_MMC
|
||
|
#define CONFIG_CMD_FAT
|
||
|
+#define CONFIG_CMD_EXT2
|
||
|
#define CONFIG_DOS_PARTITION
|
||
|
|
||
|
/* Eth Configs */
|
||
|
@@ -106,6 +107,8 @@
|
||
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||
|
"script=boot.scr\0" \
|
||
|
"uimage=uImage\0" \
|
||
|
+ "kerneladdr=0x70800000\0" \
|
||
|
+ "ramdiskaddr=0x72000000\0" \
|
||
|
"mmcdev=0\0" \
|
||
|
"mmcpart=2\0" \
|
||
|
"mmcroot=/dev/mmcblk0p3 rw\0" \
|
||
|
@@ -114,10 +117,10 @@
|
||
|
"root=${mmcroot} " \
|
||
|
"rootfstype=${mmcrootfstype}\0" \
|
||
|
"loadbootscript=" \
|
||
|
- "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
|
||
|
+ "ext2load mmc ${mmcdev} ${loadaddr} ${script};\0" \
|
||
|
"bootscript=echo Running bootscript from mmc ...; " \
|
||
|
"source\0" \
|
||
|
- "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
|
||
|
+ "loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
|
||
|
"mmcboot=echo Booting from mmc ...; " \
|
||
|
"run mmcargs; " \
|
||
|
"bootm\0" \
|