2411850_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2411850_en-US

2411850_en-US

No rule to make target

I was trying to build an yocto image on an imx8mp processor.The file was in the spectified locations,i have verified and also mentioned it in the imx8mp_evk_defconfig file as well.



| make[3]: *** No rule to make target 'arch/arm64/boot/dts/freescale/imx8mp-evk-delta.dtb'. Stop.

Re: No rule to make target

Please refer to the following procedure to rebuild Linux Kernel.

1. Please add "freescale/imx8mp-evk-delta.dtb \" in variable KERNEL_DEVICETREE:append:use-nxp-bsp in file sources/meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf

2. Please fetch Linux Kernel source code.

$ bitbake virtual/kernel -c cleansstate

$ bitbake virtual/kernel -c patch

3. Please go to Linux Kernel source code folder tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.6.52+git/git to add dts file arch/arm64/boot/dts/freescale/imx8mp-evk-delta.dts

4. Rebuild Linux Kernel.

$ bitbake virtual/kernel

Re: No rule to make targetstill it comes after bitbake virtual/kernelRe: No rule to make target

For Linux Kernel:

Please add "freescale/imx8mp-evk-delta.dtb \" in variable KERNEL_DEVICETREE:append:use-nxp-bsp in file sources/meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf

Then run "bitbake virtual/kernel".


For u-boot:

Please refer to the following procedure to add and use new dts file in u-boot.

$ bitbake u-boot-imx -c cleansstate

$ bitbake u-boot-imx -c patch

Go to u-boot source code folder tmp/work/imx8mp_lpddr4_evk-poky-linux/u-boot-imx/2024.04/git, please add dts file imx8mp-evk-delta.dts in folder arch/arm/dts/.

Please modify configs/imx8mp_evk_defconfig as the following.

CONFIG_DEFAULT_DEVICE_TREE="imx8mp-evk"

Modify to:

CONFIG_DEFAULT_DEVICE_TREE="imx8mp-evk-delta"


Then rebuild u-boot:

$ bitbake u-boot-imx

Tags (1)
No ratings
Version history
Last update:
Wednesday
Updated by: