[U-Boot] [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets

Stefano Babic sbabic at denx.de
Tue Sep 17 08:27:46 UTC 2019

On 17/09/19 05:26, Breno Matheus Lima wrote:
> Hi Stefano,
> Em seg, 16 de set de 2019 às 05:17, Stefano Babic <sbabic at denx.de> escreveu:
>> Hi Breno,
>> On 12/09/19 03:07, Peng Fan wrote:
>>> Hi Breno,
>>>> Subject: [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets
>>> I saw this patch in imx/master, not in Tom's tree. But this patch breaks
>>> build for other archs, such as arc and etc.
>> Any news on this ? I dropped it from u-boot-imx due the breakage, but I
>> can easy pick it up again if it will be fixed.
> Sorry the delay. I'm still trying to reproduce the issue, probably
> something is missing in my buildman setup.

It looks like that a header is missing, maybe this came together with
the moving to a common place for gzip & Co (patch for Simon). I think it
could be easy for you to reproduce if you set current u-boot-imx.

> One workaround would be to enclose the code with CONFIG_SECURE_BOOT,
> this code is only used by IH_TYPE_FIRMWARE_IVT which requires HAB to
> be enabled. I can send a patch but I would like to confirm before.

Nevertheless, HAB code should be put in just if needed. I agree on the
patch independently from the issue.


> Thanks,
> Breno Lima

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list