[PATCH 0/2] scripts/make_fit fix and disabled compression for DTBs

From: Chen-Yu Tsai
Date: Tue May 21 2024 - 02:51:36 EST


Hi folks,

Here are a couple changes for the FIT image packing script. While
unreleated, they are sent together because the change context overlaps.

The first patch drops the compatible string property from the fdt image
nodes. According to the FIT image spec, the compatible string in the
(fdt/kernel) image node is used to specify special loading mechanisms,
and is _not_ for identifying the DTB.

The second patch adds an option that disables compression for _just_ the
included DTBs. This is needed for RK3399 and MT8173 based Chromebooks,
whose firmware does not support decompressing DTBs, but does need kernel
image compression to fit the image within their relatively small image
size of 32 MiB.

Please take a look.


Thanks
ChenYu


Chen-Yu Tsai (2):
scripts/make_fit: Drop fdt image entry compatible string
scripts/make_fit: Add option to disable compression for DTBs

scripts/Makefile.lib | 1 +
scripts/make_fit.py | 14 +++++++++++---
2 files changed, 12 insertions(+), 3 deletions(-)

--
2.45.0.215.g3402c0e53f-goog