mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
8cb330355b
Prepare the introduction of the lwIP (lightweight IP) TCP/IP stack by adding a new net/lwip/ directory and the NET_LWIP symbol. Network support is either NO_NET, NET (legacy stack) or NET_LWIP. Subsequent commits will introduce the lwIP code, re-work the NETDEVICE integration and port some of the NET commands and features to lwIP. SPL_NET cannot be enabled when NET_LWIP=y. SPL_NET pulls some symbols that are part of NET (such as arp_init(), arp_timeout_check(), arp_receive(), net_arp_wait_packet_ip()). lwIP support in SPL may be added later. Similarly, DFU_TFTP and FASTBOOT are not compatible with NET_LWIP because of dependencies on net_loop(), tftp_timeout_ms, tftp_timeout_count_max and other NET things. Let's add a dependency on !NET_LWIP for now. SANDBOX can select NET_LWIP but doing so will currently disable the eth dm tests as well as the wget tests which have strong dependencies on the NET code. Other adjustments to Kconfig files are made to fix "unmet direct dependencies detected" for USB_FUNCTION_SDP and CMD_FASTBOOT when the default networking stack is set to NET_LWIP ("default NET_LWIP" instead of "default NET" in Kconfig). The networking stack is now a choice between NO_NET, NET and NET_LWIP. Therefore '# CONFIG_NET is not set' should be 'CONFIG_NO_NET=y'. Adjust the defconfigs accordingly. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
123 lines
3.2 KiB
Plaintext
123 lines
3.2 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_AT91=y
|
|
CONFIG_TEXT_BASE=0x66f00000
|
|
CONFIG_SYS_MALLOC_LEN=0x1000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x40000
|
|
CONFIG_TARGET_SAMA7G54_CURIOSITY=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x60044000
|
|
CONFIG_SF_DEFAULT_SPEED=50000000
|
|
CONFIG_ENV_SIZE=0x4000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91-sama7g54_curiosity"
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_DM_RESET=y
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_SYS_LOAD_ADDR=0x62000000
|
|
CONFIG_SYS_MEMTEST_START=0x60000000
|
|
CONFIG_SYS_MEMTEST_END=0x68000000
|
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
|
# CONFIG_EFI_LOADER is not set
|
|
CONFIG_FIT=y
|
|
# CONFIG_BOOTSTD is not set
|
|
CONFIG_NAND_BOOT=y
|
|
CONFIG_QSPI_BOOT=y
|
|
CONFIG_SD_BOOT=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait"
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="fatload mmc 1:1 0x61000000 at91-sama7g54_curiosity.dtb; fatload mmc 1:1 0x62000000 zImage; bootz 0x62000000 - 0x61000000"
|
|
CONFIG_LOGLEVEL=6
|
|
CONFIG_BOARD_TYPES=y
|
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_CPU=y
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_MEM_SEARCH=y
|
|
CONFIG_CMD_MX_CYCLIC=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_STRINGS=y
|
|
CONFIG_CMD_CLK=y
|
|
CONFIG_CMD_DM=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_LSBLK=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_NAND_TRIMFFS=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_NAND_TORTURE=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_CAT=y
|
|
CONFIG_CMD_XXD=y
|
|
CONFIG_CMD_RTC=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_MTDPARTS_SPREAD=y
|
|
CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=nand0,nor0=nor0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand0:256k(bootstrap-nand)ro,1M(u-boot-nand)ro,256k(env-nand)ro,512k(dtb-nand)ro,6M(kernel-nand)ro,-(rootfs-nand)ro;nor0:256k(bootstrap-nor)ro,1M(u-boot-nor)ro,256k(env-nor)ro,512k(dtb-nor)ro,6M(kernel-nor)ro"
|
|
CONFIG_OF_CONTROL=y
|
|
# CONFIG_OF_TAG_MIGRATE is not set
|
|
CONFIG_ENV_IS_IN_FAT=y
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_USE_HOSTNAME=y
|
|
CONFIG_HOSTNAME="SAMA7G54"
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_CCF=y
|
|
CONFIG_CLK_AT91=y
|
|
CONFIG_AT91_UTMI=y
|
|
CONFIG_AT91_GENERIC_CLK=y
|
|
CONFIG_AT91_SAM9X60_PLL=y
|
|
CONFIG_CPU=y
|
|
CONFIG_ATMEL_PIO4=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
|
CONFIG_SYS_I2C_AT91=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_ATMEL_EBI=y
|
|
CONFIG_MFD_ATMEL_SMC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_MICROCHIP_FLEXCOM=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_ATMEL=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_DM_NAND_ATMEL=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
|
|
CONFIG_SPI_FLASH_SST=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_AT91PIO4=y
|
|
CONFIG_RESET_AT91=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_EMULATION=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_ATMEL_USART=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_ATMEL_QSPI=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_AT91=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_MCHP_PIT64B_TIMER=y
|
|
CONFIG_CMD_DHRYSTONE=y
|
|
CONFIG_PHANDLE_CHECK_SEQ=y
|