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

xilinx-bootbin or u-boot-xlnx, bug in Howto or dependencies #8

Closed
lamidar opened this issue Sep 15, 2018 · 2 comments
Closed

xilinx-bootbin or u-boot-xlnx, bug in Howto or dependencies #8

lamidar opened this issue Sep 15, 2018 · 2 comments

Comments

@lamidar
Copy link

lamidar commented Sep 15, 2018

The recent changes in the bootbin building made core-image-minimal or petalinux-image-minimal unbuildable due to dependecy conflict. This also applies to release branch 2018.2.
It is suggested to add xilinx-bootbin to IMAGE_INSTALL_append, but this leads to the following error:
ERROR: Nothing RPROVIDES 'xilinx-bootbin' (but [...]/poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
xilinx-bootbin was skipped: PREFERRED_PROVIDER_virtual/boot-bin set to u-boot-xlnx, not xilinx-bootbin
NOTE: Runtime target 'xilinx-bootbin' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xilinx-bootbin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'xilinx-bootbin']

Maybe adding a PREFERRED_PROVIDER_virtual/boot-bin="xilinx-bootbin" could resolve this issue, but I'm still try building a bootable image.

Which way is the recommended for building a proper boot.bin, this seems explained improperly?

@mharth
Copy link
Contributor

mharth commented Sep 15, 2018

This is what we use and it works https://github.com/Xilinx/meta-petalinux/blob/master/conf/distro/include/petalinux-features.conf#L36
Which is essentially PREFERRED_PROVIDER_virtual/boot-bin = "xilinx-bootbin"

If you want to use entire stack including petalinux distro, use meta-petalinux as well. It will perform the required wiring to build the boot images

I will update the Readme to reflect the above approach

@lamidar
Copy link
Author

lamidar commented Sep 16, 2018

Thanks for the quick reply on this issue. I was using "poky" as DISTRO.

With the preferred provider set a BOOT-zcu102-zynqmp.bin is created.

However, during build several warning messages occured:

WARNING: xilinx-bootbin-1.0-r0 do_install: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-gcc-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_install: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-binutils-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_populate_sysroot: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-gcc-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_populate_sysroot: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-binutils-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-gcc-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-binutils-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package_write_rpm: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-gcc-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package_write_rpm: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-binutils-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package_qa: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-gcc-cross-microblazeel.populate_sysroot not found?
WARNING: xilinx-bootbin-1.0-r0 do_package_qa: Manifest [...]/build/tmp/sstate-control/manifest-x86_64_aarch64-zynqmp-pmu-binutils-cross-microblazeel.populate_sysroot not found?

With DISTRO="petalinux" no preferred provider is required and no WARNINGs are posted. I guess there are some other fine tune things inside the petalinux config. But the issue is resolved.

@mharth mharth closed this as completed Sep 22, 2018
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

2 participants