[U-Boot] [PATCH v4 1/2] fit: Support compression for non-kernel components (e.g. FDT)

Julius Werner jwerner at chromium.org
Tue Jun 25 02:40:21 UTC 2019


Hi Simon,

I forgot about these for a while, but I believe I addressed all the
feedback you still had in the latest version (v4). Looks like they
didn't get picked up anywhere though. Can you help?

On Thu, May 16, 2019 at 7:34 PM Simon Glass <sjg at chromium.org> wrote:
>
> On Wed, 15 May 2019 at 16:30, Julius Werner <jwerner at chromium.org> wrote:
> >
> > This patch adds support for compressing non-kernel image nodes in a FIT
> > image (kernel nodes could already be compressed previously). This can
> > reduce the size of FIT images and therefore improve boot times
> > (especially when an image bundles many different kernel FDTs). The
> > images will automatically be decompressed on load.
> >
> > This patch does not support extracting compatible strings from
> > compressed FDTs, so it's not very helpful in conjunction with
> > CONFIG_FIT_BEST_MATCH yet, but it can already be used in environments
> > that select the configuration to load explicitly.
> >
> > Signed-off-by: Julius Werner <jwerner at chromium.org>
> > ---
> >  - Changes for v2:
> >    - Changed from only supporting compressed FDTs to supporting all
> >      non-kernel image node types.
> >  - Changes for v3:
> >    - Fixed up some debug output that was still written for v1.
> >    - Fixed a mistake with handling FIT_LOAD_OPTIONAL_NON_ZERO when
> >      'load' was 0 (i.e. unset).
> >    - Added compression test case to the test_fit pytest.
> >  - No changes for v4
> >
> >  common/image-fit.c        | 86 +++++++++++++++++++++++----------------
> >  test/py/tests/test_fit.py | 29 +++++++++++--
> >  2 files changed, 77 insertions(+), 38 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list