[libcamera-devel] [EXTERNAL] Re: Porting libCamera in to RDKC

Raj, Khem Khem_Raj at comcast.com
Tue Jun 30 20:15:14 CEST 2020


I would be interested to see the RDKC+libcamera stack working on rpi0 or rpi3 as well.

From: Peter Griffin <peter.griffin at linaro.org>
Date: Tuesday, June 30, 2020 at 2:58 AM
To: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: "Raj, Khem" <Khem_Raj at cable.comcast.com>, "Gaurav, Kumar" <FnuKumar_Gaurav at cable.comcast.com>, "Sivan, Abhilash (Contractor)" <Abhilash_Sivan at cable.comcast.com>, "Abraham, Glee" <Glee_Abraham at cable.comcast.com>, "Puttaparthi, Prasad" <Prasad_Puttaparthi3 at cable.comcast.com>, "libcamera-devel at lists.libcamera.org" <libcamera-devel at lists.libcamera.org>, "Dubey, Vijayanand" <vijay_dubey at cable.comcast.com>, Madhavan Krishnan <madhavan.krishnan at linaro.org>
Subject: Re: [libcamera-devel] [EXTERNAL] Re: Porting libCamera in to RDKC

Hi folks,

(plus Madhavan)

On Wed, 10 Jun 2020 at 00:48, Laurent Pinchart <laurent.pinchart at ideasonboard.com<mailto:laurent.pinchart at ideasonboard.com>> wrote:
Hi Khem,

On Tue, Jun 09, 2020 at 11:34:59PM +0000, Raj, Khem wrote:
> Is it specific to soc ? We can also use rpi0 as reference

The overall camera stack architecture shouldn't depend on a particular
platform, but libcamera has SoC-specific support. We do support
Raspberry Pi platforms, but out team has only tested Raspberry Pi 3 and
4. I believe the Raspberry Pi 0 should be supported in theory, but if I
recall correctly the slower ARM core may make it a bit more challenging
in practice.

That being said, enabling libcamera support for the Ambarella SoCs would
be interesting. It would require Ambarella-specific code in libcamera,
which in turns would require kernel drivers to be submitted to the
linux-media mailing list for upstream.

I did a quick bit of research into current Ambrella SoC support. It is used in quite
a few products like Nest Camera, so the GPL kernel source is available from
here for example https://nest.com/legal/compliance/<https://urldefense.com/v3/__https:/nest.com/legal/compliance/__;!!CQl3mcHX2A!Wervcq-a5J78dVgP6zxGDpO0oYLgAoVjCXPI730sSrcIoq20YAoD_-D8cri1IYji$>.

But it is a rather ancient 2.6.38 kernel. So a fair bit of work would be required
just to port & upstream basic SoC support, migrate to DT etc, before starting to
look at anything camera/media related.

Starting the RDKC integration of libcamera on the RPi3/4 platform where much
of the kernel, media drivers and libcamera work already exists would be much
quicker.

at *@comcast.com<http://comcast.com> guys - meet Madhavan who is also working on RDKC topics
on RPi platform. It seems it maybe worth a sync with you folks to avoid duplicating
effort.

Thanks,

Peter.


> On Tuesday, June 9, 2020 8:44:32 AM, Dubey, Vijayanand wrote:
> >
> > Hi Laurent
> > It's my bad, Ambarella does not have Upstream Linux Kernel Support.
> >
> > On 6/8/20, 1:06 PM, "Dubey, Vijayanand" wrote:
> >> Hi Laurent
> >> As per my understanding it does.. I posted the same question to SoC vendor
> >> and will get back to you as soon as I get the answer from them.
> >>
> >> On 6/8/20, 11:02 AM, "Laurent Pinchart" wrote:
> >>> On Mon, Jun 08, 2020 at 02:56:05PM +0000, Dubey, Vijayanand wrote:
> >>>> Hi Laurent
> >>>> Here are the current  RDKC cameras' SoC datasheets.
> >>>> https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$<https://urldefense.com/v3/__https:/www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$>  (xCAM/iCAM2)
> >>>> https://urldefense.com/v3/__http://www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$<https://urldefense.com/v3/__http:/www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$>
> >>>> https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$<https://urldefense.com/v3/__https:/www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$>
> >>>
> >>> Thank you.
> >>>
> >>>> They are fully ARM SoCs and we do have upstream Linux kernel support
> >>>> for these products.
> >>>
> >>> I don't see any device tree file for these SoCs in the upstream kernel.
> >>> Am I missing something obvious ?

--
Regards,

Laurent Pinchart
_______________________________________________
libcamera-devel mailing list
libcamera-devel at lists.libcamera.org<mailto:libcamera-devel at lists.libcamera.org>
https://lists.libcamera.org/listinfo/libcamera-devel<https://urldefense.com/v3/__https:/lists.libcamera.org/listinfo/libcamera-devel__;!!CQl3mcHX2A!Wervcq-a5J78dVgP6zxGDpO0oYLgAoVjCXPI730sSrcIoq20YAoD_-D8coq2YDqy$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20200630/eb0d595d/attachment-0001.htm>


More information about the libcamera-devel mailing list