Noarkhh

Noarkhh

Membrane Core Team

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 :slight_smile:

Thanks!

First Post!

Noarkhh

Noarkhh

Membrane Core Team

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.

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54260 488
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

We're in Beta

About us Mission Statement