Skip to content
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

Pi Zero 2 W compatibility? #2827

Closed
Gonioul opened this issue Oct 28, 2021 · 128 comments
Closed

Pi Zero 2 W compatibility? #2827

Gonioul opened this issue Oct 28, 2021 · 128 comments
Labels

Comments

@Gonioul
Copy link

Gonioul commented Oct 28, 2021

Hi,

Pi Zero 2 W is supposed to be Pi 3 compatible in Pi Zero format.

Has someone tested it with motioneyeos?

Regards,

@starbasessd
Copy link

No, it was theoretically just released 28 Oct 2021. I don't know of anyone who has received one yet, or where they are available.

@starbasessd
Copy link

https://socialcompare.com/en/comparison/raspberrypi-models-comparison
A53 4 core, but half the RAM of a Pi3B, so, again, theoretically closer related to the Pi3A.
Only 802.11B/c/g/n, no ac.

@starbasessd
Copy link

Would need to get one in hand for testing. Be interesting to see what the boot process is, what OS mods were made, etc.

@Ru-Pirie
Copy link

I have one on the way and plan to give it a shot so fingers crossed if I remember ill give both the PI Zero OS and the PI 3 OS a go and i'll let you know.

@starbasessd
Copy link

I really would appreciate it. Also, please try 20200606 and dev20201026.

@blakemlloyd
Copy link

I've tried the standard 20200606 pi 3 release and no lights/no boot(expected due to incorrect kernel). So have copied over the latest kernel including the Pi Zero 2 one and am now getting lights but no network connection. Will attempt to connect a screen to see if it's giving any errors out

@Ru-Pirie
Copy link

im going to try the pi zero image and give that a go

@starbasessd
Copy link

I was afraid of that. buildroot, and ThingOS set up VERY specific chip combinations (CPU/GPU/WiFi) per version which is why 4b-8GB doesn't work on 20200606 but does work on dev20201026 (and the PiZeroW2 was but a 'gleam in the eye' of RPiFoundation. For now, I doubt if it will be a supported board with motionEyeOS, until @ccrisan can do a re-build. It should have no issues with building motionEye with the RPiOS or any others that can still support Python2.7.

@Ru-Pirie
Copy link

Yep no luck on my end, I wonder if it's time to sell my soul to the devil and write my own kernal

@starbasessd
Copy link

Did you try dev20201026?
I am beginning to doubt that buildroot / ThingOS has support (yet) for the PiZeroW2, either.

@Ru-Pirie
Copy link

Ru-Pirie commented Oct 29, 2021

yep no luck
leds flash, processor heats up no display out and im not gona mess with i2c with my brand new PI.

@starbasessd
Copy link

Have you tried PI-dev20201026 or Pi3-dev20201026 out of curiosity?

@Ru-Pirie
Copy link

PI-3 Dev no luck I'll try the PI one

@starbasessd
Copy link

Thanks. Like I said, the motionEyeOS is very chip combination specific from buildroot and ThingOS. We'll have to wait until the next build to get the PiZeroW2 included.

@CyanAutomation
Copy link

I got my Pi Zero 2s today, and proceeded with testing.

Neither the RPi Zero 1 (motioneyeos-raspberrypi-20200606.img.xz) nor the RPi 3 (motioneyeos-raspberrypi3-20200606.img) images work - neither allows the RPi Zero 2 to boot (no LEDs seen, no network handshake/connectivity to router).

@starbasessd
Copy link

T'was my fear, the images are very chip specific. As I stated above, we'll have to wait. I do thank you for testing.

@jawsper
Copy link
Collaborator

jawsper commented Oct 30, 2021

I've succeeded in booting MotioneyeOS on my Pi Zero 2 W, required changes are available in PR #2829

@starbasessd
Copy link

Many thanks, @jawsper, hopefully it will be added soon.

@avanc
Copy link

avanc commented Nov 1, 2021

As motioneyeos is based on thingOS, I would expect the changes to be integrated there. I created a ticket to keep track of it:
ccrisan/thingos#75

