<div dir="ltr">For OpenBMC (based on Yocto), the target is an SoC that has an external boot flash connected via SPI.  Right now, we have a class (<a href="https://github.com/openbmc/openbmc/blob/master/meta-phosphor/classes/image-overlay.bbclass">https://github.com/openbmc/openbmc/blob/master/meta-phosphor/classes/image-overlay.bbclass</a>) used by our top-level image recipe (<a href="https://github.com/openbmc/openbmc/blob/master/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-image.bb">https://github.com/openbmc/openbmc/blob/master/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-image.bb</a>) that manually constructs a flash image from the kernel, rootfs, etc.  I&#39;d like to move to an upstream-supported approach and I think that is WIC.  What I don&#39;t understand is:<div>- How do I build a raw flash image where it is divided into partitions but has no partition table?</div><div>- How do I set padding to be 0xFF instead of 0x00?</div><div>- How do I include u-boot in the image?</div><div><br></div><div>Do I need to add a new imager plugin to support writing raw images with non-zero padding and no partition table?  For U-Boot, do I add a new bootimg plugin?</div><div><br></div><div>Rick</div></div>