ODroid N2+ ethernet issue

kitzman <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hello,

I decided to try NetBSD on the ODroid N2+ (amlogic). The ethernet was 
not working, and dmesg was showing "ethernet@addr not configured".

One can use code from ~3 years ago as a quick hack to get it working:

The ethernet from meson-g12-common.dtsi is compatible with 
"amlogic,meson-g12a-dwmac", so not with meson_dwmac.c's entries.
Changing the dtsi entry to "amlogic,meson-axg-dwmac" allows the kernel 
to detect awge0.

Next, the ethernet controller reset fails. I copy-pasted the 
meson_dwmac.c prior to the "PR port-evbarm/50416" commit. And now it 
works.

Kind regards,
kitzman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.