[meta-xilinx] Device tree generation failure (2017.3)
Martin Siegumfeldt
mns at gomspace.com
Fri Dec 8 07:06:45 PST 2017
Hi,
I am struggling with device tree generation (using meta-xilinx-tools) of a custom machine pretty much replicating zcu102, which in turn generates device tree successfully. local.conf defines version 2017.3 and a local HDF file:
XILINX_VER_MAIN = "2017.3"
EXTERNAL_TOOLCHAIN_microblaze = "/opt/Xilinx/SDK/2017.3/gnu/microblaze/linux_toolchain/lin64_le"
XILINX_SDK_TOOLCHAIN = "/opt/Xilinx/SDK/${XILINX_VER_MAIN}"
HDF_BASE = "file://"
HDF_PATH = "${TOPDIR}/../meta-z7000/recipes-bsp/system.hdf"
Please consider below error:
martin at martin-Precision-5510:~/work/rocko/build$ MACHINE="nanomind-zcu102" bitbake device-tree-generation
Loading cache: 100% |################################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 261 entries from dependency cache.
##################################| Time: 0:00:36
Parsing of 1961 .bb files complete (160 cached, 1801 parsed). 2777 targets, 309 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-17.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "nanomind-zcu102"
DISTRO = "gomspace"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "rocko:f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284"
meta-xilinx = "master:eb16f4088bf2043501abcea6d2beea91349574b3"
meta-xilinx-tools = "master:1063db48e44d5098590d39fe0018be5bb21a0a6d"
meta-oe
meta-filesystems
meta-networking
meta-python = "rocko:6e3fc5b8d904d06e3aa77e9ec9968ab37a798188"
meta-z7000 = "rocko:f2c81712c48725820ed2600a669d1614095445d5"
Initialising tasks: 100% |###########################################################################################################################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-generation-xilinx+gitAUTOINC+5b21302249-r0 do_configure: Function failed: do_configure (log file is located at /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_configure.30813)
ERROR: Logfile of failure stored in: /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_configure.30813
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/device-tree-generation.yaml
| APP_ARG is -app "device-tree"
| cmd is: xsct /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/dtgen.tcl -ws /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/build -pname device-tree-generation -rp /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/git -processor psu_cortexa53_0 -hdf /home/martin/work/rocko/build/tmp-glibc/deploy/images/nanomind-zcu102/Xilinx-nanomind-zcu102.hdf -arch 64 -app "device-tree" -yamlconf /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/device-tree-generation.yaml
| WARNING: [Hsi 55-1434] Error /opt/Xilinx/SDK/2017.3/data/embeddedsw/XilinxProcessorIPLib/drivers/rfdc_v2_1/data/rfdc.mdd:49 Unrecognized Option name. List of possible Option names are : DRC, DESC, COPYFILES, DEPENDS, SUPPORTED_PERIPHERALS, DRIVER_STATE, DEFAULT_OS, NAME, VERSION
|
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| hsi::open_hw_design: Time (s): cpu = 00:00:06 ; elapsed = 00:00:06 . Memory (MB): peak = 475.559 ; gain = 136.270 ; free physical = 10766 ; free virtual = 51512
| {} is not a huddle.
| while executing
| "error "\{$src\} is not a huddle.""
| (procedure "checkHuddle" line 3)
| invoked from within
| "checkHuddle $src"
| (procedure "::huddle::type" line 2)
| invoked from within
| "::huddle::type {}"
| ("eval" body line 1)
| invoked from within
| "eval ::huddle::$command $args"
| (procedure "huddle" line 19)
| invoked from within
| "huddle type $value"
| (procedure "_composePlain" line 2)
| invoked from within
| "_composePlain $result"
| (procedure "_parseBlockNode" line 118)
| invoked from within
| "_parseBlockNode"
| (procedure "::yaml::yaml2dict" line 4)
| invoked from within
| "::yaml::yaml2dict -file $yamlconf"
| (procedure "set_properties" line 4)
| invoked from within
| "set_properties $params(yamlconf)"
| (file "/home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/dtgen.tcl" line 32)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_configure.30813)
ERROR: Task (/home/martin/work/rocko/poky/../meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 692 tasks of which 678 didn't need to be rerun and 1 failed.
invoking the xsct command outside bitbake context yields the exact same error.
The exact reason for the failure is not ver clear to me - 'Unrecognized Option name' seems like a known issue: https://forums.xilinx.com/t5/Embedded-Development-Tools/createhw-warning-in-2017-3-that-was-not-present-in-2017-2/td-p/801498 - don't know if it causes bitbake to not finish the recipe though? Or is it the ' "error "\{$src\} is not a huddle.""'? I am not very familiar with debugging tcl scripts.
I am puzzled since the same HDF file is used in both cases and the machine configuration is almost identical.
Any ideas?
Thanks,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20171208/6ba9165f/attachment.html>
More information about the meta-xilinx
mailing list