fpga: Add support for gzip images with bitstreams
authorMichal Simek <michal.simek@xilinx.com>
Fri, 4 Oct 2013 08:51:01 +0000 (10:51 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 6 Nov 2013 08:15:12 +0000 (09:15 +0100)
commit32d7cdd366a1516fa498464c261851f3a76a62ef
tree8fcd285a8c8fb3ddaf9e72dbae72efbd5e318ba4
parentb129e8cfb07cdbbf8ce0f2a165edabeb2f7a1da7
fpga: Add support for gzip images with bitstreams

Here is the set of command which has been performed
to proof this feature.

gzip < fpga.bin > fpga.bin.gz
mkimage -A arm -O u-boot -T firmware -C gzip \
-a 20000000 -n "zc702_fpga_bin" -d fpga.bin.gz fpga.bin.gz.ub

tftp 100000 fpga.bin.gz.ub
fpga loadmk 0 100000

This flow should speedup loading bitstream data
from external memory and save image footprint in non volatile
memory.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
common/cmd_fpga.c