|
|
@ -110,6 +110,12 @@ |
|
|
|
#define CONFIG_NET_RETRY_COUNT 100 |
|
|
|
#define CONFIG_NET_RETRY_COUNT 100 |
|
|
|
#define CONFIG_CMD_DATE |
|
|
|
#define CONFIG_CMD_DATE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define CONFIG_CMD_MMC |
|
|
|
|
|
|
|
#define CONFIG_DOS_PARTITION |
|
|
|
|
|
|
|
#define CONFIG_EFI_PARTITION |
|
|
|
|
|
|
|
#define CONFIG_CMD_EXT2 |
|
|
|
|
|
|
|
#define CONFIG_CMD_FAT |
|
|
|
|
|
|
|
|
|
|
|
#define CONFIG_BOOTDELAY 3 |
|
|
|
#define CONFIG_BOOTDELAY 3 |
|
|
|
|
|
|
|
|
|
|
|
#define CONFIG_LOADADDR 0x80800000 /* loadaddr env var */ |
|
|
|
#define CONFIG_LOADADDR 0x80800000 /* loadaddr env var */ |
|
|
@ -237,6 +243,13 @@ |
|
|
|
#define CONFIG_MXC_NAND_HWECC |
|
|
|
#define CONFIG_MXC_NAND_HWECC |
|
|
|
#define CONFIG_SYS_NAND_LARGEPAGE |
|
|
|
#define CONFIG_SYS_NAND_LARGEPAGE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* mmc driver */ |
|
|
|
|
|
|
|
#define CONFIG_MMC |
|
|
|
|
|
|
|
#define CONFIG_GENERIC_MMC |
|
|
|
|
|
|
|
#define CONFIG_FSL_ESDHC |
|
|
|
|
|
|
|
#define CONFIG_SYS_FSL_ESDHC_ADDR 0 |
|
|
|
|
|
|
|
#define CONFIG_SYS_FSL_ESDHC_NUM 1 |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Default environment and default scripts |
|
|
|
* Default environment and default scripts |
|
|
|
* to update uboot and load kernel |
|
|
|
* to update uboot and load kernel |
|
|
@ -278,8 +291,8 @@ |
|
|
|
"u-boot=" xstr(CONFIG_HOSTNAME) "/u-boot.bin\0" \
|
|
|
|
"u-boot=" xstr(CONFIG_HOSTNAME) "/u-boot.bin\0" \
|
|
|
|
"load=tftp ${loadaddr} ${u-boot}\0" \
|
|
|
|
"load=tftp ${loadaddr} ${u-boot}\0" \
|
|
|
|
"uboot_addr=" xstr(CONFIG_SYS_MONITOR_BASE) "\0" \
|
|
|
|
"uboot_addr=" xstr(CONFIG_SYS_MONITOR_BASE) "\0" \
|
|
|
|
"update=protect off ${uboot_addr} +40000;" \
|
|
|
|
"update=protect off ${uboot_addr} +80000;" \
|
|
|
|
"erase ${uboot_addr} +40000;" \
|
|
|
|
"erase ${uboot_addr} +80000;" \
|
|
|
|
"cp.b ${loadaddr} ${uboot_addr} ${filesize}\0" \
|
|
|
|
"cp.b ${loadaddr} ${uboot_addr} ${filesize}\0" \
|
|
|
|
"upd=if run load;then echo Updating u-boot;if run update;" \
|
|
|
|
"upd=if run load;then echo Updating u-boot;if run update;" \
|
|
|
|
"then echo U-Boot updated;" \
|
|
|
|
"then echo U-Boot updated;" \
|
|
|
|