Jump to content

NanoPi A64 doesnt connect with onboard Ethernet/WiFi with new compiled current/dev image


guidol

Recommended Posts

At first I compiled today armbian buster dev with kernel 5.10.10 and had no chance to connect eth0 nor wlan0 to my network :(
Only a USB-Ethernet did connect instantly via DHCP.

I did try to go back to kernel 5.9.1 via armbin-config, because with older installations with kernel 5.9.1 (up to 5.9.5) it did work,

 

but also cant connect via onboard ports

But onboard ethernet get a link and did show the right speed and wlan0 is also displaying the available WiFi networks.

 

Next try was to build the armbian buster current (which gave me also kernel 5.10.10) and it also doesnt connect with onboard devices

(here not via Network-Manager nor /etc/network/interfaces)

Also a downgrade to kerrnel 5.9.0 doesnt did the trick :( 

Here the USB-Ethernet also does work fine.
 

eth0 is also in the same phy-mode as on other devices here:
dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/rgmii link mode

[   41.158508] dwmac-sun8i 1c30000.ethernet eth0: PHY [stmmac-0:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   41.160228] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   41.160252] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   41.160260] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   41.173024] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/rgmii link mode



kernel 5.10.10:
System diagnosis information will now be uploaded to http://ix.io/2NnI 

 

kernel 5.9.0 :
System diagnosis information will now be uploaded to http://ix.io/2NnV

 

Now I do compile "legacy" with kernel 5.4 and will see it that will work :(
But why did 5.9.x did work in the past and not now?

 

Link to comment
Share on other sites

16 minutes ago, Igor said:

@Igor I was already thinking about this change, but couldnt find the thread.
I changed in the actual used 5.9.0 image the .dts/dtbs to rgmii-id mode and restarted:
 

[   40.812499] dwmac-sun8i 1c30000.ethernet eth0: PHY [stmmac-0:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   40.814234] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   40.814255] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   40.814264] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   40.814863] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/rgmii-id link mode

root@npi-a64-116:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=21.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=22.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=21.8 ms

 

If that will also work in 5.10.10 - then I will have to create a PR :) but I have to find the "entry-point" for the dts-file in github.... ;) 

Link to comment
Share on other sites

3 minutes ago, guidol said:

but I have to find the "entry-point" for the dts-file in github

 

./compile.sh CREATE_PATCHES="yes"

edit source, source, continue

copy created patch to patch/kernel/sunxi-current and sunxi-dev ... 

Link to comment
Share on other sites

its working again with 5.10.10 (with my - at this time- local .dts/.dtb-change) ;)
 

 _   _ ____  _      _    __   _  _
| \ | |  _ \(_)    / \  / /_ | || |
|  \| | |_) | |   / _ \| '_ \| || |_
| |\  |  __/| |  / ___ \ (_) |__   _|
|_| \_|_|   |_| /_/   \_\___/   |_|

Welcome to Armbian 21.02.0-trunk Buster with Linux 5.10.10-sunxi64

No end-user support: built from trunk

package bsp-kernel[21.02.0-trunk] u-boot[21.02.0-trunk] dtb   [21.02.0-trunk]
firmware          [21.02.0-trunk] config[21.02.0-trunk] branch[dev]

System load:   4%               Up time:       14:55
Memory usage:  10% of 985M      IP:            192.168.6.116
CPU temp:      27°C             Usage of /:    10% of 15G

 

System diagnosis information has been uploaded to http://ix.io/2Npi
 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines