Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]ethernet of odroid-n2 or odroid-c4 does not work in actual master build #4478

Closed
Karl-opec opened this issue Jul 8, 2020 · 3 comments
Closed
Labels

Comments

@Karl-opec
Copy link

Karl-opec commented Jul 8, 2020

Describe the bug

ethernet is not working for odroid c4 and odroid-n2 boards

Informations

  • LE master commit bbbb726
  • odroid-n2 and odroid-c4

Additional context

removing

amlogic-0155-WIP-arm64-dts-meson-switch-ODROID-N2-to-rgmii-id.patch
amlogic-0156-WIP-arm64-dts-meson-switch-ODROID-C4-to-rgmii-id.patch

in amlogic patches linux fixes the bug.

@chewitt
Copy link
Member

chewitt commented Jul 8, 2020

You need to better define "not working" because I've been working from N2/C4 in recent days without issues. Note that I am also using the current 2020.04 u-boot we bundle into images: http://ix.io/2rbQ

@Karl-opec
Copy link
Author

Karl-opec commented Jul 8, 2020

Ethernet not working means: it does not communicate over ethernet. interface eth0 is there but it can't get an ip from dhcp it assigns the dummy ip 169.xxx.xxx.xxx to eth0. The change of phy-Mode to rgmii-id seams to break something. I use the uboot which is build by building the above git master image.

I see you run on 100MB, I run 1GB Network, perhaps this might be the issue?
The following part of dmesg is with working 1GB Network after changing phy to rgmii.

`
[ 4.305988] RTL8211F Gigabit Ethernet 0.0:00: 2ns TX delay was already disabled (by pin-strapping RXD1 or bootloader configuration)

[ 4.306484] RTL8211F Gigabit Ethernet 0.0:00: 2ns RX delay was already disabled (by pin-strapping RXD0 or bootloader configuration)

[ 4.306699] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=28)

[ 4.321389] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found

[ 4.321403] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW

[ 4.321411] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode

[ 7.766789] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[ 7.766817] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
`

@CvH CvH added the LE 10.0 label Aug 3, 2020
@chewitt
Copy link
Member

chewitt commented Jan 16, 2021

Closing after #4949 bumps everything to a current state again

@chewitt chewitt closed this as completed Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants