<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">+ Rajkumar<o:p></o:p></p>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="0" width="100%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Raj, Khem <Khem_Raj@cable.comcast.com><br>
<b>Sent:</b> Tuesday, June 30, 2020 2:15:14 PM<br>
<b>To:</b> Peter Griffin <peter.griffin@linaro.org>; Laurent Pinchart <laurent.pinchart@ideasonboard.com><br>
<b>Cc:</b> Gaurav, Kumar <FnuKumar_Gaurav@cable.comcast.com>; Sivan, Abhilash (Contractor) <Abhilash_Sivan@cable.comcast.com>; Abraham, Glee <Glee_Abraham@cable.comcast.com>; Puttaparthi, Prasad <Prasad_Puttaparthi3@cable.comcast.com>; libcamera-devel@lists.libcamera.org
 <libcamera-devel@lists.libcamera.org>; Dubey, Vijayanand <vijay_dubey@cable.comcast.com>; Madhavan Krishnan <madhavan.krishnan@linaro.org><br>
<b>Subject:</b> Re: [libcamera-devel] [EXTERNAL] Re: Porting libCamera in to RDKC</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal">I would be interested to see the RDKC+libcamera stack working on rpi0 or rpi3 as well.</p>
<p class="xmsonormal"> </p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="xmsonormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Peter Griffin <peter.griffin@linaro.org><br>
<b>Date: </b>Tuesday, June 30, 2020 at 2:58 AM<br>
<b>To: </b>Laurent Pinchart <laurent.pinchart@ideasonboard.com><br>
<b>Cc: </b>"Raj, Khem" <Khem_Raj@cable.comcast.com>, "Gaurav, Kumar" <FnuKumar_Gaurav@cable.comcast.com>, "Sivan, Abhilash (Contractor)" <Abhilash_Sivan@cable.comcast.com>, "Abraham, Glee" <Glee_Abraham@cable.comcast.com>, "Puttaparthi, Prasad" <Prasad_Puttaparthi3@cable.comcast.com>,
 "libcamera-devel@lists.libcamera.org" <libcamera-devel@lists.libcamera.org>, "Dubey, Vijayanand" <vijay_dubey@cable.comcast.com>, Madhavan Krishnan <madhavan.krishnan@linaro.org><br>
<b>Subject: </b>Re: [libcamera-devel] [EXTERNAL] Re: Porting libCamera in to RDKC</span></p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<div>
<p class="xmsonormal" style="margin-left:.5in">Hi folks,</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">(plus Madhavan)</p>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
</div>
<div>
<div>
<p class="xmsonormal" style="margin-left:.5in">On Wed, 10 Jun 2020 at 00:48, Laurent Pinchart <<a href="mailto:laurent.pinchart@ideasonboard.com">laurent.pinchart@ideasonboard.com</a>> wrote:</p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="xmsonormal" style="margin-left:.5in">Hi Khem,<br>
<br>
On Tue, Jun 09, 2020 at 11:34:59PM +0000, Raj, Khem wrote:<br>
> Is it specific to soc ? We can also use rpi0 as reference<br>
<br>
The overall camera stack architecture shouldn't depend on a particular<br>
platform, but libcamera has SoC-specific support. We do support<br>
Raspberry Pi platforms, but out team has only tested Raspberry Pi 3 and<br>
4. I believe the Raspberry Pi 0 should be supported in theory, but if I<br>
recall correctly the slower ARM core may make it a bit more challenging<br>
in practice.<br>
<br>
That being said, enabling libcamera support for the Ambarella SoCs would<br>
be interesting. It would require Ambarella-specific code in libcamera,<br>
which in turns would require kernel drivers to be submitted to the<br>
linux-media mailing list for upstream.</p>
</blockquote>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">I did a quick bit of research into current Ambrella SoC support. It is used in quite</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">a few products like Nest Camera, so the GPL kernel source is available from</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">here for example <a href="https://urldefense.com/v3/__https:/nest.com/legal/compliance/__;!!CQl3mcHX2A!Wervcq-a5J78dVgP6zxGDpO0oYLgAoVjCXPI730sSrcIoq20YAoD_-D8cri1IYji$">https://nest.com/legal/compliance/</a>.</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">But it is a rather ancient 2.6.38 kernel. So a fair bit of work would be required</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">just to port & upstream basic SoC support, migrate to DT etc, before starting to</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">look at anything camera/media related. </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">Starting the RDKC integration of libcamera on the RPi3/4 platform where much</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">of the kernel, media drivers and libcamera work already exists would be much</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">quicker.</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">at *@<a href="http://comcast.com">comcast.com</a> guys - meet Madhavan who is also working on RDKC topics</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">on RPi platform. It seems it maybe worth a sync with you folks to avoid duplicating</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">effort.</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">Thanks,</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in">Peter.</p>
</div>
<div>
<p class="xmsonormal" style="margin-left:.5in"> </p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="xmsonormal" style="margin-left:.5in"><br>
> On Tuesday, June 9, 2020 8:44:32 AM, Dubey, Vijayanand wrote:<br>
> ><br>
> > Hi Laurent<br>
> > It's my bad, Ambarella does not have Upstream Linux Kernel Support.<br>
> ><br>
> > On 6/8/20, 1:06 PM, "Dubey, Vijayanand" wrote:<br>
> >> Hi Laurent<br>
> >> As per my understanding it does.. I posted the same question to SoC vendor<br>
> >> and will get back to you as soon as I get the answer from them.<br>
> >><br>
> >> On 6/8/20, 11:02 AM, "Laurent Pinchart" wrote:<br>
> >>> On Mon, Jun 08, 2020 at 02:56:05PM +0000, Dubey, Vijayanand wrote:<br>
> >>>> Hi Laurent<br>
> >>>> Here are the current  RDKC cameras' SoC datasheets.<br>
> >>>> <a href="https://urldefense.com/v3/__https:/www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$" target="_blank">
https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$</a>  (xCAM/iCAM2)<br>
> >>>> <a href="https://urldefense.com/v3/__http:/www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$" target="_blank">
https://urldefense.com/v3/__http://www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$</a><br>
> >>>> <a href="https://urldefense.com/v3/__https:/www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$" target="_blank">
https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$</a><br>
> >>><br>
> >>> Thank you.<br>
> >>><br>
> >>>> They are fully ARM SoCs and we do have upstream Linux kernel support<br>
> >>>> for these products.<br>
> >>><br>
> >>> I don't see any device tree file for these SoCs in the upstream kernel.<br>
> >>> Am I missing something obvious ?<br>
<br>
-- <br>
Regards,<br>
<br>
Laurent Pinchart<br>
_______________________________________________<br>
libcamera-devel mailing list<br>
<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a><br>
<a href="https://urldefense.com/v3/__https:/lists.libcamera.org/listinfo/libcamera-devel__;!!CQl3mcHX2A!Wervcq-a5J78dVgP6zxGDpO0oYLgAoVjCXPI730sSrcIoq20YAoD_-D8coq2YDqy$" target="_blank">https://lists.libcamera.org/listinfo/libcamera-devel</a></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>