<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hi all!<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">I&#39;m getting one error when trying to make an image using wic. <br>My wks file is:<br><br><br>part u-boot --source rawcopy --sourceparams=&quot;file=u-boot.imx&quot; --ondisk mmcblk --no-table --align 1<br>part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --align 8192 --size 25M --extra-space 0<br>part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label system --size 512M --align 8192 --extra-space 0<br>part / --size 512M --ondisk mmcblk0 --align 8192 --extra-space 0<br><br>bootloader --ptable msdos<br><br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">and when building an image I get error:<br><br>Log data follows:<br>| DEBUG: Executing python function set_image_size<br>| DEBUG: Python function set_image_size finished<br>| DEBUG: Executing shell function do_image_wic<br>| Error: exec_cmd: dd if=/home/user/src/prj/build/tmp/deploy/images/nitrogen6x/core-image-minimal-nitrogen6x-20160624134453/build/u-boot.imx of=/home/user/src/prj/build/tmp/deploy/images/nitrogen6x/core-image-minimal-nitrogen6x-20160624134453/build/core-image-201606241045-mmcblk.direct bs=512 seek=2 count=942 conv=notrunc returned &#39;1&#39; instead of 0<br>| Checking basic build environment...<br>| Done.<br>|<br>| Creating image(s)...<br>|<br>| WARNING: /home/user/src/prj/build/tmp/work/nitrogen6x-prj-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.31619:1 exit 1 from &#39;BUILDDIR=&quot;/home/user/src/prj/build&quot; wic create &quot;$wks&quot; --vars &quot;/home/user/src/prj/build/tmp/sysroots/nitrogen6x/imgdata/&quot; -e &quot;core-image-minimal&quot; -o &quot;$out/&quot;&#39;<br><br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">If I remove line:<br>part u-boot --source rawcopy --sourceparams=&quot;file=u-boot.imx&quot; --ondisk mmcblk --no-table --align 1<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">image builds fine, so I think the problem it&#39;s on rawcopy.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">After I run bitbake and execution fail, I cd to wic build directory deploy/images/nitrogen6x/core-image-minimal-nitrogen6x-20160624135131/build and u-boot.imx is not in this dir.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Can you help me on this? I&#39;m using krogoth branch.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Regards,<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Fabio<br></div></div>