Firefly Open Source Community

Title: eth0/eth1 interfaces don't work [Print This Page]

Author: valeriy.simakov    Time: 3/23/2022 02:54
Title: eth0/eth1 interfaces don't work
We are using RK3568 with our carrier board (custom board) and factory carrier board (devboard).
For network we are using the same chip RTL8211F-CG as on devboard.
As result, eth0/eth1 interfaces don't work. We can't understand what is a reason.

Linux log files for both carrier boards:
https://drive.google.com/drive/f ... dWsY0YS?usp=sharing


Author: Firefly    Time: 3/23/2022 17:14
Hi, we suggest that you can check the Ethernet-related circuit on the board first. Thanks.
Author: 时间的蝴蝶    Time: 3/23/2022 17:41
From the information, the PHY device, RTL8211F-CG, is not recognized.
You need to rule out hardware problems, whether the power supply, reset, and clock of the RTL8211F-CG are normal.
This will provide some help. https://gitlab.com/firefly-linux ... firefly/Common/GMAC

Author: valeriy.simakov    Time: 3/25/2022 15:23
Оther four custom boards have an another error with DMA:

[   10.334142] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma
[   10.334168] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[   10.334176] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_open: Hw setup failed
[   10.443937] rk_gmac-dwmac fe2a0000.ethernet: Failed to reset the dma
[   10.443963] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_hw_setup: DMA engine initialization failed
[   10.443971] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_open: Hw setup failed
[   10.577682] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma
[   10.577708] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[   10.577715] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_open: Hw setup failed
[   10.687930] rk_gmac-dwmac fe2a0000.ethernet: Failed to reset the dma
[   10.687966] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_hw_setup: DMA engine initialization failed
[   10.687973] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_open: Hw setup failed
[   10.824357] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma
[   10.824383] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[   10.824390] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_open: Hw setup failed
[   10.934578] rk_gmac-dwmac fe2a0000.ethernet: Failed to reset the dma
[   10.934606] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_hw_setup: DMA engine initialization failed
[   10.934635] rk_gmac-dwmac fe2a0000.ethernet eth1: stmmac_open: Hw setup failed
Author: 时间的蝴蝶    Time: 3/28/2022 15:59
valeriy.simakov Posted at 3/25/2022 15:23
Оther four custom boards have an another error with DMA:

[   10.334142] rk_gmac-dwmac fe010000.e ...

That's usually a problem with the operating clock.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1