Hi Mark,

I guess I am not being clear, please see the below sample - excerpt from our 
machine configuration:

require conf/machine/include/soc-zynq.inc
require conf/machine/include/machine-xilinx-default.inc

SPL_BINARY = "spl/boot.bin"

PREFERRED_PROVIDER_virtual/boot-bin = "u-boot-xlnx"

u-boot is providing the spl by means of the boot.bin and we have no 
dependencies whatsoever towards the fsbl-firmware recipe. This has worked 
flawless until langdale release using Xilinx BSP and CORE layers. The layers 
are configured according to:

$ source poky/oe-init-build-env
.
.
.

$ bitbake-layers add-layer ../meta-xilinx/meta-xilinx-core 
../meta-xilinx/meta-xilinx-bsp ../meta-gomspace/meta-nanomind-bsp
NOTE: Starting bitbake server...

which, on langdale, fails when building the image:

$ MACHINE=nanomind-z7045-nv3 bitbake core-image-minimal
Loading cache: 100% |                                                           
                                                                                
                                                                                
                                                              | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% 
|########################################################################################################################################################################################################################################################################################|
 Time: 0:00:07
Parsing of 946 .bb files complete (0 cached, 946 parsed). 1739 targets, 99 
skipped, 0 masked, 0 errors.
ERROR: No recipes in default available for:
/tmp/distro-gomspace/meta-xilinx/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend

This error occur due to the BSP -> standalone layer dependency (introduced in 
https://github.com/Xilinx/meta-xilinx/commit/3182c3c10ffba0d92563bf83d9c583a30be3fabc
 ). It occur despite we have no dependency, but due to the bb file residing in 
the standalone layer and appended in BSP layer. I believe it would be correct 
to indicate this dependency in layer.conf as per:

diff --git a/meta-xilinx-bsp/conf/layer.conf b/meta-xilinx-bsp/conf/layer.conf
index 56a5bc29..872f6526 100644
--- a/meta-xilinx-bsp/conf/layer.conf
+++ b/meta-xilinx-bsp/conf/layer.conf
@@ -14,7 +14,7 @@ BBFILE_COLLECTIONS += "xilinx-bsp"
BBFILE_PATTERN_xilinx-bsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_xilinx-bsp = "5"

-LAYERDEPENDS_xilinx-bsp = "xilinx"
+LAYERDEPENDS_xilinx-bsp = "xilinx xilinx-standalone"

LAYERSERIES_COMPAT_xilinx-bsp = "langdale"

Consequently, BB will inform about this when the layers are added rather when 
the image is build. Wouldn't it make sense to apply that patch to reflect the 
layer-dependency?

Kind regards,
Martin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5158): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5158
Mute This Topic: https://lists.yoctoproject.org/mt/96982329/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to