On 13.02.2008 02:48, Marc Jones wrote:
Carl-Daniel Hailfinger wrote:
Ron? Marc? Can anyone check this on real hardware? The printk buffer is located in Geode LX memory:
- while CAR is enabled: starting at 0x80000 (CONFIG_CARBASE) size 16k
(CONFIG_CARSIZE / 2)
- after CAR is disabled: starting at 0x90000 size 64k
This works for Geode. There may be problems with doing this with the K8 or Fam10 code. A lot more of the CAR stack is used for buffers for memory training. I think that it would be good to have a setting to control the amount of CAR used. It is just half right now. This would also fix the case where you can't use CAR buffer but still want console buffer from memory init.
This is good stuff. Acked-by: Marc Jones marc.jones@amd.com
Here is the output from my LX system: dump 0x80000..+16384 ascii
coreboot-3.0.0 Tue Feb 12 18:25:19 MST 2008 starti 00080040ul ng... Choosing fallback boot. LAR: Attempting to open 'fallback/ [...] .... I stopped at VSA init. Good enough for me.
Thanks, r590.
Regards, Carl-Daniel