[meta-freescale] Adding custom machine / dts files

Wiholm, Willie ActeSE Willie.wiholm at acte.se
Sun Jan 13 12:20:29 PST 2019


Hello,


The label in meta-fsl-arm is indeed linux-imx-4.1.15



$pwd

/linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-4.1.15


I noticed that it contains an additional folder called imx which contains the files, do i need the have the exact same structure in my layer?


I also tried to add the patch with dts and dtsi directly in the meta-fsl-arm/recipes-kernel/linux/linux-imx-4.1.15/imx/

But it was not added in the build, is there anything additional i need to do in order to apply my custom patches to the build?

(I realize this is a bad habbit but i just want to verify that they work).


Best Regards,

Willie


________________________________
Från: prakash m <prakash56755 at gmail.com>
Skickat: den 13 januari 2019 17:24
Till: Wiholm, Willie ActeSE
Kopia: meta-freescale at yoctoproject.org
Ämne: Re: [meta-freescale] Adding custom machine / dts files

Hi,

I hope the naming convention is different from which you specified in your custom layer, so kindly check in meta-freescale/recipes-kernel/linux for the proper naming in freescale kernel recipes.

I hope the proper naming would be linux-imx_4.1.15.bbappend.


Thanks & Regards
Pitchaiah M


On Sun, 13 Jan, 2019, 13:59 Wiholm, Willie ActeSE <Willie.wiholm at acte.se<mailto:Willie.wiholm at acte.se> wrote:
Hello prakash,

Yes the meta-local is added in bblayers.

Best regards,
Willie


Från: prakash m
Skickat: söndag 13 januari 03:55
Ämne: Re: [meta-freescale] Adding custom machine / dts files
Till: Wiholm, Willie ActeSE
Kopia: meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>


Hi,

Could you please check that your custom layer has been added to your bblayer.conf which is under your build directory.


Thanks & Regards
Pitchaiah M

On Sun, 13 Jan, 2019, 07:22 Wiholm, Willie ActeSE <Willie.wiholm at acte.se<mailto:Willie.wiholm at acte.se> wrote:
Hello guys,

(Sorry if i sent this in multiple lists)

I'm trying to build an image for an custom board that is based in the imx6dlsabresd, but I'm not sure how to add the custom dts files properly.

First i built the kernel and created a patch in arch/arm/boot/dts where i added my files.

Then I created a meta-custom layer, in which i created :
recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend
and the bbappend points to my patch.

Then i created my own machine that is a copy of the imx6dlsabre in conf/machine/custom.conf

My question is, is this the right approach? The goal is to build full images like "fsl-image-qt5" but I'm facing errors with core-image-minimal :

No recipes available for:
  /linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-avalue/recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend

So i believe I'm making some fundamental errors.

Any tips appreciated!

Best Regards,
Willie


--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7CWillie.wiholm%40acte.se%7Ce13b1754f1874cadbe5b08d67973ab95%7C309e17c286e24bd1ac236459b0d1065a%7C1%7C0%7C636829935042143788&sdata=6FbBxlurHCaRsMEDeCjpFVpCo6D%2FeNrVctdA5c2Z2DM%3D&reserved=0>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20190113/a05b1e81/attachment.html>


More information about the meta-freescale mailing list