Noarkhh
Libcamera on RPi3
Hello!
I’m trying to create a system based on nerves_system_rpi3 that supports libcamera and rpicam-apps (formerly libcamera-apps). The camera I’m testing on is ov5647.
I enabled the libcamera and libcamera-apps for buildroot and they are correctly present on the target. Then I stumbled upon a problem that running any app (like libcamera-vid) failed with ERROR: the system appears to be configured for the legacy camera stack. After some modifications to config.txt and fwup.conf I managed to get rid of the error, however now the camera isn’t being recognized - running cmd "libcamera-vid --list-cameras" prints “No cameras available!”. The change happens when setting or unsetting camera_auto_detect=1 in config.txt.
Minimal changes to achieve my results:
#config.txt
+ camera_auto_detect=1
#fwup.conf
+ on-resource vc4-kms-v3d.dtbo { fat_write(${BOOT_(A|B)_PART_OFFSET}, "overlays/vc4-kms-v3d.dtbo") }
+ on-resource ov5647.dtbo { fat_write(${BOOT_(A|B)_PART_OFFSET}, "overlays/ov5647.dtbo") }
+ on-resource i2c-mux.dtbo { fat_write(${BOOT_(A|B)_PART_OFFSET}, "overlays/i2c-mux.dtbo") }
(3 times to cover all sections)
Have anyone encountered a similar problem? If so some help would be greatly appreciated ![]()
Thanks!
First Post!
Noarkhh
I forgot to mention in the original post, but when getting “ERROR: the system appears to be configured for the legacy camera stack” there exists /dev/video0, which I presume is the camera, and when I’m getting “No cameras available!” error this file doesn’t exist.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #code-sync
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








