You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VC firmware for running libcamera from the Naush branch. #1
Hi Naush,
Are these firmwares available for the RPi3?
Will it be feasible to run the same system on the Pi3 and the Pi4 ?
I want to start looking at the upstreaming tasks, which due to missing features on the Pi4, we can start on the Pi3, but it would be nice to run the whole camera system in the same way for both?
(I realise there are more patches required on top of the kernel for the ISP, but I guess this is also partly just the question - will we expect RPi3 and RPi4 to have a similar level of support)
Currently Pi0-3 and Pi4 release firmwares are built from different source branches, although they should both build from the Pi4 branch.
Memory says that you should be able to rename start4*.elf to start_.elf, and likewise for the fixup.dat files, and they should work straight off on a Pi3. You'll lose decode of H263 & MPEG4, but otherwise it should be fine.
Yes, support levels on Pi3 and Pi4 should be the same.
Pi2v1.2 is the same BCM2837 chip as Pi3 so again should be able to run libcamera fairly happily.
In theory it could run on Pi 0/1, but I suspect reality may be different.
start4x.elf to start_x.elf, and fixup4x.dat to fixup_x.dat, as long as he also has startx=1 in /boot/config.txt.
start is the standard one.
start_x is the extended firmware including all the firmware side camera stack. Add startx=1 to config.txt to select.
start_cd is a cutdown one with no codecs, camera, or many other things, mainly to provide as much RAM to the ARM. Selected if gpu_mem is <=32MB IIRC
start_db enables firmware side assert logging. Add start_debug=1 to config.txt to select.
I really ought to update the firmware binary on this issue at some point. Some of the parameters (particularly Lens Shading) have moved on from when this build was made, so you may find some tiny image quality issues with the existing firmware.
I'm experiencing a kernel crash when running on the IMX477 (first time I've got round to trying it). Could it be related to having an outdated firmware from here?
vcgencmd version
Dec 16 2019 13:30:29
Copyright (c) 2012 Broadcom
version f80a8b76382960934865c539989ede39f02140b1 (clean) (release) (start_x)
I'm experiencing a kernel crash when running on the IMX477 (first time I've got round to trying it). Could it be related to having an outdated firmware from here?
vcgencmd version
Dec 16 2019 13:30:29
Copyright (c) 2012 Broadcom
version f80a8b76382960934865c539989ede39f02140b1 (clean) (release) (start_x)
This could very well be the case. Looks like a lens shading problem.
I need to pop out of the office right now. Once I get back, I'll prepare an updated firmware to try out unless @6by9 could do it while I'm out?
Thanks @naushir No rush - I was just trying to report everything in case it was an extended problem. If it's just a firmware rebuild then I can wait for a build.
Activity
naushir commentedon Jan 6, 2020
Need the fixup file as well.
fixup4x.zip
kbingham commentedon Jan 20, 2020
Hi Naush,
Are these firmwares available for the RPi3?
Will it be feasible to run the same system on the Pi3 and the Pi4 ?
I want to start looking at the upstreaming tasks, which due to missing features on the Pi4, we can start on the Pi3, but it would be nice to run the whole camera system in the same way for both?
(I realise there are more patches required on top of the kernel for the ISP, but I guess this is also partly just the question - will we expect RPi3 and RPi4 to have a similar level of support)
6by9 commentedon Jan 20, 2020
Currently Pi0-3 and Pi4 release firmwares are built from different source branches, although they should both build from the Pi4 branch.
Memory says that you should be able to rename start4*.elf to start_.elf, and likewise for the fixup.dat files, and they should work straight off on a Pi3. You'll lose decode of H263 & MPEG4, but otherwise it should be fine.
Yes, support levels on Pi3 and Pi4 should be the same.
Pi2v1.2 is the same BCM2837 chip as Pi3 so again should be able to run libcamera fairly happily.
In theory it could run on Pi 0/1, but I suspect reality may be different.
kbingham commentedon Jan 20, 2020
Thanks for the info. I'll give the renames a go on my Pi3. I don't think I'll need decode so I don't mind losing that. It's only temporary anyway :-D
kbingham commentedon Feb 20, 2020
Hi Naush/Dave
Jacopo is trying to get up and running on his RPi3.
Could we confirm the rename of start4x.elf goes to start_x.elf?
Or is it start.elf? There's a few start.. variants ... so we don't want to get it wrong ;-)
6by9 commentedon Feb 20, 2020
start4x.elf to start_x.elf, and fixup4x.dat to fixup_x.dat, as long as he also has
startx=1in /boot/config.txt.start is the standard one.
start_x is the extended firmware including all the firmware side camera stack. Add
startx=1to config.txt to select.start_cd is a cutdown one with no codecs, camera, or many other things, mainly to provide as much RAM to the ARM. Selected if
gpu_memis <=32MB IIRCstart_db enables firmware side assert logging. Add
start_debug=1to config.txt to select.naushir commentedon Feb 20, 2020
I really ought to update the firmware binary on this issue at some point. Some of the parameters (particularly Lens Shading) have moved on from when this build was made, so you may find some tiny image quality issues with the existing firmware.
kbingham commentedon Feb 26, 2020
I'm experiencing a kernel crash when running on the IMX477 (first time I've got round to trying it). Could it be related to having an outdated firmware from here?
vcgencmd version
Dec 16 2019 13:30:29
Copyright (c) 2012 Broadcom
version f80a8b76382960934865c539989ede39f02140b1 (clean) (release) (start_x)
kbingham commentedon Feb 26, 2020
I get a couple of pretty pictures like this before a kernel crash:

naushir commentedon Feb 26, 2020
This could very well be the case. Looks like a lens shading problem.
I need to pop out of the office right now. Once I get back, I'll prepare an updated firmware to try out unless @6by9 could do it while I'm out?
kbingham commentedon Feb 26, 2020
Thanks @naushir No rush - I was just trying to report everything in case it was an extended problem. If it's just a firmware rebuild then I can wait for a build.
naushir commentedon Feb 26, 2020
Latest firmware attached:
fw.zip
naushir commentedon Mar 10, 2020
New firmware to use after commit 9521e8b
fw-10-3-20.zip
kbingham commentedon Apr 16, 2020
Now supported by the upstream firmwares, and can be obtained by running rpi-update on the target.
libcamera: bound_method: Please the gcc undefined behaviour sanitizer
pipeline: vimc: Force complete of request on cancelled buffers
Merge pull request #1 from kamtom480/input-tensor-parser-fix
test: py: LD_PRELOAD the C++ standard library when using ASan