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

Support Raspberry Pi Zero 2 W #168

Open
FLamparski opened this issue Nov 4, 2021 · 17 comments · May be fixed by #197 or #173
Open

Support Raspberry Pi Zero 2 W #168

FLamparski opened this issue Nov 4, 2021 · 17 comments · May be fixed by #197 or #173

Comments

@FLamparski
Copy link

There's a new Zero out, the processor used is a RP3A0 (https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/). It boots Raspberry Pi OS Lite. It would be great to add support for this board.

@htruong
Copy link
Contributor

htruong commented Nov 6, 2021

Working on it.

htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2/2W support
- Build one unified Raspberry Pi 0 image that supports every Zero
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2/2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0universal rpi-firmware
./build-showmewebcam.sh raspberrypi0universal menuconfig

And so on. This simplifies manually calling those commands if we're
building a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
htruong added a commit to htruong/showmewebcam that referenced this issue Nov 7, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
@htruong
Copy link
Contributor

htruong commented Nov 8, 2021

I'm perplexed. This change should boot the pi0-2w but it doesn't. If someone has an extra pair of eyes I'd appreciate any suggestion as why this did not boot successfully and stopped at the rainbow screen.

@htruong
Copy link
Contributor

htruong commented Nov 14, 2021

OK much better, the builds I have here are booting the Pi0_2w. Now onto trying to understand why the camera doesn't show up as /dev/video*

htruong added a commit to htruong/showmewebcam that referenced this issue Nov 14, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
@htruong
Copy link
Contributor

htruong commented Nov 14, 2021

Let's see if the builds here work:

#173

@rboerner
Copy link

I don't know if this is relevant, however just in case it appears that there are issues with the Raspberry Pi Zero 2W and the latest release of Raspberry Pi OS detecting attached cameras.

There are more details in this thread --> https://forums.raspberrypi.com/viewtopic.php?t=323462 and in this thread --> https://forums.raspberrypi.com/viewtopic.php?t=323308

From the second thread:

"We've identified the cause of the camera not being detected on Zero2W - the kernel has been given the wrong GPIO for the camera shutdown line, so it can never bring it out of reset.
An update should be out early next week."

@harcomaase
Copy link

Any news on these activities?

@carloe
Copy link

carloe commented Nov 29, 2021

I finally got my camera working by downgrading the kernel to 5.10.74 as suggested in this post.

sudo rpi-update ffdfc6e625eb38086b8c15eead2be90acab825c2

@kbingham
Copy link

kbingham commented Dec 2, 2021

To support Bullseye you will need to add libcamera support to the uvc-gadget.

@sabotage3d
Copy link

Is there a test release we can try or we need to compile it from source?

@dgsiegel
Copy link
Contributor

dgsiegel commented Dec 8, 2021

Each PR builds images, but I doubt they working right now. See #173 / Checks/Artifacts

@sabotage3d
Copy link

Can I make it work manually with this kernel 5.10.74? What are the steps I need to do? I am looking for similar steps to this repo: https://github.com/kinweilee/v4l2-mmal-uvc.

htruong added a commit to htruong/showmewebcam that referenced this issue Dec 16, 2021
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
@imp1sh
Copy link

imp1sh commented Jan 6, 2022

Is there a workaround to make Zero 2 W work?

@rscottha
Copy link

rscottha commented Feb 4, 2022

Is Zero 2W support expected soon? I tried to build a pull of the master branch and there is a raspberrypi0_2 directory in the output but no build inside it. Am I building the wrong branch?

@dgsiegel
Copy link
Contributor

dgsiegel commented Feb 5, 2022

Is Zero 2W support expected soon? I tried to build a pull of the master branch and there is a raspberrypi0_2 directory in the output but no build inside it. Am I building the wrong branch?

See the linked pull request. There are still a few things to be done, but @htruong is currently busy with personal issues. Happy to review and merge if anybody wants to step up and take over this PR.

jakemauer pushed a commit to jakemauer/showmewebcam that referenced this issue Feb 17, 2022
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
jakemauer added a commit to jakemauer/showmewebcam that referenced this issue Feb 17, 2022
This change adds the following functionalities:

- Add Raspberry Pi Zero 2W support
- Consolidate Raspberry Zero support to one image
- Add the ability to override buildroot packages (in this case,
we override rpi-firmware package due to buildroot upstream hasn't
added support for Raspberry Pi Zero 2W)
- Allow build-showmewebcam.sh to take optional parameters

The build-showmewebcam.sh can now be called with a optional buildroot
package like so:

./build-showmewebcam.sh raspberrypi0 rpi-firmware
./build-showmewebcam.sh raspberrypi0 menuconfig

And so on. This simplifies manually calling those commands when we
just try to build a single package.

Fixes showmewebcam#168
@Emstr
Copy link

Emstr commented Apr 2, 2022

Any update on support for Zero 2 W? Hard to find the 1 in stock where I live :(

@dgsiegel dgsiegel linked a pull request Aug 5, 2022 that will close this issue
@dgsiegel dgsiegel mentioned this issue Sep 5, 2022
@Deovi
Copy link

Deovi commented Dec 29, 2023

bump

@imp1sh
Copy link

imp1sh commented Jan 13, 2024

#220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet