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

Chen-Yu Tsai wenst at chromium.org
Mon May 20 23:51:03 PDT 2024


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




More information about the linux-arm-kernel mailing list