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: 
471 Views
Registered: ‎09-27-2018

Use a Petalinux 2017.3's project in Petalinux 2018.2

Hi, im trying to rebuild the petalinux project from a project of BNN for Ultra96 in Petalinux 2017.3 : 

I have the .hdf from the project done in Vivado 2018.2 and i did the petalinux-config. When i tried to do the petalinux-build i found an error :


petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Parsing recipes: 100% |##################################################################| Time: 0:02:16
Parsing of 2552 .bb files complete (0 cached, 2552 parsed). 3441 targets, 139 skipped, 0 masked, 0 errors.

WARNING: No recipes available for: /home/franco/Downloads/Tutorial_Xilinx_wiki_MOD/aic/src_sw/ultra96-petalinux/project-spec/meta-user/recipes-bsp/device-tree/device-tree-generation.bbappend NOTE: Resolving any missing task queue dependencies Initialising tasks: 100% |###############################################################| Time: 0:00:16 Checking sstate mirror object availability: 100% |#######################################| Time: 0:00:06 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: device-tree-xilinx+gitAUTOINC+f38738e568-r0 do_compile: Function failed: do_compile (log file is located at /home/franco/Downloads/Tutorial_Xilinx_wiki_MOD/aic/src_sw/ultra96-petalinux/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0/temp/log.do_compile.16546) ERROR: Logfile of failure stored in: /home/franco/Downloads/Tutorial_Xilinx_wiki_MOD/aic/src_sw/ultra96-petalinux/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0/temp/log.do_compile.16546 Log data follows: | DEBUG: Executing shell function do_compile | /home/franco/Downloads/Tutorial_Xilinx_wiki_MOD/aic/src_sw/ultra96-petalinux/build/../components/plnx_workspace/device-tree/device-tree/system-top.dts:31:28: fatal error: system-user.dtsi: No such file or directory | compilation terminated. | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/franco/Downloads/Tutorial_Xilinx_wiki_MOD/aic/src_sw/ultra96-petalinux/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0/temp/log.do_compile.16546) ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 2986 tasks of which 2961 didn't need to be rerun and 1 failed. Summary: 1 task failed: /opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ERROR: Failed to build project Makefile:6: recipe for target 'build' failed make: *** [build] Error 255

Im using Petalinux 2018 and i think the problem can be something related about that the project was made in Petalinux 2017.3. I dont know if this can be a problem.

Any suggestion to migrate ? If i use Petalinux 2017.3 i will also need to use Vivado 2017.3 i can get more problems with my project.

0 Kudos
1 Reply
Moderator
Moderator
432 Views
Registered: ‎02-07-2018

Re: Use a Petalinux 2017.3's project in Petalinux 2018.2

HI @francocapraro12

 

You need to use same versions petalinux and vivado. should not use different  versions of software.

Better use both (petalinux & vivado )2018.2 SW versions.

 

Thanks & regards

Aravind

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

 

0 Kudos