mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00

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>
80 lines
2.3 KiB
Text
80 lines
2.3 KiB
Text
CONFIG_RISCV=y
|
|
CONFIG_TEXT_BASE=0x80200000
|
|
CONFIG_SYS_MALLOC_LEN=0x10000000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="openpiton-riscv64"
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_SYS_BOOTM_LEN=0x10000000
|
|
CONFIG_SYS_LOAD_ADDR=0x87000000
|
|
CONFIG_TARGET_OPENPITON_RISCV64=y
|
|
CONFIG_ARCH_RV64I=y
|
|
CONFIG_CMODEL_MEDANY=y
|
|
CONFIG_RISCV_SMODE=y
|
|
CONFIG_OF_BOARD_FIXUP=y
|
|
# CONFIG_LOCALVERSION_AUTO is not set
|
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
|
# CONFIG_EXPERT is not set
|
|
# CONFIG_EFI_LOADER is not set
|
|
# CONFIG_LEGACY_IMAGE_FORMAT is not set
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="fdt addr ${fdtcontroladdr}; fdt move ${fdtcontroladdr} ${fdt_addr_r}; load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} ${image}; booti ${kernel_addr_r} - ${fdt_addr_r}; "
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=284
|
|
CONFIG_SYS_PROMPT="openpiton$ "
|
|
# CONFIG_CMD_CPU is not set
|
|
CONFIG_CMD_BOOTZ=y
|
|
# 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_RUN is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
CONFIG_CMD_MEMINFO=y
|
|
# CONFIG_CMD_LZMADEC is not set
|
|
# CONFIG_CMD_UNLZ4 is not set
|
|
# CONFIG_CMD_UNZIP is not set
|
|
CONFIG_CMD_GPT=y
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_LSBLK=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_READ=y
|
|
# CONFIG_CMD_ECHO is not set
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_BLOCK_CACHE is not set
|
|
# CONFIG_CMD_DATE is not set
|
|
# CONFIG_CMD_SLEEP is not set
|
|
CONFIG_CMD_SYSBOOT=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
# CONFIG_DOS_PARTITION is not set
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_CPU=y
|
|
CONFIG_MMC=y
|
|
# CONFIG_MMC_WRITE is not set
|
|
# CONFIG_MMC_HW_PARTITIONING is not set
|
|
# CONFIG_MMC_VERBOSE is not set
|
|
CONFIG_MMC_PITON=y
|
|
CONFIG_RAM=y
|
|
# CONFIG_RAM_SIFIVE is not set
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_FS_SQUASHFS=y
|
|
# CONFIG_RANDOM_UUID is not set
|
|
CONFIG_SHA256=y
|
|
CONFIG_MD5=y
|
|
CONFIG_GETOPT=y
|