Re: imx8qxp-mek-dom0.dtb - No rule to make target 'arch/arm64/boot/dts/freescale/imx8qxp-mek-dom0.dtb' #meta-freescale #imx8qxp


Andrey Zhizhikin
 

Hello all,

On Wed, Nov 9, 2022 at 4:37 PM Otavio Salvador
<otavio.salvador@...> wrote:



Em qua., 9 de nov. de 2022 às 11:59, Peter via lists.yoctoproject.org <poberauer=yahoo.co.uk@...> escreveu:

We are creating a BSP for our i.MX 8X (i.MX 8QuadXPlus) based product.
To start, we are trying to build an existing BSP as a point of reference.
Have followed the instructions here:
https://github.com/Freescale/fsl-community-bsp-platform
But am getting:
| make[1]: *** No rule to make target 'arch/arm64/boot/dts/freescale/imx8qxp-mek-dom0.dtb'. Stop.
| make: *** [/workdir/fsl-community-bsp/build/tmp/work-shared/imx8qxp-mek/kernel-source/Makefile:1425: freescale/imx8qxp-mek-dom0.dtb] Error 2

i.e.
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b kirkstone
repo sync
MACHINE=imx8qxp-mek DISTRO=fslc-wayland source setup-environment build
bitbake core-image-minimal

bitbake -e | grep PREFERRED_PROVIDER_virtual/kernel
gives
PREFERRED_PROVIDER_virtual/kernel="linux-fslc-imx"

changing local.conf to
PREFERRED_PROVIDER_virtual/kernel="linux-imx"
(and deleting tmp) produces the same error

Am I doing something wrong, or is this a bug?
Which combination of MACHINE, DISTRO, image, provider is a known working starting point for i.MX 8X (i.MX 8QuadXPlus) please?

Looks like a bug. Please open an issue on GitHub.
Indeed it is! While machine file [1] shows that the DTB shall be
available, it is not present in the Kernel source tree [2]. Guess the
machine needs to be aligned with what is provided in the Kernel, as it
was not touched since 2021.


--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750


Link: [1]: https://github.com/Freescale/meta-freescale/blob/66d738d4ab1270c2e87f5afabc085bdff205e5ac/conf/machine/imx8qxp-mek.conf#L12
Link: [2]: https://github.com/Freescale/linux-fslc/tree/5.15-2.1.x-imx/arch/arm64/boot/dts/freescale/

--
Regards,
Andrey.

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.