[PATCH 2/4] arm: dts: k3-binman: Add template for packing HSM firmware
Andrew Davis
afd at ti.com
Tue Apr 22 16:34:54 CEST 2025
On 4/22/25 4:54 AM, Beleswar Padhi wrote:
> The HSM M4 core needs to be booted at R5 SPL stage so that it can be
> used for further Authentication and security services. Therefore, the
> firmware for the HSM core needs to be packed in tispl.bin fit image so
> that it can be used by R5 SPL to boot the HSM core.
>
> Add a template for packing the HSM firmware in tispl.bin. The size of
> HSM firmware is padded upto 256 KB. The HSM binaries are unloaded at a
> temporary DDR address.
>
> Signed-off-by: Beleswar Padhi <b-padhi at ti.com>
> ---
> arch/arm/dts/k3-binman.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
> index 5163161b94d..c2b8388b06e 100644
> --- a/arch/arm/dts/k3-binman.dtsi
> +++ b/arch/arm/dts/k3-binman.dtsi
> @@ -297,6 +297,17 @@
> };
> };
>
> +#ifdef CONFIG_K3_HSM_FW
> + hsm {
> + description = "HSM binary";
> + type = "standalone";
> + compression = "none";
> + os = "hsm";
> + load = <0x82000000>;
> + entry = <0x82000000>;
These addresses might already be in use. Why do you need an `entry`
address here? Or a `load` address?, if one isn't given then U-Boot
should pick a safe spot for you, or even do the operation in-place.
Andrew
> + };
> +#endif
> +
> dm {
> description = "DM binary";
> type = "firmware";
More information about the U-Boot
mailing list