How to use 4GB memory with LS1043ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use 4GB memory with LS1043ARDB

621 Views
lion3875
Contributor II

Hello:

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

Labels (1)
Tags (1)
0 Kudos
2 Replies

500 Views
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 Kudos

500 Views
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 Kudos