Problems about P2020 in device tree

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

Problems about P2020 in device tree

跳至解决方案
1,119 次查看
敏赵
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 解答
698 次查看
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 回复数
698 次查看
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.

698 次查看
敏赵
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 项奖励
699 次查看
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 项奖励