[coreboot] Memory corruption on Resume from S3 Baytrail

Stefan Reinauer stefan.reinauer at coreboot.org
Sun Nov 23 08:24:09 CET 2014


On 11/19/14 11:36 AM, Gailu Singh wrote:
> Hi Experts,
>
> I am using Baytrail SoC board (Bayleybay CRB) and testing 
> suspend/resume from Linux (kernel 3.10). I can suspend with pm-suspend 
> and resume with power button; however after resuming I get following 
> logs in Linux
> Corrupted low memory at c0001004 (1004 phys) = 0008eaea
> Corrupted low memory at c0001008 (1008 phys) = b0606600
> ...
> Corrupted low memory at c00018fc (18fc phys) = 000008ea
>
> This seems to be caused by coreboot as I do not see these logs if I 
> use BIOS instead of coreboot.
> Is it true that during resume coreboot uses RAM portion already mapped 
> by Linux and thus corrupting it. How to I avoid the RAM conflict?

Looks like coreboot (or FSP) is overwriting this memory with some 
trampoline code.

One (ugly) way to fix this would be to just reserve the space in the 
memory table. The better way would be to track down where this is 
actually happening and fix it there.

Stefan



More information about the coreboot mailing list