Hmm, next obstacle seems to be the boot.bin generation:
ERROR: core-image-minimal-1.0-r0 do_xilinx_bootbin: Function failed:
do_xilinx_bootbin (log file is located at
/home/martin/work/tmp/build/tmp/work/zcu102_zynqmp-poky-linux/core-image-minimal/1.0-r0/temp/log.do_xilinx_bootbin.14057)
ERROR: Logfile of failure stored in:
/home/martin/work/tmp/build/tmp/work/zcu102_zynqmp-poky-linux/core-image-minimal/1.0-r0/temp/log.do_xilinx_bootbin.14057
Log data follows:
| DEBUG: Executing shell function do_xilinx_bootbin
| ERROR: syntax error
| ... bif -arch -w -o BOOT.bin
| ^^
|
| [ERROR] : Command line parsing failed with code 1
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_xilinx_bootbin (log file is located at
/home/martin/work/tmp/build/tmp/work/zcu102_zynqmp-poky-linux/core-image-minimal/1.0-r0/temp/log.do_xilinx_bootbin.14057)
the logfile contains no more information.
It looks like bootgen is complaining about missing the 'arch' parameter.
Forcing this into 'zynqmp' rather than '${KMACHINE}' from the recipe enables
BOOT.bin to be generated.
AFAICS, it occurs also for the zcu102 machine - any ideas?
Cheers,
Martin
________________________________
From: [email protected]
<[email protected]> on behalf of Martin Siegumfeldt
<[email protected]>
Sent: Friday, December 8, 2017 22:11
To: Manjukumar Harthikote Matha; [email protected]
Subject: Re: [meta-xilinx] Device tree generation failure (2017.3)
This sender failed our fraud detection checks and may not be who they appear to
be. Learn about spoofing<http://aka.ms/LearnAboutSpoofing>
Feedback<http://aka.ms/SafetyTipsFeedback>
Ok sounds good - looking forwards to it...
Cheers,
Martin
________________________________
From: Manjukumar Harthikote Matha <[email protected]>
Sent: Friday, December 8, 2017 10:02:18 PM
To: Martin Siegumfeldt; [email protected]
Subject: RE: Device tree generation failure (2017.3)
Hi Martin,
Yes we are looking into it actively, including possible changes to xsct tool
itself.
One patch which includes /usr/bin also works, we are more leaning towards this
patch.
https://lists.yoctoproject.org/pipermail/meta-xilinx/2017-July/003027.html
I am thinking to limit the path append to places where xsct is being invoked
instead of it being append by the layer completely.
Please let me know your feedback.
Thanks,
Manju
From: Martin Siegumfeldt [mailto:[email protected]]
Sent: Friday, December 08, 2017 12:57 PM
To: Manjukumar Harthikote Matha <[email protected]>;
[email protected]
Subject: Re: Device tree generation failure (2017.3)
Hi Manju,
It is (almost) empty:
martin@martin-Precision-5510:~/work/rocko/build$ cat
/home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/device-tree-generation.yaml
{}
Setting 'YAML_MAIN_MEMORY_CONFIG' seems to enable the DTG to succeed - thanks.
Btw., are there any intentions of a proper fix for the missing DISPLAY variable
from
https://lists.yoctoproject.org/pipermail/meta-xilinx/2017-September/003162.html
(5) ? Your proposal worked for me, however soon there will be a larger team
within my organization working on this particular baseline and an "upstream"
fix is thus highly appreciated.
Thanks,
Martin
________________________________
From: Manjukumar Harthikote Matha
<[email protected]<mailto:[email protected]>>
Sent: Friday, December 8, 2017 8:40:02 PM
To: Martin Siegumfeldt;
[email protected]<mailto:[email protected]>
Subject: RE: Device tree generation failure (2017.3)
Hi Martin,
Can you check if this is empty?
/home/martin/work/rocko/build/tmp-glibc/work/nanomind_zcu102-oe-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/device-tree-generation.yaml
We have a bug when this file is empty it causes DTG recipe to fail, I will send
out a patch soon
You can set either YAML_MAIN_MEMORY_CONFIG or YAML_CONSOLE_DEVICE_CONFIG as a
workaround
For example:
https://github.com/Xilinx/meta-xilinx-tools/blob/master/recipes-bsp/device-tree/device-tree-generation_git.bb#L24-L25
[https://avatars0.githubusercontent.com/u/3189299?s=400&v=4]<https://github.com/Xilinx/meta-xilinx-tools/blob/master/recipes-bsp/device-tree/device-tree-generation_git.bb#L24-L25>
Xilinx/meta-xilinx-tools<https://github.com/Xilinx/meta-xilinx-tools/blob/master/recipes-bsp/device-tree/device-tree-generation_git.bb#L24-L25>
github.com
Contribute to meta-xilinx-tools development by creating an account on GitHub.
Thanks,
Manju
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Martin Siegumfeldt
Sent: Friday, December 08, 2017 7:07 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-xilinx] Device tree generation failure (2017.3)
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@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
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx