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

Heiko Thiery heiko.thiery at gmail.com
Thu Apr 4 08:26:46 UTC 2024


Hi Romain, Hi All,

Am Mi., 3. Apr. 2024 um 21:54 Uhr schrieb Romain Naour <romain.naour at smile.fr>:
>
> 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.
>

I used this series as a base for building and testing an image for a
new upcoming board. Since we have to rely on U-boot 2024.04 I had to
make some changes/updates [1][2].

I know there are some discussions ongoing about the handling of the
BR2_PACKAGE_TI_K3_SECTYPE_X and BR2_PACKAGE_TI_K3_SOC_X. I see that
these variables are only used for selecting the right value for
BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN.  Since we can set this value
directly for each defconfig I think we can get rid of all this stuff.
Nevertheless there is a problem with the
BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN since it is not possible to
select a value in menuconfig because of the missing help text.

Otherwise it looks good to me

Tested-by: Heiko Thiery <heiko.thiery at gmail.com>

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20240404081021.1180936-1-heiko.thiery@gmail.com/
[2] https://patchwork.ozlabs.org/project/buildroot/list/?series=401631


>
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot



More information about the buildroot mailing list