| Summary: | wic: support generating raw flash images | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Wic | Reporter: | Rick Altherr <raltherr> |
| Component: | wic | Assignee: | Trevor Woerner <twoerner> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | akuster, brian.avery, california.l.sullivan, maciej.pijanowski, mikko.ylinen, ndec13, raltherr, randy.macleod, ross.burton, sgw, stephano, tim.orling, twoerner |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Rick Altherr
2017-01-23 18:44:02 UTC
from the first look we can do this the following way: - Implement wks option to skip creating partition table for existing imager plugin or implement new imager plugin if modification is not feasible. - Implement wks option to set padding. Would it be enough to pad partitions or it's better to pad the image? - Use existing wks option --fixed-size in to set partition sizes - implement --offset wks option if partition content needs to be written with an offset from the partition start (is this u-boot case?) - Use rawcopy or/and fsimage plugin or write new plugin to populate partitions I think it's better to use existing functionality than create new plugins. Comments? There is a tool developed for similar purpose: http://git.denx.de/?p=u-boot.git;a=tree;f=tools/binman;h=706dfe34f9557807ffa7eeab80c502145d3cddbc;hb=HEAD It's tightly coupled with uboot, so probably we can't use it, but we should look at least look at a possibility to reuse it's ideas. I'm interested in this feature. Has anyone started working on that? If not, I will try to take a look at it. (In reply to comment #3) > I'm interested in this feature. Has anyone started working on that? If not, > I will try to take a look at it. you are more than welcome to take this issue as it sounds like you have interest in this subject. If you don't have an bug account, you may want to recreate on. thank you for helping. - armpit Bulk move from 4.99 or 0.00 to 5.99 |