gunzip error when uncompress to buf

张忠山 zzs213 at 126.com
Fri Nov 30 06:49:16 EST 2012


In message <20121130113809.GC8327 at game.jcrosoft.org> Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 19:00 Fri 30 Nov     , 张忠山 wrote:
> > On host use the flowwing cmd build a gziped file
> >
> > ----------------
> > $ gzip -c9 zbarebox.bin > xxx
> this is a binary with a decompressor insode you just need to flash it
>

I known zbarebox.bin is a compressed image. I just use this file to
test uncompress_fd_to_buf.

I will compress my fpga firmware and flash it, So I need to uncompress
this image to a buf, then use it to config fpga

But uncompress_fd_to_buf works wrong!

-- 
Best Regards,
zzs





More information about the barebox mailing list