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: 
279 Views
Registered: ‎08-08-2019

Failed to generate BIF file, file ../images/linux/*.bit doesn't exist

Hi,

I am trying to build SD image with own PL HDF file, but I can;t manage to package it. 

I followed to flow in the petalinux user guide (ug1144-petalinux-tools-reference-guide.pdf -> Generate Boot Image)

the Flow i did:

- I created a project using

  • petalinux-create -t project -s ../debug_board_config/xilinx-ultra96-reva-v2018.3-final.bsp

- then I used my hdf file (debug_board_config == hdf folder)

  • petalinux-config --get-hw-description ../../../debug_board_config

 - I fixed the workaround of the axi_uart16550_0 problem as described in https://github.com/Avnet/Ultra96-PYNQ

  • vi project-spec/meta-user/conf/petalinuxbsp.conf  => add line at the end of file:
    MACHINE_FEATURES_remove_ultra96-zynqmp = "mipi"

- build image

  • petalinux-build

- packaing to BIN format

  • petalinux-package --boot --format BIN --fsbl images/linux/zynqmp_fsbl.elf --u-boot images/linux/u-boot.elf --pmufw images/linux/pmufw.elf --fpga images/linux/*.bit --force

==> then i get an error of "Failed to generate BIF file, file ../images/linux/*.bit doesn't exist"

where from and how should i create the .bit file?

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
228 Views
Registered: ‎05-10-2017

Re: Failed to generate BIF file, file ../images/linux/*.bit doesn't exist

Your bitstream should be part of your hdf. When you exported your hdf (from vivado), did you include bitstream in it before using it to build your petalinux project?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos