Part Number: AM625
Hi, TI expert!
How to enable the memory test on u-boot? Is there any guide and step to enable memory test in u-boot?
Regards,
Li
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Li!
We don't support memory test in U-Boot, so we don't have any steps ready-to-go that could be provided. Last time I checked the implementation was also rather crude, so it won't do as good of a job as dedicated utilities like 'memtester' can do under Linux.
If you want to do memory stress testing during board bringup etc. with minimal dependencies I would recommend you just build a basic kernel image and use a small ramdisk-based rootfs that has the memtester utility in it and use that to boot up your system. This is how we bring up our boards here at TI too, and it should be a very solid and thorough way to perform the memory test you are looking after.
Please refer to this FAQ here for more guidance on how to setup a ramdisk-based boot:
Regards, Andreas
Hi Andreas
“If you want to do memory stress testing during board bringup etc. with minimal dependencies I would recommend you just build a basic kernel image and use a small ramdisk-based rootfs that has the memtester utility in it and use that to boot up your system.”
I'm not quite sure what you mean here.
Could you please elaborate on why it is necessary to use a ramdisk-based rootfs to boot the system?
Regards
Li
Could you please elaborate on why it is necessary to use a ramdisk-based rootfs to boot the system?
`memtester` is a popular Linux-based utility, so you need some kind of Linux system up to run it. And ramdisk-based system is usually pretty easy to do from a resourcing POV (you can load/boot that over USB/network for example, don't even need SD card or eMMC up in your system for example). There might be other ways, but this is how we (and I think most other people) do it.
https://linux.die.net/man/8/memtester
Regards, Andreas