[RFC PATCH] tools: zynqmp: add build script and documentation for ZynqMP KV260
Tom Rini
trini at konsulko.com
Thu Jun 12 18:49:39 CEST 2025
On Thu, Jun 12, 2025 at 05:32:41PM +0200, Jerome Forissier wrote:
> Add a script to help build a functional U-Boot binary for the ZynqMP
> Kria KV260. Also add some documentation.
>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
> ---
>
> doc/board/xilinx/index.rst | 1 +
> doc/board/xilinx/zynqmp-kv260.rst | 27 +++++++++
> tools/zynqmp_kv260_build.sh | 43 ++++++++++++++
> tools/zynqmp_pmufw_elf_convert.py | 96 +++++++++++++++++++++++++++++++
> 4 files changed, 167 insertions(+)
> create mode 100644 doc/board/xilinx/zynqmp-kv260.rst
> create mode 100755 tools/zynqmp_kv260_build.sh
> create mode 100755 tools/zynqmp_pmufw_elf_convert.py
Helper build scripts don't belong in the tools directory. If they're
super helpful, I don't object to adding them to
u-boot-extras/contrib/<you>/ directory. But there's a number of
documented examples already on checkout and build TF-A then do ... for
your platform.
> diff --git a/tools/zynqmp_pmufw_elf_convert.py b/tools/zynqmp_pmufw_elf_convert.py
> new file mode 100755
> index 00000000000..b4eb2695831
> --- /dev/null
> +++ b/tools/zynqmp_pmufw_elf_convert.py
> @@ -0,0 +1,96 @@
> +#!/usr/bin/env python3
> +# SPDX-License-Identifier: GPL-2.0+
> +# Copyright (C) 2025 Linaro Ltd.
> +#
> +# Written by Gemini (Google AI) then reviewed and edited to remove some comments
I'm glad this calls out where it's from. I'm not comfortable for a
number of ethical reasons on taking LLM-generated code. I'm also a
little surprised we don't already have something like this with binman
today?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250612/8cff16ee/attachment.sig>
More information about the U-Boot
mailing list