What's the difference between the .dts files under linux-imx and uboot-imx?

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

What's the difference between the .dts files under linux-imx and uboot-imx?

Jump to solution
766 Views
viking_yuan
Contributor II
I saw, e.g. i.MX6UL, same file imx6ul-14x14-evk.dts under folders uboot-imx/arch/arm/dts and linxu-imx/arch/arm/boot/dts. Also I saw the same settings (e.g. uart2, usbotg1 and etc...) imx6ul-14x14-evk.dts in both of the above 2 folders. If I'd like to change the settings, e.g. usb1otg, which .dts should I modify? What's the reason to have same .dts files under these 2 folders?
0 Kudos
1 Solution
756 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

If you want to use usb/uart function in bootloader stage ,change the uboot dts.

If you want to use usb/uart function in linux stage,change the kernel dts.The kernel driver get dts node from kernel dts.If you want to use uart in linux shell, you need change the kernel dts.Normally,most dts change happened in kernel dts.

 

BR

Zhiming

View solution in original post

1 Reply
757 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

If you want to use usb/uart function in bootloader stage ,change the uboot dts.

If you want to use usb/uart function in linux stage,change the kernel dts.The kernel driver get dts node from kernel dts.If you want to use uart in linux shell, you need change the kernel dts.Normally,most dts change happened in kernel dts.

 

BR

Zhiming