[PATCH 0/9] Firmware: support compressing firmware files

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 18 23:53:00 PDT 2026


On Mon, 16 Mar 2026 18:21:13 +0100, Sascha Hauer wrote:
> TF-A and OP-TEE can reach significant sizes nowadays and are currently
> uncompressed in the PBL. This series supports including them in compressed
> form in the PBL. To accomplish this we introduce a new macro
> get_builtin_firmware_compressed() which returns the compressed firmware
> image. This can be decompressed afterwards with fwobj_uncompress().
> There are always both the compressed and uncompressed images generated,
> so the code can decide which one to use. This series switches over the
> Rockchip TF-A and OP-TEE binaries to use the compressed variants.
> 
> [...]

Applied, thanks!

[1/9] ARM: socfpga: Drop unnecessary select USE_COMPRESSED_DTB
      https://git.pengutronix.de/cgit/barebox/commit/?id=a80e7e667bb3 (link may not be stable)
[2/9] ARM: radxa-rock5: Use compressed DTB
      https://git.pengutronix.de/cgit/barebox/commit/?id=39a49ed80f85 (link may not be stable)
[3/9] ARM: Rockchip: Simplify retrieval of SoC specific addresses
      https://git.pengutronix.de/cgit/barebox/commit/?id=01df55fc7f52 (link may not be stable)
[4/9] firmware: Move firmware assembly generation to scripts/gen-fw-s
      https://git.pengutronix.de/cgit/barebox/commit/?id=1e01e95f56e1 (link may not be stable)
[5/9] firmware: Use struct fwobj for get_builtin_firmware APIs
      https://git.pengutronix.de/cgit/barebox/commit/?id=8fd5c3f501fe (link may not be stable)
[6/9] firmware: Add compressed firmware symbols for PBL
      https://git.pengutronix.de/cgit/barebox/commit/?id=29697c7543b6 (link may not be stable)
[7/9] firmware: Add fwobj_uncompress() for decompressing firmware in PBL
      https://git.pengutronix.de/cgit/barebox/commit/?id=b7f40c12d509 (link may not be stable)
[8/9] ARM: Rockchip: Use compressed OP-TEE binary
      https://git.pengutronix.de/cgit/barebox/commit/?id=a5abd4b6f7f4 (link may not be stable)
[9/9] ARM: Rockchip: Use compressed TF-A binary
      https://git.pengutronix.de/cgit/barebox/commit/?id=8968135d1634 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list