How to use 4GB memory with LS1043ARDB

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

How to use 4GB memory with LS1043ARDB

1,898件の閲覧回数
lion3875
Contributor II

Hello:

   i want to use 4GB memory with LS1043ARDB in linux, does anyone know how to implementing.

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,777件の閲覧回数
Pavel
NXP Employee
NXP Employee

Look at attached files. These files are available in u-boot from LSDK 1712.

Find the dram_init_banksize  procedure in the cpu.c file. This procedure shows that u-boot remapes DRAM if DRAM size is more then 2GB.

The cpu.c file is available using the following path:

flexbuild/packages/firmware/u-boot/arch/arm/cpu/armv8/fsl-layerscape


Have a great day,
Pavel Chubakov

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

0 件の賞賛
返信

1,777件の閲覧回数
lion3875
Contributor II

Hello Pavel, thank you very much, i have solved this problem, the reason of problem is ROW_BIT is incorrect, it's should be 16, but i set it to 15

Image.png

   n_row_addr , should be 16, 4GB can work now.

0 件の賞賛
返信