[PATCH 0/4] Cleanup K3 binman templating

Neha Malcom Francis n-francis at ti.com
Fri Mar 22 14:10:07 CET 2024


This series does primarily three things:
	1. Split out the common J721E defconfig for both EVM and SK
	2. Cleanup k3-j721e-binman.dtsi to be SoC specific binman nodes
	   and -u-boot.dtsi files of the respective boards can pick and
	   edit according to their board. This is based on the
	   discussion [1] and this is the primary goal of this series
	3. Move J721E EVM and SK to using OF_UPSTREAM

This series depends on series [2] and patch [3] which implement
OF_UPSTREAM.

Also received input from Nishanth to clean up the unnecessary artifacts
in the final build directory (maybe populate them in another directory),
working on that as well but didn't want to delay v1 further considering
I'm modifying a bunch of board builds and would like some friendly build
tests and boot tests for them.

[1] https://lore.kernel.org/u-boot/20240123205255.i7eynu6vdpoxwybf@irregular/
[2] https://lore.kernel.org/u-boot/20240222093607.3085545-1-sumit.garg@linaro.org/
[3] https://lore.kernel.org/u-boot/20240205-am62px-wip-rebasing-v3-11-04cbb42eaa6f@ti.com/

Changes since RFC:
https://lore.kernel.org/all/20240228112042.3437691-1-n-francis@ti.com/
	- cleaned out FDT descriptions and blobs using macros (Manorit)
	- modified J721E defconfigs to include missed out configs
	  (Andrew)

Boot logs:
https://gist.github.com/nehamalcom/07dc7f95173f0bb67a8a26a6b3ab2b00

Neha Malcom Francis (4):
  configs: j721e_sk: Move to separate defconfig for J721E SK board
  tools: binman: control.py: Delete template nodes after parsing
  arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries
  arm: dts: k3-j721e: Move to OF_UPSTREAM

 arch/arm/dts/Makefile                         |    4 +-
 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  |  161 +-
 arch/arm/dts/k3-am625-phycore-som-binman.dtsi |  291 +-
 arch/arm/dts/k3-am625-r5-beagleplay.dts       |   39 -
 arch/arm/dts/k3-am625-sk-binman.dtsi          |  148 +-
 arch/arm/dts/k3-am625-sk-u-boot.dtsi          |   42 +
 .../dts/k3-am625-verdin-wifi-dev-binman.dtsi  |  296 +-
 arch/arm/dts/k3-am62a-sk-binman.dtsi          |  146 +-
 arch/arm/dts/k3-am62a7-sk-u-boot.dtsi         |   42 +
 arch/arm/dts/k3-am642-evm-u-boot.dtsi         |   42 +
 arch/arm/dts/k3-am642-sk-u-boot.dtsi          |   42 +
 arch/arm/dts/k3-am64x-binman.dtsi             |  239 +-
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi  |   49 +
 arch/arm/dts/k3-am65x-binman.dtsi             |  144 +-
 .../arm/dts/k3-am68-sk-base-board-u-boot.dtsi |   26 +
 arch/arm/dts/k3-am69-sk-u-boot.dtsi           |   31 +-
 arch/arm/dts/k3-binman.dtsi                   |   96 +
 arch/arm/dts/k3-j7200-binman.dtsi             |  145 +-
 .../k3-j7200-common-proc-board-u-boot.dtsi    |   40 +
 .../dts/k3-j721e-beagleboneai64-u-boot.dtsi   |  154 +-
 arch/arm/dts/k3-j721e-binman.dtsi             |  262 +-
 .../k3-j721e-common-proc-board-u-boot.dtsi    |   84 +
 arch/arm/dts/k3-j721e-common-proc-board.dts   |  976 ------
 arch/arm/dts/k3-j721e-main.dtsi               | 2741 -----------------
 arch/arm/dts/k3-j721e-mcu-wakeup.dtsi         |  681 ----
 arch/arm/dts/k3-j721e-r5-beagleboneai64.dts   |   91 +-
 arch/arm/dts/k3-j721e-sk-u-boot.dtsi          |   84 +
 arch/arm/dts/k3-j721e-sk.dts                  | 1074 -------
 arch/arm/dts/k3-j721e-som-p0.dtsi             |  446 ---
 arch/arm/dts/k3-j721e-thermal.dtsi            |   75 -
 arch/arm/dts/k3-j721e.dtsi                    |  176 --
 arch/arm/dts/k3-j721s2-binman.dtsi            |  231 +-
 .../k3-j721s2-common-proc-board-u-boot.dtsi   |   42 +
 arch/arm/dts/k3-j784s4-binman.dtsi            |  154 +-
 arch/arm/dts/k3-j784s4-evm-u-boot.dtsi        |   42 +
 board/ti/j721e/MAINTAINERS                    |    2 +
 configs/j721e_evm_a72_defconfig               |    5 +-
 configs/j721e_evm_r5_defconfig                |    2 +-
 configs/j721e_sk_a72_defconfig                |    9 +
 configs/j721e_sk_r5_defconfig                 |   10 +
 tools/binman/control.py                       |    6 +-
 41 files changed, 889 insertions(+), 8481 deletions(-)
 delete mode 100644 arch/arm/dts/k3-j721e-common-proc-board.dts
 delete mode 100644 arch/arm/dts/k3-j721e-main.dtsi
 delete mode 100644 arch/arm/dts/k3-j721e-mcu-wakeup.dtsi
 delete mode 100644 arch/arm/dts/k3-j721e-sk.dts
 delete mode 100644 arch/arm/dts/k3-j721e-som-p0.dtsi
 delete mode 100644 arch/arm/dts/k3-j721e-thermal.dtsi
 delete mode 100644 arch/arm/dts/k3-j721e.dtsi
 create mode 100644 configs/j721e_sk_a72_defconfig
 create mode 100644 configs/j721e_sk_r5_defconfig

-- 
2.34.1



More information about the U-Boot mailing list