[flashrom] Flashrom fails on write. P4 motherboard
stefan.tauner at student.tuwien.ac.at
Thu Jul 25 21:31:01 CEST 2013
On Thu, 25 Jul 2013 20:23:32 +0200
san <san at plusnet.pl> wrote:
> Just uploaded lspci -nn here: http://e-san.info/Flashrom-P4/lspci-nn.txt
> How to lower GPIO by hand (before patch)?
Ah I forgot... I need one verbose flag too for the final patch, so that
we see the subsystem IDs too, sorry. So it should have been lspci -nnv.
I have prepared a preliminary patch that should at least verify if the
reverse engineering is correct, see the attachment.
You can also set this somehow with pciset as you know, I am just not
entirely sure about the exact commands.
you would need to get the gpiobase first with
setpci -s 00:1f.0 58.l
(only bits 6-15 are the base address see datasheet)
and then fetch the old value with
setpci -s 0:1f.0 gpiobase+0x0c
and set it with
setpci -s 0:1f.0 gpiobase+0x0c=...
I would rather just try the patch. :)
Sometimes there happen errors while reverse engineering the code so it
is possible that you actually need to raise the pin instead or that the
pin number is off by one. If you are a bit into programming then I am
sure you can figure out how to refine the patch if necessary, but we
can help you too of course.
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2087 bytes
Desc: not available
More information about the flashrom