cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jorisbolsens
Observer
Observer
905 Views
Registered: ‎10-02-2018

Pynq for Ultra96: Can't build pmu-firmware

Jump to solution
ERROR: pmu-firmware-2019.1+gitAUTOINC+26c14d9861-r0 do_configure: Function failed: do_configure (log file is located at /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.9244)
ERROR: Logfile of failure stored in: /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.9244
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -yamlconf /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| APP_ARG is  -app "ZynqMP PMU Firmware"
| Using xsct from: /opt/petalinux-2019.1/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build -pname pmu-firmware -rp /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_pmu_0 -hdf /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/deploy/images/ultra96-zynqmp/Xilinx-ultra96-zynqmp.dsa -arch 32  -app "ZynqMP PMU Firmware"  -yamlconf /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| INFO: Update hw pmu-firmware_plat project
| Loading the sw platform from /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/platform.spr
| Reading the platform  : "pmu-firmware_plat"
| Opening the hardware design, this may take few seconds.
| App name
| Description
| ERROR:set_bsp_conf set dt_overlay TRUE: Cannot set Property "dt_overlay" with TRUE
| 
| ERROR: Could not find the bsp config parameter.
| to get the list of valida parameters on "os" run "bsp listparams -os"
| to get the list of valida parameters on "processor" instance run "bsp listparams -proc"
| to get the list of valida parameters on "library" run "bsp listparams -lib <libraryname>"
| Error in copy exception raised, while copying /opt/petalinux/tools/xsct/scripts/xsct/data/scw/generic.readme To /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/export/pmu-firmware_plat/sw/sysconfig1/boot
|  Exception Message boost::filesystem::copy_file: No such file or directory: "/opt/petalinux/tools/xsct/scripts/xsct/data/scw/generic.readme", "/home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/export/pmu-firmware_plat/sw/sysconfig1/boot/generic.readme"
| INFO: create bsp using pmu-firmware_domain
| App name
| Description
| Creating app at: /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build
| App name
| Description
| Note: updating the existing app sources with modified platform.
| /opt/petalinux/tools/xsct/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 346)
|     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/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.t..." line 139)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/joris/PYNQ/sdbuild/build/Ultra96/petalinux_project/build/tmp/work/ultra96_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.9244)
ERROR: Task (/opt/petalinux-2019.1/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/pmu-firmware/pmu-firmware_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 613 tasks of which 612 didn't need to be rerun and 1 failed.

I am trying to build the Pynq image for ultra96-v2. I checked out the image_v2.5 branch of both pynq repo and ultra96 repo and set up the symlinks as described in the u96 repo.

0 Kudos
1 Solution

Accepted Solutions
jorisbolsens
Observer
Observer
831 Views
Registered: ‎10-02-2018

yes I do, I am not sure what the issue was maybe my environment was bad. I closed everything and sourced again and now it works fine.

View solution in original post

0 Kudos
2 Replies
stephenm
Moderator
Moderator
874 Views
Registered: ‎09-12-2007

Looks like xsct isnt getting invoked. Do you have the SDK tools installed?

jorisbolsens
Observer
Observer
832 Views
Registered: ‎10-02-2018

yes I do, I am not sure what the issue was maybe my environment was bad. I closed everything and sourced again and now it works fine.

View solution in original post

0 Kudos