PINE64

Full Version: kernel errors for on-board ethernet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello again,

I have the Quartz64-B v1.3

dmesg is reporting a raft of re-occuring errors with the built-in ethernet / NIC.

-These are all happening with: latest plebian, diet-pi, arch arm

[ 2777.053671] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma
[ 2777.054322] rk_gmac-dwmac fe010000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed
[ 2777.055169] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Hw setup failed
[ 2777.090016] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2777.185378] rk_gmac-dwmac fe010000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)


as a result I cannot bring the NIC online. (tried ip link set end0 down/up and raises these dmesg output)

(fyi: if its useful, I can use an usb eth dongle and kernel recognizes it and I connect via that okay - usless it is usb3.0 port and another set of warning are raised ...for another port maybe)

I have tried using the PoE adapter I have for it and "normal" eth with DC power, and the same issue.

Any help much appreciated.
Thank you
More details on the issue of no ethernet.
(the wifi chip is receiving a signal btw, I can pickup access points)

U-Boot 2023.04-rc1-gbe645fef (Apr 29 2023 - 23:33:09 +0000)

Model: Pine64 RK3566 Quartz64-B Board
DRAM: 4 GiB (effective 3.7 GiB)
Core: 286 devices, 20 uclasses, devicetree: separate
MMC: rockchip_sdhci_probe clk set rate fail!
mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0
Loading Environment from nowhere... OK
In: serial@fe660000
Out: serial@fe660000
Err: serial@fe660000
Model: Pine64 RK3566 Quartz64-B Board
can't get vref-supply: -2
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
Net: No ethernet found. <---------------------------------------------------------------here.

upon boot...
...
[ 5.756214] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found
[ 5.756518] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode.
[ 5.757387] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input).
[ 5.757497] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller.
[ 5.758034] rk_gmac-dwmac fe010000.ethernet: TX delay(0x4f).
[ 5.758619] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a
[ 5.759112] rk_gmac-dwmac fe010000.ethernet: RX delay(0x24).
[ 5.759645] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
[ 5.760108] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
[ 5.761671] rk_gmac-dwmac fe010000.ethernet: clock input from PHY
[ 5.763243] dwmmc_rockchip fe2b0000.mmc: Got CD GPIO
[ 5.767275] rk_gmac-dwmac fe010000.ethernet: init for RGMII
[ 5.769558] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[ 5.770250] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5
[ 5.770727] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported
[ 5.771402] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported
[ 5.772075] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
[ 5.772705] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
[ 5.773484] rk_gmac-dwmac fe010000.ethernet: TSO supported
[ 5.773999] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 5.774736] rk_gmac-dwmac fe010000.ethernet: device MAC address 2a:8b:6f:6a:01:08
[ 5.775425] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10)
[ 5.776073] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
[ 5.776616] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width

So could this be related to a kernel setting: CONFIG_REALTEK_PHY maybe??

Kind regards