public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ichxrom driver question
@ 2005-12-21  0:42 Dave Peterson
  2005-12-21  1:40 ` Eric W. Biederman
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Peterson @ 2005-12-21  0:42 UTC (permalink / raw)
  To: linux-mtd; +Cc: ebiederman

I attempted to flash the BIOS on a machine with an Intel 82801CA
(ICH3-S) I/O Controller Hub as follows:

    # modprobe ichxrom
    # modprobe mtdchar
    # mtd_unlock /dev/mtd0
    # mtd_eraseall /dev/mtd0
    Erased 512 Kibyte @ 0 -- 100% complete.
    # dd if=bios_image of=/dev/mtd0
    1024+0 records in
    1024+0 records out
    # dd if=/dev/mtd0 of=result
    1024+0 records in
    1024+0 records out
    # mtd_lock /dev/mtd0 0 -1

After doing the above, I examind the file 'result' and all it
contains is a bunch of zero bytes.  Thus the BIOS flashing operation
appears to have failed (I confirmed this by attempting to reboot, and
sure enough, the BIOS appears to have been wiped out).

I did this using the version of the ichxrom driver from the 2.6.9
kernel.  Looking briefly at this code in comparison to a more recent
version of the code from the 2.6.14.4 kernel, it looks like
substantial changes have been made.

So my question is, are there known problems with the version of the
ichxrom driver in the 2.6.9 kernel, and if so, have the problems
been fixed in later kernels?  Also, are there any known issues with
the ICH3-S that may explain the behavior I observe?  When replying,
please cc dsp@llnl.gov.

Thanks,
Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-23  8:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21  0:42 ichxrom driver question Dave Peterson
2005-12-21  1:40 ` Eric W. Biederman
2005-12-21 18:37   ` Dave Peterson
2005-12-21 19:05     ` Eric W. Biederman
2005-12-22  2:12       ` Dave Peterson
2005-12-23  8:26         ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox