Memory POST test in T4240 SPL

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

Memory POST test in T4240 SPL

3,424 次查看
michaelborgelt
Contributor II

I want to execute the Memory POST test (CONFIG_SYS_POST_MEMORY) in T4240 U-Boot. The board boots from SPI-Flash. Since the "normal" U-Boot runs already in DDR, the test should be started in the SPL-loader. Has anybody ever run this test in SPL-loader?

标签 (1)
4 回复数

2,853 次查看
Pavel
NXP Employee
NXP Employee

Look at the following page from Community about 2GByte RAM under u-boot:

https://community.nxp.com/thread/372327


Have a great day,
Pavel Chubakov

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

0 项奖励
回复

2,853 次查看
Pavel
NXP Employee
NXP Employee

It looks like that The T4240 e6500 L3 cache can be used as SRAM for your memory test code.

The u-boot binary image is 768KBytes. The T4240 e6500 L2 SRAM bank size is 512KBytes. Therefore the T2080 e6500 L2 SRAM cannot be used for u-boot.

It looks like that your memory test code can be loaded to L2 SRAM. Board can be restarted after memory test for u-boot loading.


Have a great day,
Pavel Chubakov

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

2,853 次查看
michaelborgelt
Contributor II

Hi Pavel,

thanks for your answer. So far I have the Memory tests are running in SPL. But only for the first 2 GByte of RAM. Do you know how to address the whole RAM?

SPL maps only the first 2 GByte of RAM, I have configurations with 6 and 12 GByte.

U-Boot Output:

Initializing....using SPD
4 GiB left unmapped
    DDR:

0 项奖励
回复

2,853 次查看
gottfriedwutzl
Contributor II

Dear Michael,

which memory test is it? How can the memory test be added to the SPL?

I only need a factory test to check if all address and data lines soldered (short circuit, open lines)?

regards,

Gottfried

0 项奖励
回复