[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flashrom
Subject:    Re: [flashrom] PCI BAR access thru sysfs
From:       Stefan Tauner <stefan.tauner () alumni ! tuwien ! ac ! at>
Date:       2014-12-30 10:30:45
Message-ID: 201412301615.sBUGFHPq008588 () mail2 ! student ! tuwien ! ac ! at
[Download RAW message or body]

On Wed, 10 Dec 2014 15:03:39 -0800
Ed Swierk <eswierk@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

_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic