How to add new dts in imx8mq evk

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

How to add new dts in imx8mq evk

943 Views
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 Kudos
Reply
3 Replies

918 Views
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 Kudos
Reply

903 Views
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 Kudos
Reply

899 Views
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 Kudos
Reply