[RFT PATCH v5 3/3] image: Add compressed Image parsing support in booti.
Atish Patra
atishp at atishpatra.org
Sun Mar 8 19:44:03 CET 2020
On Fri, Mar 6, 2020 at 6:59 AM Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Mar 05, 2020 at 04:24:23PM -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.
>
> Is that a "legacy lz4 header" or something else? Thanks!
>
Yeah. I was talking about legacy lz4 header as per U-Boot documentation.
> --
> Tom
--
Regards,
Atish
More information about the U-Boot
mailing list