Marty E. Plummer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34932 )
Change subject: util/cbfstool: new utility pnortool ......................................................................
Patch Set 1:
So, this is a big WIP and has a lot of code cribbed from fmaptool, but it more or less works for the moment. The problem is, these structs need (for the most part) to be written in big endian.
The point of this tool is to create a fake pnor/ffs header (see the repo https://github.com/open-power/skiboot/tree/master/libflash) at the start and end of the flash, so the bootblock code (labeled as HBB in the pnor header) is loaded by the cpu's existing hostboot bootloader code on the seeproms (one can think of them as maskroms for now).