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
How to specify firmware version? #225
Comments
Much has changed in Buildroot, rpi-firmware in the past few years, so it's quite normal that you run into trouble combining newer stuff with older software. As you already discovered, I've tried to update everything and add libcamera support in #197. I think that would be the best place to start.
The version is set in
Be careful as a new kernel will also include new firmware which might or might not be compatible with the selecte rpi-firmware version and your setup. That's one reason why I was still using 5.10 in my PR.
As stated above be sure to use a matching rpi-firmware version for your kernel.
Make sure you have
Yes, please do. The current master only supports old kernel, old rpi-firmware and old Raspberry Pi firmware. Feel free to remove all the libcamera stuff. Also please note that you should confirm whether the Camera 3 module actually works with the legacy setup (there is a setting for this in the Raspberry config) or whether you need the new firmware and/or libcamera. See #223 (comment) for details.
Right, the main difference is old vs. new Raspberry firmware, where the old firmware supports direct hardware access for V4L devices and the new one requires libcamera. Have a look at recent issues and some discussions about this on the Discord channel.
Same as above.
Yeah, that's something you'd have to check out. Or maybe @kbingham knows something about this.
It works, but performance is very poor and therefore I didn't continue working on it.
Hope my comments helped, but feel free to join the Discord channel, where you can find many other talented people. |
6.x should work and getting it running is worthwhile
The Rpi firmware itself doesn't manage the V3 camera, but you very likely need an updated kernel. I can't remember when the V3 came in. 5.10 is really old now and not supported by rpi
If someone has time, I think we can fix this. But I haven't had time. I'll help anyone who can work on it though.
Yup, feel free to ping me there for more real-time discussion too. |
Probably a noob question, but how does buildroot know which firmware commit to fetch? It's doing something weird, and I'm not sure how to ask it nicely to use latest release and not a random version.
What am I trying to do?
I'm trying to build it for RPi Zero (without wifi), to have Camera Module v3 support. Here's the changes I've made so far (after a few trials and errors, mostly to use the latest stable & interop code as much as possible):
What's happening
genimage
part ofpost-image.sh
script is failing, complaining about not finding therpi-firmware/bootcode.bin
output/raspberrypi0/images
or its subdirrpi-firmware
don't have bootcode.bin or fixup.dat or start.elf filesoverlay
subdir, meaning it's not gonna work to meet my expectation anywayrpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6
snapshot downloaded inoutput/raspberrypi0/build
path, which has all the necessary files (including the dtoverlay for imx708)images
dir has different (size & hash)bcm2708-rpi-zero.dtb
file? Is it from before I updated the kernel headers version? Does it not update it automatically? Should I clean cache and start a rebuild?I'm going to clean cache and start fresh with the changes made so far - hopefully that clears up some of the confusion (especially firmware version discrepancy between build and image). But while I throw dart on the wall in the dark, I'll appreciate any help/guidance on this.
The text was updated successfully, but these errors were encountered: