cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,632 Views
Registered: ‎08-22-2018

failed when i build fsbl

Jump to solution

Hallo all,

 

I had issue when I tried to build fsbl in petalinux install.

When I run petalinux-build -c fsbl, these errors appears

***************************************************************************************************************

ERROR: fsbl-0.2+xilinx+gitAUTOINC+ef07b552f4-r0 do_deploy: Function failed: do_deploy (log file is located at /home/zzh4hi/petalinux_zhe/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/log.do_deploy.9756)


ERROR: Logfile of failure stored in: /home/zzh4hi/petalinux_zhe/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/log.do_deploy.9756

 

ERROR: Task 17 (/home/zzh4hi/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-fsbl/fsbl/fsbl_git.bb, do_deploy) failed with exit code '1'

***************************************************************************************************************

Does anyone have idea how to solve it?

 

Thanks a lot

 

Holzmann

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
1,465 Views
Registered: ‎08-22-2018

Its really strange.... I just create the project again and the issue is solved...Maybe I used sdk when I created a project?

View solution in original post

0 Kudos
5 Replies
Highlighted
Moderator
Moderator
1,588 Views
Registered: ‎06-27-2017

Hi @betanken,

 

Can you please try with below command?

petalinux-build -c bootloader 

you can refere UG1144 (https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_4/ug1144-petalinux-tools-reference-guide.pdf) pg:90

 

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
Highlighted
Adventurer
Adventurer
1,509 Views
Registered: ‎08-22-2018

Hallo @gudishak

 

forgot to reply, sorry.

 

I tried petalinux-build -c bootloader, it failed again

=================================================================

ERROR: fsbl-0.2+xilinx+gitAUTOINC+ef07b552f4-r0 do_deploy: Function failed: do_deploy (log file is located at /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/log.do_deploy.16600)
ERROR: Logfile of failure stored in: /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/log.do_deploy.16600
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/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/../components/plnx_workspace/fsbl/Release/fsbl.elf': No such file or directory
| WARNING: /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/run.do_deploy.16600:1 exit 1 from 'install -m 0644 /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/../components/plnx_workspace/fsbl/Release/fsbl.elf /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/deploy-fsbl/fsbl-plnx_aarch64.elf'
| ERROR: Function failed: do_deploy (log file is located at /home/zzh4hi/petalinux_bsp_hdf_together/board/xilinx-zcu102-2016.4/build/tmp/work/aarch64-xilinx-linux/fsbl/0.2+xilinx+gitAUTOINC+ef07b552f4-r0/temp/log.do_deploy.16600)
ERROR: Task 17 (/home/zzh4hi/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-fsbl/fsbl/fsbl_git.bb, do_deploy) failed with exit code '1'
NOTE: Tasks Summary: Attempted 925 tasks of which 922 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/zzh4hi/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-fsbl/fsbl/fsbl_git.bb, do_deploy
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build bootloader

===================================================================

 

And I am working on petalinux now. I used zcu102 Board support package to create a project, and then used my HDF from vivado to modify.

The chip of my Ultrascale board is xczu9eg-ffvb1156-1-e-es1, which is not supported by vivado 2016.4. So I used in vivado "board ultrascle: xczu9eg-ffvb1156-2-i-es2"

 

  • petalinux-create -t project -s <path to bsp>.bsp
  • cd <petalinux project?
  • petalinux-config --get-hw-description=<path to hdf>
  • rm -rf components/plnx_workspace
  • petalinux-build

And it stuck allways at fsbl-do.deploy. I cant build bootloader.

 

Thanks for reply

0 Kudos
Highlighted
Moderator
Moderator
1,498 Views
Registered: ‎06-27-2017

Hi @betanken,

 

Have you tried petalinux-build -x mrproper when you are doing incremental build?

 

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

 

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos
Highlighted
Adventurer
Adventurer
1,482 Views
Registered: ‎08-22-2018

Hallo @gudishak

 

yes I have tried it. But it failed.

 

And what's the difference between ultrascale board with "xczu9eg-ffvb1156-1-e-es1" and "xczu9eg-ffvb1156-2-i-es2"? Is there any difference in layout, pin placement or voltage?

 

Thanks for reply

 

 

 

0 Kudos
Highlighted
Adventurer
Adventurer
1,466 Views
Registered: ‎08-22-2018

Its really strange.... I just create the project again and the issue is solved...Maybe I used sdk when I created a project?

View solution in original post

0 Kudos