Lessons learned Raspberry Pi camera

87 views
Skip to first unread message

Alan Federman

unread,
Aug 3, 2022, 4:32:21 PM8/3/22
to Camp Peavy' via HomeBrew Robotics Club
I had issues running a 24" cable on my Pi 4. Longer cables are susceptible to noise. Shorter cables don't. Shielding the cable probably wouldn't work, as it would change the capacitance. 

The clue that something was wrong was in dmesg, There we're errors in the i2c timing. 

Marco Walther

unread,
Aug 3, 2022, 9:44:36 PM8/3/22
to hbrob...@googlegroups.com, Alan Federman
If somebody is interested in the libcamera /libcamera_apps packages for
ARM64 Ubuntu 22.04, I hope I stuck all the *.deb's and all the needed
source files into
https://drive.google.com/file/d/1hMS8a8mj-GJFNnX0wn9wfksbPBtClwuI/view?usp=sharing

That should actually replace the libcamera0 and related packages from
the Ubuntu repository (and work correctly with the versioning).

The source 'packages' are also included, if somebody wants to play with
them. BUT there is one needed addition to the system for a successful
(and working!) build:
-----------------------------------------
ubuntu@jammy-rpi4:~/src$ tail /usr/share/lto-disabled-list/lto-disabled-list
yosys any
youker-assistant amd64 arm64
yp-tools any
zam-plugins any
zchunk arm64
zemberek-ooo amd64
zfs-fuse amd64 ppc64el

# MARCO
libcamera arm64
--------------------------------------------
The libcamera *must not* be built with Link-Time-Optimization (lto),
otherwise, it will not work!! Normally, Debian/Ubuntu is pretty good in
allowing local additions/modifications of config files. But I could
*not* find any way to add my source except for adding it directly:-(
The 'owning' package
ubuntu@jammy-rpi4:~/src$ dpkg -l lto-disabled-list
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-============-============-======================================
ii lto-disabled-list 24 all list of packages not to
build with LTO


I hope, this helps.

-- Marco

>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/hbrobotics/1410095385.213050.1659558733460%40connect.xfinity.com
> <https://groups.google.com/d/msgid/hbrobotics/1410095385.213050.1659558733460%40connect.xfinity.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages