-
Notifications
You must be signed in to change notification settings - Fork 911
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
Add support for Raspberry Pi Zero 2 W #2829
base: dev
Are you sure you want to change the base?
Conversation
jawsper
commented
Oct 30, 2021
- Updates for: kernel, rpi-firmware, rpi-wifi-firmware, v4l2loopback (needed for kernel 5.7+)
* Updates for: kernel, rpi-firmware, rpi-wifi-firmware, v4l2loopback (needed for kernel 5.7+)
I would like to use this with my Zero 2 W, is there a way I can compile a image myself. |
@vleeuwenmenno |
I downloaded @jawsper image make sure you name wifi config ".conf" most important part. any word on when this merge will happen? |
I successfully installed your img and it successfully booted my Pi Zero 2W into motioneyeOS (eventually after I creating the wpa_supplicant.conf file and ssh correctly!) However I stupidly click the "Check For Updates" and of course it downloaded and overwrote your setup installation and would not boot up afterwards! I can easily re-install but I guess we need this fix checked out and updated to the main repository soon. Thanks for your work. :-) Oh after rebooting and changing too a static IP - I lost the date and time from the NTP. This might be due to my setup but it was working under DHCP. |
@MarkJC67 It is always better to have your DHCP server issue a static (reserved) IP address, less chance of 'messing things up'. STATIC_IP="192.168.42.1/24" Change as appropriate for your network |
I downloaded the release image and wifi seems to be missing. WLAN0 interface is missing. I can use a USB network adaptor and boot. The only network interfaces present are lo and eth0. ---- booting motionEyeOS unknown ----
there is nothing in dmesg or messages that indicate anything failed. Any clues as to where to begin? |
@rickblair There is a build that works here: |
Perfect thanks!
…Sent from my iPhone
On Dec 31, 2021, at 12:56 PM, starbasessd ***@***.***> wrote:
@rickblair There is a build that works here:
#2827 (comment)
The issue for any 'official release' is that they are pre-release of the PiZeroW2, and buildroot doesn't support the other chips used on it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Created a new release updating |
@herdier0 Did you post then delete your post? |
I did, I was having this exact problems until I realized that my SSID was missing a character... Spent hours trying to understand the problem, to realizing that it was my totally my fault. |
So, how can we properly update to 20220119-dev if update button is wrong? |
@Gonioul Unfortunately, since it isn't a part of the Official issues, you need to do a backup, re-image, and restore data. |
Also, if the older version works on your Zero 2, there is no need to upgrade either |
I have the same issue as rickblair: #2829 (comment) New to all this, and no coding background. I have tried both images from jawsper, 2nd last gives the same as rickblair, latest gives this: *Starting rngd: done Anything i can do to make the wifi work on the zero 2 w ? Thanks in advance! |
@Rtitude did you include / add your wpa_supplicant.conf file to the /boot partition to activate wifi before inserting and starting the PiZero2W? |
I was 100% sure i did, turns out with trying different things i forgot, new flash and adding the wpa file it works now. |
@jawsper |
I have actually found out why this does not work. It would appear that I spelled wpa_supplicant.conf incorrectly. I have now spelled it right and its working |
Actually another question, does any one know how to add multiple RPI Zeros to this. What installation do i use and how do I set it up Thanks |
@tegwin You have (at least) two options:
Either way, you can add multiple cameras by opening the menu, and then clicking the dropdown directly next to the menu button, there should be an option to "add camera...". You then select |
Not sure I understand. When you say Use one as a Master. what do you mean ? Do I need to put any special camera software on this. What I was hoping is that I could install camera software on a PI and just add it through the interface |
No extra software needed. Each of the cameras with |
Ok thanks. So I can just install MotionEyeOS on any device I want and then I can add them as additional from there. Is there is an option in the UI to do this ? |
Hi folks. I need to set up a Pi Zero W, to act as an AP. I have been asked to set up cctv in out local apiary, and it is remotely located without internet or wifi. I am wondering if anyone had any link to an image of Motioneye, suitable for a PI zero W, that would already have the hostapd, dnsmasq, and the other files necessary for it to function. I have tried to create one myself, but my coding skills are just not up to the task. Both the bees and myself urgently need help. Thanks in advance. |
This is for PiZero or Pi1, and has the files needed already. Here is the link to specific instructions. |
Any chance this will get updated to work with the camera module 3? |
Eventually, maybe. You could install RaspiOS Buster Lite, and follow the instructions here |
The wiki is outdated. Here are up-to-date instructions: https://github.com/motioneye-project/motioneye?tab=readme-ov-file#installation Camera module 3 supports only apt install libcamera-tools libcamera-v4l2
sed -i 's|^ExecStart=/usr/local/bin/meyectl|ExecStart=/usr/bin/libcamerify /usr/local/bin/meyectl|' /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl restart motioneye Then you should be able to add the camera module 3 as regular V4L2 camera (not MMAL). |
I bow to your superior intellect, sir, and will stop replying to issues here. As 0.43.x is still not complete, I recommend to users how to set up the last known good, but I shan't do so, further. Enjoy. BTW, the links I sent still work, even if a bit outdated. |
Ah yeah sorry, the idea is not wrong. However, v0.42.1, has much more issues in the meantime then the left open ones in v0.43.y. So even that we did not make a stable release yet, the latest beta is much more stable than v0.42.1. Debian Buster is EOL, Raspbian Buster even more, so it should really not be installed anymore. |
@MichaIng For reference I have raspian (bookworm) 64-bit OS installed on my pi zero 2 W, with a camera module V3 wide. |
@zeekblitz systemctl cat motioneye
ps ax | grep -E '[m]otion|[l]ibcamerify' ... apt install libcamera-v4l2
systemctl restart motioneye |
@MichaIng this is my results and I still am not seeing anything. |
Ah, my mistake, I assumed the wrong sed -i 's|^ExecStart=/usr/local/bin/meyectl|ExecStart=/usr/bin/libcamerify /usr/local/bin/meyectl|' /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl restart motioneye |
after a long reboot, this seems to have worked. now I need to test on the bookworm lite OS. |
I might be missing some information, but I went to this page https://github.com/motioneye-project/motioneyeos/wiki/Supported-Devices
and installed its per instructions on a Pi ZERO 2 (W). Worked forst time and I think it was a Ver 3 camera.
… On Jul 3, 2024, at 21:34, zeekblitz ***@***.***> wrote:
after a long reboot, this seems to have worked. now I need to test on the bookworm lite OS.
—
Reply to this email directly, view it on GitHub <#2829 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AK3P74CM2F3PMEYNWKYRAP3ZKSRD5AVCNFSM5HBJUEK2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRQG44DEOBUGM2A>.
You are receiving this because you are subscribed to this thread.
|
You mean you installed one of the images linked in the wiki, or one from here? The images linked in the wiki can definitely not run on Raspberry Pi Zero 2W, since they do not ship with the needed device tree. If it did boot, then you probably have another RPi model. And for the camera: Did you add it as MMAL camera or as V4L2 camera? The camera module 3 does not support MMAL, so if that was the case, it was definitely an older version, probably 1.3? Btw, I missed in between that this is an open PR. Did someone test the latest image from here, so that we can merge this PR? https://github.com/jawsper/motioneyeos/releases |
I wasn't able to test it with an older camera, but it does work on a zero 2 W. |
From the wiki. It was a fairly new Pi Zero 2. Not sure what camera, it is a Model 3 but I don’t remember if it was MMAL or V4L2.
My first computer was 1959. I retired from my Computer consulting company and retired in 2004. I know a Pi Zero 2 when I look at it as it is clearly marked on the back.
… On Jul 4, 2024, at 19:46, MichaIng ***@***.***> wrote:
and installed its per instructions on a Pi ZERO 2 (W). Worked forst time and I think it was a Ver 3 camera.
You mean you installed one of the images linked in the wiki, or one from here <https://github.com/jawsper/motioneyeos/releases>? The images linked in the wiki can definitely not run on Raspberry Pi Zero 2W, since they do not ship with the needed device tree. If it did boot, then you probably have another RPi model.
And for the camera: Did you add it as MMAL camera or as V4L2 camera? The camera module 3 does not support MMAL, so if that was the case, it was definitely an older version, probably 1.3?
Btw, I missed in between that this is an open PR. Did someone test the latest image from here, so that we can merge this PR? https://github.com/jawsper/motioneyeos/releases
A small update, but worth it to make it a little easier for Zero 2W users with older MMAL-compatible camera modules.
—
Reply to this email directly, view it on GitHub <#2829 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AK3P74AQQ7OZCRADUJMGWQDZKXNFBAVCNFSM5HBJUEK2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRQHE3DINJVHE4Q>.
You are receiving this because you commented.
|
I am currently using a Zero 2 W with this build. I am running into this same "panic: rebooting (caused by network)" issue. So far I have flashed the version from @jawsper and added the wpa_supplicant.conf file. I get the same result every time. It gets to the "Starting wpa_supplicant: failed (brcmfmac) and then starts looping. Any ideas what I am doing wrong?? |
Are making certain to save the file as a .conf instead of a .txt? Another user also had a problem with the file name being spelled wrong, so I would double check that. |
I did double check both of those issues. I have been through this particular issue from top to bottom a couple of times trying to figure out what I was doing wrong before posting anything. I have made sure that the conf file was named and spelled correctly, went through the code, and made sure that everything in there was identical to what @starbasessd had in that post, and I have written that file on 3 different platforms. I keep getting the same thing. I have even tried using different routers in the file to see if it just wasn't connecting to the router I originally had. So what originally started me down this rabbit hole is I am trying to build an NVR that is Pi Zero 2 W based. All the research that I have done pointed me to motioneyeos for this. Maybe you have a different suggestion?? I am frustrated and at a loss at this point. |
My only other thought would be if you have a case on it that might be
blocking the wifi.
…On Wed, Jul 10, 2024, 5:00 PM gfmccutc77 ***@***.***> wrote:
Are making certain to save the file as a .conf instead of a .txt? Another
user also had a problem with the file name being spelled wrong, so I would
double check that.
I did double check both of those issues. I have been through this
particular issue from top to bottom a couple of times trying to figure out
what I was doing wrong before posting anything. I have made sure that the
conf file was named and spelled correctly, went through the code, and made
sure that everything in there was identical to what @starbasessd
<https://github.com/starbasessd> had in that post, and I have written
that file on 3 different platforms. I keep getting the same thing. I have
even tried using different routers in the file to see if it just wasn't
connecting to the router I originally had.
So what originally started me down this rabbit hole is I am trying to
build an NVR that is Pi Zero 2 W based. All the research that I have done
pointed me to motioneyeos for this. Maybe you have a different suggestion??
I am frustrated and at a loss at this point.
—
Reply to this email directly, view it on GitHub
<#2829 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIUSKV6NMR2L7SEX5XYM3TLZLWVHTAVCNFSM5HBJUEK2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRSGE3DAMJRGUYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Okay, so generally it does work, and there is no reason why it wouldn't, since it is still all original RPi Ltd. kernel/bootloader/firmware, just newer. And it solves the initial update issue. Let's merge this. Whether/how to build new images is another question, as there is at least no workflow here on GitHub which would do so. Probably there is one triggered externally when creating a release tag, or @jawsper or @ccrisan can do those manually, and we can create a GitHub workflow afterwards. I'd test with a pre-release first. Any last objections?
That is weird, as it is impossible. Or does the RPi bootloader just pick the RPi 3 device tree (same SoC), so that it does boot, just with some hardware features non-functional? However, in any case, it should work better with a more recent kernel which does contain a native Zero 2W device tree. |
So update on my end. I appreciate everyone chiming in on this and attempting to help figure it out. |