public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 00/20] Convert extension support to UCLASS and adds its support to boot flows
@ 2025-10-13 13:32 Kory Maincent (TI.com)
  2025-10-13 13:32 ` [PATCH v3 01/20] MAINTAINERS: Add maintainer for extension board support Kory Maincent (TI.com)
                   ` (20 more replies)
  0 siblings, 21 replies; 40+ messages in thread
From: Kory Maincent (TI.com) @ 2025-10-13 13:32 UTC (permalink / raw)
  To: Tom Rini, Simon Glass, Jagan Teki, Andre Przywara, Hans de Goede,
	Mario Six, Stefano Babic, Fabio Estevam, NXP i.MX U-Boot Team,
	Ying-Chun Liu (PaulLiu)
  Cc: Roger Quadros, Bajjuri Praneeth, Thomas Petazzoni, u-boot,
	Kory Maincent (TI.com), Mattijs Korpershoek

This series converts the extension board framework to use UCLASS as
requested by Simon Glass, then adds extension support to pxe_utils
and bootmeth_efi (not tested) to enable extension boards devicetree load
in the standard boot process.

I can't test the imx8 extension scan enabled by the
imx8mm-cl-iot-gate_defconfig as I don't have this board.
I also can't test the efi bootmeth change as I don't have such board.

Changes in v3:
- Reorder the patches inside the series as several config were broken
  in the middle of the series.
- Use U_BOOT_DRVINFO macro instead of manually bind the drivers.
- Use uclass_first_device_err instead of extension_get_dev function.
- Made few fixes in documentation and Kconfig dependency.
- Made few changes of error value returned.
- Add a patch to document the extension structure.
- Add a patch to fix CAPE_EEPROM_BUS_NUM Kconfig dependency

Changes in v2:
- Fixes few build errors.
- Add patches to move the extension support and board scan out of XPL
  images build.

Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com>
---
Kory Maincent (TI.com) (20):
      MAINTAINERS: Add maintainer for extension board support
      board: ti: Exclude cape detection from XPL builds
      board: ti: Fix CAPE_EEPROM_BUS_NUM Kconfig dependency
      board: sunxi: Exclude DIP detection from XPL builds
      board: compulab: Exclude compulab extension board detection from XPL builds
      include: extension_board: Document the extension structure
      boot: Move extension board support from cmd/ to boot/
      boot: Add UCLASS support for extension boards
      board: ti: Refactor cape detection code for readability
      board: ti: Convert cape detection to use UCLASS framework
      board: sunxi: Refactor CHIP board extension code
      board: sunxi: Convert extension support to UCLASS framework
      board: sandbox: Improve extension board scan implementation
      board: sandbox: Convert extension support to UCLASS framework
      board: compulab: Convert imx8mm-cl-iot-gate to UCLASS extension framework
      boot: Remove legacy extension board support
      boot: extension: Move overlay apply custom logic to command level
      boot: pxe_utils: Add extension board devicetree overlay support
      boot: bootmeth_efi: Refactor distro_efi_try_bootflow_files return logic
      boot: bootmeth_efi: Add extension board devicetree overlay support

 MAINTAINERS                                        |   9 +
 .../imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c        |  70 ++++----
 board/sandbox/sandbox.c                            |  26 ++-
 board/sunxi/Makefile                               |   2 +-
 board/sunxi/chip.c                                 |  36 ++--
 board/ti/common/Kconfig                            |   2 +-
 board/ti/common/Makefile                           |   2 +-
 board/ti/common/cape_detect.c                      |  56 ++++---
 boot/Kconfig                                       |   4 +
 boot/Makefile                                      |   1 +
 boot/bootmeth_efi.c                                |  79 +++++++--
 boot/extension-uclass.c                            |  93 +++++++++++
 boot/pxe_utils.c                                   |  92 +++++++++++
 cmd/Kconfig                                        |   3 -
 cmd/extension_board.c                              | 183 ++++++++++-----------
 doc/usage/cmd/extension.rst                        |  29 ++--
 include/dm/uclass-id.h                             |   1 +
 include/extension_board.h                          |  85 ++++++++--
 18 files changed, 541 insertions(+), 232 deletions(-)
---
base-commit: 8e7f8c1248e8adfb525a2a4ea56ebf7e54ff5d7a
change-id: 20250916-feature_sysboot_extension_board-958dd0072565

Best regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2025-10-21 17:29 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 13:32 [PATCH v3 00/20] Convert extension support to UCLASS and adds its support to boot flows Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 01/20] MAINTAINERS: Add maintainer for extension board support Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 02/20] board: ti: Exclude cape detection from XPL builds Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 03/20] board: ti: Fix CAPE_EEPROM_BUS_NUM Kconfig dependency Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 04/20] board: sunxi: Exclude DIP detection from XPL builds Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 05/20] board: compulab: Exclude compulab extension board " Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 06/20] include: extension_board: Document the extension structure Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 07/20] boot: Move extension board support from cmd/ to boot/ Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 08/20] boot: Add UCLASS support for extension boards Kory Maincent (TI.com)
2025-10-19 13:05   ` Simon Glass
2025-10-13 13:32 ` [PATCH v3 09/20] board: ti: Refactor cape detection code for readability Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 10/20] board: ti: Convert cape detection to use UCLASS framework Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 11/20] board: sunxi: Refactor CHIP board extension code Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 12/20] board: sunxi: Convert extension support to UCLASS framework Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 13/20] board: sandbox: Improve extension board scan implementation Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 14/20] board: sandbox: Convert extension support to UCLASS framework Kory Maincent (TI.com)
2025-10-19 13:06   ` Simon Glass
2025-10-13 13:32 ` [PATCH v3 15/20] board: compulab: Convert imx8mm-cl-iot-gate to UCLASS extension framework Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 16/20] boot: Remove legacy extension board support Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 17/20] boot: extension: Move overlay apply custom logic to command level Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 18/20] boot: pxe_utils: Add extension board devicetree overlay support Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 19/20] boot: bootmeth_efi: Refactor distro_efi_try_bootflow_files return logic Kory Maincent (TI.com)
2025-10-13 13:32 ` [PATCH v3 20/20] boot: bootmeth_efi: Add extension board devicetree overlay support Kory Maincent (TI.com)
2025-10-19 13:05 ` [PATCH v3 00/20] Convert extension support to UCLASS and adds its support to boot flows Simon Glass
2025-10-19 16:48   ` Tom Rini
2025-10-20  9:50     ` Kory Maincent
2025-10-20 14:15       ` Tom Rini
2025-10-20 14:37         ` Tom Rini
2025-10-20 15:23           ` Kory Maincent
2025-10-20 16:05             ` Tom Rini
2025-10-20 17:08               ` Kory Maincent
2025-10-20 17:17                 ` Tom Rini
2025-10-21  7:40                   ` Mattijs Korpershoek
     [not found]                     ` <20251021110225.2d94a13b@kmaincent-XPS-13-7390>
2025-10-21  9:52                       ` Simon Glass
2025-10-21 12:44                         ` Kory Maincent
2025-10-21 13:49                           ` Tom Rini
2025-10-21 14:29                             ` Kory Maincent
2025-10-21 14:36                               ` Tom Rini
2025-10-21 16:54                                 ` Kory Maincent
2025-10-21 17:29                                   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox