mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
89c832cfe7
U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" followed by a "reset" causes U-Boot to hang because of this overlap. Fix this problem by increasing the CONFIG_ENV_OFFSET size. Also, in order to prevent this same problem to happen in the future, use CONFIG_BOARD_SIZE_LIMIT, which will detect the overlap in build-time. CONFIG_BOARD_SIZE_LIMIT does not accept math expressions, so declare CONFIG_ENV_OFFSET with its direct value instead. Signed-off-by: Fabio Estevam <festevam@gmail.com>
42 lines
972 B
Text
42 lines
972 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX5=y
|
|
CONFIG_SYS_TEXT_BASE=0x97800000
|
|
CONFIG_TARGET_MX51EVK=y
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xC0000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
# CONFIG_CMD_BMODE is not set
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx51evk/imximage.cfg"
|
|
CONFIG_USE_PREBOOT=y
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_FUSE=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_DATE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_FSL_ESDHC_IMX=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MII=y
|
|
CONFIG_SPI=y
|
|
CONFIG_MXC_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_MX5=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_USB_ETHER_SMSC95XX=y
|
|
CONFIG_VIDEO_IPUV3=y
|
|
CONFIG_VIDEO=y
|
|
# CONFIG_VIDEO_SW_CURSOR is not set
|
|
CONFIG_OF_LIBFDT=y
|