mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-21 12:10:24 +09:00
ARM: igep00x0.h: Enable the use of CMD_EXT4, CMD_FS_GENERIC and zImage.
Able to load the kernel from some form of ext[234] or FAT. Also, with v3.9 and later of the Linux Kernel, uImage isn't builtable anymore by default, so we should switch to use the bootz command. Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
This commit is contained in:
parent
0474fb0e2b
commit
2be6bed003
@ -98,8 +98,9 @@
|
|||||||
#include <config_cmd_default.h>
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
#define CONFIG_CMD_CACHE
|
#define CONFIG_CMD_CACHE
|
||||||
#define CONFIG_CMD_EXT2 /* EXT2 Support */
|
#define CONFIG_CMD_EXT4
|
||||||
#define CONFIG_CMD_FAT /* FAT support */
|
#define CONFIG_CMD_FAT /* FAT support */
|
||||||
|
#define CONFIG_CMD_FS_GENERIC
|
||||||
#define CONFIG_CMD_I2C /* I2C serial bus support */
|
#define CONFIG_CMD_I2C /* I2C serial bus support */
|
||||||
#define CONFIG_CMD_MMC /* MMC support */
|
#define CONFIG_CMD_MMC /* MMC support */
|
||||||
#ifdef CONFIG_BOOT_ONENAND
|
#ifdef CONFIG_BOOT_ONENAND
|
||||||
@ -164,17 +165,17 @@
|
|||||||
"omapdss.def_disp=${defaultdisplay} " \
|
"omapdss.def_disp=${defaultdisplay} " \
|
||||||
"root=${nandroot} " \
|
"root=${nandroot} " \
|
||||||
"rootfstype=${nandrootfstype}\0" \
|
"rootfstype=${nandrootfstype}\0" \
|
||||||
"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
||||||
"importbootenv=echo Importing environment from mmc ...; " \
|
"importbootenv=echo Importing environment from mmc ...; " \
|
||||||
"env import -t $loadaddr $filesize\0" \
|
"env import -t $loadaddr $filesize\0" \
|
||||||
"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
|
"loadzimage=load mmc ${mmcdev} ${loadaddr} zImage\0" \
|
||||||
"mmcboot=echo Booting from mmc ...; " \
|
"mmcboot=echo Booting from mmc ...; " \
|
||||||
"run mmcargs; " \
|
"run mmcargs; " \
|
||||||
"bootm ${loadaddr}\0" \
|
"bootz ${loadaddr}\0" \
|
||||||
"nandboot=echo Booting from onenand ...; " \
|
"nandboot=echo Booting from onenand ...; " \
|
||||||
"run nandargs; " \
|
"run nandargs; " \
|
||||||
"onenand read ${loadaddr} 280000 400000; " \
|
"onenand read ${loadaddr} 280000 400000; " \
|
||||||
"bootm ${loadaddr}\0" \
|
"bootz ${loadaddr}\0" \
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"mmc dev ${mmcdev}; if mmc rescan; then " \
|
"mmc dev ${mmcdev}; if mmc rescan; then " \
|
||||||
@ -186,7 +187,7 @@
|
|||||||
"echo Running uenvcmd ...;" \
|
"echo Running uenvcmd ...;" \
|
||||||
"run uenvcmd;" \
|
"run uenvcmd;" \
|
||||||
"fi;" \
|
"fi;" \
|
||||||
"if run loaduimage; then " \
|
"if run loadzimage; then " \
|
||||||
"run mmcboot;" \
|
"run mmcboot;" \
|
||||||
"fi;" \
|
"fi;" \
|
||||||
"fi;" \
|
"fi;" \
|
||||||
|
Loading…
Reference in New Issue
Block a user