Re: [OE-core] How to use WIC to generate raw flash images

2017-01-24 Thread Ed Bartosh
On Tue, Jan 24, 2017 at 09:56:17AM +0100, Mike Looijmans wrote: > On 23-01-17 11:34, Ed Bartosh wrote: > ... > >>- How do I set padding to be 0xFF instead of 0x00? > >The same thing here. Currently wic images are sparse files created by > >os.ftruncate, but it's not a big deal to fill them with

Re: [OE-core] How to use WIC to generate raw flash images

2017-01-24 Thread Mike Looijmans
On 23-01-17 11:34, Ed Bartosh wrote: ... - How do I set padding to be 0xFF instead of 0x00? The same thing here. Currently wic images are sparse files created by os.ftruncate, but it's not a big deal to fill them with 0xFF Correct me if I'm wrong here... - All flash media (NOR, NAND) prefers

Re: [OE-core] How to use WIC to generate raw flash images

2017-01-23 Thread Ed Bartosh
On Fri, Jan 20, 2017 at 10:37:15AM -0800, Rick Altherr wrote: > 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 ( > https://github.com/openbmc/openbmc/blob/master/meta-phosphor/classes/image-overlay.bbclass) > used