Hello Prakash,

 

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

Cloned from :

repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m imx-4.1.15-2.0.0.xml

repo sync

$pwd

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

 

I realized that the problem was that there was another folder called “imx” which I did not have in my custom-layer. Now I’m facing another problem when compiling:

| make[2]: *** No rule to make target 'e9697rsc6e5r.dts'.  Stop.
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /build/yocto/tmp_rsc61/work/rsc61-poky-linux-gnueabi/linux-fslc-imx/4.1-1.0.x+gitAUTOINC+59b38c323b-r0/temp/log.do_compile.11321)
ERROR: Task 57 (/linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1505 tasks of which 96 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

Should Yocto not compile the dts files into dtb itself? Do I need to find an external program to first make them into dtb files before adding them into the recipe-kernel?

 

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@gmail.com>
Skickat: den 13 januari 2019 17:24:44
Till: Wiholm, Willie ActeSE
Kopia: meta-freescale@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@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

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@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