From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 13 Sep 2008 23:27:20 +0200 Subject: [U-Boot] [PATCH 1/1 V3] Add support for LZMA uncompression algorithm. In-Reply-To: <200809132249.10637.luigi.mantellini.ml@gmail.com> References: <1220790123-13227-1-git-send-email-plagnioj@jcrosoft.com> <1220834773-4411-1-git-send-email-plagnioj@jcrosoft.com> <200809132249.10637.luigi.mantellini.ml@gmail.com> Message-ID: <20080913212720.GC7266@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Fax: +39 02 5167 2459 > Email: luigi.mantellini at idf-hit.com > > From 565ecc8ff0a21a9a9f3381c0bfaea629598b7c00 Mon Sep 17 00:00:00 2001 > From: Luigi 'Comio' Mantellini > Date: Sat, 13 Sep 2008 10:04:32 +0200 > Subject: [PATCH] Fix lzma uncompress call (image_start wrongly used instead image_len) > > --- > common/cmd_bootm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c > index 19257bb..897e9f6 100644 > --- a/common/cmd_bootm.c > +++ b/common/cmd_bootm.c > @@ -347,7 +347,7 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress) > > int ret = lzmaBuffToBuffDecompress( > (unsigned char *)load, &unc_len, > - (unsigned char *)image_start, image_start); > + (unsigned char *)image_start, image_len); It's work without this too Best Regards, J.