<div dir="ltr">it's an ARM. There was a primitive memory test in the early days of our ARM ports that might be useful. It was simple but it caught our problems.<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 4, 2015 at 7:18 AM WANG FEI <<a href="mailto:wangfei.jimei@gmail.com">wangfei.jimei@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How about MemTest86? See this link <a href="http://www.coreboot.org/Memtest86" target="_blank">http://www.coreboot.org/Memtest86</a>, I never use it before.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 4, 2015 at 6:16 AM, Iru Cai <span dir="ltr"><<a href="mailto:mytbk920423@gmail.com" target="_blank">mytbk920423@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, <br><br>I'm now porting coreboot to CubieTruck, a development board with an Allwinner A20 SoC. I use Mr.Nuke's code[1] and Allwinner's user manual for reference.However, when I modified the code and tested with the board, the console gave only two lines of message and it get stuck. So I thought DRAM init failed. I put some printks at bootblock_media.c, and found the bug occurs at line 118[2], which showed the access of a certain memory space caused the error. So I need to know how to check if the DRAM init works.<br><br></div>Thanks<br></div>Iru Cai<br><div><div><br>[1] <a href="https://github.com/mrnuke/coreboot/tree/cubie_mmc" target="_blank">https://github.com/mrnuke/coreboot/tree/cubie_mmc</a><br>[2] <a href="https://github.com/mrnuke/coreboot/blob/cubie_mmc/src/cpu/allwinner/a10/bootblock_media.c#L118" target="_blank">https://github.com/mrnuke/coreboot/blob/cubie_mmc/src/cpu/allwinner/a10/bootblock_media.c#L118</a><br></div></div></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br></blockquote></div><br></div>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>