<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 8:23 AM, Mike Looijmans <span dir="ltr"><<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":6bt" class="a3s aXjCH m15863834524be587">In order to make life easier for people, I was looking into creating images with the "wic" tool.<br>
<br>
There's just one big piece of documentation lacking: What's the format it wants my rootfs and boot files?<br>
<a href="http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html" rel="noreferrer" target="_blank">http://www.yoctoproject.org/do<wbr>cs/2.2/mega-manual/mega-manual<wbr>.html</a><br>
<br>
Basically I want an SD card with a FAT boot partition and an ext4 rootfs, and "sdimage-bootpart" is pretty close to that.<br>
<br>
Without "wic", I build a tar of the rootfs and copy the boot files using a bit of shell scripting.<br>
<br>
Adding "wic" to IMAGE_FSTYPES just results in an error that I should set WKS_FILE but I have no clue as to what file that should point to.<br>
<br>
Running wic manually just results in more missing variables that I can't find what to specify in them...<br></div></blockquote></div><br>WKS_FILE is how you tell it to use sdimage-bootpart.wks. IMAGE_BOOT_FILES Is how to add extra files to the fat boot partiiton.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>