hi
thanks for this excellent device
wished it was not sold out and had hdmi though X-D
but it’s possible to run full desktop virtualized
installed https://www.armbian.com/rockpie/
running fine and dandy until one fine day, thought about, let’s upgrade this thing:
after:
apt update
apt upgrade
reboot
only 1x nic still working :(
lshw -class network
*-network:0 DISABLED <- this one failed
description: Ethernet interface
physical id: 9
logical name: end0
serial: 5e:...95
capacity: 1Gbit/s
capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=off broadcast=yes driver=st_gmac driverversion=6.14.0-rc4-edge-rockchip64 duplex=half link=no multicast=yes port=MII
*-network:1 <- this one works
description: Ethernet interface
physical id: a
logical name: end1
serial: 5e... b5
size: 100Mbit/s
capacity: 100Mbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=6.14.0-rc4-edge-rockchip64 duplex=full ip=169.254.2.98 link=yes multicast=yes port=twisted pair speed=100Mbit/s
# running this kernel
Operating System: Armbian 25.2.2 noble
Kernel: Linux 6.12.17-current-rockchip64
cat /proc/device-tree/model
Radxa ROCK Pi E
dmesg | grep rk_gmac
[ 4.059672] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 4.059723] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 4.059739] rk_gmac-dwmac ff540000.ethernet: IRQ sfty not found
[ 4.059925] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 4.060263] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 4.060297] rk_gmac-dwmac ff540000.ethernet: TX delay(0x26).
[ 4.060315] rk_gmac-dwmac ff540000.ethernet: RX delay(0x11).
[ 4.060341] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 4.060419] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 4.065461] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 4.067905] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 4.067948] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 4.067964] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 4.067978] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 4.067990] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 4.068004] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[ 4.068016] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 4.068203] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 4.068227] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 4.068240] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 4.079393] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[ 4.079427] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[ 4.079443] rk_gmac-dwmac ff550000.ethernet: IRQ sfty not found
[ 4.079597] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[ 4.079668] rk_gmac-dwmac ff550000.ethernet: supply phy not found, using dummy regulator
[ 4.079934] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[ 4.079965] rk_gmac-dwmac ff550000.ethernet: Can not read property: tx_delay.
[ 4.079978] rk_gmac-dwmac ff550000.ethernet: set tx_delay to 0x30
[ 4.079994] rk_gmac-dwmac ff550000.ethernet: Can not read property: rx_delay.
[ 4.080006] rk_gmac-dwmac ff550000.ethernet: set rx_delay to 0x10
[ 4.080040] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes).
[ 4.085988] rk_gmac-dwmac ff550000.ethernet: init for RMII
[ 4.127956] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 4.127997] rk_gmac-dwmac ff550000.ethernet: DWMAC1000
[ 4.128014] rk_gmac-dwmac ff550000.ethernet: DMA HW capability register supported
[ 4.128027] rk_gmac-dwmac ff550000.ethernet: RX Checksum Offload Engine supported
[ 4.128039] rk_gmac-dwmac ff550000.ethernet: COE Type 2
[ 4.128053] rk_gmac-dwmac ff550000.ethernet: TX Checksum insertion supported
[ 4.128065] rk_gmac-dwmac ff550000.ethernet: Wake-Up On Lan supported
[ 4.128218] rk_gmac-dwmac ff550000.ethernet: Normal descriptors
[ 4.128241] rk_gmac-dwmac ff550000.ethernet: Ring mode enabled
[ 4.128254] rk_gmac-dwmac ff550000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 4.214207] rk_gmac-dwmac ff540000.ethernet end0: renamed from eth0
[ 4.219592] rk_gmac-dwmac ff550000.ethernet end1: renamed from eth1
[ 17.950956] rk_gmac-dwmac ff540000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 17.951976] rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
[ 17.956903] rk_gmac-dwmac ff550000.ethernet end1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 18.014746] rk_gmac-dwmac ff550000.ethernet end1: PHY [stmmac-1:00] driver [Rockchip integrated EPHY] (irq=POLL)
[ 18.024841] rk_gmac-dwmac ff550000.ethernet end1: No Safety Features support found
[ 18.024873] rk_gmac-dwmac ff550000.ethernet end1: PTP not supported by HW
[ 18.025357] rk_gmac-dwmac ff550000.ethernet end1: configuring for phy/rmii link mode
[ 20.065194] rk_gmac-dwmac ff550000.ethernet end1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 179.477935] rk_gmac-dwmac ff540000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 179.480074] rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
[ 529.140404] rk_gmac-dwmac ff540000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 529.142478] rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
ip link set end0 up; # does not work :(
RTNETLINK answers: No such device
ifconfig end0 192.168.123.123 up;
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
rfkill unblock end0; # does not work :(
rfkill: invalid identifier: end0
# tried upgrading the kernel to latest
apt install linux-image-edge-rockchip64
reboot
hostnamectl;
Operating System: Armbian 25.2.2 noble
Kernel: Linux 6.14.0-rc4-edge-rockchip64 <- new kernel up and running
Architecture: arm64
# still same problem :(
# found the device here
/sys/firmware/devicetree/base/ethernet@ff540000
lsmod|grep rk_gmac-dwmac
lsmod|grep dwmac
dwmac_rk 28672 0
stmmac_platform 20480 1 dwmac_rk
stmmac 241664 3 stmmac_platform,dwmac_rk
modinfo stmmac
filename: /lib/modules/6.14.0-rc4-edge-rockchip64/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac.ko
license: GPL
author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
description: STMMAC 10/100/1000 Ethernet device driver
depends: pcs_xpcs
intree: Y
name: stmmac
vermagic: 6.14.0-rc4-edge-rockchip64 SMP preempt mod_unload aarch64
parm: watchdog:Transmit timeout in milliseconds (default 5s) (int)
parm: debug:Message Level (-1: default, 0: no output, 16: all) (int)
parm: phyaddr:Physical device address (int)
parm: flow_ctrl:Flow control ability [on/off] (int)
parm: pause:Flow Control Pause Time (int)
parm: tc:DMA threshold control value (int)
parm: buf_sz:DMA buffer size (int)
parm: eee_timer:LPI tx expiration time in msec (uint)
parm: chain_mode:To use chain instead of ring mode (int)
cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ noble main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ noble main restricted universe multiverse
deb http://ports.ubuntu.com/ noble-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ noble-security main restricted universe multiverse
deb http://ports.ubuntu.com/ noble-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ noble-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ noble-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ noble-backports main restricted universe multiverse
what now? how to fix this?
HEEEELP
Edited just now by UltimateSolar