Problems about P2020 in device tree

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems about P2020 in device tree

ソリューションへジャンプ
1,812件の閲覧回数
敏赵
Contributor I

Hi there,

My u-boot is 36-bit.

The booting msg is shown as below:

Warning: U-Boot configured CCSR at address fffe00000,but the device tree has it at ffe00000

How can I provide a 36-bit device tree(.dts file)

Regards,

Min Zhao

ラベル(1)
0 件の賞賛
返信
1 解決策
1,391件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please boot Linux Kernel with 36bit device tree, in the latest SDK 1.5, the device tree p2020rdb-pc_36b.dts has already been integrated.

In order to build 36 bit device tree in Yocto, please modify the variable "KERNEL_DEVICETREE" as "${S}/arch/powerpc/boot/dts/p2020rdb-pc_36b.dts" and build images.

Boot Linux Kernel with the following command under u-boot.

bootm <uImage address> <filesystem address> <device tree address>

The Device Tree is a data structure for describing hardware. Rather than hard coding every detail of a device into an operating system.


Have a great day,
Yiping Wang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,391件の閲覧回数
scottwood
NXP Employee
NXP Employee

What p2020 board (and version thereof) is this?  If it's p2020rdb-pc, there is a 36-bit version available in upstream Linux as well as recent SDKs.  If it's p2020ds or older revisions of p2020rdb, or a custom board without a 36-bit dts already available, you would need to modify the dts, or switch to a 32-bit U-Boot.

1,391件の閲覧回数
敏赵
Contributor I

It's p2020rdb-pc. What do you mean a 36-bit version available in upstream Linux as well as recent SDKs? Is it 36-bit device tree? I can't understand what is the device tree. How can I modify it? Does it include in the u-boot source code?

0 件の賞賛
返信
1,392件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please boot Linux Kernel with 36bit device tree, in the latest SDK 1.5, the device tree p2020rdb-pc_36b.dts has already been integrated.

In order to build 36 bit device tree in Yocto, please modify the variable "KERNEL_DEVICETREE" as "${S}/arch/powerpc/boot/dts/p2020rdb-pc_36b.dts" and build images.

Boot Linux Kernel with the following command under u-boot.

bootm <uImage address> <filesystem address> <device tree address>

The Device Tree is a data structure for describing hardware. Rather than hard coding every detail of a device into an operating system.


Have a great day,
Yiping Wang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信