LS1-TWR: fdt_high=0xcfffffff

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

LS1-TWR: fdt_high=0xcfffffff

ソリューションへジャンプ
1,882件の閲覧回数
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,556件の閲覧回数
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,557件の閲覧回数
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,556件の閲覧回数
cpark
Contributor II

Thank you for the answer.

0 件の賞賛