Skip to content

Commit 36a7a12

Browse files
Smale-12048867nashif
authored andcommitted
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 <[email protected]>
1 parent bd4defc commit 36a7a12

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2024, Intel Corporation.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_MDIO=y
5+
CONFIG_NET_L2_ETHERNET=y
6+
7+
CONFIG_NET_PKT_RX_COUNT=64
8+
CONFIG_NET_PKT_TX_COUNT=64
9+
CONFIG_NET_BUF_RX_COUNT=1024
10+
CONFIG_NET_BUF_TX_COUNT=512
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (C) 2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/* The overlay file should be used to enable any
7+
* dts nodes required by this application for this
8+
* board.
9+
*/
10+
11+
&xgmac0 {
12+
status = "okay";
13+
local-mac-address = [06 00 00 00 00 01];
14+
};
15+
16+
&mdio0 {
17+
status = "okay";
18+
19+
phy0: phy@0 {
20+
status = "okay";
21+
};
22+
};
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2024, Intel Corporation.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_MDIO=y
5+
CONFIG_NET_L2_ETHERNET=y
6+
7+
CONFIG_NET_PKT_RX_COUNT=64
8+
CONFIG_NET_PKT_TX_COUNT=64
9+
CONFIG_NET_BUF_RX_COUNT=1024
10+
CONFIG_NET_BUF_TX_COUNT=512
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (C) 2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/* The overlay file should be used to enable any
7+
* dts nodes required by this application for this
8+
* board.
9+
*/
10+
11+
&xgmac0 {
12+
status = "okay";
13+
local-mac-address = [06 00 00 00 00 02];
14+
};
15+
16+
&mdio0 {
17+
status = "okay";
18+
19+
phy0: phy@0 {
20+
status = "okay";
21+
};
22+
};

0 commit comments

Comments
 (0)