Ethernet wiznet w5500

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Ethernet wiznet w5500

Postby pawkon » Sat Jan 23, 2021 6:04 pm

Ethernet wiznet w5500 with SPI interface is not working.
Module under Raspberry OS is working just fine but under arch linux it is not loading eth0 interface.
There is overlay for this module "w5500.dtbo" but loading it doesn't change anything. I tried like this:
$this->bbcode_second_pass_code('', 'dtoverlay=w5500')
then like this:
$this->bbcode_second_pass_code('', 'dtparam=spi=on
dtoverlay=w5500')
and then like this
$this->bbcode_second_pass_code('', 'dtoverlay=anyspi,spi0-0,dev="w5500",speed=30000000
dtoverlay=w5500')
The second option is working just fine under RpiOS.
I've noticed that the w5100-spi module is missing but I don't know if it is responsible for activating this module - I have found that in some tutorials that it is being loaded
Please help me to resolve this issue.
I'm trying to make it run on Raspberry Pi Zero v 1.3
Thanks
Last edited by pawkon on Sat Jan 23, 2021 7:00 pm, edited 1 time in total.
pawkon
 
Posts: 4
Joined: Sat Jan 23, 2021 5:58 pm

Re: Ethernet wiznet w5500

Postby graysky » Sat Jan 23, 2021 6:34 pm

Please edit your post and use code tags.

Which kernel package are you using on Arch ARM? I think the Zero uses linux-raspberrypi, yes?
Please post the output of uname -a under Arch ARM.

Note that I do not believe we are building that driver currently.
$this->bbcode_second_pass_code('', '
% zgrep -i wiznet /proc/config.gz
CONFIG_NET_VENDOR_WIZNET=y
CONFIG_WIZNET_W5100=m
CONFIG_WIZNET_W5300=m
# CONFIG_WIZNET_BUS_DIRECT is not set
# CONFIG_WIZNET_BUS_INDIRECT is not set
CONFIG_WIZNET_BUS_ANY=y
# CONFIG_WIZNET_W5100_SPI is not set
')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Ethernet wiznet w5500

Postby pawkon » Sat Jan 23, 2021 7:32 pm

uname -a
$this->bbcode_second_pass_code('', 'Linux pikvm 5.4.83-3-ARCH #1 SMP PREEMPT Mon Jan 4 01:09:25 UTC 2021 armv6l GNU/Linux')

/etc/os-release
$this->bbcode_second_pass_code('', 'NAME="Arch Linux ARM"
PRETTY_NAME="Arch Linux ARM"
ID=archarm
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinuxarm.org/"
DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
SUPPORT_URL="https://archlinuxarm.org/forum"
BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
LOGO=archlinux')
pawkon
 
Posts: 4
Joined: Sat Jan 23, 2021 5:58 pm

Re: Ethernet wiznet w5500

Postby graysky » Sat Jan 23, 2021 7:44 pm

Keep an eye out of 5.4.83-4 which should fix you up.6cabc12
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Ethernet wiznet w5500

Postby pawkon » Sat Jan 23, 2021 8:14 pm

Do You think this module will solve the problem? I wrote about it only because I saw in some tutorial someone is being loading it but under RpiOS I didn't have to load anything extra. Just dtoverlay=w5500 was enought.
pawkon
 
Posts: 4
Joined: Sat Jan 23, 2021 5:58 pm

Re: Ethernet wiznet w5500

Postby graysky » Sat Jan 23, 2021 8:44 pm

I do not have the hardware but am assuming the module is needed. it's easy enough to enable and build the kernel for you to test. Please update your system and try it. I see that linux-raspberrypi 5.4.83-5 hit my mirror so I assume it should be available for you too.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Ethernet wiznet w5500

Postby pawkon » Wed Jan 27, 2021 6:03 pm

Higher version solved the problem. Now w5500 is working like a charm. Thanks for help :)
pawkon
 
Posts: 4
Joined: Sat Jan 23, 2021 5:58 pm

Re: Ethernet wiznet w5500

Postby graysky » Wed Jan 27, 2021 7:29 pm

Glad you're hardware works.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 10 guests