cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Participant
Participant
2,081 Views
Registered: ‎06-15-2016

PetaLinux build error after import hdf file from vivado

Jump to solution

Hi all,

 

If I just create a project and build it, it could build correctly. 

 

However, if I create a project, and import the hdf file, it runs into errors of fsbl compile failed.

 

I run command like this:

(1)petalinux-create -t project -n sProj -s avnet-digilent-zedboard-v2018.2-final.bsp

(2)cd sProj

(3)petalinux-config --get-hw-description=/home/hengzhao/vivado/iris_1/iris_1.sdk

(4)petalinux-build 

 

Any idea what is wrong? Thanks a lot.

 

 

---------------------------------------------------

[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |###########################################################################################################| Time: 0:00:00
Loaded 3424 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:00:03
Parsing of 2552 .bb files complete (2514 cached, 38 parsed). 3425 targets, 148 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |######################################################################################################| Time: 0:00:06
Checking sstate mirror object availability: 100% |##############################################################################| Time: 0:00:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: fsbl: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
ERROR: fsbl-2018.2+gitAUTOINC+6e82c0183b-r0 do_compile: fsbl compile failed.
ERROR: fsbl-2018.2+gitAUTOINC+6e82c0183b-r0 do_compile: Function failed: do_compile (log file is located at /home/hengzhao/petalinux_project/secondProj/build/tmp/work/zedboard_zynq7-xilinx-linux-gnueabi/fsbl/2018.2+gitAUTOINC+6e82c0183b-r0/temp/log.do_compile.30867)
ERROR: Logfile of failure stored in: /home/hengzhao/petalinux_project/secondProj/build/tmp/work/zedboard_zynq7-xilinx-linux-gnueabi/fsbl/2018.2+gitAUTOINC+6e82c0183b-r0/temp/log.do_compile.30867

0 Kudos
Reply
1 Solution

Accepted Solutions
Moderator
Moderator
2,188 Views
Registered: ‎02-07-2018

HI 

 

Try below commands, I hope it should solve. if this not solve, share your HDF.

 

petalinux-build -x mrproper

petalinux-config--get-hw-description=<PATH-TO-HDF-DIRECTORY>

 petalinux-build

 

Thanks & regards

Aravind

 

View solution in original post

0 Kudos
Reply
5 Replies
Moderator
Moderator
2,031 Views
Registered: ‎12-04-2016

Hi

 

Could be issue with your HDF, share your HDF.

 

 

Best Regards

Shabbir

0 Kudos
Reply
Moderator
Moderator
2,019 Views
Registered: ‎09-12-2007
Also, can you review the log file mention in the error message?
0 Kudos
Reply
2,008 Views
Registered: ‎04-20-2017
Whenever I got some cryptic fsbl build error, going though the whole vivado build chain helped (including recreating wrapper) and reexport the hdf.
Solved errors like this several times for me
0 Kudos
Reply
Moderator
Moderator
2,189 Views
Registered: ‎02-07-2018

HI 

 

Try below commands, I hope it should solve. if this not solve, share your HDF.

 

petalinux-build -x mrproper

petalinux-config--get-hw-description=<PATH-TO-HDF-DIRECTORY>

 petalinux-build

 

Thanks & regards

Aravind

 

View solution in original post

0 Kudos
Reply
Participant
Participant
1,929 Views
Registered: ‎06-15-2016

Hi all, thanks for the reply.

 

It works when I run command like this:

 

(1)petalinux-create -t project --template zynq -n sProj

(2)cd sProj

(3)petalinux-config --get-hw-description=/home/hengzhao/vivado/iris_1/iris_1.sdk

(4)petalinux-build

0 Kudos
Reply