mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Merge patch series "Introduce the lwIP network stack"
Jerome Forissier <jerome.forissier@linaro.org> says: This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP stack [2] [3] as an alternative to the current implementation in net/, selectable with Kconfig, and ultimately keep only lwIP if possible. Some reasons for doing so are: - Make the support of HTTPS in the wget command easier. Javier T. and Raymond M. (CC'd) have some additional lwIP and Mbed TLS patches to do so. With that it becomes possible to fetch and launch a distro installer such as Debian etc. using a secure, authenticated connection directly from the U-Boot shell. Several use cases: * Authentication: prevent MITM attack (third party replacing the binary with a different one) * Confidentiality: prevent third parties from grabbing a copy of the image as it is being downloaded * Allow connection to servers that do not support plain HTTP anymore (this is becoming more and more common on the Internet these days) - Possibly benefit from additional features implemented in lwIP - Less code to maintain in U-Boot Prior to applying this series, the lwIP stack needs to be added as a Git subtree with the following command: $ git subtree add --squash --prefix lib/lwip/lwip \ https://github.com/lwip-tcpip/lwip.git STABLE-2_2_0_RELEASE Notes 1. A number of features are currently incompatible with NET_LWIP: DFU_TFTP, FASTBOOT, SPL_NET, ETH_SANDBOX, ETH_SANDBOX_RAW, DM_ETH. They all make assumptions on how the network stack is implemented and/or pull sybols that are not trivially exported from lwIP. Some interface rework may be needed. 2. Due to the above, and in order to provide some level of testing of the lwIP code in CI even when the legacy NET is the default, a new QEMU configuration is introduced (qemu_arm64_lwip_defconfig) which is based on qemu_arm64_defconfig with NET_LWIP and CMD_*_LWIP enabled. In addition to that, this series has some [TESTING] patches which make NET_LWIP the default. [1] https://lore.kernel.org/all/20231127125726.3735-1-maxim.uvarov@linaro.org/ [2] https://www.nongnu.org/lwip/ [3] https://en.wikipedia.org/wiki/LwIP Link: https://lore.kernel.org/r/cover.1729070678.git.jerome.forissier@linaro.org
This commit is contained in:
@@ -239,6 +239,10 @@ stages:
|
||||
cd \${WORK_DIR}
|
||||
git config --global --add safe.directory \${WORK_DIR}
|
||||
git clone --depth=1 https://source.denx.de/u-boot/u-boot-test-hooks /tmp/uboot-test-hooks
|
||||
# qemu_arm64_lwip_defconfig is the same as qemu_arm64 but with NET_LWIP enabled.
|
||||
# The test config and the boardenv file from qemu_arm64 can be re-used so create symlinks
|
||||
ln -s conf.qemu_arm64_na /tmp/uboot-test-hooks/bin/travis-ci/conf.qemu_arm64_lwip_na
|
||||
ln -s u_boot_boardenv_qemu_arm64_na.py /tmp/uboot-test-hooks/py/travis-ci/u_boot_boardenv_qemu_arm64_lwip_na.py
|
||||
ln -s travis-ci /tmp/uboot-test-hooks/bin/\`hostname\`
|
||||
ln -s travis-ci /tmp/uboot-test-hooks/py/\`hostname\`
|
||||
grub-mkimage --prefix=\"\" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
@@ -419,6 +423,9 @@ stages:
|
||||
qemu_arm64:
|
||||
TEST_PY_BD: "qemu_arm64"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
qemu_arm64_lwip:
|
||||
TEST_PY_BD: "qemu_arm64_lwip"
|
||||
TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot"
|
||||
qemu_m68k:
|
||||
TEST_PY_BD: "M5208EVBE"
|
||||
TEST_PY_ID: "--id qemu"
|
||||
|
||||
@@ -27,6 +27,9 @@ stages:
|
||||
# Clone uboot-test-hooks
|
||||
- git config --global --add safe.directory "${CI_PROJECT_DIR}"
|
||||
- git clone --depth=1 https://source.denx.de/u-boot/u-boot-test-hooks /tmp/uboot-test-hooks
|
||||
# qemu_arm64_lwip_defconfig is the same as qemu_arm64 but with NET_LWIP enabled.
|
||||
# The test config and the boardenv file from qemu_arm64 can be re-used so create symlinks
|
||||
- ln -s conf.qemu_arm64_na /tmp/uboot-test-hooks/bin/travis-ci/conf.qemu_arm64_lwip_na
|
||||
- ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
|
||||
- ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
|
||||
- grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
@@ -348,6 +351,12 @@ qemu_arm64 test.py:
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
<<: *buildman_and_testpy_dfn
|
||||
|
||||
qemu_arm64_lwip test.py:
|
||||
variables:
|
||||
TEST_PY_BD: "qemu_arm64_lwip"
|
||||
TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot"
|
||||
<<: *buildman_and_testpy_dfn
|
||||
|
||||
qemu_m68k test.py:
|
||||
variables:
|
||||
TEST_PY_BD: "M5208EVBE"
|
||||
|
||||
29
Kconfig
29
Kconfig
@@ -758,8 +758,37 @@ source "dts/Kconfig"
|
||||
|
||||
source "env/Kconfig"
|
||||
|
||||
menu Networking
|
||||
|
||||
choice
|
||||
prompt "Networking stack"
|
||||
default NET
|
||||
|
||||
config NO_NET
|
||||
bool "No networking support"
|
||||
|
||||
config NET
|
||||
bool "Legacy U-Boot networking stack"
|
||||
imply NETDEVICES
|
||||
|
||||
config NET_LWIP
|
||||
bool "Use lwIP for networking stack"
|
||||
imply NETDEVICES
|
||||
help
|
||||
Include networking support based on the lwIP (lightweight IP)
|
||||
TCP/IP stack (https://nongnu.org/lwip). This is a replacement for
|
||||
the default U-Boot network stack and applications located in net/
|
||||
and enabled via CONFIG_NET as well as other pieces of code that
|
||||
depend on CONFIG_NET (such as cmd/net.c enabled via CONFIG_CMD_NET).
|
||||
Therefore the two symbols CONFIG_NET and CONFIG_NET_LWIP are mutually
|
||||
exclusive.
|
||||
|
||||
endchoice
|
||||
|
||||
source "net/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
source "drivers/Kconfig"
|
||||
|
||||
source "fs/Kconfig"
|
||||
|
||||
11
MAINTAINERS
11
MAINTAINERS
@@ -1359,6 +1359,17 @@ F: drivers/net/
|
||||
F: include/net.h
|
||||
F: net/
|
||||
|
||||
NETWORK (LWIP)
|
||||
M: Jerome Forissier <jerome.forissier@linaro.org>
|
||||
S: Maintained
|
||||
F: cmd/net-lwip.c
|
||||
F: configs/qemu_arm64_lwip_defconfig
|
||||
F: drivers/net/sandbox-lwip.c
|
||||
F: include/net-lwip.h
|
||||
F: lib/lwip/Makefile
|
||||
F: lib/lwip/u-boot/
|
||||
F: net/lwip/
|
||||
|
||||
NIOS
|
||||
M: Thomas Chou <thomas@wytron.com.tw>
|
||||
S: Maintained
|
||||
|
||||
6
Makefile
6
Makefile
@@ -842,7 +842,9 @@ UBOOTINCLUDE := \
|
||||
-I$(srctree)/arch/arm/thumb1/include)) \
|
||||
-I$(srctree)/arch/$(ARCH)/include \
|
||||
-include $(srctree)/include/linux/kconfig.h \
|
||||
-I$(srctree)/dts/upstream/include
|
||||
-I$(srctree)/dts/upstream/include \
|
||||
$(if $(CONFIG_NET_LWIP), -I$(srctree)/lib/lwip/lwip/src/include \
|
||||
-I$(srctree)/lib/lwip/u-boot)
|
||||
|
||||
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
|
||||
|
||||
@@ -865,7 +867,7 @@ libs-$(CONFIG_OF_EMBED) += dts/
|
||||
libs-y += env/
|
||||
libs-y += lib/
|
||||
libs-y += fs/
|
||||
libs-y += net/
|
||||
libs-$(filter y,$(CONFIG_NET) $(CONFIG_NET_LWIP)) += net/
|
||||
libs-y += disk/
|
||||
libs-y += drivers/
|
||||
libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/
|
||||
|
||||
@@ -33,7 +33,7 @@ static void setup_fec(void)
|
||||
setbits_le32(&gpr->gpr[1], BIT(22));
|
||||
}
|
||||
|
||||
#if CONFIG_IS_ENABLED(NET)
|
||||
#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)
|
||||
int board_phy_config(struct phy_device *phydev)
|
||||
{
|
||||
if (phydev->drv->config)
|
||||
|
||||
@@ -29,7 +29,7 @@ static void setup_fec(void)
|
||||
setbits_le32(&gpr->gpr[1], BIT(22));
|
||||
}
|
||||
|
||||
#if CONFIG_IS_ENABLED(NET)
|
||||
#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)
|
||||
int board_phy_config(struct phy_device *phydev)
|
||||
{
|
||||
if (phydev->drv->config)
|
||||
|
||||
@@ -900,7 +900,8 @@ int board_late_init(void)
|
||||
#endif
|
||||
|
||||
/* CPSW plat */
|
||||
#if CONFIG_IS_ENABLED(NET) && !CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
#if (CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)) && \
|
||||
!CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
struct cpsw_slave_data slave_data[] = {
|
||||
{
|
||||
.slave_reg_ofs = CPSW_SLAVE0_OFFSET,
|
||||
|
||||
@@ -491,7 +491,8 @@ int board_late_init_xilinx(void)
|
||||
ret |= env_set_by_index("uuid", id, uuid);
|
||||
}
|
||||
|
||||
if (!CONFIG_IS_ENABLED(NET))
|
||||
if (!(CONFIG_IS_ENABLED(NET) ||
|
||||
CONFIG_IS_ENABLED(NET_LWIP)))
|
||||
continue;
|
||||
|
||||
for (i = 0; i < EEPROM_HDR_NO_OF_MAC_ADDR; i++) {
|
||||
|
||||
@@ -503,7 +503,8 @@ config BOOTMETH_ANDROID
|
||||
select ANDROID_AB
|
||||
select ANDROID_BOOT_IMAGE
|
||||
select CMD_BCB
|
||||
select CMD_FASTBOOT
|
||||
imply CMD_FASTBOOT
|
||||
imply FASTBOOT if !NET_LWIP
|
||||
select PARTITION_TYPE_GUID
|
||||
select PARTITION_UUIDS
|
||||
help
|
||||
@@ -559,6 +560,7 @@ config BOOTMETH_EXTLINUX_PXE
|
||||
config BOOTMETH_EFILOADER
|
||||
bool "Bootdev support for EFI boot"
|
||||
depends on EFI_BINARY_EXEC
|
||||
imply CMD_TFTPBOOT if CMD_NET
|
||||
default y
|
||||
help
|
||||
Enables support for EFI boot using bootdevs. This makes the
|
||||
|
||||
164
cmd/Kconfig
164
cmd/Kconfig
@@ -1653,6 +1653,7 @@ config CMD_USB
|
||||
|
||||
config CMD_USB_SDP
|
||||
bool "sdp"
|
||||
depends on USB_GADGET_DOWNLOAD
|
||||
select USB_FUNCTION_SDP
|
||||
help
|
||||
Enables the command "sdp" which is used to have U-Boot emulating the
|
||||
@@ -1788,12 +1789,16 @@ config CMD_AB_SELECT
|
||||
|
||||
endmenu
|
||||
|
||||
if NET
|
||||
if NET || NET_LWIP
|
||||
|
||||
menuconfig CMD_NET
|
||||
bool "Network commands"
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if NET
|
||||
|
||||
if CMD_NET
|
||||
|
||||
config CMD_BOOTP
|
||||
@@ -1802,12 +1807,6 @@ config CMD_BOOTP
|
||||
help
|
||||
bootp - boot image via network using BOOTP/TFTP protocol
|
||||
|
||||
config CMD_DHCP
|
||||
bool "dhcp"
|
||||
depends on CMD_BOOTP
|
||||
help
|
||||
Boot image via network using DHCP/TFTP protocol
|
||||
|
||||
config CMD_DHCP6
|
||||
bool "dhcp6"
|
||||
depends on IPV6
|
||||
@@ -1951,12 +1950,6 @@ config BOOTP_VCI_STRING
|
||||
default "U-Boot.arm" if ARM
|
||||
default "U-Boot"
|
||||
|
||||
config CMD_TFTPBOOT
|
||||
bool "tftpboot"
|
||||
default y
|
||||
help
|
||||
tftpboot - load file via network using TFTP protocol
|
||||
|
||||
config CMD_TFTPPUT
|
||||
bool "tftp put"
|
||||
depends on CMD_TFTPBOOT
|
||||
@@ -2008,13 +2001,76 @@ config SYS_DISABLE_AUTOLOAD
|
||||
is complete. Enable this option to disable this behavior and instead
|
||||
require files to be loaded over the network by subsequent commands.
|
||||
|
||||
config CMD_WGET
|
||||
bool "wget"
|
||||
select PROT_TCP
|
||||
default y if SANDBOX
|
||||
config CMD_PING6
|
||||
bool "ping6"
|
||||
depends on IPV6
|
||||
default y if (CMD_PING && IPV6)
|
||||
help
|
||||
wget is a simple command to download kernel, or other files,
|
||||
from a http server over TCP.
|
||||
Send ICMPv6 ECHO_REQUEST to network host
|
||||
|
||||
config CMD_CDP
|
||||
bool "cdp"
|
||||
help
|
||||
Perform CDP network configuration
|
||||
|
||||
config CMD_SNTP
|
||||
bool "sntp"
|
||||
select PROT_UDP
|
||||
help
|
||||
Synchronize RTC via network
|
||||
|
||||
config CMD_LINK_LOCAL
|
||||
bool "linklocal"
|
||||
select LIB_RAND
|
||||
help
|
||||
Acquire a network IP address using the link-local protocol
|
||||
|
||||
config CMD_NCSI
|
||||
bool "ncsi"
|
||||
depends on PHY_NCSI
|
||||
help
|
||||
Manually configure the attached NIC via NC-SI.
|
||||
Normally this happens automatically before other network
|
||||
operations.
|
||||
|
||||
config IPV6_ROUTER_DISCOVERY
|
||||
bool "Do IPv6 router discovery"
|
||||
depends on IPV6
|
||||
help
|
||||
Will automatically perform router solicitation on first IPv6
|
||||
network operation
|
||||
endif # if CMD_NET
|
||||
|
||||
config CMD_ETHSW
|
||||
bool "ethsw"
|
||||
help
|
||||
Allow control of L2 Ethernet switch commands. These are supported
|
||||
by the vsc9953 Ethernet driver at present. Sub-commands allow
|
||||
operations such as enabling / disabling a port and
|
||||
viewing/maintaining the filtering database (FDB)
|
||||
|
||||
config CMD_WOL
|
||||
bool "wol"
|
||||
help
|
||||
Wait for wake-on-lan Magic Packet
|
||||
|
||||
endif # if NET
|
||||
|
||||
if NET || NET_LWIP
|
||||
|
||||
if CMD_NET
|
||||
|
||||
config CMD_DHCP
|
||||
bool "dhcp"
|
||||
select PROT_DHCP_LWIP if NET_LWIP
|
||||
help
|
||||
Boot image via network using DHCP/TFTP protocol
|
||||
|
||||
config CMD_DNS
|
||||
bool "dns"
|
||||
select PROT_DNS_LWIP if NET_LWIP
|
||||
help
|
||||
Lookup the IP of a hostname
|
||||
|
||||
config CMD_MII
|
||||
bool "mii"
|
||||
@@ -2041,61 +2097,28 @@ config CMD_MDIO
|
||||
|
||||
config CMD_PING
|
||||
bool "ping"
|
||||
select PROT_RAW_LWIP if NET_LWIP
|
||||
help
|
||||
Send ICMP ECHO_REQUEST to network host
|
||||
|
||||
config CMD_PING6
|
||||
bool "ping6"
|
||||
depends on IPV6
|
||||
default y if (CMD_PING && IPV6)
|
||||
config CMD_TFTPBOOT
|
||||
bool "tftp"
|
||||
select PROT_UDP_LWIP if NET_LWIP
|
||||
default y
|
||||
help
|
||||
Send ICMPv6 ECHO_REQUEST to network host
|
||||
tftpboot - load file via network using TFTP protocol
|
||||
|
||||
config CMD_CDP
|
||||
bool "cdp"
|
||||
config CMD_WGET
|
||||
bool "wget"
|
||||
default y if SANDBOX
|
||||
select PROT_TCP if NET
|
||||
select PROT_TCP_LWIP if NET_LWIP
|
||||
select PROT_DNS_LWIP if NET_LWIP
|
||||
help
|
||||
Perform CDP network configuration
|
||||
wget is a simple command to download kernel, or other files,
|
||||
from a http server over TCP.
|
||||
|
||||
config CMD_SNTP
|
||||
bool "sntp"
|
||||
select PROT_UDP
|
||||
help
|
||||
Synchronize RTC via network
|
||||
|
||||
config CMD_DNS
|
||||
bool "dns"
|
||||
help
|
||||
Lookup the IP of a hostname
|
||||
|
||||
config CMD_LINK_LOCAL
|
||||
bool "linklocal"
|
||||
select LIB_RAND
|
||||
help
|
||||
Acquire a network IP address using the link-local protocol
|
||||
|
||||
config CMD_NCSI
|
||||
bool "ncsi"
|
||||
depends on PHY_NCSI
|
||||
help
|
||||
Manually configure the attached NIC via NC-SI.
|
||||
Normally this happens automatically before other network
|
||||
operations.
|
||||
|
||||
config IPV6_ROUTER_DISCOVERY
|
||||
bool "Do IPv6 router discovery"
|
||||
depends on IPV6
|
||||
help
|
||||
Will automatically perform router solicitation on first IPv6
|
||||
network operation
|
||||
endif
|
||||
|
||||
config CMD_ETHSW
|
||||
bool "ethsw"
|
||||
help
|
||||
Allow control of L2 Ethernet switch commands. These are supported
|
||||
by the vsc9953 Ethernet driver at present. Sub-commands allow
|
||||
operations such as enabling / disabling a port and
|
||||
viewing/maintaining the filtering database (FDB)
|
||||
endif # if CMD_NET
|
||||
|
||||
config CMD_PXE
|
||||
bool "pxe"
|
||||
@@ -2104,12 +2127,7 @@ config CMD_PXE
|
||||
help
|
||||
Boot image via network using PXE protocol
|
||||
|
||||
config CMD_WOL
|
||||
bool "wol"
|
||||
help
|
||||
Wait for wake-on-lan Magic Packet
|
||||
|
||||
endif
|
||||
endif # if NET || NET_LWIP
|
||||
|
||||
menu "Misc commands"
|
||||
|
||||
|
||||
@@ -127,7 +127,14 @@ obj-y += legacy-mtd-utils.o
|
||||
endif
|
||||
obj-$(CONFIG_CMD_MUX) += mux.o
|
||||
obj-$(CONFIG_CMD_NAND) += nand.o
|
||||
obj-$(CONFIG_CMD_NET) += net.o
|
||||
ifdef CONFIG_CMD_NET
|
||||
obj-$(CONFIG_NET) += net.o
|
||||
obj-$(CONFIG_NET_LWIP) += net-lwip.o
|
||||
obj-$(filter y,$(CONFIG_CMD_NET) $(CONFIG_CMD_NET_LWIP)) += net-common.o
|
||||
lwip-includes := -I$(srctree)/lib/lwip/lwip/src/include -I$(srctree)/lib/lwip/u-boot
|
||||
CFLAGS_net-lwip.o := $(lwip-includes)
|
||||
CFLAGS_net-common.o := $(lwip-includes)
|
||||
endif
|
||||
obj-$(CONFIG_ENV_SUPPORT) += nvedit.o
|
||||
obj-$(CONFIG_CMD_NVEDIT_EFI) += nvedit_efi.o
|
||||
obj-$(CONFIG_CMD_ONENAND) += onenand.o
|
||||
|
||||
@@ -151,7 +151,7 @@ static int bdinfo_print_all(struct bd_info *bd)
|
||||
bdinfo_print_num_l("relocaddr", gd->relocaddr);
|
||||
bdinfo_print_num_l("reloc off", gd->reloc_off);
|
||||
printf("%-12s= %u-bit\n", "Build", (uint)sizeof(void *) * 8);
|
||||
if (IS_ENABLED(CONFIG_CMD_NET))
|
||||
if (IS_ENABLED(CONFIG_CMD_NET) || IS_ENABLED(CONFIG_CMD_NET_LWIP))
|
||||
print_eth();
|
||||
bdinfo_print_num_l("fdt_blob", (ulong)map_to_sysmem(gd->fdt_blob));
|
||||
if (IS_ENABLED(CONFIG_VIDEO))
|
||||
@@ -192,7 +192,8 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
case 'a':
|
||||
return bdinfo_print_all(bd);
|
||||
case 'e':
|
||||
if (!IS_ENABLED(CONFIG_CMD_NET))
|
||||
if (!IS_ENABLED(CONFIG_CMD_NET) &&
|
||||
!IS_ENABLED(CONFIG_CMD_NET_LWIP))
|
||||
return CMD_RET_USAGE;
|
||||
print_eth();
|
||||
return CMD_RET_SUCCESS;
|
||||
|
||||
@@ -133,7 +133,7 @@ int do_bootvx(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
else
|
||||
addr = hextoul(argv[1], NULL);
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_NET_LWIP)
|
||||
/*
|
||||
* Check to see if we need to tftp the image ourselves
|
||||
* before starting
|
||||
|
||||
109
cmd/net-common.c
Normal file
109
cmd/net-common.c
Normal file
@@ -0,0 +1,109 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* (C) Copyright 2000
|
||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <dm/device.h>
|
||||
#include <dm/uclass.h>
|
||||
#include <net.h>
|
||||
#include <linux/compat.h>
|
||||
#include <linux/ethtool.h>
|
||||
|
||||
static int do_net_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
const struct udevice *current = eth_get_dev();
|
||||
unsigned char env_enetaddr[ARP_HLEN];
|
||||
const struct udevice *dev;
|
||||
struct uclass *uc;
|
||||
|
||||
uclass_id_foreach_dev(UCLASS_ETH, dev, uc) {
|
||||
eth_env_get_enetaddr_by_index("eth", dev_seq(dev), env_enetaddr);
|
||||
printf("eth%d : %s %pM %s\n", dev_seq(dev), dev->name, env_enetaddr,
|
||||
current == dev ? "active" : "");
|
||||
}
|
||||
return CMD_RET_SUCCESS;
|
||||
}
|
||||
|
||||
static int do_net_stats(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
int nstats, err, i, off;
|
||||
struct udevice *dev;
|
||||
u64 *values;
|
||||
u8 *strings;
|
||||
|
||||
if (argc < 2)
|
||||
return CMD_RET_USAGE;
|
||||
|
||||
err = uclass_get_device_by_name(UCLASS_ETH, argv[1], &dev);
|
||||
if (err) {
|
||||
printf("Could not find device %s\n", argv[1]);
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
if (!eth_get_ops(dev)->get_sset_count ||
|
||||
!eth_get_ops(dev)->get_strings ||
|
||||
!eth_get_ops(dev)->get_stats) {
|
||||
printf("Driver does not implement stats dump!\n");
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
nstats = eth_get_ops(dev)->get_sset_count(dev);
|
||||
strings = kcalloc(nstats, ETH_GSTRING_LEN, GFP_KERNEL);
|
||||
if (!strings)
|
||||
return CMD_RET_FAILURE;
|
||||
|
||||
values = kcalloc(nstats, sizeof(u64), GFP_KERNEL);
|
||||
if (!values)
|
||||
goto err_free_strings;
|
||||
|
||||
eth_get_ops(dev)->get_strings(dev, strings);
|
||||
eth_get_ops(dev)->get_stats(dev, values);
|
||||
|
||||
off = 0;
|
||||
for (i = 0; i < nstats; i++) {
|
||||
printf(" %s: %llu\n", &strings[off], values[i]);
|
||||
off += ETH_GSTRING_LEN;
|
||||
};
|
||||
|
||||
kfree(strings);
|
||||
kfree(values);
|
||||
|
||||
return CMD_RET_SUCCESS;
|
||||
|
||||
err_free_strings:
|
||||
kfree(strings);
|
||||
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
static struct cmd_tbl cmd_net[] = {
|
||||
U_BOOT_CMD_MKENT(list, 1, 0, do_net_list, "", ""),
|
||||
U_BOOT_CMD_MKENT(stats, 2, 0, do_net_stats, "", ""),
|
||||
};
|
||||
|
||||
static int do_net(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
struct cmd_tbl *cp;
|
||||
|
||||
cp = find_cmd_tbl(argv[1], cmd_net, ARRAY_SIZE(cmd_net));
|
||||
|
||||
/* Drop the net command */
|
||||
argc--;
|
||||
argv++;
|
||||
|
||||
if (!cp || argc > cp->maxargs)
|
||||
return CMD_RET_USAGE;
|
||||
if (flag == CMD_FLAG_REPEAT && !cmd_is_repeatable(cp))
|
||||
return CMD_RET_SUCCESS;
|
||||
|
||||
return cp->cmd(cmdtp, flag, argc, argv);
|
||||
}
|
||||
|
||||
U_BOOT_CMD(
|
||||
net, 3, 1, do_net,
|
||||
"NET sub-system",
|
||||
"list - list available devices\n"
|
||||
"stats <device> - dump statistics for specified device\n"
|
||||
);
|
||||
45
cmd/net-lwip.c
Normal file
45
cmd/net-lwip.c
Normal file
@@ -0,0 +1,45 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* Copyright (C) 2024 Linaro Ltd. */
|
||||
|
||||
#include <command.h>
|
||||
#include <net.h>
|
||||
|
||||
#if defined(CONFIG_CMD_DHCP)
|
||||
U_BOOT_CMD(
|
||||
dhcp, 3, 1, do_dhcp,
|
||||
"boot image via network using DHCP/TFTP protocol",
|
||||
"[loadAddress] [[hostIPaddr:]bootfilename]"
|
||||
);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_PING)
|
||||
U_BOOT_CMD(
|
||||
ping, 2, 1, do_ping,
|
||||
"send ICMP ECHO_REQUEST to network host",
|
||||
"pingAddress"
|
||||
);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_TFTPBOOT)
|
||||
U_BOOT_CMD(
|
||||
tftpboot, 3, 0, do_tftpb,
|
||||
"boot image via network using TFTP protocol\n",
|
||||
"[loadAddress] [[hostIPaddr:]bootfilename]"
|
||||
);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_DNS)
|
||||
U_BOOT_CMD(
|
||||
dns, 3, 1, do_dns,
|
||||
"lookup the IP of a hostname",
|
||||
"hostname [envvar]"
|
||||
);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_WGET)
|
||||
U_BOOT_CMD(
|
||||
wget, 3, 1, do_wget,
|
||||
"boot image via network using HTTP protocol",
|
||||
"[loadAddress] URL"
|
||||
);
|
||||
#endif
|
||||
115
cmd/net.c
115
cmd/net.c
@@ -674,118 +674,3 @@ U_BOOT_CMD(
|
||||
);
|
||||
|
||||
#endif /* CONFIG_CMD_LINK_LOCAL */
|
||||
|
||||
static int do_net_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
const struct udevice *current = eth_get_dev();
|
||||
unsigned char env_enetaddr[ARP_HLEN];
|
||||
const struct udevice *dev;
|
||||
struct uclass *uc;
|
||||
|
||||
uclass_id_foreach_dev(UCLASS_ETH, dev, uc) {
|
||||
eth_env_get_enetaddr_by_index("eth", dev_seq(dev), env_enetaddr);
|
||||
printf("eth%d : %s %pM %s\n", dev_seq(dev), dev->name, env_enetaddr,
|
||||
current == dev ? "active" : "");
|
||||
}
|
||||
return CMD_RET_SUCCESS;
|
||||
}
|
||||
|
||||
static int do_net_stats(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
int nstats, err, i, off;
|
||||
struct udevice *dev;
|
||||
u64 *values;
|
||||
u8 *strings;
|
||||
|
||||
if (argc < 2)
|
||||
return CMD_RET_USAGE;
|
||||
|
||||
err = uclass_get_device_by_name(UCLASS_ETH, argv[1], &dev);
|
||||
if (err) {
|
||||
printf("Could not find device %s\n", argv[1]);
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
if (!eth_get_ops(dev)->get_sset_count ||
|
||||
!eth_get_ops(dev)->get_strings ||
|
||||
!eth_get_ops(dev)->get_stats) {
|
||||
printf("Driver does not implement stats dump!\n");
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
nstats = eth_get_ops(dev)->get_sset_count(dev);
|
||||
strings = kcalloc(nstats, ETH_GSTRING_LEN, GFP_KERNEL);
|
||||
if (!strings)
|
||||
return CMD_RET_FAILURE;
|
||||
|
||||
values = kcalloc(nstats, sizeof(u64), GFP_KERNEL);
|
||||
if (!values)
|
||||
goto err_free_strings;
|
||||
|
||||
eth_get_ops(dev)->get_strings(dev, strings);
|
||||
eth_get_ops(dev)->get_stats(dev, values);
|
||||
|
||||
off = 0;
|
||||
for (i = 0; i < nstats; i++) {
|
||||
printf(" %s: %llu\n", &strings[off], values[i]);
|
||||
off += ETH_GSTRING_LEN;
|
||||
};
|
||||
|
||||
return CMD_RET_SUCCESS;
|
||||
|
||||
err_free_strings:
|
||||
kfree(strings);
|
||||
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
static struct cmd_tbl cmd_net[] = {
|
||||
U_BOOT_CMD_MKENT(list, 1, 0, do_net_list, "", ""),
|
||||
U_BOOT_CMD_MKENT(stats, 2, 0, do_net_stats, "", ""),
|
||||
};
|
||||
|
||||
static int do_net(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
struct cmd_tbl *cp;
|
||||
|
||||
cp = find_cmd_tbl(argv[1], cmd_net, ARRAY_SIZE(cmd_net));
|
||||
|
||||
/* Drop the net command */
|
||||
argc--;
|
||||
argv++;
|
||||
|
||||
if (!cp || argc > cp->maxargs)
|
||||
return CMD_RET_USAGE;
|
||||
if (flag == CMD_FLAG_REPEAT && !cmd_is_repeatable(cp))
|
||||
return CMD_RET_SUCCESS;
|
||||
|
||||
return cp->cmd(cmdtp, flag, argc, argv);
|
||||
}
|
||||
|
||||
U_BOOT_CMD(
|
||||
net, 3, 1, do_net,
|
||||
"NET sub-system",
|
||||
"list - list available devices\n"
|
||||
"stats <device> - dump statistics for specified device\n"
|
||||
);
|
||||
|
||||
#if defined(CONFIG_CMD_NCSI)
|
||||
static int do_ncsi(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
if (!phy_interface_is_ncsi() || !ncsi_active()) {
|
||||
printf("Device not configured for NC-SI\n");
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
|
||||
if (net_loop(NCSI) < 0)
|
||||
return CMD_RET_FAILURE;
|
||||
|
||||
return CMD_RET_SUCCESS;
|
||||
}
|
||||
|
||||
U_BOOT_CMD(
|
||||
ncsi, 1, 1, do_ncsi,
|
||||
"Configure attached NIC via NC-SI",
|
||||
""
|
||||
);
|
||||
#endif /* CONFIG_CMD_NCSI */
|
||||
|
||||
@@ -424,7 +424,7 @@ config LOGF_FUNC_PAD
|
||||
|
||||
config LOG_SYSLOG
|
||||
bool "Log output to syslog server"
|
||||
depends on NET
|
||||
depends on NET || NET_LWIP
|
||||
help
|
||||
Enables a log driver which broadcasts log records via UDP port 514
|
||||
to syslog servers.
|
||||
|
||||
@@ -484,7 +484,7 @@ static int initr_boot_led_on(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
static int initr_net(void)
|
||||
{
|
||||
puts("Net: ");
|
||||
@@ -749,7 +749,7 @@ static init_fnc_t init_sequence_r[] = {
|
||||
#ifdef CONFIG_PCI_ENDPOINT
|
||||
pci_ep_init,
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
INIT_FUNC_WATCHDOG_RESET
|
||||
initr_net,
|
||||
#endif
|
||||
|
||||
@@ -1083,6 +1083,7 @@ config SPL_DM_SPI_FLASH
|
||||
|
||||
config SPL_NET
|
||||
bool "Support networking"
|
||||
depends on !NET_LWIP
|
||||
help
|
||||
Enable support for network devices (such as Ethernet) in SPL.
|
||||
This permits SPL to load U-Boot over a network link rather than
|
||||
|
||||
@@ -423,7 +423,7 @@ static int usb_kbd_testc(struct stdio_dev *sdev)
|
||||
*/
|
||||
unsigned long poll_delay = CONFIG_SYS_HZ / 50;
|
||||
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_NET_LWIP)
|
||||
/*
|
||||
* If net_busy_flag is 1, NET transfer is running,
|
||||
* then we check key-pressed every second (first check may be
|
||||
|
||||
@@ -5,4 +5,4 @@ CONFIG_SPL=y
|
||||
CONFIG_MACH_SUN8I_V3S=y
|
||||
CONFIG_DRAM_CLK=360
|
||||
# CONFIG_HAS_ARMV7_SECURE_BASE is not set
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
|
||||
@@ -22,7 +22,7 @@ CONFIG_CMD_MX_CYCLIC=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
|
||||
@@ -42,7 +42,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_SPL_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
|
||||
@@ -66,7 +66,7 @@ CONFIG_ENV_IS_NOWHERE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_PART=1
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_REGMAP=y
|
||||
|
||||
@@ -70,7 +70,7 @@ CONFIG_ENV_IS_NOWHERE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_PART=1
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_DEVICE_REMOVE=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
|
||||
@@ -67,7 +67,7 @@ CONFIG_SPL_OF_CONTROL=y
|
||||
CONFIG_SPL_MULTI_DTB_FIT=y
|
||||
CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_REGMAP=y
|
||||
|
||||
@@ -33,7 +33,7 @@ CONFIG_CMD_DIAG=y
|
||||
CONFIG_ENV_IS_IN_FLASH=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="AMCORE"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
|
||||
@@ -62,7 +62,7 @@ CONFIG_CMD_CACHE=y
|
||||
# CONFIG_CMD_SLEEP is not set
|
||||
CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
# CONFIG_GPIO is not set
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
@@ -54,7 +54,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_MMC_HS200_SUPPORT=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
||||
@@ -56,7 +56,7 @@ CONFIG_CMD_CACHE=y
|
||||
# CONFIG_CMD_SLEEP is not set
|
||||
CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
# CONFIG_GPIO is not set
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
@@ -56,7 +56,7 @@ CONFIG_CMD_CACHE=y
|
||||
# CONFIG_CMD_SLEEP is not set
|
||||
CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
# CONFIG_GPIO is not set
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
@@ -42,7 +42,7 @@ CONFIG_OF_LIVE=y
|
||||
# CONFIG_OF_UPSTREAM is not set
|
||||
CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
CONFIG_SPL_SYSCON=y
|
||||
|
||||
@@ -46,7 +46,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:256k(u-boot),64k(u-boot-env),6336k
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=25000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_ATMEL=y
|
||||
|
||||
@@ -46,7 +46,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:256k(u-boot),64k(u-boot-env),6336k
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=25000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_BAR=y
|
||||
|
||||
@@ -11,7 +11,7 @@ CONFIG_SYS_PBSIZE=276
|
||||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_BOARD_LATE_INIT=y
|
||||
CONFIG_CMD_SELECT_FONT=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SYS_64BIT_LBA=y
|
||||
CONFIG_APPLE_SPI_KEYB=y
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
@@ -27,7 +27,7 @@ CONFIG_CMD_I2C=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_JFFS2=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_FPGA_ALTERA=y
|
||||
CONFIG_FPGA_CYCLON2=y
|
||||
CONFIG_FPGA_XILINX=y
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=15000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_GPIO=y
|
||||
|
||||
@@ -39,7 +39,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_GPIO=y
|
||||
|
||||
@@ -40,7 +40,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_GPIO=y
|
||||
|
||||
@@ -36,7 +36,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_BCMSTB=y
|
||||
CONFIG_MTD=y
|
||||
|
||||
@@ -38,7 +38,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_BCMSTB=y
|
||||
CONFIG_MTD=y
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SLEEP is not set
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_BCM6345_GPIO=y
|
||||
CONFIG_LED=y
|
||||
|
||||
@@ -29,7 +29,7 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_OF_EMBED=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="NS"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_DM_MTD=y
|
||||
|
||||
@@ -74,7 +74,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="bzImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
# CONFIG_ACPIGEN is not set
|
||||
|
||||
@@ -32,7 +32,7 @@ CONFIG_CMD_TIMER=y
|
||||
CONFIG_CMD_SMC=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_OF_LIVE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CORTINA_GPIO=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_DM_SERIAL=y
|
||||
|
||||
@@ -33,7 +33,7 @@ CONFIG_CMD_TIMER=y
|
||||
CONFIG_CMD_SMC=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_OF_LIVE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CORTINA_GPIO=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD=y
|
||||
|
||||
@@ -28,7 +28,7 @@ CONFIG_SYS_PROMPT="durian#"
|
||||
CONFIG_CMD_PCI=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SCSI_AHCI=y
|
||||
CONFIG_AHCI_PCI=y
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
@@ -20,7 +20,7 @@ CONFIG_CMD_MMC=y
|
||||
CONFIG_CMD_PART=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_RNG=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK_EXYNOS850=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_SOC_SAMSUNG=y
|
||||
|
||||
@@ -25,7 +25,7 @@ CONFIG_SYS_PROMPT="EA-LPC3250v2=> "
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_I2C=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_LPC32XX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_LPC32XX=y
|
||||
|
||||
@@ -36,7 +36,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="bzImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
# CONFIG_GZIP is not set
|
||||
|
||||
@@ -40,7 +40,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="bzImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
|
||||
@@ -30,7 +30,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="app.bin"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_SNPS=y
|
||||
|
||||
@@ -57,7 +57,7 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent"
|
||||
CONFIG_TPL_OF_PLATDATA=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_TPL_DM=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_OF_LIVE=y
|
||||
# CONFIG_OF_UPSTREAM is not set
|
||||
CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
CONFIG_SPL_SYSCON=y
|
||||
|
||||
@@ -35,7 +35,7 @@ CONFIG_OF_LIVE=y
|
||||
# CONFIG_OF_UPSTREAM is not set
|
||||
CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
CONFIG_SPL_SYSCON=y
|
||||
|
||||
@@ -37,7 +37,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_PARTITION_TYPE_GUID=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_GPIO is not set
|
||||
# CONFIG_I2C is not set
|
||||
# CONFIG_INPUT is not set
|
||||
|
||||
@@ -60,7 +60,7 @@ CONFIG_ENV_UBI_VOLUME="config"
|
||||
CONFIG_ENV_UBI_VOLUME_REDUND="config_r"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
||||
@@ -82,7 +82,7 @@ CONFIG_SYS_MMC_ENV_PART=1
|
||||
CONFIG_ENV_WRITEABLE_LIST=y
|
||||
CONFIG_ENV_ACCESS_IGNORE_FORCE=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DM_BOOTCOUNT=y
|
||||
|
||||
@@ -42,7 +42,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x82000000
|
||||
|
||||
@@ -34,7 +34,7 @@ CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="app.bin"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_SNPS=y
|
||||
|
||||
@@ -70,7 +70,7 @@ CONFIG_ENV_IS_NOWHERE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_PART=1
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_DEVICE_REMOVE=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
|
||||
@@ -44,7 +44,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_DAVINCI=y
|
||||
|
||||
@@ -68,7 +68,7 @@ CONFIG_OF_DTB_PROPS_REMOVE=y
|
||||
CONFIG_SPL_OF_PLATDATA=y
|
||||
CONFIG_TPL_OF_PLATDATA=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_TPL_DM=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_MXS_GPIO=y
|
||||
CONFIG_MMC_MXS=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
@@ -47,7 +47,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_MXS_GPIO=y
|
||||
CONFIG_MMC_MXS=y
|
||||
|
||||
@@ -39,7 +39,7 @@ CONFIG_CMD_MEMTEST=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_FSL_USDHC=y
|
||||
|
||||
@@ -36,7 +36,7 @@ CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_DM_74X164=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
||||
@@ -33,7 +33,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_IMX_RGPIO2P=y
|
||||
# CONFIG_MXC_GPIO is not set
|
||||
|
||||
@@ -33,7 +33,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_IMX_RGPIO2P=y
|
||||
# CONFIG_MXC_GPIO is not set
|
||||
|
||||
@@ -31,7 +31,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_IMX_RGPIO2P=y
|
||||
# CONFIG_MXC_GPIO is not set
|
||||
|
||||
@@ -39,7 +39,7 @@ CONFIG_CMD_MEMINFO=y
|
||||
CONFIG_CMD_SPI=y
|
||||
# CONFIG_CMD_SLEEP is not set
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_BCM6345_GPIO=y
|
||||
CONFIG_LED=y
|
||||
|
||||
@@ -25,7 +25,7 @@ CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_DEBUG_UART_SHIFT=2
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
||||
@@ -26,7 +26,7 @@ CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_DEBUG_UART_SHIFT=2
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
||||
@@ -27,7 +27,7 @@ CONFIG_OF_EMBED=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="uImage"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_DEBUG_UART_SHIFT=2
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
||||
@@ -62,7 +62,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
# CONFIG_DOS_PARTITION is not set
|
||||
CONFIG_OF_EMBED=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CPU=y
|
||||
CONFIG_MMC=y
|
||||
# CONFIG_MMC_WRITE is not set
|
||||
|
||||
@@ -78,7 +78,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
# CONFIG_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_PARTITION_UUIDS is not set
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CPU=y
|
||||
CONFIG_MMC=y
|
||||
# CONFIG_MMC_WRITE is not set
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x2000000
|
||||
CONFIG_MMC_DW=y
|
||||
|
||||
@@ -27,7 +27,7 @@ CONFIG_CMD_DM=y
|
||||
CONFIG_CMD_PCI=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SCSI_AHCI=y
|
||||
CONFIG_AHCI_PCI=y
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
@@ -9,7 +9,7 @@ CONFIG_DRAM_ODT_EN=y
|
||||
CONFIG_I2C0_ENABLE=y
|
||||
# CONFIG_HAS_ARMV7_SECURE_BASE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
CONFIG_SYS_I2C_SLAVE=0x7f
|
||||
|
||||
@@ -37,7 +37,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=physmap-flash.0:256k(u-boot)ro,64k(u-boot-env)
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_FLASH=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_GPIO=y
|
||||
|
||||
9
configs/qemu_arm64_lwip_defconfig
Normal file
9
configs/qemu_arm64_lwip_defconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <configs/qemu_arm64_defconfig>
|
||||
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_QEMU=y
|
||||
|
||||
CONFIG_NET_LWIP=y
|
||||
CONFIG_CMD_DNS=y
|
||||
CONFIG_CMD_WGET=y
|
||||
CONFIG_EFI_HTTP_BOOT=y
|
||||
@@ -49,7 +49,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=2
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_NEXELL=y
|
||||
CONFIG_MMC_DW=y
|
||||
|
||||
@@ -44,7 +44,7 @@ CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x2000000
|
||||
CONFIG_DM_I2C_GPIO=y
|
||||
|
||||
@@ -41,7 +41,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x2000000
|
||||
CONFIG_SYS_I2C_S3C24X0=y
|
||||
|
||||
@@ -64,7 +64,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_SPL_OF_CONTROL=y
|
||||
CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-parent dmas dma-names"
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_CLK=y
|
||||
|
||||
@@ -72,7 +72,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA5D29"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_UTMI=y
|
||||
|
||||
@@ -71,7 +71,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA5D29"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_UTMI=y
|
||||
|
||||
@@ -71,7 +71,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA5D29"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_AT91=y
|
||||
CONFIG_AT91_UTMI=y
|
||||
|
||||
@@ -75,7 +75,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA7G54"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
CONFIG_CLK_AT91=y
|
||||
|
||||
@@ -73,7 +73,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA7G54"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
CONFIG_CLK_AT91=y
|
||||
|
||||
@@ -74,7 +74,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_HOSTNAME=y
|
||||
CONFIG_HOSTNAME="SAMA7G54"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
CONFIG_CLK_AT91=y
|
||||
|
||||
@@ -19,7 +19,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_MTDIDS_DEFAULT="nor0=spi3:0"
|
||||
CONFIG_MTDPARTS_DEFAULT="nor0:1M(u-boot),0x1000@0xfff000(env)"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_CLK_K210_SET_RATE=y
|
||||
# CONFIG_INPUT is not set
|
||||
CONFIG_FS_EXT4=y
|
||||
|
||||
@@ -20,7 +20,7 @@ CONFIG_SYS_PBSIZE=276
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_MTDIDS_DEFAULT="nor0=spi3:0"
|
||||
CONFIG_MTDPARTS_DEFAULT="nor0:1M(u-boot),0x1000@0xfff000(env)"
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_INPUT is not set
|
||||
CONFIG_FS_EXT4=y
|
||||
CONFIG_FS_FAT=y
|
||||
|
||||
@@ -29,7 +29,7 @@ CONFIG_CMD_MMC=y
|
||||
CONFIG_CMD_PART=y
|
||||
CONFIG_CMD_GETTIME=y
|
||||
CONFIG_EFI_PARTITION=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x18100000
|
||||
CONFIG_FASTBOOT_FLASH=y
|
||||
|
||||
@@ -27,7 +27,7 @@ CONFIG_CMD_IMLS=y
|
||||
CONFIG_CMD_TIMER=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_IS_IN_FLASH=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
||||
@@ -25,7 +25,7 @@ CONFIG_CMD_TIMER=y
|
||||
# CONFIG_ISO_PARTITION is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_ARM_PL180_MMCI=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
||||
@@ -26,7 +26,7 @@ CONFIG_CMD_TIMER=y
|
||||
# CONFIG_ISO_PARTITION is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_ARM_PL180_MMCI=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_DM_MTD=y
|
||||
|
||||
@@ -30,6 +30,6 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
# CONFIG_ISO_PARTITION is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_STM32_SDMMC2=y
|
||||
# CONFIG_PINCTRL_FULL is not set
|
||||
|
||||
@@ -30,6 +30,6 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
# CONFIG_ISO_PARTITION is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
# CONFIG_NET is not set
|
||||
CONFIG_NO_NET=y
|
||||
CONFIG_STM32_SDMMC2=y
|
||||
# CONFIG_PINCTRL_FULL is not set
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user