Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: Fabio Berton <fabio.berton@ossystems.com.br>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: WIC error when using rawcopy
Date: Mon, 27 Jun 2016 11:26:41 +0300	[thread overview]
Message-ID: <20160627082633.GA21051@linux.intel.com> (raw)
In-Reply-To: <CAAPZna2Gu=QZ-mFn1FPaq3HfNSbSXhFPafWWY_FQTU+OO6e-1w@mail.gmail.com>

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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
--
Regards,
Ed


      reply	other threads:[~2016-06-27  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 14:07 WIC error when using rawcopy Fabio Berton
2016-06-27  8:26 ` Ed Bartosh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160627082633.GA21051@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=fabio.berton@ossystems.com.br \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox