[LinuxBIOS] Read SPD issue

Joseph Smith joe at smittys.pointclark.net
Sat Aug 11 18:52:54 CEST 2007


Quoting Stefan Reinauer <stepan at coresystems.de>:

> Joseph Smith wrote:
>> Hello,
>> I am having a problem with raminit.c reading SPD data. When I use the
>> smbus_read_byte function it is only returning a value of 0xFF.
>>
>> smbus_read_byte(ctrl->channel0[i], 2)
>>
>>
> your i2c bus functions of the southbridge code don't work.
>
>

Hmm, I have an ICH4 i82801db southbridge and am using Corey's i82801xx  
src code.
Corey, mabe you could shed some light on this?? Here is my serial  
console output, where it says "SPD is ff, ff, ff, ff" I just tried a  
bunch of different SPD bytes to see the return values.

LinuxBIOS-2.0.0.0Fallback Sat Aug 11 01:30:14 EDT 2007 starting...
Setting Initial Registers....
Initial registers have been set.
SPD is ff, ff, ff, ff
No DIMM found in slot 00, Setting DRA to 0xFF
DRA 70 has been set to ff
SPD is ff, ff, ff, ff
No DIMM found in slot 01, Setting DRA to 0xFF
DRA 71 has been set to ff
RAM Enable 1: Apply NOP
     Sending RAM command 0x00000010 to 0x00000000
RAM Enable 2: Precharge all
     Sending RAM command 0x00000020 to 0x00000000
RAM Enable 3: CBR
     Sending RAM command 0x000000
RAM Enable 4: Mode register set
     Sending RAM command 0x00000030 to 0x00000000
RAM Enable 5: Normal operation
     Sending RAM command 0x20000170 to 0x00000000
Northbridge following SDRAM init:
PCI: 00:00.00
00: 86 80 75 35 06 00 10 20 04 00 00 06 00 00 00 00
10: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
40: 09 00 05 01 00 00 00 00 00 00 00 00 02 28 00 0e
50: 72 a0 00 00 00 00 00 00 00 30 33 33 33 33 33
60: 00 00 04 04 00 00 00 00 00 00 00 00 00 00 00 00
70: ff ff ff ff 00 00 00 00 10 00 00 00 70 01 00 20
80: 00 00 00 00 00 00 00 00 00 70 d7 d4 00 00 00 00
90: 02 38 00 01 00 00 00 00 00 00 00 00 00 00 00 00
a0: 02 00 20 00 17 02 00 1f 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 54 0e 41 a2 99 01 00 c0 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 fc 14 00 00
f0: 11 11 01 00 00 00 0d 05 37 d6 30 d3 1f cf 1e
Copying LinuxBIOS to RAM.
Jumping to LinuxBIOS.
SMBus controller enabled




Thanks - Joe




More information about the coreboot mailing list