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

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

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

跳至解决方案
1,502 次查看
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 项奖励
回复
1 解答
1,492 次查看
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

在原帖中查看解决方案

1 回复
1,493 次查看
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