[coreboot] [PATCH] Raw payload extraction support in cbfstool

Peter Stuge peter at stuge.se
Tue Sep 28 21:55:39 CEST 2010


Aurélien wrote:
> > > I tried to make a patch which reads from /dev/mem directly in 2 ways:
> > >  - mmap()ing /dev/mem, but it seemed that it would be too specific a
> > > modification to be accepted.
> >
> > See http://stuge.se/physrd.c for a fairly generic tool to do this.
> 
> You're right, splitting the feature in two tools seems much more
> correct. This way we can extract the ROM image, then extract the
> specific payload.

Well, for that purpose it's much better to simply use flashrom.


//Peter




More information about the coreboot mailing list