On Tue, 21 Jul 2026 21:48:02 +0200, Marek Vasut via U-Boot wrote:

> In case MULTI_DTB_FIT_GZIP is enabled, fdtdec_setup() does uncompress
> the compressed DTs in uncompress_blob() using gunzip(), which invokes
> malloc() internally. The early simple malloc is initialized in board_f
> initf_malloc() call, which sets up the early simple malloc limit and
> offset pointer in global data. Currently, the initf_malloc() is called
> after fdtdec_setup(), which leads to malloc failure in fdtdec_setup()
> during the gzip decompression, because the early simple malloc is not
> initialized yet.
> 
> [...]

Applied to u-boot/main, thanks!

[1/1] board_f: Call initf_malloc() before fdtdec_setup()
      commit: 8da656ae6a9778ffe111c4a3b6a7795b2e7ee6d1
-- 
Tom


Reply via email to