@sagitt
Copy link

sagitt commented Nov 2, 2021

i received it today. I hop a release of meyeos soon! :)

@starbasessd
Copy link

MotionEye https://github.com/ccrisan/motioneye/wiki
has been confirmed operational in the mean time.

@r00kieone
Copy link

r00kieone commented Nov 2, 2021

I've succeeded in booting MotioneyeOS on my Pi Zero 2 W, required changes are available in PR #2829

I tried making the image using the build script (after applying #2829 )got stuck a few times, and now at missing rootfs.tar.

@jawsper Could you please share how you did the building of the image?

@Cadmonkey99
Copy link

Hi everyone! Any update on this? I have received my Pi Zero 2's and would really like to start using them. I have the same issue as r00kieone.....cant seem to build the image. @jawsper Can you please share the image file that works?

@trobinette
Copy link

Just got my 2 W. The 20200606 hangs at the 4 enlarged pixels from the graphics chip and never goes further. I’m happy to help test a new image if one is available.

@starbasessd
Copy link

Currently, the only confirmed way to go is RaspberryPiOS Lite, and motionEye found here:
https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

@sagitt
Copy link

sagitt commented Nov 10, 2021

Currently, the only confirmed way to go is RaspberryPiOS Lite, and motionEye found here: https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

no fast camera support, right?

@starbasessd
Copy link

That would be correct, as Fast Network Camera is an option only available in motionEyeOS. The program that FNC uses is available, as 'streamEye' and can be seen here:
https://github.com/ccrisan/motioneyeos/wiki/Fast-Network-Camera#streameye

@sagitt
Copy link

sagitt commented Nov 10, 2021

That would be correct, as Fast Network Camera is an option only available in motionEyeOS. The program that FNC uses is available, as 'streamEye' and can be seen here: https://github.com/ccrisan/motioneyeos/wiki/Fast-Network-Camera#streameye

tank you. i'll wait a meyeos release for this board :). i need fast camera.

@HarveyBrookes
Copy link

Currently, the only confirmed way to go is RaspberryPiOS Lite, and motionEye found here:
https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

I agree with Starbasessd,
It works, but also I could only reliably get it doing so using Buster, not with Bullseye. (or it could be me)

On the Pi Zero2
Bullseye was failing at python-pip command, installing python3-pip didn't help, and I guess that's why I could not start the web interface, perhaps, maybe a different thread for that topic?
Buster setup and installed the full motioneye without any issues.

Just a newbie's input :)

@rogierlommers
Copy link

It is very minimal

You convinced me already at this..... 👍

@starbasessd
Copy link

For the 'official' Pi images, you CAN install and run on a 2GB SDCard, as long as you are doing ALL storage of pics and movies on a NAS somewhere, or another external drive... Just another 'feature'. Might change when the next image comes out (Bullseye, probably, with additional chipsets for CM4s and PiZero2Ws, etc)

@rogierlommers
Copy link

rogierlommers commented Jan 6, 2022

I have a 32GB card (and indeed, use a SMB3 mount to my synology for storage). So storage will not be the bottleneck here.
Now I'm thinking: how much "slower" would it be on my PiZero2W if I install it myself? I do have a small preference to run it on raspberry OS. Reasons:

  • Being able to extend features like node_exporter (prometheus) and tailscale clients
  • The OS is officially maintained
  • apt package manager is vailable
  • etc.

@starbasessd
Copy link

motionEyeOS is for a dedicated camera/hub. If you want to run anything else in addition to motionEye (mostly aimed at Pi3, Pi3B+, Pi4-2GB, Pi4-4GB, Pi4-8GB) you will (probably) want to run on RPiOS (best hardware support). If you need NFS NAS support, you need another OS. If you only need SAMBA/CIFS, FTP/SFTP/SCP, GDrive, Dropbox, you can go with motionEyeOS (all built in). It is possible to run additional scripts it can be done if bash or python2. If you need additional drivers for hats or hardware, you might be able to do them, but it might be 'fun' trying...

@starbasessd
Copy link

You might run into a bottleneck with lack of RAM. I doubt you'll be CPU constrained since it's rated 4-5 times faster than the PiZeroW, and pretty much equivalent to a Pi3B...

@rogierlommers
Copy link

You might run into a bottleneck with lack of RAM. I doubt you'll be CPU constrained since it's rated 4-5 times faster than the PiZeroW, and pretty much equivalent to a Pi3B...

All very nice info, thanks again! I'm just going to try and see the differences. Now flashing my card... then installing all the motion-stuff manually. Will post updates here, for future reference.

@starbasessd
Copy link

Be sure to follow the correct instructions for the correct OS...

@rogierlommers
Copy link

Be sure to follow the correct instructions for the correct OS...

Yes, will use this doc: https://github.com/ccrisan/motioneye/wiki/Install-on-Raspbian-Bullseye

@rogierlommers
Copy link

rogierlommers commented Jan 6, 2022

Well.. that was quick: I just installed the latest version of motioneye on my PiZero2W, running the latest (original) Bullseye raspberryOS. No problems so far; the camera has been detected and everything works fine.

@starbasessd
Copy link

One of those things mentioned above.
Need to install cifs-utils, then map drive in /etc/fstab
Let me know if you need assistance.

@rogierlommers
Copy link

One of those things mentioned above. Need to install cifs-utils, then map drive in /etc/fstab Let me know if you need assistance.

jow, no it was the default value of the "smb_shared" properry. It is described in the (excellent) docs: https://github.com/ccrisan/motioneye/wiki/Configuration-File#smb_shares

@starbasessd
Copy link

Sorry, I was thinking from the either direction...

@rogierlommers
Copy link

Sorry, I was thinking from the either direction...

I just noticed that you are the maintained of the docs. Nice job 👍 .

@starbasessd
Copy link

Maintainer, yes. Creator of a lot of them, no. If you notice something that can be updated or improved, create another issue, and I'll see what I can do.

@rogierlommers
Copy link

Will do. 👍

@Gonioul
Copy link
Author

Gonioul commented Jan 11, 2022

After a while, Jasper image looks stable.
Pi Zero 2 W seems to be more sensitive to some wifi problems: Sometimes I had glitches on image capture I never had with Pi Zero W.
I hope I solved them by changing 2.4G accesspoint channels and BW compatibility (20/40MHz) with a really busy neighborhood.
Support for common usb 5GHz wifi adapters like odroid in motioneyeos would be nice.

@starbasessd
Copy link

Support for common usb 5GHz wifi adapters like odroid in motioneyeos would be nice.

Is a function of RaspberryPiOS, not motionEyeOS. There are a couple that were supported back when the last image was created, and a couple more are supported now in the last Buster image, haven't really looked at Bullseye and supported 5GHz dongles. The WiFi chip in the PiZero2W is 5GHz capable, doesn't @jawsper s image update the driver?

@Gonioul
Copy link
Author

Gonioul commented Jan 11, 2022

I read the Pi Zero 2 W is NOT 5Ghz capable...
Unfortunately, this is a big standoff on a busy neighborhood, more than 512MB memory.

@starbasessd
Copy link

Sorry, you are correct. The early site I saw that on does have a correction posted. My bad.
I do have an Asustek AC1300 USB-AC55 that is recognized by RPiOS and dev20201026 on PiZeroW (using a OTG adapter)

3.599694] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
3.831825] usb 1-1.2: New USB device found, idVendor=0b05, idProduct=17eb, bcdDevice= 1.00
3.831856] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
3.831874] usb 1-1.2: Product: 802.11ac WLAN
3.831892] usb 1-1.2: Manufacturer: MediaTek Inc.
3.831908] usb 1-1.2: SerialNumber: 000000000

