[meta-xilinx] load bitstream through u-boot

Mike Looijmans mike.looijmans at topic.nl
Tue Dec 15 22:16:47 PST 2015


I'd recommend using "bin" format streams, haven't even tried "bit" streams 
from u-boot.

Here's a simple Python program that does the conversion:
https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-bit-to-bin/fpga-bit-to-bin.py

For the zynq, add the "--flip" argument, e.g.:
python fpga-bit-to-bin.py --flip system_wrapper.bit fpga.bin

(Vivado can also output "bin" format files, but they don't actually work on 
the Zynq because Vivado doesn't do the byte swapping then.)



On 15-12-15 22:38, gmane at reliableembeddedsystems.com wrote:
> Hi,
>
> I built the meta-xilinx jethro branch for the zedbaord and was able to boot
> Linux.
>
> Now I would like to load a bitstream through u-boot.
>
> Is this supposed to work?
>
> fatload mmc 0 0x3000000 system_wrapper.bit
> fpga load 0 0x3000000 ${filesize}
>
> but I get:
>
> zynq_validate_bitstream: Bitstream is not validated yet (diff 70).
>
> Can someone tell me what this means?
>
> Does my hardware person need to produce the bistream in some different way?
> If so how?
>
> Is it me using it the wrong way?
>
> Regards,
>
> Robert
>



Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail








More information about the meta-xilinx mailing list