[coreboot] How to check if DRAM init is OK?

Iru Cai mytbk920423 at gmail.com
Tue Aug 4 07:16:36 CEST 2015


Hi,

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.

Thanks
Iru Cai

[1] https://github.com/mrnuke/coreboot/tree/cubie_mmc
[2]
https://github.com/mrnuke/coreboot/blob/cubie_mmc/src/cpu/allwinner/a10/bootblock_media.c#L118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150804/785cd7fe/attachment.html>


More information about the coreboot mailing list