On Thu, May 01, 2025 at 07:18:32AM -0600, Simon Glass wrote:

> This series restores the original behaviour of extlinux booting linux
> 'Image' files, which is to ignore CONFIG_SYS_BOOTM_LEN and instead uses
> a limit of 10x the compressed size.
> 
> It also adds RISC-V support, since it uses a similar format to ARM64.
> 
> Future work should integrate the code in 'booti' into main 'bootm'
> logic.

I don't like "in the future we'll remove duplicated code". I also don't
like not seeing that what we really need to do, in all cases (not just
booti) handle decompression like we do for FIT images, and ask LMB to
give us a space to use. A problem is that CONFIG_SYS_BOOTM_LEN was never
intended to be the limit on *decompression* as it's the limit on what
we're loading to memory from disk. That's what getting me unhappy with
this part of the series.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to