[flashrom] PCI BAR access thru sysfs
Stefan Tauner
stefan.tauner at alumni.tuwien.ac.at
Tue Dec 30 11:30:45 CET 2014
On Wed, 10 Dec 2014 15:03:39 -0800
Ed Swierk <eswierk at skyportsystems.com> wrote:
> Various kernel options are known to interfere with flashrom's attempts to
> access physical memory through /dev/mem. Some (like CONFIG_STRICT_DEVMEM)
> are important security measures that cannot be disabled without recompiling
> the kernel, and are likely to be used more widely over time.
>
> However, complete access to physical memory is unnecessary for some use
> cases. For example, the SPI interface on an Intel NIC can be accessed by
> mmapping a BAR resource file in the PCI device directory in sysfs. Has
> anyone considered implementing such an alternative access method for PCI
> devices in flashrom?
Hello Ed,
The issue is on our radar but we have not made any plans how to
approach it. RFCs, PoCs and Patches very welcome ;)
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list