SHA256
1
0
forked from pool/u-boot
u-boot/mx53loco-bootscr.patch

41 lines
1.5 KiB
Diff
Raw Normal View History

Index: u-boot-2013.04rc2/include/configs/mx53loco.h
===================================================================
--- u-boot-2013.04rc2.orig/include/configs/mx53loco.h
+++ u-boot-2013.04rc2/include/configs/mx53loco.h
@@ -106,6 +106,7 @@
/* Command definition */
#include <config_cmd_default.h>
#define CONFIG_CMD_BOOTZ
+#define CONFIG_SUPPORT_RAW_INITRD /* bootz raw initrd support */
#undef CONFIG_CMD_IMLS
@@ -119,20 +120,22 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"script=boot.scr\0" \
"uimage=uImage\0" \
+ "kerneladdr=0x70800000\0" \
+ "ramdiskaddr=0x7e000000\0" \
"fdt_file=imx53-qsb.dtb\0" \
- "fdt_addr=0x71000000\0" \
+ "fdt_addr=0x7d800000\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \
"mmcdev=0\0" \
- "mmcpart=2\0" \
+ "mmcpart=1\0" \
"mmcroot=/dev/mmcblk0p3 rw rootwait\0" \
"mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
"loadbootscript=" \
- "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+ "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
"source\0" \
- "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
- "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
+ "loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
+ "loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \