-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Ethernet wiznet w5500 #158
Comments
The It appears the module is already included at build time: Checking the filesystem I see the w5100 module is available but I don't have the required hardare to confirm the report. [root@pikvm lib]# find /lib/modules -name w51\*
/lib/modules/5.4.83-5-ARCH/build/include/config/wiznet/w5100.h
/lib/modules/5.4.83-5-ARCH/kernel/drivers/net/ethernet/wiznet/w5100.ko.gz
[root@pikvm lib]# Please consider opening a forum account for Arch Linux ARM upstream and asking about the issue. If you believe this is a bug with the Arch Linux ARM kernel distribution, you can submit a bug report directly on the Arch Linux ARM Packages Forum. |
I have posted a question on the arch linux forum. I hope someone will respond. I will keep posted here if something change if someone else will have the same problem. If anyone here have any idea what to do please give me a hint. Thanks |
well ... currently pikvm uses 5.4.83-3 kernel and in 5.4.83-5 there is a patch to Arch Linux making w5500-spi module to compile. Probably this module is responsible to get the w5500 ethernet module to work. How to get the 5.4.83-5? what and where to change in pikvm compile options? |
5.4.83-7 is already available in the repo. Just update:
|
Those commands should be issued under pikvm arch linux or in Ubuntu before make os command? If under pikvm then this is not possible because I'm running os on rpi zero v 1.3 which doesn't have internet connection. This is why I need SPI-Ethernet module to get working |
Okay, rebuild the image: |
with NC=1 I'm getting error: $ make os NC=1 |
You have some internet problems on the host (or inside docker) |
You were right, problem was with the docker but I was unable to solve it (reinstaling etc) so I decided to reinstall Ubuntu (Virtual Machine). I did everything from the begining and the build has ended properly but now the problem is that it didn't produced image file. I started the image build with |
The log is fine. Run |
Okey, there is some progress. I was able to get the w5500 module running. It gets the IP and I'm able to ping it and login on the pikvm www site but there are still some problems. I'm unable to ssh to it. Do I have to change something in the |
It seems that after few restarts ssh let mi in and now everything is working just fine :) |
Zero takes a very long time to boot, I think that's the point |
If someone would like to add ethernet module w5500 from wiznet to pikvm running on raspberry pi zero then here is what I did with help of Maxim:
There is no need to connect every GND and Vcc because they are connected already on the board.
You can also add a heat sing to raspberry CPU and add to the config overclocking configuration like this
above overvoltage parameters taken from here: https://www.raspberrypi.org/forums/viewtopic.php?t=249071
Now I'm getting 5fps and maybe there can be more tweaking to do ... Thanks for all help EDIT: This is what You can get with this configuration:
and up to 8 fps on kvm To be honest for me and the use of kvm is enough. |
Thanks for the detailed description. I've added link to this to the cookbook. |
Isn't that kinda slow? I get |
@pawkon I'm using the setup exactly as yours (Pi Zero v1.3 + W5500), and I did as you wrote in your comment (thanks!). But I'm stuck on rainbow-loop. Any advice on how to proceed? |
If You have rainbow loop then there is a problem with the image. Review if any errors while compiling the image and post it here. If not try again from the scratch. Check if the rpi boot up without w5500 module. |
Thanks, @pawkon . For others coming here: As Pi Zero v1.3 is not supported anymore, just use the provided by pikvm image: https://files.pikvm.org/images/v2-hdmi-zerow-latest.img.xz |
Solved the problem here: #158 (comment)
Ethernet wiznet w5500 with SPI interface is not working.
Module under Raspberry OS is working just fine but under pikvm 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:
dtoverlay=w5500
then like this:
dtparam=spi=on
dtoverlay=w5500
and then like this
dtoverlay=anyspi,spi0-0,dev="w5500",speed=30000000
dtoverlay=w5500
The second option is working just fine under RpiOS.
I've noticed that in the pikvm os 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
The text was updated successfully, but these errors were encountered: