From: Tom Rini Date: Thu, 7 Nov 2019 17:22:40 -0500 Subject: [U-Boot] [RFC/RFT PATCH v3 3/3] image: Add compressed Image parsing support in booti. In-Reply-To: <20191106221522.28246-4-atish.patra@wdc.com> References: <20191106221522.28246-1-atish.patra@wdc.com> <20191106221522.28246-4-atish.patra@wdc.com> Message-ID: <20191107222240.GQ19317@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 06, 2019 at 02:15:22PM -0800, Atish Patra wrote: > Add compressed Image parsing support so that booti can parse both > flat and compressed Image to boot Linux. Currently, it is difficult > to calculate a safe address for every board where the compressed > image can be decompressed. It is also not possible to figure out the > size of the compressed file as well. Thus, user need to set two > additional environment variables kernel_comp_addr_r and filesize to > make this work. > > Following compression methods are supported for now. > lzma, lzo, bzip2, gzip. > > lz4 support is not added as ARM64 kernel generates a lz4 compressed > image with legacy header which U-Boot doesn't know how to parse and > decompress. > > Tested on HiFive Unleashed and Qemu for RISC-V. > Tested on Qemu for ARM64. > > Signed-off-by: Atish Patra Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: