Skip to content

RFC board: ti: Use Extension framework

Roger Quadros u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2board: ti: common: Add CONFIG_TI_CAPE_DETECT for cape detectionboard/ti/am335x/board.c board/ti/common/Kconfig board/ti/common/Makefile +2 more+19 -30 replies
2/2board: ti: am65x: Move to using Extension frameworkboard/ti/am65x/evm.c board/ti/common/Kconfig board/ti/common/Makefile +4 more+280 -1958 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] board: ti: Use Extension framework

Hi,

RFC as only build tested. Need to get early feedback before I spend more time on this.

Newer TI boards (AM6/J7) are using a custom logic to detect expansion cards and set a 'name_overlays' environment variable. Then DT overlays are applied by again custom environment scripts during boot.

Instead of that migrate to using the Extension framework. This allows the user to call 'extension scan' and 'extension apply' commands to detect extension cards and apply the
DT overlays respectively.

For Booting, I expect distro boot scripts to already support the extension framework via following environment 'extension_overlay_cmd' and 'extension_overlay_addr'. i.e. include/config_distro_bootcmd.h

cheers,
-roger

Roger Quadros (2):
board: ti: common: Add CONFIG_TI_CAPE_DETECT for cape detection
board: ti: am65x: Move to using Extension framework

 board/ti/am335x/board.c            |   8 +
 board/ti/am65x/evm.c               | 264 ++++++++---------------------
 board/ti/common/Kconfig            |  16 ++
 board/ti/common/Makefile           |   3 +-
 board/ti/common/cape_detect.c      |   2 +-
 board/ti/common/cape_detect.h      |   2 +-
 board/ti/common/ti_card_detect.c   | 155 +++++++++++++++++
 board/ti/common/ti_card_detect.h   |  43 +++++
 configs/am65x_evm_a53_defconfig    |   2 +
 configs/am65x_hs_evm_a53_defconfig |   2 +
 10 files changed, 299 insertions(+), 198 deletions(-)
 create mode 100644 board/ti/common/ti_card_detect.c
 create mode 100644 board/ti/common/ti_card_detect.h
Signature · 1 line
2.34.1