[PATCH v6] Improve handoff prepare on SoCFPGA

Simon Glass sjg at chromium.org
Tue Apr 28 16:04:43 CEST 2026


Hi Brian,

On 2026-04-23T04:28:24, Sune Brian <briansune at gmail.com> wrote:
> Improve handoff prepare on SoCFPGA
>
> Ensure qts folder header files are properly updated by isolating
> the Python execution environment. This prevents partial or failed
> script runs from corrupting the target directory.
>
> Changelog v5 -> v6:
>  - Clean HANDOFF_KEEP comments.
>
> Changelog v4 -> v5:
>  - Change HANDOFF_KEEP condition to if [ '$${HANDOFF_KEEP:-0}' != '0' ]
>  - Add HANDOFF_KEEP and HANDOFF_PATH comments in config.mk
>
> Changes:
>  - Implement a temp folder for Python script execution.
>  - Clean temp folder automatically despite execution failures.
>  - Gate the file replacement process on the successful exit of
>    the Python scripts.
>  - Execute the replacement (with or without keep) only upon script
>    success via the NEW HANDOFF_KEEP=xxx variable.
> [...]
>
> arch/arm/mach-socfpga/config.mk | 39 ++++++++++++++++++++++++++++++++++++---
>  1 file changed, 36 insertions(+), 3 deletions(-)

The per-version changelogs belong below the '---' separator, not in
the commit body. Also U-Boot convention is 'Changes in vN:' rather
than 'Changelog vN -> vN+1:'.

You could try using 'patman' which will get this right for you automatically:

https://docs.u-boot.org/en/latest/develop/patman.html

I see 6 copies of this v6 patch in patchwork, so I wonder if I got the
right one?

Regards,
Simon


More information about the U-Boot mailing list