How to add new dts in imx8mq evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add new dts in imx8mq evk

944 次查看
Ichi_
Contributor I

Hi all

The yocto linux version is 5.4.

I added a new xxx.dts in the /arch/arm64/boot/freescale folder ,

and modified the /arch/arm64/boot/freescale/Makefile that add dtb-$(CONFIG_ARCH_MXC)

+= xxx.dtb, but no effect when I try some wrong code.

May I ask where the mistake is?

 

 

 

 

 

 

0 项奖励
回复
3 回复数

919 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Ichi_ 

Actually, that is all what you need to modify, I tried by my side and it worked successfully:

Alejandro_Salas_1-1728325074651.png

 

I added that line on:

/linux-imx/arch/arm64/boot/dts/freescale/Makefile

 

Then, all the modifications should take effect when you compile the device tree.

Please be sure that the names are matching.

 

Best regards,

Salas.

0 项奖励
回复

904 次查看
Ichi_
Contributor I

Hi @Manuel_Salas 

I've checked the file name again and it is correct.

The Makefile path is as follows:

/imx8mqevk-poky-linux/linux-imx/5.4-r0/git/arch/arm64/boot/dts/freescale/Makefile

The Compile command as follows:

bitbake -c compile if linux-imx

bitbake -c deploy -f linux-imx

but still no effect? Is it because of using yocto?

Do I need to change othe files?

Thanks.

 

0 项奖励
回复

900 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello,

It appears that procedure only works in an standalone environment.

Please try adding your device tree in your machine.conf.

for example:

yocto/sources/meta-imx/meta-imx-bsp/conf/machines/

 

And add your device tree there (for example imx8mmevk.conf):

Alejandro_Salas_1-1728396101974.png

 

Best regards,

Salas.

0 项奖励
回复