@RodCleaves
Copy link

Starbasessd - Thanks so much for pointing me in the right direction. The Zero 2 W has booted and one camera is working fine, the other two are in a box for now. I would like to ask two more questions, neither needs to be answered if it's too much trouble: 1) most important to me, is there a way to alter motioneyesos to add, what is now, an incompatible camera? I have several iCamera-1000's and would like to use them. They are attached to my home network and accessible via IP.

And, 2) what did you do to create a Zero 2 W fork? I'd like to learn more.

I'm a retired Hardware/Software Engineer just having fun but my career was in writing user applications and utilities, I've done very little OS development work, except in school back in the stone age.

@jawsper
Copy link
Collaborator

jawsper commented Jan 12, 2022

Hi @RodCleaves, it was quite simply a matter of updating some packages such as the Linux kernel used and the specific Raspberry Pi firmware to a version new enough that support for the Zero 2W was included. I only had to change these files in motioneyeos: https://github.com/ccrisan/motioneyeos/pull/2829/files

@starbasessd
Copy link

1 There is a wonderous website with IP Camera settings available at ispyconnect.com that may be of assistance. If your camera is an icam model 1000 I found these:
https://www.ispyconnect.com/camera/icam and you can try their settings.
2 I did not create the fork, @jawsper did. There are instructions on how to build motionEyeOS at https://github.com/ccrisan/motioneyeos/wiki/Building-From-Source. I've done it a few times, but seldom successfully.
I am a 30+ year experienced Senior Help Desk person (Enterprise, Level 3, etc) who helps here as payback for such an excellent program (for me, YMMV). I have a nice setup where I can reproduce most issues, either on Pi hardware (except the CM boards and PiZero2W) and any 'normal' OS on Iron. I have a Ryzen 7 VBox server with 32GB/10TB, a 6TB NAS, many cameras (production and testing), etc. My production server is an I5/6GB/1TB Lenovo M73 TFF PC running Debian Buster and on a separate VLAN.

