[flashrom] VIA VT6421A (HZ-006)

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sat Dec 29 11:14:23 CET 2012


On Fri, 28 Dec 2012 16:52:58 +0800
Roy <roytam at gmail.com> wrote:

> 2012/12/28 Stefan Tauner <stefan.tauner at student.tuwien.ac.at>:
> >
> > I am not entirely sure what happens there. Obviously pcidev_readbar
> > reads 0... but we are not using that anyway and don't abort in that
> > case AFAICS. There has been some discussion about refactor these parts
> > and that would at least get rid of that message. I'll have to
> > investigate and discuss this with my colleagues.
> > What happens after that? flashrom exits?
> > Can you please add -VVV to the command line and resend the resulting
> > log?
> 
> Sure.
> 
> […] 
> Error: No supported PCI device found.

Ah, I missed an obvious exit call... attached hack should get you
further. If it does not work out of the box you can try the offset
parameter with different values where the n upper bits are all 1 and
everything below that is 0, e.g. for n=12 -p atavia:offset=0xfff00000
Please resend a -VVV log.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NOT-FOR-MERGE-Don-t-abort-on-invalid-PCI-BARs.patch
Type: text/x-patch
Size: 1232 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20121229/cc5015bf/attachment.patch>


More information about the flashrom mailing list