What are you layers set to? The sdtgen message is really strange. I've not
seen that before. (more below iline)
On 12/6/22 9:32 AM, Franz Forstmayr wrote:
Hi together,
Yocto build (rel-v2022.2) fails with custom xsa file.
This is basically my local.conf
# xilinx
LICENSE_FLAGS_WHITELIST = "xilinx"
HDF_MACHINE = "my-bsp"
HDF_BASE = "file://"
HDF_PATH =
"/home/builder/Workspaces/vivado/sfp_8b10b/project/design_2_wrapper.xsa"
BBMULTICONFIG ?= "zynqmp-pmufw"
do_image[mcdepends] = "multiconfig::zynqmp-pmufw:pmu-firmware:do_deploy"
Is there a specific reason you are using multiconfigs here? The default is to
use the cross compiler(s) that are embedded into xsct for the baremetal. If you
do it this way the system will build a custom compiler and use that instead.
(Nothing wrong with this apporach, just a bit more processing intense.)
If you comment out the above two lines, do you get the same error?
(The above shouldn't be used when building fsbl-firmware, since that is USUALLY
a cortex-a compiler, not microblaze like the pmufw.)
XILINX_VER_MAIN = "2022.2"
YAML_SERIAL_CONSOLE_STDIN:zynqmp-generic:pn-fsbl-firmware = "psu_uart_0"
YAML_SERIAL_CONSOLE_STDOUT:zynqmp-generic:pn-fsbl-firmware = "psu_uart_0"
YAML_SERIAL_CONSOLE_STDIN:zynqmp-generic:pn-pmu-firmware = "psu_uart_1"
YAML_SERIAL_CONSOLE_STDOUT:zynqmp-generic:pn-pmu-firmware = "psu_uart_1"
MACHINE ??= "zcu102-zynqmp"
DISTRO ??= "poky"
BBMULTICONFIG ?= ""
The BBMULTICONFIG here will be ignored since the one above takes over. If you
had use '=' instead of ?= it would have ben used.
--Mark
I get a strange error message, here's the log:
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are
['virtual:native:/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/../poky/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb:do_populate_sysroot', 'virtual:native:/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/../poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/../poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/../poky/meta/recipes-devtools/python/python3_3.9.9.bb:do_populate_sysroot', 'virtual:native:/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/../poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['python3-pyyaml-native',
'patch-native', 'quilt-native', 'python3-native', 'pseudo-native',
'libffi-native', 'pkgconfig-native', 'util-linux-native', 'libtool-native',
'automake-native', 'zlib-native', 'sqlite3-native', 'libtirpc-native',
'openssl-native', 'readline-native', 'libnsl2-native', 'autoconf-native',
'xz-native', 'bzip2-native', 'gdbm-native', 'attr-native',
'python3-setuptools-native', 'python3-cython-native', 'libyaml-native',
'texinfo-dummy-native', 'libpcre2-native', 'util-linux-libuuid-native',
'ncurses-native', 'libcap-ng-native', 'gettext-minimal-native', 'm4-native',
'gnu-config-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
MISC_ARG is -yamlconf
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/fsbl-firmware.yaml
APP_ARG is -app "Zynq MP FSBL"
Using xsct from:
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/xsct/Vitis/2022.2/bin/xsct
cmd is: xsct -sdx -nodisp
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/app.tcl -ws /home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/git/fsbl-firmware -pname fsbl-firmware -rp /home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/git -processor_ip psu_cortexa53 -hdf /home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/deploy/images/zcu102-zynqmp/Xilinx-zcu102-zynqmp.xsa -arch 64 -app "Zynq MP FSBL" -yamlconf /home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/fsbl-firmware.yaml
WARNING: sdtgen package cannot be loaded. System Device tree commands will not
be available
INFO: [Hsi 55-2053] elapsed time for repository
(/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/xsct/Vitis/2022.2/data/embeddedsw) loading 0 seconds
INFO: Update hw fsbl-firmware_plat project
Loading the sw platform from
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/git/fsbl-firmware/fsbl-firmware_plat/platform.spr
Reading the platform : "fsbl-firmware_plat"
Opening the hardware design, this may take few seconds.
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/xsct/Vitis/2022.2/gnu/microblaze/lin
WARNING: sysconfig command is DEPRECATED.
Only one system configuration will be allowed in a platform.
If no system configuration is present, creating a domain will create the system
configuration.
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/xsct/Vitis/2022.2/gnu/microblaze/lin
INFO: create bsp using fsbl-firmware_domain
Note: updating the existing app sources with modified platform.
/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/xsct/Vitis/2022.2/gnu/microblaze/lin
ERROR: [Common 17-39] 'hsi::generate_app' failed due to earlier errors.
while executing
"::hsi::generate_app -app $hsitemplate"
(procedure "app" line 374)
invoked from within
"app create -name $params(pname) -lang c -template $params(app) -plnx"
invoked from within
"if { $params(ws) ne "" } {
#Local Work Space available
if { $params(pname) ne "" } {
# hwpname/bspname is empty then default it to pname+_hwproj/b..."
(file
"/home/builder/Workspaces/yocto/sfp_8b10_yocto/build/tmp/work/zcu102_zynqmp-poky-linux/fsbl-firmware/2022.2+gitAUTOINC+5330a64c8e-r0/app.tcl" line 141)
WARNING: exit code 1 from a shell command.
Can anyone give a hint, what's wrong?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5103):
https://lists.yoctoproject.org/g/meta-xilinx/message/5103
Mute This Topic: https://lists.yoctoproject.org/mt/95495275/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-