[Buildroot] [PATCH v11 00/17] Add support for AM62x-SK HS-FS devices

Romain Naour romain.naour at smile.fr
Wed Apr 3 19:53:34 UTC 2024


This series aims initially to fix AM62x-SK HS-FS devices but doing so
would requires adding a TI legacy tool "ti-k3-core-secdev" into Buildroot.
ti-k3-core-secdev is replaced by u-boot's binman tool since v2023.10 release
of u-boot.

Instead, we bump the BSP to use the latest u-boot release (2024.01) to use
binman. Doing so requires to rework the TI K3 SoC support in Buildroot.

With the advice of Andreas Dannenberg (TI K3 architect), we switch
AM62x/AM62Ax/AM64x to HS-FS by default.

Tests performed on earlier revision of this series:

* compiled ti_am62x_sk_defconfig
  * success
* booted on AM62x SK EVM (E3)
  * success
  * no obvious errors in dmesg

Tested-by: Gero Schwäricke <gero.schwaericke at grandcentrix.net>

Dario Binacchi (12):
  boot/ti-k3-r5-loader: drop hash for version 2022.10
  package/ti-k3-image-gen: disable HS-FS for AM65 SOC
  package/ti-k3: move SoC familly and security type choices out of the
    image-gen scope
  boot/ti-k3-r5-loader: add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
  boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option
  boot/ti-k3-r5-loader: install tiboot3.bin and sysfw.itb to
    BINARIES_DIR
  configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01
  configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18
  board/ti/am62x-sk: generalize post-build.sh
  board/ti/am62x-sk: move post-build.sh to board/ti/common/am6xx
  configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01
  configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18

Romain Naour (5):
  board/ti/am6{2,4}x-sk: add arm-trusted-firmware v2.7 hash
  boot/uboot: remove BR2_TARGET_UBOOT_NEEDS_TI_K3_DM option
  boot/ti-k3-image-gen: remove package
  boot/ti-k3-r5-loader: remove BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN
  package/ti-k3: switch AM62x/AM62Ax/AM64x to HS-FS by default

 Config.in.legacy                              | 13 ++++
 DEVELOPERS                                    |  2 -
 board/ti/am62x-sk/genimage.cfg                |  7 +-
 .../arm-trusted-firmware.hash                 |  2 +
 .../patches/linux-headers/linux-headers.hash  |  1 +
 board/ti/am62x-sk/patches/linux/linux.hash    |  2 +
 .../ti-k3-r5-loader/ti-k3-r5-loader.hash      |  2 +
 board/ti/am64x-sk/genimage.cfg                |  7 +-
 .../arm-trusted-firmware.hash                 |  2 +
 .../patches/linux-headers/linux-headers.hash  |  1 +
 board/ti/am64x-sk/patches/linux/linux.hash    |  2 +
 .../ti-k3-r5-loader/ti-k3-r5-loader.hash      |  1 +
 board/ti/common/am6xx/post-build.sh           | 58 ++++++++++++++
 boot/Config.in                                |  1 -
 boot/ti-k3-image-gen/Config.in                | 77 -------------------
 boot/ti-k3-image-gen/ti-k3-image-gen.hash     |  3 -
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 54 -------------
 boot/ti-k3-r5-loader/Config.in                | 20 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.hash     |  1 -
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       | 25 +++++-
 boot/uboot/Config.in                          | 30 +++-----
 boot/uboot/uboot.mk                           | 18 +++--
 configs/ti_am62x_sk_defconfig                 | 23 +++---
 configs/ti_am64x_sk_defconfig                 | 22 ++++--
 package/Config.in                             |  1 +
 package/ti-k3/Config.in                       | 47 +++++++++++
 package/ti-k3/ti-k3.mk                        |  7 ++
 27 files changed, 245 insertions(+), 184 deletions(-)
 create mode 100644 board/ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 120000 board/ti/am62x-sk/patches/linux-headers/linux-headers.hash
 create mode 100644 board/ti/am62x-sk/patches/linux/linux.hash
 create mode 100644 board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
 create mode 100644 board/ti/am64x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 120000 board/ti/am64x-sk/patches/linux-headers/linux-headers.hash
 create mode 100644 board/ti/am64x-sk/patches/linux/linux.hash
 create mode 100644 board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
 create mode 100755 board/ti/common/am6xx/post-build.sh
 delete mode 100644 boot/ti-k3-image-gen/Config.in
 delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.hash
 delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.mk
 create mode 100644 package/ti-k3/Config.in
 create mode 100644 package/ti-k3/ti-k3.mk

--
2.44.0




More information about the buildroot mailing list