[Buildroot] [PATCH v3] package/libcamera: bump version to 96fab38

Yann E. MORIN yann.morin.1998 at free.fr
Tue Jun 16 07:27:46 UTC 2020


Kieran, Peter, All,

On 2020-06-15 12:32 +0100, Kieran Bingham spake thusly:
> On 14/06/2020 18:02, Yann E. MORIN wrote:
[--SNIP--]
> > As I understand it, it would make sense that a thir-party provides a
> > binary blob for their hardware, nd use none of the pipelines for the
> > known boards, no?
> Libcamera could be built without any I believe (/me goes to test).
> Yes, libcamera will build successfully and cleanly with -Dpipelines=""
> 
> But a pipeline handler is always required for *operation*, and those can
> not be 'binary blobs'.
> 
> Only the image processing algorithm (IPA) components can be an external
> binary. There must be a corresponding (open source) pipeline-handler to
> support the algorithms.

OK, so I guess this indeed calls for always enabling a default pipeline
handler, and the UVC one makes for a good default one (see below).

> > If it makes sense that no pipeline is enabled, I'm fine with having none
> > enabled by default.
> I guess my only thought would be to expect at least UVC support - but
> hey, the target might not have USB - so it certainly is use-case specific.

But as you said a pipeline handler is mandatory, the UVC one is generic
enough that it is enabled by default.

What we usually do in such a situation, is something like:

    config BR2_PACKAGE_LIBCAMERA
        bool "libcamera"
        select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVC if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE

    config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
        bool

    config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
        bool "ipu3 pipeline"
        select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE

    config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
        bool "rkisp1 pipeline"
        select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE

    config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI
        bool "rpi pipeline"
        select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE

    config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVC
        bool "UVC pipeline"

Peter, can you respin with this change, please? ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list