No joy on Raspberry Pi 5 as a drop in replacement

125 views
Skip to first unread message

Alan Federman

unread,
Dec 13, 2024, 11:15:29 PM12/13/24
to Camp Peavy' via HomeBrew Robotics Club
I was hoping that the Pi 5 would be easy to swap into my existing Pi 4 ROS robots. Although both 4 and 5 run ROS2 Jazzy, almost none of the peripherals will work on the 5. This includes CSI cameras, gpio, spi, i2c, etc.
 
The issue involves the bcm2835 chip which controls most of the io on the Pi 4. This has been replaced by a SOC bcm2711 on the Pi 5.  I don't know if this can be fixed by loading the proper overlay, or if it means a rewrite of other pieces of code.
 
If someone has gotten a USB camera working with Ubuntu and the Pi 5, I'd like to hear about it.
 
I think this issue has been solved for the Raspberry PI OS, but I don't know how they did it.
 
The only good news to share is the camera 3 picam works great on a Pi 4 running Ubuntu 24.04.
 

Alan Federman

unread,
Dec 14, 2024, 1:51:40 PM12/14/24
to hbrob...@googlegroups.com
further research shows the v4l2 library expects the bcm2835-unicam to be present. This chip is not available on a pi 5. Raspberry PI gets around this by telling you to set camera detect to 0 on the Pi 5 to force a 32 bit mmal simulation to support their cameras. I have tried this, and the result is no cameras detected. I might try a hail-mary and try a USB camera, but I am not optimistic that this is worth my effort.
 
They (v4l2-camera) say the solution is to use libcamera, but of course libcamera doesn't work on the Pi 5, and won't build from source. (While apt install libcamera-dev works, none of the tools get built.)
 
So fudge! I remember it took me several months to get cameras working on the Pi 4, but this seems to be a hard stop, without an easy fix.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com.

Kayla Matheus

unread,
Dec 16, 2024, 4:26:30 AM12/16/24
to hbrob...@googlegroups.com
When you gpio, spi, i2c don't work, what do you mean?

I just swapped from a raspi4 (raspiOS) to raspi5 (Ubuntu 24.04) and was able to convert all of my old I/Os fine. Admittedly, no camera, but has cap touch, mic/speaker, dynamixel motors, IMU, screens, etc. These are all on GPIO, i2c, and spi. Even added an i2c multiplexer this time. I did have to do a little digging around with libraries and things -- but that seemed mostly due to Ubuntu 24.04 quirks.

Kayla

Kayla Matheus

unread,
Dec 16, 2024, 4:26:35 AM12/16/24
to hbrob...@googlegroups.com
Quick note: these work in vanilla python for me. My next step is wrapping in ROS2 (previous system on the pi4 was ROS1). Perhaps I will run into your issues there, but I'm hoping not.

Marco Walther

unread,
Dec 16, 2024, 11:15:12 PM12/16/24
to hbrob...@googlegroups.com
OK, first success for me;-)

Ubuntu 24.10 (I started high;-) with a libcamera built from the RasPi
source tree, The RasPi CAMv3-Wide works with Pi4 & Pi5 and the gstreamer
setup.

So, the camera is seen by the OS and there are at least some clients,
which can use it;-)

I have a ArduCam v3-wide (oficially the same IMX708 sensor), which does
not yet work:-(

Tomorrow, down to 24.04;-)

-- Marco

ubuntu@ubuntu:~$ ls -l /dev/media*
crw-rw---- 1 root video 239, 0 Dec 11 04:03 /dev/media0
crw-rw---- 1 root video 239, 1 Dec 11 04:03 /dev/media1
crw-rw---- 1 root video 239, 2 Dec 11 04:03 /dev/media2
crw-rw---- 1 root video 239, 3 Dec 11 04:03 /dev/media3
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~#
LD_LIBRARY_PATH=/usr/local/lib/aarch64-linux-gnu/:$LD_LIBRARY_PATH
gst-launch-1.0 libcamerasrc !
video/x-raw,colorimetry=bt709,format=NV12,width=1280,height=720,framerate=30/1
! queue ! jpegenc ! multipartmux ! tcpserversink host=0.0.0.0 port=5000

(gst-plugin-scanner:1210): GStreamer-CRITICAL **: 04:04:39.912:
gst_caps_filter_and_map_in_place: assertion 'gst_caps_is_writable
(caps)' failed

(gst-plugin-scanner:1210): GStreamer-CRITICAL **: 04:04:39.912:
gst_caps_append: assertion 'IS_WRITABLE (caps1)' failed
Setting pipeline to PAUSED ...
[0:02:15.814435707] [1209] INFO Camera camera_manager.cpp:325 libcamera
v0.3.2+99-1230f78d-dirty (2024-12-16T20:08:17UTC)
[0:02:15.841421997] [1216] INFO RPI pisp.cpp:695 libpisp version v1.0.7
28196ed6edcf 16-12-2024 (20:08:18)
[0:02:15.949878434] [1216] INFO RPI pisp.cpp:1154 Registered camera
/base/axi/pcie@120000/rp1/i2c@80000/imx708@1a to CFE device /dev/media0
and ISP device /dev/media2 using PiSP variant BCM2712_C0
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[0:02:15.953268227] [1220] INFO Camera camera.cpp:1197 configuring
streams: (0) 1280x720-NV12
[0:02:15.953481801] [1216] INFO RPI pisp.cpp:1450 Sensor:
/base/axi/pcie@120000/rp1/i2c@80000/imx708@1a - Selected sensor format:
1536x864-SBGGR10_1X10 - Selected CFE format: 1536x864-PC1B
Redistribute latency...
>> <mailto:hbrobotics+...@googlegroups.com>.
>> To view this discussion visit https://groups.google.com/d/msgid/
>> hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com
>> <https://groups.google.com/d/msgid/
>> hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com?
>> utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "HomeBrew Robotics Club" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hbrobotics+...@googlegroups.com
> <mailto:hbrobotics+...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com
> <https://groups.google.com/d/msgid/
> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com?
> utm_medium=email&utm_source=footer>.

Marco Walther

unread,
Dec 16, 2024, 11:51:09 PM12/16/24
to hbrob...@googlegroups.com
On 12/16/24 20:15, Marco Walther wrote:
> OK, first success for me;-)
>
> Ubuntu 24.10 (I started high;-) with a libcamera built from the RasPi
> source tree, The RasPi CAMv3-Wide works with Pi4 & Pi5 and the gstreamer
> setup.
>
> So, the camera is seen by the OS and there are at least some clients,
> which can use it;-)
>
> I have a ArduCam v3-wide (oficially the same IMX708 sensor), which does
> not yet work:-(
>
> Tomorrow, down to 24.04;-)
>
> -- Marco

root@ubuntu:~/src/rpicam-apps# cat /proc/cpuinfo | tail -5
CPU revision : 1

Revision : d04170
Serial : 51b6ff5af6ce7648
Model : Raspberry Pi 5 Model B Rev 1.0
root@ubuntu:~/src/rpicam-apps# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.10
DISTRIB_CODENAME=oracular
DISTRIB_DESCRIPTION="Ubuntu 24.10"
PRETTY_NAME="Ubuntu 24.10"
NAME="Ubuntu"
VERSION_ID="24.10"
VERSION="24.10 (Oracular Oriole)"
VERSION_CODENAME=oracular
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=oracular
LOGO=ubuntu-logo
root@ubuntu:~/src/rpicam-apps# rpicam-hello --list-cameras
Available cameras
-----------------
0 : imx708_wide [4608x2592 10-bit RGGB]
(/base/axi/pcie@120000/rp1/i2c@80000/imx708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768,
432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

root@ubuntu:~/src/rpicam-apps#

;-)

Alan Federman

unread,
Dec 17, 2024, 12:52:45 PM12/17/24
to hbrob...@googlegroups.com, Marco Walther, davec...@gmail.com, rossl...@gmail.com
can you send v4l-ctl --list-devices??? Is unicam present?
Is camera _auto_detect=1?
 
What do you mean by libcamera built from the RPI source tree? Is that a specific git version?
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.

Marco Walther

unread,
Dec 17, 2024, 1:14:25 PM12/17/24
to Alan Federman, hbrob...@googlegroups.com, davec...@gmail.com, rossl...@gmail.com
ubuntu@ubuntu:~$ sudo dmesg | fgrep -i imx
[ 2.583585] platform 1f00128000.csi: Fixed dependency cycle(s) with
/axi/pcie@120000/rp1/i2c@80000/imx708@1a
[ 7.596532] rp1-cfe 1f00128000.csi: found subdevice
/axi/pcie@120000/rp1/i2c@80000/imx708@1a
[ 7.680281] imx708 4-001a: camera module ID 0x0302
[ 7.691175] rp1-cfe 1f00128000.csi: Using sensor imx708_wide for capture


On 12/17/24 09:52, Alan Federman wrote:
> can you send v4l-ctl --list-devices???

I had to install it first;-)
ubuntu@ubuntu:~$ v4l2-ctl --list-devices
pispbe (platform:1000880000.pisp_be):
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video24
/dev/video25
/dev/video26
/dev/video27
/dev/video28
/dev/video29
/dev/video30
/dev/video31
/dev/video32
/dev/video33
/dev/video34
/dev/video35
/dev/media1
/dev/media2

rp1-cfe (platform:1f00128000.csi):
/dev/video0
/dev/video1
/dev/video2
/dev/video3
/dev/video4
/dev/video5
/dev/video6
/dev/video7
/dev/media0

rpivid (platform:rpivid):
/dev/video19
/dev/media3



> Is unicam present?

What is that? I don't find a command/package of that name anywhere?!

> Is camera _auto_detect=1?

Currently yes. I had it switched off with the correct dtoverlay for an
ArduCam IMX708 camera, but the RasPiCam v3 works either way

> What do you mean by libcamera built from the RPI source tree? Is that a
> specific git version?

Yes.
https://github.com/raspberrypi/libcamera
https://github.com/raspberrypi/rpicam-apps

-- Marco

>> On 12/16/2024 8:51 PM PST Marco Walther <marc...@gmail.com
>> HOME_URL="https://www.ubuntu.com/" <https://www.ubuntu.com/>
>> SUPPORT_URL="https://help.ubuntu.com/" <https://help.ubuntu.com/>
>> BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" <https://
>> bugs.launchpad.net/ubuntu/>
>> PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/
>> privacy-policy" <https://www.ubuntu.com/legal/terms-and-policies/
>> privacy-policy>
>>>>> <hbrob...@googlegroups.com <mailto:hbrob...@googlegroups.com>>
>>>>> wrote:
>>>>> I was hoping that the Pi 5 would be easy to swap into my existing Pi
>>>>> 4 ROS robots. Although both 4 and 5 run ROS2 Jazzy, almost none of
>>>>> the peripherals will work on the 5. This includes CSI cameras, gpio,
>>>>> spi, i2c, etc.
>>>>> The issue involves the bcm2835 chip which controls most of the io on
>>>>> the Pi 4. This has been replaced by a SOC bcm2711 on the Pi 5.  I
>>>>> don't know if this can be fixed by loading the proper overlay, or if
>>>>> it means a rewrite of other pieces of code.
>>>>> If someone has gotten a USB camera working with Ubuntu and the Pi 5,
>>>>> I'd like to hear about it.
>>>>> I think this issue has been solved for the Raspberry PI OS, but I
>>>>> don't know how they did it.
>>>>> The only good news to share is the camera 3 picam works great on a Pi
>>>>> 4 running Ubuntu 24.04.
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> >>> Groups "HomeBrew Robotics Club" group.
>> >>> To unsubscribe from this group and stop receiving emails from it,
>> >>> send an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>
>> >>> <mailto:hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>>.
>> >>> To view this discussion visit https://groups.google.com/d/msgid/
>> <https://groups.google.com/d/msgid/>
>> >>> hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com
>> >>> <https://groups.google.com/d/msgid/ <https://groups.google.com/d/
>> msgid/>
>> >>> hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com?
>> >>> utm_medium=email&utm_source=footer>.
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "HomeBrew Robotics Club" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>
>> >> <mailto:hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>>.
>> >> To view this discussion visit https://groups.google.com/d/msgid/
>> <https://groups.google.com/d/msgid/>
>> >> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com
>> >> <https://groups.google.com/d/msgid/ <https://groups.google.com/d/
>> msgid/>
>> >> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com?
>> >> utm_medium=email&utm_source=footer>.
>> --
>> You received this message because you are subscribed to the Google
>> Groups "HomeBrew Robotics Club" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>.
>> To view this discussion visit https://groups.google.com/d/msgid/
>> hbrobotics/b1b72e91-0a17-4296-83b7-2c39ea2af95b%40gmail.com <https://
>> groups.google.com/d/msgid/hbrobotics/
>> b1b72e91-0a17-4296-83b7-2c39ea2af95b%40gmail.com>.

Brian Higgins

unread,
Dec 17, 2024, 2:59:54 PM12/17/24
to hbrob...@googlegroups.com
I see all this talk about rasp Pi 5 can you NOT get rasp pi 5’s???
Brian Higgins 
VA Researcher for blind mobility “LiDAR Sensor Aided Navigation”




Sent from my iPhone 

On Dec 17, 2024, at 1:14 PM, Marco Walther <marc...@gmail.com> wrote:

ubuntu@ubuntu:~$ sudo dmesg | fgrep -i imx
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/4aea4efa-26d2-4e1c-b1a0-12093b248a60%40gmail.com.

Chris Albertson

unread,
Dec 17, 2024, 3:41:10 PM12/17/24
to hbrob...@googlegroups.com

On Dec 17, 2024, at 11:59 AM, Brian Higgins <blind...@gmail.com> wrote:

I see all this talk about rasp Pi 5 can you NOT get rasp pi 5’s???

Yes, you can.  Supply seems to be here now, you can buy one today for $80.

But do you really need one?   I’d say only if t[you have a P4 that is fully loaded and can’t keep up.   I just put a pi3 in a 3D printer and it runs four motors and a fairly complex web-based user interface. 


That said, the world seems to be moving to trained, not programmed, robots.   So people might want to look at the Nvidia computers.  






Alan Federman

unread,
Dec 17, 2024, 6:41:48 PM12/17/24
to hbrob...@googlegroups.com
ok my v4l2-ctl looks identical. Libcamera won't build, so as far as I can tell gtstreamer won't work on  Ubuntu 24.04.
 
I downloaded libcamera from raspberry pi. I tried both the master and pi5_upstream branches. Both failed to build, complaining about not finding the IPO module.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.

Marco Walther

unread,
Dec 17, 2024, 10:49:04 PM12/17/24
to hbrob...@googlegroups.com
On 12/17/24 15:39, 'Alan Federman' via HomeBrew Robotics Club wrote:
> ok my v4l2-ctl looks identical. Libcamera won't build, so as far as I
> can tell gtstreamer won't work on  Ubuntu 24.04.
> I downloaded libcamera from raspberry pi. I tried both the master and
> pi5_upstream branches. Both failed to build, complaining about not
> finding the IPO module.

root@ubuntu-2404-pi:~/src/libcamera# apt install -y python3-pip git
python3-jinja2 libboost-dev libgnutls28-dev openssl libtiff-dev
pybind11-dev qtbase5-dev libqt5core5t64 libqt5widgets5t64 meson cmake
python3-yaml python3-ply libglib2.0-dev libgstreamer-plugins-base1.0-dev
...
root@ubuntu-2404-pi:~/src/libcamera# meson setup build
--buildtype=release -Dpipelines=rpi/vc4,rpi/pisp -Dipas=rpi/vc4,rpi/pisp
-Dv4l2=true -Dgstreamer=enabled -Dtest=false -Dlc-compliance=disabled
-Dcam=enabled -Dqcam=disabled -Ddocumentation=disabled -Dpycamera=enabled
The Meson build system
Version: 1.3.2
Source dir: /root/src/libcamera
Build dir: /root/src/libcamera/build
Build type: native build
Project name: libcamera
Project version: 0.3.2
C compiler for the host machine: cc (gcc 13.3.0 "cc (Ubuntu
13.3.0-6ubuntu2~24.04) 13.3.0")
C linker for the host machine: cc ld.bfd 2.42
C++ compiler for the host machine: c++ (gcc 13.3.0 "c++ (Ubuntu
13.3.0-6ubuntu2~24.04) 13.3.0")
C++ linker for the host machine: c++ ld.bfd 2.42
Host machine cpu family: aarch64
Host machine cpu: aarch64
Header "fcntl.h" has symbol "F_ADD_SEALS" : YES
Header "unistd.h" has symbol "issetugid" : NO
Header "locale.h" has symbol "locale_t" : YES
Header "sys/mman.h" has symbol "memfd_create" : YES
Header "stdlib.h" has symbol "secure_getenv" : YES
Compiler for C supports arguments -Wno-c99-designator: NO
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency lttng-ust found: YES 2.13.7
Program ./parser.py found: YES
(/root/src/libcamera/utils/codegen/ipc/./parser.py)
Program ./generate.py found: YES
(/root/src/libcamera/utils/codegen/ipc/./generate.py)
Program ./extract-docs.py found: YES
(/root/src/libcamera/utils/codegen/ipc/./extract-docs.py)
Configuring version.h using configuration
Program openssl found: YES (/usr/bin/openssl)
Library atomic found: YES
Run-time dependency threads found: YES
Run-time dependency libdw found: YES 0.190
Run-time dependency libunwind found: YES 1.6.2
Header "execinfo.h" has symbol "backtrace" : YES
Library rt found: YES
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency libpisp found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libpisp
Cloning into 'libpisp'...
remote: Enumerating objects: 88, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 88 (delta 5), reused 32 (delta 1), pack-reused 0 (from 0)
Receiving objects: 100% (88/88), 99.18 KiB | 1.29 MiB/s, done.
Resolving deltas: 100% (5/5), done.

Executing subproject libpisp

libpisp| Project name: libpisp
libpisp| Project version: 1.0.7
libpisp| C compiler for the host machine: cc (gcc 13.3.0 "cc (Ubuntu
13.3.0-6ubuntu2~24.04) 13.3.0")
libpisp| C linker for the host machine: cc ld.bfd 2.42
libpisp| C++ compiler for the host machine: c++ (gcc 13.3.0 "c++ (Ubuntu
13.3.0-6ubuntu2~24.04) 13.3.0")
libpisp| C++ linker for the host machine: c++ ld.bfd 2.42
libpisp| Configuring pisp_build_config.h using configuration
libpisp| Run-time dependency nlohmann_json found: NO (tried pkgconfig
and cmake)
libpisp| Looking for a fallback subproject for the dependency nlohmann_json
libpisp| Using subprojects/libpisp/subprojects/nlohmann_json.wrap
libpisp| Downloading nlohmann_json source from
https://github.com/nlohmann/json/releases/download/v3.11.2/include.zip
Download size: 293810
Downloading: ..........

Executing subproject libpisp:nlohmann_json

nlohmann_json| Project name: nlohmann_json
nlohmann_json| Project version: 3.11.2
nlohmann_json| C++ compiler for the host machine: c++ (gcc 13.3.0 "c++
(Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0")
nlohmann_json| C++ linker for the host machine: c++ ld.bfd 2.42
nlohmann_json| Build targets in project: 24
nlohmann_json| Subproject nlohmann_json finished.

libpisp| Dependency nlohmann_json from subproject
subprojects/nlohmann_json-3.11.2 found: YES 3.11.2
libpisp| Dependency threads found: YES unknown (cached)
libpisp| Library dl found: YES
libpisp| Run-time dependency Boost (found: log, log_setup, system,
thread) found: YES 1.83.0 (/usr)
libpisp| Build targets in project: 26
libpisp| Subproject libpisp finished.

Dependency libpisp from subproject subprojects/libpisp found: YES 1.0.7
Checking for function "dlopen" : YES
Run-time dependency libudev found: YES 255
Run-time dependency yaml-0.1 found: YES 0.2.5
Run-time dependency gnutls found: YES 3.8.3
Dependency libexif skipped: feature android disabled
Dependency libjpeg skipped: feature android disabled
Run-time dependency libevent_pthreads found: YES 2.1.12-stable
Run-time dependency libtiff-4 found: YES 4.5.1
Dependency gtest skipped: feature lc-compliance disabled
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency libjpeg found: YES 2.1.5
Run-time dependency sdl2 found: YES 2.30.0
Dependency qt6 (modules: Core, Gui, OpenGL, OpenGLWidgets, Widgets)
skipped: feature qcam disabled
Run-time dependency glib-2.0 found: YES 2.80.0
Run-time dependency gstreamer-video-1.0 found: YES 1.24.2
Run-time dependency gstreamer-allocators-1.0 found: YES 1.24.2
Run-time dependency python3 found: YES 3.12
Run-time dependency pybind11 found: YES 2.11.1
Configuring libcamerify using configuration
Program doxygen skipped: feature documentation disabled
Program dot skipped: feature documentation disabled
Program sphinx-build-3 found: NO
Program sphinx-build skipped: feature documentation disabled
Configuring config.h using configuration
Program python3 (jinja2, yaml, jinja2, ply) found: YES
(/usr/bin/python3) modules: jinja2, yaml, jinja2, ply
Build targets in project: 51

libcamera 0.3.2

Versions
Sources : 0.3.2+99-1230f78d

Paths
LIBCAMERA_DATA_DIR : "/usr/local/share/libcamera"
LIBCAMERA_SYSCONF_DIR : "/usr/local/etc/libcamera"
IPA_PROXY_DIR : "/usr/local/libexec/libcamera"
IPA_CONFIG_DIR :
"/usr/local/etc/libcamera/ipa:/usr/local/share/libcamera/ipa"
IPA_MODULE_DIR : "/usr/local/lib/aarch64-linux-gnu/libcamera"

Configuration
SoftISP support : false
IPA modules signed with : gnutls
Enabled pipelines : rpi/vc4
rpi/pisp
Enabled IPA modules : rpi/vc4
rpi/pisp
Controls files : control_ids_draft.yaml
control_ids_core.yaml
control_ids_rpi.yaml
Properties files : property_ids_draft.yaml
property_ids_core.yaml
Hotplug support : YES
Tracing support : YES
Android support : NO
GStreamer support : YES
Python bindings : YES
V4L2 emulation support : YES
cam application : YES
qcam application : NO
lc-compliance application: NO
Unit tests : NO

Subprojects
libpisp : YES
nlohmann_json : YES (from libpisp)

User defined options
buildtype : release
cam : enabled
documentation : disabled
gstreamer : enabled
ipas : rpi/vc4,rpi/pisp
lc-compliance : disabled
pipelines : rpi/vc4,rpi/pisp
pycamera : enabled
qcam : disabled
test : false
v4l2 : true

Found ninja-1.11.1 at /usr/bin/ninja
root@ubuntu-2404-pi:~/src/libcamera# ninja -C build install
ninja: Entering directory `build'
[14/247] Generating src/ipa-priv-key with a custom command
...+........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.....+.+...........+.+........+.......+..+......+....+...+...+.....+.......+...+..+.........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+.+..+................+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+..+.......+...+..+.............+......+..+.............+.........+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[61/247] Generating src/libcamera/ipa_pub_key_cpp with a custom command
writing RSA key
[246/247] Installing files.
Installing include/libcamera/ipa/core_ipa_interface.h to
/usr/local/include/libcamera/libcamera/ipa
Installing include/libcamera/ipa/raspberrypi_ipa_interface.h to
/usr/local/include/libcamera/libcamera/ipa
...
Installing symlink pointing to libcamera.so.0.3.2 to
/usr/local/lib/aarch64-linux-gnu/libcamera.so.0.3
Installing symlink pointing to libcamera.so.0.3 to
/usr/local/lib/aarch64-linux-gnu/libcamera.so
Running custom install script
'/root/src/libcamera/src/ipa/ipa-sign-install.sh
/root/src/libcamera/build/src/ipa-priv-key.pem
lib/aarch64-linux-gnu/libcamera/ipa_rpi_vc4.so
lib/aarch64-linux-gnu/libcamera/ipa_rpi_pisp.so'
Regenerating IPA modules signatures
root@ubuntu-2404-pi:~/src/libcamera#
LD_LIBRARY_PATH=/usr/local/lib/aarch64-linux-gnu/:$LD_LIBRARY_PATH
/usr/local/bin/cam --list
[5:03:33.363753475] [6597] INFO Camera camera_manager.cpp:325 libcamera
v0.3.2+99-1230f78d
[5:03:33.390851392] [6601] INFO RPI pisp.cpp:695 libpisp version v1.0.7
28196ed6edcf 17-12-2024 (19:31:57)
[5:03:33.491293611] [6601] INFO RPI pisp.cpp:1154 Registered camera
/base/axi/pcie@120000/rp1/i2c@80000/imx708@1a to CFE device /dev/media0
and ISP device /dev/media1 using PiSP variant BCM2712_C0
Available cameras:
1: 'imx708_wide' (/base/axi/pcie@120000/rp1/i2c@80000/imx708@1a)
root@ubuntu-2404-pi:~/src/libcamera#

SO, it works there;-)


>> On 12/17/2024 10:14 AM PST Marco Walther <marc...@gmail.com
>> raspberrypi/libcamera>
>> https://github.com/raspberrypi/rpicam-apps <https://github.com/
>> raspberrypi/rpicam-apps>
>> -- Marco
>> >> On 12/16/2024 8:51 PM PST Marco Walther <marc...@gmail.com
>> <mailto:marc...@gmail.com>
>> bugs.launchpad.net/ubuntu/> <https:// <https://connect.xfinity.com>
>> >> bugs.launchpad.net/ubuntu/>
>> >> PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-
>> policies/ <https://www.ubuntu.com/legal/terms-and-policies/>
>> <mailto:hbrob...@googlegroups.com
>> d/msgid/> <https://groups.google.com/d/ <https://groups.google.com/d/>
>> >> msgid/>
>> >> >>> hbrobotics/1449472594.1040964.1734149724754%40connect.xfinity.com?
>> >> >>> utm_medium=email&utm_source=footer>.
>> >> >>
>> >> >> --
>> >> >> You received this message because you are subscribed to the Google
>> >> >> Groups "HomeBrew Robotics Club" group.
>> >> >> To unsubscribe from this group and stop receiving emails from
>> it, send
>> >> >> an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>
>> >> <mailto:hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>>
>> >> >> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com
>> >> >> <https://groups.google.com/d/msgid/ <https://groups.google.com/
>> d/msgid/> <https://groups.google.com/d/ <https://groups.google.com/d/>
>> >> msgid/>
>> >> >> hbrobotics/1471747645.768641.1734202273238%40connect.xfinity.com?
>> >> >> utm_medium=email&utm_source=footer>.
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "HomeBrew Robotics Club" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>
>> >> hbrobotics/b1b72e91-0a17-4296-83b7-2c39ea2af95b%40gmail.com
>> <https:// <https://connect.xfinity.com>
>> >> groups.google.com/d/msgid/hbrobotics/
>> >> b1b72e91-0a17-4296-83b7-2c39ea2af95b%40gmail.com>.
>> --
>> You received this message because you are subscribed to the Google
>> Groups "HomeBrew Robotics Club" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to hbrobotics+...@googlegroups.com
>> <mailto:hbrobotics+...@googlegroups.com>.
>> To view this discussion visit https://groups.google.com/d/msgid/
>> hbrobotics/4aea4efa-26d2-4e1c-b1a0-12093b248a60%40gmail.com <https://
>> groups.google.com/d/msgid/hbrobotics/4aea4efa-26d2-4e1c-
>> b1a0-12093b248a60%40gmail.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "HomeBrew Robotics Club" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hbrobotics+...@googlegroups.com
> <mailto:hbrobotics+...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> hbrobotics/2067041955.1137967.1734478763163%40connect.xfinity.com
> <https://groups.google.com/d/msgid/
> hbrobotics/2067041955.1137967.1734478763163%40connect.xfinity.com?
> utm_medium=email&utm_source=footer>.

Alan Federman

unread,
Dec 18, 2024, 5:06:27 PM12/18/24
to hbrob...@googlegroups.com, Marco Walther
i can get rpicam- still to work, but cam - l still says no cameras found for both mod 2 and mod 3 cameras.
 
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.

Sergei Grichine

unread,
Mar 30, 2025, 1:35:01 PM3/30/25
to hbrob...@googlegroups.com
For anybody who stumbles on this thread and might be unable to make cameras work - there's a set of installable (yes, "sudo apt install") packages by Marco Walther, which I confirmed working and documented my process:


When it comes to GPIO, I wasn't able to get Python code working unless under root (sudo) - RPi 4 / Ubuntu 24.04 Server. It wasn't a problem at the moment, so I didn't press on - but found some links with explanation and possible solution:


I hope this helps.



--
Best Regards,
-- Sergei
Reply all
Reply to author
Forward
0 new messages