[U-Boot-Users] gunzip api

I have to uncompress a gzipped application inside uboot.
But i do not understand the gunzip api:
gunzip ((void *)ntohl(hdr->ih_load), unc_len, (uchar *)data, (int *)&len)
In partcular i would like to know:
1. How to get a pointer to uncompressed image after calling gunzip.
2. How to get the size of umcompressed image.
Regards, Jhavk
__________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com

In message 20041109072857.14175.qmail@web12001.mail.yahoo.com you wrote:
I have to uncompress a gzipped application inside uboot.
But i do not understand the gunzip api:
Don't reinvent the wheel. Don't even write new code. Use existing commands.
Mostly: RTFM.
Especially: http://www.denx.de/twiki/bin/view/DULG/HowCanILoadAndUncompressACompressedIm...
Best regards,
Wolfgang Denk
participants (2)
-
Jhavk
-
Wolfgang Denk