Hi,
I'm trying to enable POST to perform RAM test as part of U-Boot on iMx8mq-evk platform by defining "CONFIG_POST" in my config file. But I'm getting "#error "_POST_WORD_ADDR currently not implemented for this platform!" .
Is it really the POST is not implemented on this platform? or I'm missing something else?
If the POST is not implemented yet, then how can I perform RAM test as part of U-Boot? I need to use it's result in my end application after the kernel boots up.
Request your inputs on the above as this is first time for me to work on U-Boot.
Regards,
Srikanth Vemula.
Hi srikanth_vemula
I am afraid POST U-Boot is not supported on i.MX8MQ platform, for memory test
one can try mtest:
https://www.denx.de/wiki/view/DULG/UBootCmdGroupMemory
Best regards
igor
Hi igor,
Thank you for the quick response.
I didn't go for mtest, as it may corrupt the memory regions occupied by the u-boot.
copied a caution note from the link :
This command may crash the system when the tested memory range includes areas that are needed for the operation of the U-Boot firmware (like exception vector code, or U-Boot's internal program code, stack or heap memory areas).
As per my requirement, I need to perform the test in production software. Hence, thought of performing POST as it runs the RAM test from ROM. As you confirmed that POST is not implemented on iMx8, can you please suggest any other method for testing RAM? If not, then worst case, I need to proceed with mtest only. In that case, can you please suggest how can I find safe memory locations of RAM to perform test?
And a method to pass on the result to Application software? Thought of creating a file in UBoot boot script and write the result and then finally store the file into EMMC. So that, UBoot performs the RAM test before loading kernel and the result can be read by the end application from the file after the kernel loads up. Please advice on it's feasibility.
Thanks in advance.
Regards,
Srikanth Vemula.
Hi Srikanth
for uboot memory usage one can look at web:
https://stackoverflow.com/questions/35336940/understand-u-boot-memory-footprint
and post question on uboot mail list, as this is general uboot question :
https://lists.denx.de/listinfo/u-boot
Best regards
igor