Re: [PATCH v2 0/2] arm64,riscv: boot: emit standard LZ4 frame for Image.lz4

From: Yann Collet

Date: Thu Nov 26 2026 - 00:13:56 EST


On Thu, Nov 26, 2026 at 11:02:31AM +0800, Ping Li wrote:
> Changes in v2:
> - Pass -BI so the blocks stay independent regardless of what the lz4
> CLI defaults to in the future; deployed U-Boot decoders reject
> linked blocks (suggested by Yann Collet).
> - -BI was introduced in lz4 v1.9.0 - older lz4 versions reject the
> flag but already default to independent blocks, so the rule probes
> for -BI support first.

Checked the new rule with lz4 1.8.3 (no -BI), 1.9.3 and 1.11.1 (-BI):
independent blocks in all cases, and the output round-trips.

For the series:

Reviewed-by: Yann Collet <cyan@xxxxxxxx>