davinci: omapl138_lcdk: boot from zImage
Stop booting legacy uImage and now boot zImage. Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
1c9021d622
commit
963ed6f323
|
@ -13,6 +13,7 @@ CONFIG_SPL=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="U-Boot > "
|
CONFIG_SYS_PROMPT="U-Boot > "
|
||||||
|
CONFIG_CMD_BOOTZ=y
|
||||||
# CONFIG_CMD_IMLS is not set
|
# CONFIG_CMD_IMLS is not set
|
||||||
CONFIG_CMD_ASKENV=y
|
CONFIG_CMD_ASKENV=y
|
||||||
# CONFIG_CMD_FLASH is not set
|
# CONFIG_CMD_FLASH is not set
|
||||||
|
|
|
@ -247,7 +247,7 @@
|
||||||
*/
|
*/
|
||||||
#define CONFIG_MISC_INIT_R
|
#define CONFIG_MISC_INIT_R
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
#define CONFIG_BOOTFILE "uImage" /* Boot file name */
|
#define CONFIG_BOOTFILE "zImage" /* Boot file name */
|
||||||
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
|
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
|
||||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
|
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
|
||||||
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
|
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
|
||||||
|
@ -276,19 +276,20 @@
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"fdtaddr=0xc0600000\0" \
|
"fdtaddr=0xc0600000\0" \
|
||||||
"fdtfile=da850-lcdk.dtb\0" \
|
"fdtfile=da850-lcdk.dtb\0" \
|
||||||
"fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
|
"fdtboot=bootz 0xc0700000 - ${fdtaddr};\0" \
|
||||||
"mmcboot=" \
|
"mmcboot=" \
|
||||||
"if fatload mmc 0 0xc0600000 boot.scr; then " \
|
"if fatload mmc 0 0xc0600000 boot.scr; then " \
|
||||||
"source 0xc0600000; " \
|
"source 0xc0600000; " \
|
||||||
"else " \
|
"else " \
|
||||||
"fatload mmc 0 0xc0700000 uImage; " \
|
"fatload mmc 0 0xc0700000 " \
|
||||||
|
__stringify(CONFIG_BOOTFILE) "; " \
|
||||||
"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
|
"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
|
||||||
"run fdtboot; " \
|
"run fdtboot; " \
|
||||||
"fi;\0" \
|
"fi;\0" \
|
||||||
"spiboot=" \
|
"spiboot=" \
|
||||||
"sf probe 0; " \
|
"sf probe 0; " \
|
||||||
"sf read 0xc0700000 0x80000 0x220000; " \
|
"sf read 0xc0700000 0x80000 0x220000; " \
|
||||||
"bootm 0xc0700000;\0"
|
"bootz 0xc0700000;\0"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* U-Boot commands
|
* U-Boot commands
|
||||||
|
|
Loading…
Reference in New Issue