* Rudolf Marek r.marek@assembler.cz [080105 02:11]:
I'm pleased to announce that I got S3 working with LinuxBIOSv2 on ASUS A8V-E SE (K8 + VT8237 + K8T890)!
Rudolf,
this is wonderful! Thank you very much for your work!
- consolidate the memory usage of LinuxBIOSv2
What needs to be done here?
- dont clean arbitrary memory
This should at least be the case when waking up from S3.
Perhaps we could reserve last 1MB of RAM or something after 8MB of mem and put linuxBIOS heap there when using S3 we would just reserve the region + (some region bellow the 1MB for AP CPU boot + ACPI tables etc)
Sounds reasonable. How do others do this?
The patch has some errata update of code too, I will publish this as separate patch - I did it because I thought I got still some memory related problem.
Thank you.
Index: src/mainboard/asus/a8v-e_se/dsdt.asl
--- src/mainboard/asus/a8v-e_se/dsdt.asl (revision 2978) +++ src/mainboard/asus/a8v-e_se/dsdt.asl (working copy) @@ -44,6 +179,7 @@ */ Name (_S0, Package () {0x00, 0x00, 0x00, 0x00 }) Name (_S5, Package () {0x02, 0x02, 0x00, 0x00 })
Name (_S3, Package () {0x01, 0x01, 0x00, 0x00 })
/* Root of the bus hierarchy */ Scope (_SB)
How nice ACPI _can_ be :)
Index: src/mainboard/asus/a8v-e_se/wakeup.c
--- src/mainboard/asus/a8v-e_se/wakeup.c (revision 0) +++ src/mainboard/asus/a8v-e_se/wakeup.c (revision 0) @@ -0,0 +1,267 @@ +//reboot.c from linux
+#include <stdint.h> +#include <string.h> +#include <arch/io.h> +#include <console/console.h>
[..]
A quick glimpse tells me that wakeup.c is mostly x86 generic code. We should put it somewhere else.
Stefan