[meta-xilinx] Pyro -> Rocko: "Nothing PROVIDES 'device-tree'" error?

Giordon Stark kratsg at gmail.com
Sat Mar 17 11:57:34 PDT 2018


Hi,

Based on Jorge's suggestion (cc'd), I uncommented my lines in
device-tree.bbappend to set compatible machine = ".*" for my particular
boards as it is being done upstream... and bitbake seems to be happier with
that, but then I run into this error

ERROR: Nothing PROVIDES 'virtual/xilinx-platform-init' (but
/local/d4/gstark/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/
u-boot-xlnx_2017.3.bb DEPENDS on or otherwise requires it)
platform-init PROVIDES virtual/xilinx-platform-init but was skipped:
incompatible with machine gfex-prototype3a (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'zynq-base' has no buildable providers.
Missing or unbuildable dependency chain was: ['zynq-base',
'virtual/bootloader', 'virtual/xilinx-platform-init']

So I suppose I need to add a platform-init/platform-init.bbappend file that
overrides the compatible machine again as well...

This seems slightly hacky, and maybe indicative that I've done something
wrong in defining a machine on top of zcu102-zynqmp somehow... but this
worked in pyro, so there must be a change between pyro and rocko... any
ideas?

Giordon



On Sat, Mar 17, 2018 at 1:10 PM Giordon Stark <kratsg at gmail.com> wrote:

> Hi,
>
> I've been trying to understand/figure out what changed to break something
> that was definitely working on pyro -- but it's been hard to trace changes
> because of the move/restructuring...
>
> When I re-run bitbake for an image that I've built in pyro just fine using
> all the same code, I see this error about "Nothing PROVIDES 'device-tree'
> as seen below.
>
> This seems to stem from how I tell u-boot about the dtb files that have
> been made:
> https://github.com/kratsg/meta-l1calo/blob/master/recipes-bsp/u-boot/u-boot-xlnx.inc (DEPENDS_append_...
> = " device-tree"). Is there a new way of doing it?
>
> ERROR: Nothing PROVIDES 'device-tree' (but
> /local/d4/gstark/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/
> u-boot-xlnx_2017.3.bb DEPENDS on or otherwise requires it)
> device-tree was skipped: incompatible with machine gfex-prototype3a (not
> in COMPATIBLE_MACHINE)
> ERROR: Required build target 'zynq-base' has no buildable providers.
> Missing or unbuildable dependency chain was: ['zynq-base',
> 'virtual/bootloader', 'device-tree']
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> Giordon
> --
> Giordon Stark
>
-- 
Giordon Stark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20180317/989376f8/attachment.html>


More information about the meta-xilinx mailing list