Hello,
Following patch adds support to bring out the memory out of self refresh when doing resume.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
The patch is based on my 2008 patch.
Thanks, Rudolf
On 4.12.2010 20:55, Rudolf Marek wrote:
Hello,
Following patch adds support to bring out the memory out of self refresh when doing resume.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
The patch is based on my 2008 patch.
Removed compilation warning & refreshed to match current tree.
Thanks, Rudolf
Rudolf Marek wrote:
On 4.12.2010 20:55, Rudolf Marek wrote:
Hello,
Following patch adds support to bring out the memory out of self refresh when doing resume.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
The patch is based on my 2008 patch.
Removed compilation warning & refreshed to match current tree.
Acked-by: Peter Stuge peter@stuge.se
+++ coreboot/src/northbridge/amd/amdk8/raminit.c 2010-12-12 00:42:07.000000000 +0100
..
+#if 0
/* the registers are marked read-only but code zeros them */ dcl &= ~(DCL_MemClrStatus | DCL_DramEnable); pci_write_config32(ctrl[i].f2, DRAM_CONFIG_LOW, dcl);
+#endif
Why not just remove the code?
Hi Rudolf,
I have tested S3 on m2v-mx_se. It works perfectly. Except following situation.
As you know, there are two Dimms in m2v board. if I put 1 memory module on it, S3 would work perfectly. If I put 2 memory module on both two dimms. The coreboot cannot boot. it would stop at post_cache_as_ram() function.
In the beginning, you read resume_backup_memory from backup_resume()function. resume_backup_memory should be 0 when we booting. However, it will change after calling disable_cache_as_ram_bsp() function, and resume_backup_memory == 0xffffffff.
Then it will get into memcopy() function, which would stop booting.
If I am guessing right, you just put one memory module in your board for your testing, right?
Best, Fengwei
Hi,
Thanks for the test, although this patch is just for socket 939 and not for AM2 ;) Yes I tested with one DDR2 (I dont have two sticks)
Maybe there is something wrong with the cbmem TOC pointer. Please try to find out what exactly is wrong. Maybe just the memory is failing for some reason and it works only by luck with one dimm.
Thanks, Rudolf