Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] eth0/eth1 interfaces don't work

67

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
67

【Linux】 eth0/eth1 interfaces don't work

Posted at 3/23/2022 02:54:39      View:5082 | Replies:4        Print      Only Author   [Copy Link] 1#
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

Reply

Use props Report

1637

Credits

0

Prestige

0

Contribution

administrator

Rank: 9Rank: 9Rank: 9

Credits
1637
Posted at 3/23/2022 17:14:49        Only Author  2#
Hi, we suggest that you can check the Ethernet-related circuit on the board first. Thanks.
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 3/23/2022 17:41:00        Only Author  3#
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
Reply

Use props Report

67

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
67
Posted at 3/25/2022 15:23:01        Only Author  4#
О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
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 3/28/2022 15:59:54        Only Author  5#
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.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list