[OE-core] WIC error when using rawcopy

Fabio Berton fabio.berton at ossystems.com.br
Fri Jun 24 14:07:16 UTC 2016


Hi all!

I'm getting one error when trying to make an image using wic.
My wks file is:


part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk
mmcblk --no-table --align 1
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat
--label boot --align 8192 --size 25M --extra-space 0
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label system --size
512M --align 8192 --extra-space 0
part / --size 512M --ondisk mmcblk0 --align 8192 --extra-space 0

bootloader --ptable msdos


and when building an image I get error:

Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_wic
| 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 '1' instead of 0
| Checking basic build environment...
| Done.
|
| Creating image(s)...
|
| 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 'BUILDDIR="/home/user/src/prj/build" wic create "$wks" --vars
"/home/user/src/prj/build/tmp/sysroots/nitrogen6x/imgdata/" -e
"core-image-minimal" -o "$out/"'


If I remove line:
part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk
mmcblk --no-table --align 1

image builds fine, so I think the problem it's on rawcopy.

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.

Can you help me on this? I'm using krogoth branch.

Regards,

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160624/5d6205ca/attachment-0002.html>


More information about the Openembedded-core mailing list