cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brianvg
Adventurer
Adventurer
678 Views
Registered: ‎11-02-2014

Why doesn't my bit file update in Petalinux?

Hello,

 

I have noticed a very annoying potential bug the in Petalinux workflow. If I run the following steps:

 

1. Export .hdf file from Vivado with "include bitstream" checked.

2. run "petalinux-build -x mrproper" to clean out the contents of ...images/linux

3. Import .hdf file to existing petalinux project with "petalinux-config --get-hw-description" (close pop up config window.)

4. run "petalinux-build"

 

After running these steps, I would expect the contents of images/linux to now contain the updated bitstream file for the project. However, when I do a binary compare with the .bit file in the implementations folder of the Vivado project, the files don't match! Indeed, the .bit file does not update, and is still the old bit file.

 

Am I doing something wrong here, or is this a legitimate feature, or a legitimate bug?

 

Thanks for any help.

 

-Brian

0 Kudos
1 Reply
stephenm
Moderator
Moderator
641 Views
Registered: ‎09-12-2007

Is the device tree getting updated with changes in hdf?

If so, then just point to the updated bit in petalinux-package --boot --fpga path to your bit --u-boot

This sounds like a bug. When you do a petalinux-build -x mrproper. Is the bit removed from deploy folder?

0 Kudos