On Thursday, May 8, 2003, at 01:04 PM, ron minnich wrote:
On 8 May 2003, Nathanael D. Noblet wrote:
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b3) 00: 39 10 08 00 0f 00 00 02 b3 00 01 06 00 00 80 00 10: 00 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 00 00 00 00 00 00 00 00 00 00 00 00 40: c8 80 80 80 80 60 00 02 ff ff 10 0f 11 20 04 01 50: 11 28 02 01 62 00 66 00 9c 2e 12 00 0c e9 00 00 60: 0c 80 7f 00 34 01 00 00 90 02 80 00 20 1d 00 00 70: 1e 00 00 80 80 08 00 00 00 00 00 80 00 00 80 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 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 00 00 00 00 00 00 00 00 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 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
this is the south bridge. This is the "function" (sub-device) of the southbridge that controls flash write.
reg 0x45 has a value of: 0x60, binary 0110 0000 to make eeprom flashable, bits 5,2 must == 01. see page 76 of the book.
bit 5 is 1 and bit 2 is 0, which I think is 10. We need to flip them.
0100 0100
4 4
Try this setpci -s 0:1.0 45.b (read the value) setpci -s 0:1.0 45.b=44 setpci -s 0:1.0 45.b (read the value back and make sure it is 44)
then run flash_rom and see what happens.
EEPROM Found! nice! So now I'll try getting good old linuxbios on there...
Seriously thanks alot...
Is there anything I need to do to flash_rom.c to get that to work all the time?
having someone explain what the -xxx output is sure helps understand what it is (besides knowing it is a hex dump)...
well, now that we know what works, I want to patch flash_rom and have you test it.
ron
On Thu, 8 May 2003, Nathanael Noblet wrote:
Is there anything I need to do to flash_rom.c to get that to work all the time?
I just fixed flash_rom and committed. If you could reset your board (to reset the southbridge) and try just running flash_rom (NO manual setpci commands) let me know if this worked.
ron
On Thursday, May 8, 2003, at 01:32 PM, ron minnich wrote:
I just fixed flash_rom and committed. If you could reset your board (to reset the southbridge) and try just running flash_rom (NO manual setpci commands) let me know if this worked.
Sorry no it didn't though the output from your new function prints out OK... the ids 1 & 2 = 0xff
On Thu, 8 May 2003, Nathanael Noblet wrote:
Sorry no it didn't though the output from your new function prints out OK... the ids 1 & 2 = 0xff
never fails. Can you run flash_rom and send me this:
lspci -s 0:1.0 -xxx
thanks
ron