On 03/03/10 04:19, Keith Hui wrote:
Hi all,
This thing is now ready for more exposure. Scratch my previous "patch" - this is my first real deal.
- Adds RAM detection for i440bx (based on i82830 code). We're no longer
hard coded for 64MB on one row!
Hi.
I've tried this with my ASUS P2B, and it's not quite there yet.
The first problem is that this motherboard only has three DIMM slots. This means you have to set SDRAMC to something different; 0x0103 works for me.
I'm guessing that we will need a motherboard config option for this - there doesn't seem to be one suitable? Something like:
src/mainboard/asus/p2b/Kconfig:
config DIMM_SOCKETS int default 3 depends on BOARD_ASUS_P2B
The second problem is that it doesn't work with more that 256 MB of memory. I've had one stick of 128 MB work, two sticks of 128 MB and one stick of 256 MB all work, but two sticks of 256 MB doesn't boot linux.
Has anyone got any idea as to what might be wrong? If I get the time I'll try to boot with the real BIOS and see what that sets the register up to in different configs.
This is great work though!
Many thanks,
MM