[coreboot] [LinuxBIOS] Suspend to RAM with LinuxBIOSv2
r.marek at assembler.cz
Thu Feb 14 01:04:54 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
> 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?
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 at 4M memmap=40k at 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the coreboot