How to use 4GB memory with LS1043ARDB

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

How to use 4GB memory with LS1043ARDB

1,912 次查看
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,791 次查看
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,791 次查看
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 项奖励
回复