[meta-freescale] [meta-fsl-arm-extra][PATCH 3/4] linux-cfa: add a kernel recipe supporting Crystalfontz boards

Marek Vasut marex at denx.de
Fri Aug 23 04:25:47 PDT 2013


Dear Alexandre Belloni,

> On 23/08/2013 05:13, Marek Vasut wrote:
> > Dear Alexandre Belloni,
> > 
> >> On 22/08/2013 19:56, Otavio Salvador wrote:
> >>> On Thu, Aug 22, 2013 at 2:27 PM, Alexandre Belloni
> >>> 
> >>> <alexandre.belloni at free-electrons.com> wrote:
> >>>> On 22/08/2013 19:19, Otavio Salvador wrote:
> >>>>>>> What it does different here than original linux-dtb alternatives?
> >>>>>> 
> >>>>>> Actually, the default environment present in the barebox mainline
> >>>>>> for the cfa10036 is looking for a kernel named zImage-cfa10036 and
> >>>>>> DTBs named oftree-${DTB_BOARD_NAME} in /boot. So I'm just creating
> >>>>>> more links to the kernel and DTBs. I'm not doing anything
> >>>>>> differently, I'm just creating more links.
> >>>>> 
> >>>>> I'd patch the default environment so we avoid custom behaviour from
> >>>>> other boards. Do you mind?
> >>>> 
> >>>> Hum, I'm not sure about that, that would mean that we would have a
> >>>> different behaviour between the buildroot generated image and the
> >>>> yocto generated image which is not so great from a customer support
> >>>> point of view. Also oftree is the usual name for dtbs in barebox, I'd
> >>>> like to stick to it. That is just a bunch of links and that part will
> >>>> stay in the crystalfontz specific kernel recipe anyway, does it
> >>>> matter that much ?
> >>> 
> >>> No; but it is code for you to maintain and be sure it keeps working.
> >>> Personally I'd stick to OE-Core standard but it is up to you to
> >>> decide. I am fine with both ways.
> >> 
> >> Sure but my opinion is that is is already quite stupid that yocto does
> >> not use the names generated by the kernel in the first place.
> > 
> > The linux kernel does generate files named "oftree-FOO" somehow? How?
> 
> No, what I meant is that yocto is using
> devicetree-zImage-imx28-cfa10036.dtb instead of imx28-cfa10036.dtb for
> example when installing devicetrees in the image.

Ah yes, you're right, the way Yocto does it is rather confusing. But it's not my 
call to comemnt on this.

Best regards,
Marek Vasut



More information about the meta-freescale mailing list