Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Ethernet does not work

36

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
36

【Linux】 Ethernet does not work

Posted at 9/13/2022 02:59:58      View:1527 | Replies:3        Print      Only Author   [Copy Link] 1#
Hi everyone,
I recently compile the linux SDK for Firefly ROC3566-PC, to use an UART ports (3, 5 and 9), but, the ethernet port does not work... I see the driver in the sdk for realtek rtl8211f chip, on
rk356x_linux_release_20211019/kernel/drivers/net/phy/realtek.c
. I'm using Ubuntu 20.04 rootfs
When i use the precompiled image for  ubuntu given from FireFly team, i dont see drivers loaded with lsmod, so, i can't understand what's happen with this...

the gmac is okay in dts files.

Reply

Use props Report

374

Credits

7

Prestige

7

Contribution

intermediate

Rank: 3Rank: 3

Credits
374
Posted at 9/13/2022 10:08:33        Only Author  2#
use firefly firmware to make sure the hardware is OK
and 3566-pc using gmac1 m0 group pins, and this group of pins is multiplexed with uart3 m1 group
maybe you enabled uart3 m1 and it conflicts with gmac1, you need to config uart3 to use m0 in dts
BUT, uart3 m0 is multiplexed with i2c3 m0, so to use uart3, you need to disable i2c3
Reply

Use props Report

36

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
36
Posted at 9/14/2022 03:15:18        Only Author  3#
Liuth Posted at 9/13/2022 10:08
use firefly firmware to make sure the hardware is OK
and 3566-pc using gmac1 m0 group pins, and thi ...

Oh, nice... When i use the firefly firmware, the ethernet port is up, but, with my firmware does not up.
This is my rk3566-firefly-roc-pc.dts file, i only removed the uart3 from this... And the ethernet is worked again, thanks you

  1. &uart3 {
  2.    status = "okay";
  3. };
  4. // i just removed the uart3, and it works.
  5. &uart5 {
  6.     status = "okay";
  7. };

  8. &uart9 {
  9.     status = "okay";
  10. };
Copy the code


but, i see in the ROC Rk3566-PC, in the J1 terminal, i only have an uart3_m0 for tx and rx, if i use uart3_m1, this port is not work for me in the J1 terminal, right?
Reply

Use props Report

374

Credits

7

Prestige

7

Contribution

intermediate

Rank: 3Rank: 3

Credits
374
Posted at 9/14/2022 09:24:20        Only Author  4#
alexxowo Posted at 9/14/2022 03:15
Oh, nice... When i use the firefly firmware, the ethernet port is up, but, with my firmware does n ...

Yes
J1 terminal has uart3_m0 uart5_m1 uart9_m1
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