mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
8c2d42d526
There is a regression seen on Poplar platform, which doesn't even show
a U-Boot version banner on booting. It turns out that due to landing
of commit 3a7c45f6a7
("simple-bus: add DM_FLAG_PRE_RELOC flag to
simple-bus driver"), we need to increase SYS_MALLOC_F_LEN from its
default size 0x400, as pre-relocation requires more memory there. Let's
increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression.
Thanks to Andreas Färber <afaerber@suse.de> for reporting, and Bin Meng
<bmeng.cn@gmail.com> for trouble shooting.
Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
37 lines
993 B
Text
37 lines
993 B
Text
CONFIG_ARM=y
|
|
CONFIG_TARGET_POPLAR=y
|
|
CONFIG_SYS_TEXT_BASE=0x37000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_IDENT_STRING="poplar"
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
CONFIG_SYS_PROMPT="poplar# "
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_ISO_PARTITION is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="hi3798cv200-poplar"
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x20000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x10000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_DW_K3=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_HIGMACV300_ETH=y
|
|
CONFIG_RESET_HISILICON=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="HiSilicon"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_FAT_WRITE=y
|