Samples: Enabled Network Shell with XGMAC ethernet.

Enabled Network shell and Ethernet L2 interface
with XGMAC driver in CLI application
Enabled MDIO shelll with dwcxgmac mdio driver.
Enabled TCP and  UDP over IPV4.

Added intel_socfpga socdk support for echo_client and
echo_server sample applications.

Signed-off-by: Santosh Male <santosh.male@intel.com>
This commit is contained in:
Santosh Male 2023-08-03 18:04:18 +00:00 committed by Anas Nashif
commit 36a7a12c4e
4 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# Copyright (c) 2024, Intel Corporation.
# SPDX-License-Identifier: Apache-2.0
CONFIG_MDIO=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_PKT_RX_COUNT=64
CONFIG_NET_PKT_TX_COUNT=64
CONFIG_NET_BUF_RX_COUNT=1024
CONFIG_NET_BUF_TX_COUNT=512

View file

@ -0,0 +1,22 @@
/*
* Copyright (C) 2024 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/* The overlay file should be used to enable any
* dts nodes required by this application for this
* board.
*/
&xgmac0 {
status = "okay";
local-mac-address = [06 00 00 00 00 01];
};
&mdio0 {
status = "okay";
phy0: phy@0 {
status = "okay";
};
};

View file

@ -0,0 +1,10 @@
# Copyright (c) 2024, Intel Corporation.
# SPDX-License-Identifier: Apache-2.0
CONFIG_MDIO=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_PKT_RX_COUNT=64
CONFIG_NET_PKT_TX_COUNT=64
CONFIG_NET_BUF_RX_COUNT=1024
CONFIG_NET_BUF_TX_COUNT=512

View file

@ -0,0 +1,22 @@
/*
* Copyright (C) 2024 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/* The overlay file should be used to enable any
* dts nodes required by this application for this
* board.
*/
&xgmac0 {
status = "okay";
local-mac-address = [06 00 00 00 00 02];
};
&mdio0 {
status = "okay";
phy0: phy@0 {
status = "okay";
};
};