[PATCH 00/15] board: ti: Add support for BeagleBone AI-64

Nishanth Menon nm at ti.com
Fri Nov 3 01:37:50 CET 2023


Cleanups for J721e/J7200 and add support for BeagleBone AI-64

Based off:
master 07fe79c93c5c Merge tag 'i2cfixes-for-v2024-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-i2c

Boot Logs:
J721e-SK: https://gist.github.com/nmenon/c144e64f1da9fd49997ef5794b056bb0
J721e-EVM: https://gist.github.com/nmenon/e79bed6807da05c723e71687fb3c0b90
J7200-HSEVM: https://gist.github.com/nmenon/5658dd6fa2f67bce915c77b25c02f897

BeagleBone AI-64:
SD/MMC boot: https://gist.github.com/nmenon/1e07858fb8ca39ca87e40d3894e4d9b7
eMMC boot: https://gist.github.com/nmenon/9b0602df1f1be2c6b512d135b0afae60
eMMC boot with SDcard detected: https://gist.github.com/nmenon/82058014f4b2f6b9ed21431bc675e12a

U-Boot CI: https://github.com/u-boot/u-boot/pull/444

BeagleBone AI-64 is introduced without EEPROM detection and cleanups
to j721e evm configuration is done to facilitate that. based on when
and timing of [1] is merged in, we can introduce an equivalent patch or
squash similar patch in for beagleboneai64.

Boot uses stdboot as default - so we also transition j721e over to
sdboot along with it.

Fixes a breakage with HBMC that was getting in my way of testing, but I
have'nt focussed on converting j7200 to stdboot - but probably a minor
patch similar to that in this series for j721e.

What works:
* emmc, sd, dhcp, basic i2c gpio etc..
* DDR looks stable as well.

TODO:
* PMIC support will need to be added for AVS to be active - something to
  do once upstream kernel gets that support
* USB boot is broken (or was just noticed) - some sort of regression with
  serdes is my best guess.
* We could potentially enable something like nvme boot as well if we can
  make PCIe work

Nishanth Menon (14):
  arm: mach-k3: j721e: Improve support for UDA FS
  configs: j7200: Remove HBMC_AM654 config
  board: ti: j721e: evm: Drop board check for ESM
  board: ti: j721e: evm: Drop unused headers
  board: ti: j721e: evm: Switch to using IS_ENABLED
  board: ti: j721e: evm: Drop board based serdes initialization
  board: ti: j721e: evm: Use IS_ENABLED with CONFIG_PHYS_64BIT
  board: ti: j721e: evm: Split code to isolate eeprom detected logic
  board: ti: j721e: j721e.env: Add explicit boot_targets
  configs: j721e_evm_a72_defconfig: Switch to bootstd
  arm: dts: k3-j721e-binman: Allow a single board configuration
  arm: dts: k3-j721e-binman: Use macros that can be overridden for dtbs
  board: ti: Add j721e_beagleboneai64_* config fragments and env file
  doc: board: ti: Add BeagleBone AI-64 documentation

Robert Nelson (1):
  arm: dts: Add k3-j721e-beagleboneai64

 arch/arm/dts/Makefile                         |    5 +-
 .../dts/k3-j721e-beagleboneai64-u-boot.dtsi   |  206 ++
 arch/arm/dts/k3-j721e-beagleboneai64.dts      |  993 ++++++++
 arch/arm/dts/k3-j721e-binman.dtsi             |   33 +-
 .../k3-j721e-common-proc-board-u-boot.dtsi    |    2 +
 .../k3-j721e-ddr-beagleboneai64-lp4-3200.dtsi | 2200 +++++++++++++++++
 arch/arm/dts/k3-j721e-r5-beagleboneai64.dts   |   96 +
 arch/arm/dts/k3-j721e-sk-u-boot.dtsi          |    2 +
 arch/arm/mach-k3/j721e_init.c                 |    9 +-
 board/ti/j721e/MAINTAINERS                    |    7 +
 board/ti/j721e/Makefile                       |    1 +
 board/ti/j721e/beagleboneai64.env             |   19 +
 board/ti/j721e/beagleboneai64_a72.config      |   55 +
 board/ti/j721e/beagleboneai64_r5.config       |   19 +
 board/ti/j721e/{evm.c => board-variants.c}    |  276 +--
 board/ti/j721e/evm.c                          |  459 +---
 board/ti/j721e/evm.h                          |   24 +
 board/ti/j721e/j721e.env                      |    1 +
 configs/j7200_evm_a72_defconfig               |    1 -
 configs/j7200_evm_r5_defconfig                |    1 -
 configs/j721e_evm_a72_defconfig               |    5 +-
 doc/board/ti/j721e_beagleboneai64.rst         |  327 +++
 doc/board/ti/k3.rst                           |    1 +
 23 files changed, 4083 insertions(+), 659 deletions(-)
 create mode 100644 arch/arm/dts/k3-j721e-beagleboneai64-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-j721e-beagleboneai64.dts
 create mode 100644 arch/arm/dts/k3-j721e-ddr-beagleboneai64-lp4-3200.dtsi
 create mode 100644 arch/arm/dts/k3-j721e-r5-beagleboneai64.dts
 create mode 100644 board/ti/j721e/beagleboneai64.env
 create mode 100644 board/ti/j721e/beagleboneai64_a72.config
 create mode 100644 board/ti/j721e/beagleboneai64_r5.config
 copy board/ti/j721e/{evm.c => board-variants.c} (63%)
 create mode 100644 board/ti/j721e/evm.h
 create mode 100644 doc/board/ti/j721e_beagleboneai64.rst

[1] https://lore.kernel.org/all/20231101170519.39627-1-afd@ti.com/
-- 
2.40.0



More information about the U-Boot mailing list