cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
miner_tom
Adventurer
Adventurer
907 Views
Registered: ‎10-04-2018

No "linux_bd_wrapper.bit" generated by "petalinux-package"

Jump to solution

I just finished  petalinux-build on the Ultra96 using the lates ultra96 board support package.

Using the command 

petalinux-package --boot --force --fsbl ./images/linux/zynqmp_fsbl.elf --fpga ./images/linux/linux_bd_wrapper.bit --u-boot

I got an error message

ERROR: Failed to generate BIF file, File ......images/linux/linux_bd_wrapper.bit doesn't exist.

I checked and in fact, linux_bd_wrapper.bit does not exist.

I am running petalinux on an ubuntu 16.04 virtual machine, as recommended in the docs.

Suggestions?

Thank You

Tom

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
aravindb
Moderator
Moderator
869 Views
Registered: ‎02-07-2018

Hi @miner_tom 

Could you please check "linux_bd_wrapper.bit" present in your images/linux/ folder. 

If that is not there , please check what is the name of bit file. By default it should be system.bit if you are using 2018.x/2019.1 sw.

 

petalinux-package --boot --force --fsbl ./images/linux/zynqmp_fsbl.elf --fpga ./images/linux/system.bit --u-boot

 

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.
----------------------------------------------------------------------------------------------

View solution in original post

3 Replies
aravindb
Moderator
Moderator
870 Views
Registered: ‎02-07-2018

Hi @miner_tom 

Could you please check "linux_bd_wrapper.bit" present in your images/linux/ folder. 

If that is not there , please check what is the name of bit file. By default it should be system.bit if you are using 2018.x/2019.1 sw.

 

petalinux-package --boot --force --fsbl ./images/linux/zynqmp_fsbl.elf --fpga ./images/linux/system.bit --u-boot

 

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.
----------------------------------------------------------------------------------------------

View solution in original post

stephenm
Moderator
Moderator
858 Views
Registered: ‎09-12-2007

ptalinux doesnt generate the bit file, it just extracts it from the HDF (and renames and places it itn the images/linux directory).

When you exported to SDK from Vivado, did you tick the box to include the bitstream?

If not, then the bit file will not be here. However, you can just point to it in the command

petalinux-package --force --boot --fpga <path to the vivado project impl_1 folder where the bit is>.bit --u-boot

miner_tom
Adventurer
Adventurer
806 Views
Registered: ‎10-04-2018

Thank you for your help.

Regards

Tom

 

0 Kudos