[U-Boot] [PATCH 1/2] fit: Support FDT compression

Julius Werner jwerner at chromium.org
Thu Apr 18 19:59:47 UTC 2019


Hi Simon,

Is your approach similar to what I did here (decompressing
transparently as part of fit_image_load())? I think I could easily
expand this to other image types, I just don't always know how to test
those. Really, the only thing that can't be decompressed there is the
kernel image (because that is done later), so rather than checking for
IH_TYPE_FLATDT I could check for !(IH_TYPE_KERNEL ||
IH_TYPE_KERNEL_NOLOAD)?

Alternatively, maybe we could take this as a first step and it can
later be expanded to support other types when someone has time to work
on that?


More information about the U-Boot mailing list