Skip to content

Conversation

OldManYellsAtCloud
Copy link
Contributor

@OldManYellsAtCloud OldManYellsAtCloud commented Sep 13, 2025

Upgrade libcamera-apps to the latest release.

This PR was triggered by a message on the Yocto ML asking about tensorflow integration. Looking into it, it turned out that the currently available version can't be easily integrated with tensorflow-lite from meta-tensorflow. However this release should make it easier.

Of course there are also other changes from the past 1.5 years, it's easier to go through the releases page: https://github.com/raspberrypi/rpicam-apps/releases

  • dropped the obsolete patches also
  • added a new patch to add a missing header that gcc was complaining about (submitted upstream)

Note: This requires a newer libcamera than what's available currently in meta-oe. A patch has been submitted. This PR can be compiled only once the update in meta-oe is accepted.

Quite a few things have changed lately, eaiser to browse the release
page: https://github.com/raspberrypi/rpicam-apps/releases

The main reason for the update it improved build-compatibiltiy with
tensorflow-lite: it doesn't need cmake/pkg-config file anymore to
find the library, so it should be easier to integrate it with
meta-tensorflow.

Signed-off-by: Gyorgy Sarvari <[email protected]>
It is a dependency of libcamera, when it is built with rpi support.

Signed-off-by: Gyorgy Sarvari <[email protected]>
Move the raspberrypi PACKAGECONFIG to meta-oe (at least partially),
as the libcamera recipe needs to know when is it built for an rpi due
to a new build dependency. Also, make the PACKAGECONFIG append device
specific. Otherwise the behavior of the bbappend should not change
by this patch.

Signed-off-by: Gyorgy Sarvari <[email protected]>
@OldManYellsAtCloud
Copy link
Contributor Author

Apparently my first try was a bit optimistic. Libcamera has introduced a new build time dependency when it is built for rpi, libpisp, which I have added to the dynamic layers. Also, I have moved some parts of the PACKAGECONFIG from the libcamera bbappend to meta-oe, in the main libcamera recipe.

v2 patch for meta-oe: https://lists.openembedded.org/g/openembedded-devel/message/119471

@agherzan
Copy link
Owner

@OldManYellsAtCloud Thanks for this. Give a shout when meta-oe merged the required patches.

@OldManYellsAtCloud
Copy link
Contributor Author

It seems it was just merged successfully not so long ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants