AnsweredAssumed Answered

Fail build fsl-image-validation-imx image when externsrc linux

Question asked by Bong on Apr 25, 2018
Latest reply on May 3, 2018 by Bong

Hi

I am quite new to Yocto. 

I had <devtool modify -x linux-imx> and <devtool modify -x u-boot-imx> to a custom folder. 

I copied and modifed the two generated bbappends and moved them to the custom folder and set that layer to priority 9. 

Assuming I had done everything correctly. I attempted <bitbake core-image-minimal> and <bitbake core-image-sato> and they build successfully.

The below message shows they are referencing the external linux and u-boot.

u-boot-imx-2017.03-r0 do_compile: NOTE: u-boot-imx: compiling from external source tree /home/et/imx8-pci-001/sources/meta-pci/recipes-bsp/u-boot/u-boot-imx

linux-imx-4.9.51-r0 do_compile: NOTE: linux-imx: compiling from external source tree /home/et/imx8-pci-001/sources/meta-pci/recipes-bsp/linux/linux-imx

 

However, building fsl-image-validation-imx will have the following error message:

 

ERROR: Task do_unpack in /home/et/imx8-pci-001/sources/poky/meta/recipes-kernel/perf/perf.bb depends upon non-existent task do_patch in /home/et/imx8-pci-001/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.51.bb

 

Please advise for any recommendations .

 

regards, Edward

Outcomes