LS1-TWR: fdt_high=0xcfffffff

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

LS1-TWR: fdt_high=0xcfffffff

跳至解决方案
2,019 次查看
cpark
Contributor II

Hi,

The u-boot has fdt_high=0xcfffffff by default.  Is there any reason to set it to 0xcfffffff?

标签 (1)
0 项奖励
回复
1 解答
1,693 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Park Chan,

If set this restricts the maximum address that the flattened device tree will be copied into upon boot.

For example, if you have a system with 1 GB memory at physical address 0x10000000, while Linux kernel only recognizes the first 704 MB as low memory, you may need to set fdt_high as 0x3C000000 to have the device tree blob be copied to the maximum address of the 704 MB low memory, so that Linux kernel can access it during the boot procedure.

LS1021ATWR has 2G memory at physical address 0x80000000, and according to Linux Kernel memory map, 1G low memory is allocated for the system, so it seems that configure fdt_high at "0xbfffffff" should be more reasonable.


Have a great day,
Yiping

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,694 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Park Chan,

If set this restricts the maximum address that the flattened device tree will be copied into upon boot.

For example, if you have a system with 1 GB memory at physical address 0x10000000, while Linux kernel only recognizes the first 704 MB as low memory, you may need to set fdt_high as 0x3C000000 to have the device tree blob be copied to the maximum address of the 704 MB low memory, so that Linux kernel can access it during the boot procedure.

LS1021ATWR has 2G memory at physical address 0x80000000, and according to Linux Kernel memory map, 1G low memory is allocated for the system, so it seems that configure fdt_high at "0xbfffffff" should be more reasonable.


Have a great day,
Yiping

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

0 项奖励
回复
1,693 次查看
cpark
Contributor II

Thank you for the answer.

0 项奖励
回复