On 23.11.2016 08:46, Sampson Lee wrote: > Hi Nico, > > The BIOS bin and log in attachment. the `--layout` parameter needs a special file that only specifies the layout. You'd still give your flash image to the `-w` parameter. Please read the section about the `--layout` parameter in the flashrom manual page (e.g. [1]).
As you are working with coreboot, you can generate the layout file from the flash image with ifdtool's `-f` parameter (it's in util/ifdtool/ in the coreboot source tree). Hope that helps, Nico [1] https://linux.die.net/man/8/flashrom > > Thanks. > Sampson. > > 2016-11-23 3:20 GMT+08:00 Nico Huber <[email protected]>: > >> Hi Sampson, >> >> On 21.11.2016 04:33, Sampson Lee wrote: >>> I add a few point: >>> >>> I use flshrom version:0.99. >>> I try command "--layout" to read my rom file,but it show error message >>> "error parsing layout file". >> >> well, it means what it says, flashrom can't understand the file you gave >> to the `--layout` parameter. >> >> Please send us your layout file and a full log of the failing command >> (e.g. by adding `-o logfile.txt` to the flashrom command line). >> >> Regards, >> Nico >> >> > _______________________________________________ flashrom mailing list [email protected] https://www.flashrom.org/mailman/listinfo/flashrom