@RodCleaves
Copy link

jawsper, starbassessd, thanks for the quick response. It sounds like we had similar career paths (starassessed), my favorite job was working on the design team at Data General for the Eclipse S140/Nova 4. There was only one instruction decoder PROM that separated them - a 10 cent item that we charged an extra $4,000 to purchase. It was the best time of my life. Then, I became a CIO with the government. It seems more like I escaped rather than retired. I strongly suggest to NEVER work for the US government.

OOP was becoming a "thing" when I moved on so I'm a bit behind the times. I'm having fun again though. Python's actually pretty versatile.

I think I stumbled onto ispyconnect a while back, I'll look again.

jawsper, thanks I'll look at that as soon as I get my house secure again. We've been without surveillance for a few weeks while I figure this out. I come from a time when we had to compile our OSes everytime we moved computers but then again, we only had 28K of RAM <- yes that was a "K".

:) take care, all.

rod

BTW, I'm near Lowell, MA if anyone's in the area.

@starbasessd
Copy link

I'm located across the river from the Fastest 2 Minutes in Sports (employed there for 7 years).
If you like python, motionEye (and motionEye in motionEyeOS) is written in Python2.7 and is fun to look at. No Apache or other apps to get in the way. Have fun.

@chrisparker787
Copy link

chrisparker787 commented Jan 14, 2022

Hi,
Pi Zero 2 W
motionEyeOS 20200606
ZeroCam FishEye
Camera added as Remote motionEye Camera with static IP address
Camera doesn't seem to be detected - output of vcgencmd get_camera:
supported=1 detected=0
Has anybody else tried this camera with motionEyeOS and a Pi Zero 2 W?
TIA!

@starbasessd
Copy link

20200606 doesn't work on a PiZero2W, have to get the other forked image
https://github.com/jawsper/motioneyeos/releases/tag/20211113
As to the camera not detected, it may be a cable issue. Or the camera may be bad. The blue or black side goes away from the board at the camera and at the Pi.

@starbasessd
Copy link

I am closing this issue due to the number of responses here. Please open a new issue if you are having issues.

@motioneye-project motioneye-project locked and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests