boot/ti-k3-boot-firmware: new package

This is extracted from a patch from Xuanhao Shi, Anand Gadiyar and
Andreas Dannenberg submitted at
https://patchwork.ozlabs.org/project/buildroot/patch/20230616002359.4139814-3-dannenberg@ti.com/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2023-08-18 22:40:16 +02:00
parent a77db2f34c
commit 2389c76a95
5 changed files with 34 additions and 0 deletions

View File

@ -132,6 +132,7 @@ F: package/libxmlrpc/
F: package/python-docopt/
N: Anand Gadiyar <gadiyar@ti.com>
F: boot/ti-k3-boot-firmware/
F: boot/ti-k3-r5-loader/
N: André Zwing <nerv@dawncrow.de>
@ -3114,6 +3115,7 @@ N: Wojciech Niziński <niziak@spox.org>
F: package/fwup/
N: Xuanhao Shi <X15000177@gmail.com>
F: boot/ti-k3-boot-firmware/
F: boot/ti-k3-r5-loader/
N: Yair Ben Avraham <yairba@protonmail.com>

View File

@ -19,6 +19,7 @@ source "boot/opensbi/Config.in"
source "boot/s500-bootloader/Config.in"
source "boot/shim/Config.in"
source "boot/syslinux/Config.in"
source "boot/ti-k3-boot-firmware/Config.in"
source "boot/ti-k3-r5-loader/Config.in"
source "boot/uboot/Config.in"
source "boot/vexpress-firmware/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_TARGET_TI_K3_BOOT_FIRMWARE
bool "ti-k3-boot-firmware"
depends on BR2_aarch64
help
This package downloads and installs the TI-specific ti-sysfw
and ti-dm firmware needed to boot TI K3 platforms (which
include AM62x, AM64x, AM65x and more).

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 ab20ffbe7bba7e94be246b3417d33a914b3f07c16c47ef5a7f7602349a666a61 LICENSE.ti
sha256 6032a258ce731d987576115f5de44c677a6b0cf8bddcd61a9a2852928bdfff92 ti-linux-firmware-08.06.00.006.tar.xz

View File

@ -0,0 +1,21 @@
################################################################################
#
# ti-k3-boot-firmware
#
################################################################################
# The hash 340194800a581baf976360386dfc7b5acab8d948 defined in the
# Makefile of ti-k3-image-gen corresponds to the tag 08.06.00.006.
TI_K3_BOOT_FIRMWARE_VERSION = 08.06.00.006
TI_K3_BOOT_FIRMWARE_SITE = https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/snapshot
TI_K3_BOOT_FIRMWARE_SOURCE = ti-linux-firmware-$(TI_K3_BOOT_FIRMWARE_VERSION).tar.xz
TI_K3_BOOT_FIRMWARE_INSTALL_IMAGES = YES
TI_K3_BOOT_FIRMWARE_LICENSE = TI Proprietary
TI_K3_BOOT_FIRMWARE_LICENSE_FILES = LICENSE.ti
define TI_K3_BOOT_FIRMWARE_INSTALL_IMAGES_CMDS
cp -dpfr $(@D)/ti-sysfw $(BINARIES_DIR)/
cp -dpfr $(@D)/ti-dm $(BINARIES_DIR)/
endef
$(eval $(generic-package))