On Wed, Mar 09, 2016 at 12:19:43PM -0600, Ben Gardner wrote:
ROM images with a FMAP may have multiple CBFS. Scan all available CBFS so that, say, a SeaBIOS bootable image doesn't have to be in the main CBFS.
Coreboot puts the FMAP location in the BOOT_MEDIA_PARAMS entry in the coreboot table. We can grab that and can all regions for CBFS files.
Thanks. Can you provide some additional background information on how this is intended to work. If multiple CBFS locations are found, is there a chance of file name conflicts? Is the fmap stuff used for primary/backup rom images and if so how will seabios account for that if it scans both images?
Also, can you describe the high level use case you had in mind.
-Kevin