[coreboot] Dump GPIO I/O Registers

Peter Stuge peter at stuge.se
Tue Feb 19 01:51:13 CET 2008


On Mon, Feb 18, 2008 at 07:45:55PM -0500, joe at smittys.pointclark.net wrote:
> > Once you have the base address, you can read the GPIO control
> > registers from /dev/port, with the seek equal to the base address.
> 
> How?? This is the part I am looking for, this would be the golden
> ticket:-)

Oh! This can be fairly simple.

dd if=/dev/ioport bs=1 skip=$[0xbasehere] count=asmanyasyouwant | xxd


//Peter




More information about the coreboot mailing list