-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
We can't afford to lose that code.
Well I think I can clean the code bit, maybe it can serve as good template for v3 (from the what needs to be done perspective) Cant promise that I will find time now, but I will try to schedule it bit -> or even better try with v3 once ACPI is there. Here is some quick hack to make it work:
Maybe we can get it working in v3?
Quick hacks:
1) detect the resume, write to sleep register "Full ON state" 2) memory needs to be exit from self refresh 3) when building the ACPI tables, record the waking vector 4) run full coreboot boot 5) instead of jumping to payload, go realmode, turn A20 and jump to waking vectror
6) run kernel with ro memmap=exactmap memmap=1018M@4M memmap=40k@896k ro just reserve tiny memory for Linux waking code, make sure that LB will not destroy this. rest of the memory can be clobbered by coreboot, (in this example all bellow 4MB)
Plus we need to have ACPI in v3 but I dont know if we do have.
Rudolf