[PATCH v3 14/17] binman: add a new entry type for packing DDR PHY firmware images
Marek Vasut
marex at denx.de
Sun Jan 5 22:52:26 CET 2025
On 1/3/25 7:45 AM, Alice Guo wrote:
> From: Alice Guo <alice.guo at nxp.com>
>
> i.MX95 needs to combine DDR PHY firmware images and their byte counts
> together, so add a new entry type nxp-header-ddrfw for this requirement.
>
> Signed-off-by: Alice Guo <alice.guo at nxp.com>
> ---
> tools/binman/entries.rst | 10 ++++++++++
> tools/binman/etype/nxp_header_ddrfw.py | 32 +++++++++++++++++++++++++++++++
> tools/binman/ftest.py | 11 +++++++++++
> tools/binman/test/346_nxp_ddrfw_imx95.dts | 24 +++++++++++++++++++++++
> 4 files changed, 77 insertions(+)
>
> diff --git a/tools/binman/entries.rst b/tools/binman/entries.rst
> index 780e9817fb6496b5f2a4aef6ed1c0b4c8d9a4ba2..6da3f0b904643360ca11da32e31129f5f54d279c 100644
> --- a/tools/binman/entries.rst
> +++ b/tools/binman/entries.rst
> @@ -1663,6 +1663,16 @@ Properties / Entry arguments:
>
>
>
> +.. _etype_nxp_header_ddrfw:
> +
> +Entry: nxp-header-ddrfw: add a header to DDR PHY firmware images
> +---------------------------------------------------
> +
> +This entry is used to combine DDR PHY firmware images and their byte counts
> +together. See imx95_evk.rst for how to get DDR PHY Firmware Images.
> +
> +
> +
> .. _etype_opensbi:
>
> Entry: opensbi: RISC-V OpenSBI fw_dynamic blob
> diff --git a/tools/binman/etype/nxp_header_ddrfw.py b/tools/binman/etype/nxp_header_ddrfw.py
> new file mode 100644
> index 0000000000000000000000000000000000000000..541f045aa2e0bff5fea7c91c6939e35ef0b7200a
> --- /dev/null
> +++ b/tools/binman/etype/nxp_header_ddrfw.py
> @@ -0,0 +1,32 @@
> +# SPDX-License-Identifier: GPL-2.0+
> +#
> +# Copyright 2024 NXP
2025 now.
[...]
More information about the U-Boot
mailing list