libcamera, DEBIX Model A, I/O Board, Raspberry Pi Camera 3 and 2.1 and Debix Ubuntu 22.04.5 LTS
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Thu Jan 16 09:29:54 CET 2025
On Thu, Jan 16, 2025 at 12:07:13AM +0000, w.robertson at cairnwater.com wrote:
> I'm sorry to bother folk.
>
> I got a DEBIX Model A with 2 GB of RAM, a DEBIX Model A I/O Board and a
> Raspberry Pi Camera Module 3
>
> I followed the instructions for connecting the board and used the Add On
> board app to select the IO Board.
>
> I tried installing dependencies using the instructions at
> https://libcamera.org/getting-started.html then getting the latest
> libcamera source and compiling but when I run
>
> cam -l
>
> I just get
>
> Available cameras:
>
> and nothing else.
>
> I tried a Raspberry Pi Camera v2.1 but with the same result.
Camera modules are not auto-detected by the kernel. You need to load DT
overlays corresponding to the module you use. See [1] for an overlay
that switches the ISP on, and [2] for an overlay that connects the RPi
camera v2 (both based on v6.11, I need to rebase them on v6.12).
[1] https://gitlab.com/ideasonboard/nxp/linux/-/commit/284144b1bb159b0933862dae8d67a0dcdf7462c7
[2] https://gitlab.com/ideasonboard/nxp/linux/-/commit/200a14f20a2f9e2d1fd2a9eb9df397a05ee0b131
> I also tried without compiling
>
> sudo apt-get -y install libcamera-dev
>
> and got the same result.
>
> I can't work out what's wrong except that I downloaded Ubuntu from the
> Debix download page and that's given me Ubuntu 22.04.5 LTS - which is
> maybe too old for the latest version of libcamera?
>
> Would it be better if i use a newer version of Ubuntu and configure the
> machine to use the I/O Board manually?
You don't need a newer Ubuntu version, but you will likely need a newer
kernel as DT integration for the i.MX8MP ISP has been merged in v6.12
only. I recommend compiling the kernel and device tree yourself.
> Here's the complete output:
>
> debix at imx8mp-debix:~$ LIBCAMERA_LOG_LEVELS=*:DEBUG cam -l
> [0:13:10.535280467] [3746] DEBUG IPAModule ipa_module.cpp:333
> ipa_mali_c55.so: IPA module
> /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_mali_c55.so is signed
> [0:13:10.535776365] [3746] DEBUG IPAManager ipa_manager.cpp:235 Loaded
> IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_mali_c55.so'
> [0:13:10.537995216] [3746] DEBUG IPAModule ipa_module.cpp:333
> ipa_rkisp1.so: IPA module
> /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rkisp1.so is signed
> [0:13:10.538297480] [3746] DEBUG IPAManager ipa_manager.cpp:235 Loaded
> IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rkisp1.so'
> [0:13:10.539061515] [3746] DEBUG IPAModule ipa_module.cpp:333
> ipa_rpi_vc4.so: IPA module
> /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rpi_vc4.so is signed
> [0:13:10.539287651] [3746] DEBUG IPAManager ipa_manager.cpp:235 Loaded
> IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rpi_vc4.so'
> [0:13:10.539707295] [3746] DEBUG IPAModule ipa_module.cpp:333
> ipa_soft_simple.so: IPA module
> /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_soft_simple.so is signed
> [0:13:10.539882178] [3746] DEBUG IPAManager ipa_manager.cpp:235 Loaded
> IPA module
> '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_soft_simple.so'
> [0:13:10.540169816] [3746] INFO Camera camera_manager.cpp:327 libcamera
> v0.4.0+30-4dad8ece
> [0:13:10.540818221] [3750] DEBUG Camera camera_manager.cpp:73 Starting
> camera manager
> [0:13:10.545999958] [3750] DEBUG DeviceEnumerator
> device_enumerator.cpp:230 New media device "mxc-md" created from
> /dev/media0
> [0:13:10.546918125] [3750] DEBUG DeviceEnumerator
> device_enumerator.cpp:258 Added device /dev/media0: mxc-md
> [0:13:10.548034551] [3750] DEBUG DeviceEnumerator
> device_enumerator.cpp:230 New media device "vvcam-video" created from
> /dev/media1
> [0:13:10.548945718] [3750] DEBUG DeviceEnumerator
> device_enumerator_udev.cpp:96 Defer media device /dev/media1 due to 1
> missing dependencies
> [0:13:10.550379658] [3750] DEBUG DeviceEnumerator
> device_enumerator_udev.cpp:322 All dependencies for media device
> /dev/media1 found
> [0:13:10.550503164] [3750] DEBUG DeviceEnumerator
> device_enumerator.cpp:258 Added device /dev/media1: vvcam-video
> [0:13:10.551861226] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'imx8-isi'
> [0:13:10.553136660] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'mali-c55'
> [0:13:10.553631807] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'rkisp1'
> [0:13:10.554004824] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'rpi/vc4'
> [0:13:10.554180208] [3750] DEBUG RPI vc4.cpp:179 Unable to acquire a
> Unicam instance
> [0:13:10.554230835] [3750] DEBUG RPI vc4.cpp:179 Unable to acquire a
> Unicam instance
> [0:13:10.554286837] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'simple'
> [0:13:10.554453720] [3750] DEBUG Camera camera_manager.cpp:140 Found
> registered pipeline handler 'uvcvideo'
> Available cameras:
> debix at imx8mp-debix:~$
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list