[LinuxBIOS] asus/p2b/auto.c bug with smbus_read_byte? (440bx)

roger roger at eskimo.com
Thu May 10 09:39:08 CEST 2007


Using the default asus/p2b/autoc spd_read_byte customized function, DRAM
TEST hangs(right after DRAM Verify).

Comparing to tyan/s1846/auto.c, I've simply replaced with "return
smbus_read_byte(device, address);" and this gets me further. Following
is a sniper of auto.c:

--- Begin Snip auto.c ---
/* TODO: fix raminit.c to use smbus_read_byte */
static inline int spd_read_byte(unsigned int device, unsigned int
address)
{
	/* uint8_t c;
	c = smbus_read_byte(device, address);
	return c; */
	return smbus_read_byte(device, address);
}

--- End Snip auto.c ---

Now I can get as far as:

DRAM range verified.
Done.
Copying LinuxBIOS to RAM.
Jumping to LinuxBIOS.
LinuxBIOS-2.0.0.0Fallback Thu May 10 00:25:28 PDT 2007 booting...


--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Thu May 10 00:27:31 PDT 2007





More information about the coreboot mailing list