2409547_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2409547_en-US

2409547_en-US

Error in building an image for imx8mp with custom dts

Hi,

I am new to nxp i am facing problem with building an image for custom board

  • I am using the imx8mp (MIMX8ML8CVNKZAB)
  • I am using the scrapgap Linux 6.6.52_2.2.0
  • I created a new dts for my custom board
  • I am getting error in building image

This the err i am getting while building an image

This is the err i got during building the imageThis is the err i got during building the imageThis is the err i got during building the imageThis is the err i got during building the imageThis is the err i got during building the image

added the custom board dts name in imx8mp_evk.hadded the custom board dts name in imx8mp_evk.hadded the custom board dts name in imx8mp_evk.hadded the custom board dts name in imx8mp_evk.hadded the custom board dts name in imx8mp_evk.h

How to fix this err?

Re: Error in building an image for imx8mp with custom dts

Did you modify any configuration related with u-boot?

Please run the following command to rebuild u-boot.

$ bitbake u-boot-imx -c cleansstate

$ bitbake u-boot-imx

Re: Error in building an image for imx8mp with custom dts

Hi, 

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

i got this erri got this erri got this erri got this erri got this errhere i added the dtshere i added the dtshere i added the dtshere i added the dtshere i added the dts

i got the err 

Re: Error in building an image for imx8mp with custom dts

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".

Re: Error in building an image for imx8mp with custom dts

This is what i added in the u-boot config

CONFIG_DEFAULT_FDT_FILE="imx8mp-evk-delta.dtb"

u-boot config i added this lineu-boot config i added this lineu-boot config i added this lineu-boot config i added this line

After clean and rebuild the u-boot i am getting the same error 

Re: Error in building an image for imx8mp with custom dts

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


タグ(1)
評価なし
バージョン履歴
最終更新日:
2 週間前
更新者: