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: 
Visitor trax.xavier
Visitor
777 Views
Registered: ‎01-03-2018

Error when Building TDR 2017.2

I was atempting to build this reference design: "Zynq UltraScale MPSoC Base TRD 2017.2 - Design Module 1" from http://www.wiki.xilinx.com/Zynq+UltraScale+MPSoC+Base+TRD+2017.2+-+Design+Module+1

 

I have set up a centOS 7.3 VM with all the needed libraries, and installed petalinux 2017.2 and ths SDx 2017.2 with a 60day eval licence.

 

When executing "petalinux-build"

after a long time I getan error:

 

[trax@localhost files]$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Parsing recipes: 100% |################################################################################################| Time: 0:01:25
Parsing of 2448 .bb files complete (0 cached, 2448 parsed). 3238 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#############################################################################################| Time: 0:00:45
Checking sstate mirror object availability: 100% |#####################################################################| Time: 0:00:30
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
fsbl-2017.2+gitAUTOINC+122565ec40-r0 do_compile: NOTE: fsbl: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
pmu-firmware-2017.2+gitAUTOINC+122565ec40-r0 do_compile: NOTE: pmu-firmware: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
ERROR: pmu-firmware-2017.2+gitAUTOINC+122565ec40-r0 do_deploy: Function failed: do_deploy (log file is located at /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/tmp/work/plnx_aarch64-xilinx-linux/pmu-firmware/2017.2+gitAUTOINC+122565ec40-r0/temp/log.do_deploy.41317)
ERROR: Logfile of failure stored in: /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/tmp/work/plnx_aarch64-xilinx-linux/pmu-firmware/2017.2+gitAUTOINC+122565ec40-r0/temp/log.do_deploy.41317
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| install: cannot stat ‘/home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/../components/plnx_workspace/pmu-firmware/Release/pmu-firmware.elf’: No such file or directory
| WARNING: /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/tmp/work/plnx_aarch64-xilinx-linux/pmu-firmware/2017.2+gitAUTOINC+122565ec40-r0/temp/run.do_deploy.41317:1 exit 1 from 'install -m 0644 /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/../components/plnx_workspace/pmu-firmware/Release/pmu-firmware.elf /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/tmp/work/plnx_aarch64-xilinx-linux/pmu-firmware/2017.2+gitAUTOINC+122565ec40-r0/deploy-pmu-firmware/pmu-firmware-2017.2+gitAUTOINC+122565ec40-r0-plnx_aarch64-20180103160355.elf'
| ERROR: Function failed: do_deploy (log file is located at /home/trax/TRD/rdf0421-zcu102-base-trd-2017-2/apu/petalinux_bsp/build/tmp/work/plnx_aarch64-xilinx-linux/pmu-firmware/2017.2+gitAUTOINC+122565ec40-r0/temp/log.do_deploy.41317)
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/pmu/pmu-firmware_git.bb:do_deploy) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6162 tasks of which 2267 didn't need to be rerun and 1 failed.

the log file content is also outputrd on the console

 

Unfortunately it does not tell me much, it seams the pmu-firmware.elf file is missing i guess it should have been built but it hasn't been and there was no error message about that?

This log is from a first run of the petalinux-build comand, so its not like a previuse build failed with more info and now gets skipped or something like that.

 

How can I solve this issue?

 

 

 

I searched for the string "error:" in all log* files and there are a few, but none of them was mentioned by the build process :/

I attached them in a zip. I guess that is not good.

 

Can someone help me please to get this reference design to build.

0 Kudos
3 Replies
Mentor jmcclusk
Mentor
712 Views
Registered: ‎02-24-2014

Re: Error when Building TDR 2017.2

perhaps you can build the PMU firmware by following these instructions from the wiki?

 

On second thought, it sort of looks like the hdf file didn't get loaded into the petalinux inputs..   Is it possible that Petalinux didnt' build the pmu-firmware.elf file because the hdf (hardware design file) is missing?

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Visitor trax.xavier
Visitor
658 Views
Registered: ‎01-03-2018

Re: Error when Building TDR 2017.2

i followed the builod instructions from http://www.wiki.xilinx.com/Zynq+UltraScale+MPSoC+Base+TRD+2017.2+-+Design+Module+1

so it would be strange ig the hdf would be missing :/

 

Also what about the other errors in the files I attaches?

0 Kudos
Visitor trax.xavier
Visitor
643 Views
Registered: ‎01-03-2018

Re: Error when Building TDR 2017.2

Can anyone help me resolve this issue please?

Reference designs should work out of the box, shouldn't they? :/

0 Kudos