Hello:
i want to use 4GB memory with LS1043ARDB in linux, does anyone know how to implementing.
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!
-----------------------------------------------------------------------------------------------------------------------
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
n_row_addr , should be 16, 4GB can work now.