diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2021-04-13 12:46:17 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-17 21:56:05 +0200 |
commit | 1c4cd71109d1cec01cf033bc6e26e050726928ea (patch) | |
tree | 0e2f245e501428454daa43283a78795ae69a2585 /target/linux/x86/image | |
parent | f724a583dcf70bc02bca1750bfb4a5195130b141 (diff) | |
download | upstream-1c4cd71109d1cec01cf033bc6e26e050726928ea.tar.gz upstream-1c4cd71109d1cec01cf033bc6e26e050726928ea.tar.bz2 upstream-1c4cd71109d1cec01cf033bc6e26e050726928ea.zip |
x86/64: Add support for AMD SOC Ethernet controller
This feature is already supported in kernel. Add definition
and configuration in Makefile of OpenWRT.
It is tested on board Dibbler with processor V1605B.
Dmesg is as below.
--------------------------------------------
[ 0.317122] smpboot: CPU0: AMD Ryzen Embedded V1605B with Radeon
Vega Gfx (family: 0x17, model: 0x11, stepping: 0x0)
[ 8.227270] libphy: amd-xgbe-mii: probed
[ 8.228189] amd-xgbe 0000:02:00.1 eth0: net device enabled
[ 8.228999] libphy: amd-xgbe-mii: probed
[ 8.229921] amd-xgbe 0000:02:00.2 eth1: net device enabled
.....
[ 11.760869] br-lan: port 1(eth0) entered blocking state
[ 11.761365] br-lan: port 1(eth0) entered disabled state
[ 11.762019] device eth0 entered promiscuous mode
[ 11.785285] 8021q: adding VLAN 0 to HW filter on device eth1
[ 16.881431] amd-xgbe 0000:02:00.1 eth0: Link is Up - 1Gbps/Full -
flow control off
[ 16.882108] br-lan: port 1(eth0) entered blocking state
[ 16.882583] br-lan: port 1(eth0) entered forwarding state
[ 16.883249] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
-----------------------------------------------
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Diffstat (limited to 'target/linux/x86/image')
-rw-r--r-- | target/linux/x86/image/64.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/image/64.mk b/target/linux/x86/image/64.mk index edbf503052..9c9decbf79 100644 --- a/target/linux/x86/image/64.mk +++ b/target/linux/x86/image/64.mk @@ -1,7 +1,7 @@ define Device/generic DEVICE_TITLE := Generic x86/64 DEVICE_PACKAGES += kmod-amazon-ena kmod-bnx2 kmod-e1000e kmod-e1000 \ - kmod-forcedeth kmod-igb kmod-ixgbe kmod-r8169 + kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8169 GRUB2_VARIANT := generic endef TARGET_DEVICES += generic |