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,498件の閲覧回数
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,488件の閲覧回数
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,489件の閲覧回数
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