question

mvader (Victron Energy) avatar image
mvader (Victron Energy) asked

Venus OS image on Raspberry Pi Zero (W)

Hi,

Some questions here pertain to using our packages on a RaspberryPi Zero W running Rasbian OS Lite. This question is about something else: testing if the RaspberryPi Venus OS image runs on those Pi Zeros.

Our wiki states:

  • Raspberry Pi Zero: we don't know if this is supported (its a community project: please try and let us know!)
  • Raspberry Pi Zero W & WH: same thing: we don't know.

Is there any one out here that could look into that? Could be as simple as testing; and all works; and then we know and change the wiki.

Or not; and then more work is needed; for which we’ll need some outside / community help.

Venus OSRaspberry Pi
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

7 Answers
markus avatar image
markus answered ·

If no one here has tried this, I am going to order a Pi Zero WH today in the evening. Should be in my hands by Tuesday then...

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

damonz avatar image
damonz answered ·

Just got a Pi Zero WH v1.1 today and tried beta version 2.30~35 but the Pi failed to boot. Got a brief flash from the green LED and then everything seemed to stop working. I dont have a screen attached at the moment so I was unable to see if any messages were posted to the terminal. I have since flashed the card with stretch lite to confirm that the board, wifi and sd card all work properly as it should. Everything runs fine on Stretch lite. Please let everyone know how you go @Markus. I have only a little bit of knowledge of linux so I'd be very interested in your feedback once yours arrives.


Regards,

Damon

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi all, I’ve been looking into this last night; and it won’t work with now available image. Thanks for confirming with a real test @damonz.

A colleague explained that the main issue is that the zero and similars don’t have a FPU; whereas the 2 and 3 do have that.

I read through some config files, and found this:

Our raspberrypi2 (and 3) images are built using our `raspberrypi2.conf` machine file.

The zero hardware uses the BCM2835 SoC. [2] Which is the same SoC as the RaspberryPi Model A+ and B+. The models we do not support.

That SoC is ARMv6, which equals ARM11 [3].

I’m not an expert; at this, but looks like a separate version of the image is needed to make it work on the zero. The agherzan repo on github is has a raspberrypi0-wifi.conf file [4]; which has


DEFAULTTUNE ?= "arm1176jzfshf"

require conf/machine/include/tune-arm1176jzf-s.inc

include conf/machine/include/rpi-base.inc


[1] https://github.com/victronenergy/meta-victronenergy/blob/master/meta-bsp/conf/machine/raspberrypi2.conf#L8

[2] https://www.raspberrypi.org/documentation/faqs/#hardware

[3] https://en.wikipedia.org/wiki/ARM_architecture

[4] https://github.com/agherzan/meta-raspberrypi/blob/master/conf/machine/raspberrypi0-wifi.conf

6 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Dave van Dongen avatar image
Dave van Dongen answered ·

I tried it about a year ago. Out of the box it doesn't work. The RPi Zero doesn't seem to finish it's boot sequence. The screen output remains black. The LED on the Pi indicates the Pi is running, but nothing more. I tried 2 different Zeros, same result.

I was going to enter the question myself if anybody has find out how to modify the image to get it running on a Zero.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

l30n avatar image
l30n answered ·

Is there any one how have a solution already?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

dingaling avatar image
dingaling answered ·

Would be so epic to get the raspberry pi zero w up and running!

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

wirmo avatar image
wirmo answered ·

I am also interested in getting the Pi Zero W or Pi 1 working, which both feature the same chip. I have taken the info of the OP and I am currently compiling an image on a linux machine. I will post more once it is done.

5 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.