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: 
Highlighted
Observer jsammy
Observer
117 Views
Registered: ‎09-19-2014

Problems using zynqmp-fpga driver with xczu11eg

Using the .bit files directly from Vivado 2018.2 fail on our board when using the latest zynqmp-fpga driver to program the fpga.

However, if we run the .bit file through the following script, we can program the resulting .bit.bin file:

#!/bin/sh
echo 'all:' > ._bit2bin.bif
echo '{' >> ._bit2bin.bif 
echo "	$1" >> ._bit2bin.bif
echo '}' >> ._bit2bin.bif 

bootgen -image ._bit2bin.bif -arch zynqmp -process_bitstream bin

Is this a known issue with the zynqmp-fpga driver?  Is there a better work-around that does not involve using bootgen?

I have tried having Vivado generate me a .bin file instead of .bit, but it fails in the same way as the .bit.

The failure mode on our board is that the program operation itself is successful, but when I try and access the fpga memory space the board hangs until a watchdog timer resets.  With the above script being used, I can program and access fpga memory space as expected.

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
87 Views
Registered: ‎04-15-2011

回复: Problems using zynqmp-fpga driver with xczu11eg

This is the expected if you are programming PL in Linux. The Vivado generated .bin file is different with the .bin file generated by bootgen.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841847/Solution+ZynqMP+PL+Programming#x-Programming+the+PL+through+Linux
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
68 Views
Registered: ‎01-24-2018

回复: Problems using zynqmp-fpga driver with xczu11eg

Please note that the referenced document


https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841847/Solution+ZynqMP+PL+Programming#x-Programming+the+PL+through+Linux

Refers to the ".bin format". It makes no distinction between a ".bin format"

specific to Linux vs. Vivado. So you should probably explain the difference.

or how to tell one ".bin format" from another ".bin format".

Why would you not generate the same format any way,

just to add to the confusion?

0 Kudos
Observer jsammy
Observer
40 Views
Registered: ‎09-19-2014

回复: Problems using zynqmp-fpga driver with xczu11eg

I agree some details regarding the two .bin formats would be helpful.

Also, a workaround that does not involve `bootgen` would be helpful as well.

Is it on the roadmap to support native Vivado .bit or .bin files?

0 Kudos
Xilinx Employee
Xilinx Employee
26 Views
Registered: ‎04-15-2011

回复: Problems using zynqmp-fpga driver with xczu11eg

If you compare these two .bin files, you would see the headers are different.

I agree that it might be confusing. I will ping to author of the wiki page to add one limitation of vivado .bin file.

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