UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Voyager
Voyager
64 Views
Registered: ‎09-14-2016

XSCT inside Docker container

Hi all,

 

I would like to build our Yocto images inside Docker container. Docker build seems okay but during the run Yocto complains about xsct :

NOTE: Fetching xsct binary tarball from http://petalinux.xilinx.com/sswreleases/rel-v2019/xsct-trim/xsct-2019-1.tar.xz;md5sum=7fb75c921050ad579db111906f997681;downloadfilename=xsct_2019.1.tar.xz
NOTE: Extracting external xsct-tarball to sysroots
NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.3/x86_64-nativesdk-libc.tar.bz2;sha256sum=c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684
Initialising tasks: 100% |#####################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 790 Found 0 Missed 790 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
[...]
[...]
| DEBUG: Executing shell function do_configure
| MISC_ARG is -hdf_type hdf -yamlconf /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| APP_ARG is -app "device-tree"
| Using xsct from:
| cmd is: xsct -sdx -nodisp /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/build -pname device-tree -rp /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor ps7_cortexa9_0 -hdf /home/agent/builddir/tmp/deploy/images/custboard-cpy/Xilinx-custboard-cpy.hdf -arch 32 -app "device-tree" -hdf_type hdf -yamlconf /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.29235: line 131: xsct: command not found
| WARNING: /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.29235:1 exit 127 from 'eval xsct -sdx -nodisp /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/build -pname device-tree -rp /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor ps7_cortexa9_0 -hdf /home/agent/builddir/tmp/deploy/images/custboard-cpy/Xilinx-custboard-cpy.hdf -arch 32 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at /home/agent/builddir/tmp/work/custboard_cpy-distro0x54-linux-gnueabi/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.29235)
ERROR: Task (/home/agent/yocto/externals/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1608 tasks of which 5 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/build/opt/yocto/externals/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure

It's like xsct is missing, maybe i have one more step to do inside the Dockerfile but i'm stuck :S

Any idea ?

Cheers,

Trigger

0 Kudos
1 Reply
Voyager
Voyager
19 Views
Registered: ‎09-14-2016

Re: XSCT inside Docker container

Hi all,

 

Still stuck, I have tried to mount a bind folder and source settings64.sh but same issue...

 

Cheers,

Trigger

0 Kudos