178cbadb52
With recently added wireless offloading features in Linux [1] the number of reserved memory regions with MediaTek SoCs supporting offloading wireless-to-Ethernet traffic grew beyond the default (8) which breaks booting Linux: ERROR: Failed to allocate 0xa6ac bytes below 0xc0000000. device tree - allocation error FDT creation failed! resetting ... Raise CONFIG_LMB_MAX_REGIONS to 64 like it is already done for other SoCs which require a larger number of reserved memory regions, eg. exynos78x0 based a3y17lte, a5y17lte and a7y17lte or dragonboard845c. [1]: https://lore.kernel.org/netdev/e3489a697b404bd47447190cd2e5adf090ae61c2.1667687249.git.lorenzo@kernel.org/ https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=eed4f1ddad8c5ad7596b229caec8bd7b477b81ee Signed-off-by: Daniel Golle <daniel@makrotopia.org>
68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SYS_HAS_NONCACHED_MEMORY=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_TEXT_BASE=0x41e00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt7986a-rfb"
|
|
CONFIG_SYS_PROMPT="MT7986> "
|
|
CONFIG_TARGET_MT7986=y
|
|
CONFIG_DEBUG_UART_BASE=0x11002000
|
|
CONFIG_DEBUG_UART_CLOCK=40000000
|
|
CONFIG_SYS_LOAD_ADDR=0x46000000
|
|
CONFIG_DEBUG_UART=y
|
|
# CONFIG_AUTOBOOT is not set
|
|
CONFIG_DEFAULT_FDT_FILE="mt7986a-rfb"
|
|
CONFIG_LOGLEVEL=7
|
|
CONFIG_LOG=y
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=1049
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
# CONFIG_BOOTM_PLAN9 is not set
|
|
# CONFIG_BOOTM_RTEMS is not set
|
|
# CONFIG_BOOTM_VXWORKS is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_UNLZ4 is not set
|
|
# CONFIG_CMD_UNZIP is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_SMC=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_CLK=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
|
|
CONFIG_SPI_FLASH_EON=y
|
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
CONFIG_SPI_FLASH_ISSI=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_SPI_FLASH_XMC=y
|
|
CONFIG_SPI_FLASH_XTX=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_PHY_FIXED=y
|
|
CONFIG_MEDIATEK_ETH=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCONF=y
|
|
CONFIG_PINCTRL_MT7986=y
|
|
CONFIG_POWER_DOMAIN=y
|
|
CONFIG_MTK_POWER_DOMAIN=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_MTK_SPIM=y
|
|
CONFIG_HEXDUMP=y
|
|
CONFIG_LMB_MAX_REGIONS=64
|