Hi He,

On 2026-10-26T14:02:15, He Yong <[email protected]> wrote:
> bootstd: Add a bootmeth for scripts in raw partitions
>
> Some disk layouts store a U-Boot script image directly in a named
> partition, without a filesystem. Add a script_raw bootmeth to find these
> images without a board-specific bootcmd.
>
> Read the image size from the first block and bound it by the partition
> size and configured limit. Support legacy scripts and FIT scripts with
> embedded data, using the shared script parser for validation and the
> shared execution handler for booting.
>
> Keep raw-partition scanning independently selectable from filesystem
> script lookup. Document the configuration and self-contained FIT policy.
>
> Signed-off-by: He Yong <[email protected]>
>
>  MAINTAINERS                           |   1 +
>  boot/Kconfig                          |  26 ++++++
>  boot/Makefile                         |   1 +
>  boot/bootmeth_script_raw.c            | 152 
> ++++++++++++++++++++++++++++++++++
>  doc/develop/bootstd/index.rst         |   1 +
>  doc/develop/bootstd/script_raw.rst    |  51 ++++++++++++
>  doc/device-tree-bindings/bootmeth.txt |   1 +
>  7 files changed, 233 insertions(+)

> diff --git a/MAINTAINERS b/MAINTAINERS
> @@ -847,6 +847,7 @@ F:        include/bootflow.h
>  F:   include/bootmeth.h
>  F:   include/bootstd.h
>  F:   test/boot/
> +F:   test/py/img/script_raw.py

This file is only added in the next patch, so ideally you could move
the MAINTAINERS change there.

Reviewed-by: Simon Glass <[email protected]>

Regards,
Simon

Reply via email to