Hi Fabio, I'll try to reproduce and fix it. Can you create bug in yocto bugzilla to better track this?
Regards, Ed On Fri, Jun 24, 2016 at 11:07:16AM -0300, Fabio Berton wrote: > 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 > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- -- Regards, Ed -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
