Skip to content

board/ti: k3 boards: Stop using findfdt

Nishanth Menon u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11board: ti: Add missing common/Kconfig referencesboard/ti/omap3evm/Kconfig board/ti/panda/Kconfig board/ti/sdp4430/Kconfig+6 -00 replies
2/11board: ti: common: Introduce a common fdt ops libraryboard/ti/common/Kconfig board/ti/common/Makefile board/ti/common/fdt_ops.c +1 more+119 -00 replies
3/11board: ti: am62ax: Set fdtfile from C code instead of findfdt scriptboard/ti/am62ax/am62ax.env board/ti/am62ax/evm.c configs/am62ax_evm_a53_defconfig+11 -10 replies
4/11board: ti: am62x: Set fdtfile from C code instead of findfdt scriptboard/ti/am62x/am62x.env board/ti/am62x/evm.c configs/am62x_evm_a53_defconfig+11 -10 replies
5/11board: ti: am64x: Set fdtfile from C code instead of findfdt scriptboard/ti/am64x/am64x.env board/ti/am64x/evm.c+8 -90 replies
6/11board: ti: am65x: Set fdtfile from C code instead of findfdt scriptboard/ti/am65x/am65x.env board/ti/am65x/evm.c+2 -30 replies
7/11board: ti: j721e: Set fdtfile from C code instead of findfdt scriptboard/ti/j721e/evm.c board/ti/j721e/j721e.env+8 -100 replies
8/11board: ti: j721s2: Set fdtfile from C code instead of findfdt scriptboard/ti/j721s2/evm.c board/ti/j721s2/j721s2.env+8 -80 replies
9/11board: beagle: beagleboneai64: Set fdtfile from C code instead of findfdt scriptboard/beagle/beagleboneai64/beagleboneai64.c board/beagle/beagleboneai64/beagleboneai64.env configs/j721e_beagleboneai64_a72_defconfig+16 -20 replies
10/11board: beagle: beagleplay: Set fdtfile from C code instead of findfdt scriptboard/beagle/beagleplay/beagleplay.c board/beagle/beagleplay/beagleplay.env configs/am62x_beagleplay_a53_defconfig+16 -20 replies
11/11include: env: ti: Drop default_findfdtinclude/env/ti/default_findfdt.env+0 -120 replies

Reviews trailers per patch

10 of 11 patches have a Reviewed-by or Acked-by.

PatchJonathan HumphreysRoger Quadros
1/11
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b R-b
6/11R-b R-b
7/11R-b R-b
8/11R-b R-b
9/11R-b R-b
10/11R-b R-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] board/ti: k3 boards: Stop using findfdt

Hi,

Hopefully the last time. Apologies on the screw ups. Ran CI loop[1] to be doubly sure that I have'nt yet again fat fingered something.

This is a wide cleanup to switch to setting fdtfile using env_set instead of scripted magic. 'fdtfile' is expected to be set by default. This allows the stdboot triggered efi loaders to find the correct OS device tree file even if regular boot process is interrupted by user intervention.

Fixes since V3:
* fix up missing header for am62x evm (I seemed to have dropped the fixup somehow)

based on:
master e8f2404e093d Merge branch 'master-779h0-r2' of https://source.denx.de/u-boot/custodians/u-boot-sh

Since this impacts out of box distro support, will be great to get it as part of 2024.04 release.

Testing (decided to retest it all): https://gist.github.com/nmenon/b9d49d752c27988aabdc062dcdc41e67

V3: https://lore.kernel.org/all/[email protected]/
V2: https://lore.kernel.org/all/[email protected]/
V1: https://lore.kernel.org/all/[email protected]/

Nishanth Menon (11):
board: ti: Add missing common/Kconfig references
board: ti: common: Introduce a common fdt ops library
board: ti: am62ax: Set fdtfile from C code instead of findfdt script
board: ti: am62x: Set fdtfile from C code instead of findfdt script
board: ti: am64x: Set fdtfile from C code instead of findfdt script
board: ti: am65x: Set fdtfile from C code instead of findfdt script
board: ti: j721e: Set fdtfile from C code instead of findfdt script
board: ti: j721s2: Set fdtfile from C code instead of findfdt script
board: beagle: beagleboneai64: Set fdtfile from C code instead of
findfdt script
board: beagle: beagleplay: Set fdtfile from C code instead of findfdt
script
include: env: ti: Drop default_findfdt

 board/beagle/beagleboneai64/beagleboneai64.c  | 14 ++++
 .../beagle/beagleboneai64/beagleboneai64.env  |  1 -
 board/beagle/beagleplay/beagleplay.c          | 14 ++++
 board/beagle/beagleplay/beagleplay.env        |  1 -
 board/ti/am62ax/am62ax.env                    |  1 -
 board/ti/am62ax/evm.c                         | 10 +++
 board/ti/am62x/am62x.env                      |  1 -
 board/ti/am62x/evm.c                          | 10 +++
 board/ti/am64x/am64x.env                      |  9 ---
 board/ti/am64x/evm.c                          |  8 +++
 board/ti/am65x/am65x.env                      |  3 -
 board/ti/am65x/evm.c                          |  2 +
 board/ti/common/Kconfig                       | 12 ++++
 board/ti/common/Makefile                      |  1 +
 board/ti/common/fdt_ops.c                     | 64 +++++++++++++++++++
 board/ti/common/fdt_ops.h                     | 42 ++++++++++++
 board/ti/j721e/evm.c                          |  8 +++
 board/ti/j721e/j721e.env                      | 10 ---
 board/ti/j721s2/evm.c                         |  8 +++
 board/ti/j721s2/j721s2.env                    |  8 ---
 board/ti/omap3evm/Kconfig                     |  2 +
 board/ti/panda/Kconfig                        |  2 +
 board/ti/sdp4430/Kconfig                      |  2 +
 configs/am62ax_evm_a53_defconfig              |  1 +
 configs/am62x_beagleplay_a53_defconfig        |  3 +-
 configs/am62x_evm_a53_defconfig               |  1 +
 configs/j721e_beagleboneai64_a72_defconfig    |  3 +-
 include/env/ti/default_findfdt.env            | 12 ----
 28 files changed, 205 insertions(+), 48 deletions(-)
 create mode 100644 board/ti/common/fdt_ops.c
 create mode 100644 board/ti/common/fdt_ops.h
 delete mode 100644 include/env/ti/default_findfdt.env

[1] https://github.com/u-boot/u-boot/pull/487

base-commit: e8f2404e093daf6cc3ac2b3233e3c6770d13e371

Signature · 1 line
2.43.0