Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition with do_image_wic and u-boot-xlnx in petalinux/core-image-minimal #3

Open
lamidar opened this issue Sep 16, 2018 · 0 comments

Comments

@lamidar
Copy link

lamidar commented Sep 16, 2018

If petalinux/core-image-minimal do_image_wic is executed this function depends on u-boot.bin (u-boot-xlnx). This issue occurs with DISTRO=petalinux/poky.

DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| WARNING: bootloader config not specified, using defaults
|
| ERROR: _exec_cmd: install -m 0644 -D [...]/build/tmp/deploy/images/zcu102-zynqmp/u-boot.bin [...]/build/tmp/work/zcu102_zynqmp-xilinx-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-zcu102-zynqmp-20180916102735/tmp.wic.n67gi0vv/boot.1/u-boot.bin returned '1' instead of 0
| output: install: cannot stat '[...]/build/tmp/deploy/images/zcu102-zynqmp/u-boot.bin': No such file or directory

Suggested solution/workaround, add following line to local.conf or distro config:
WKS_FILE_DEPENDS="virtual/bootloader"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant