From: Lars Schmidt <l.schmidt@pengutronix.de>
To: distrokit@pengutronix.de
Cc: l.schmidt@pengutronix.de
Subject: [DistroKit] [PATCH v2 04/10] beagleplay: firmware-ti: initial package
Date: Tue, 24 Jun 2025 17:46:54 +0200 [thread overview]
Message-ID: <20250624-am62-beagleplay-v2-4-9fcf3e67a98b@pengutronix.de> (raw)
In-Reply-To: <20250624-am62-beagleplay-v2-0-9fcf3e67a98b@pengutronix.de>
Beagleplay needs ipc_echo_testb_mcu1_0_release_strip.xer5f
during boot process. This file will be copied into the FIP
image.
Signed-off-by: Lars Schmidt <l.schmidt@pengutronix.de>
---
configs/platform-v8a/platforms/firmware-ti.in | 7 +++
configs/platform-v8a/rules/firmware-ti.make | 67 +++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/configs/platform-v8a/platforms/firmware-ti.in b/configs/platform-v8a/platforms/firmware-ti.in
new file mode 100644
index 0000000000000000000000000000000000000000..0d8693cf26db60f0dc04352f50cf478b0afef83f
--- /dev/null
+++ b/configs/platform-v8a/platforms/firmware-ti.in
@@ -0,0 +1,7 @@
+## SECTION=non_free_firmware
+
+config FIRMWARE_TI
+ tristate
+ prompt "firmware-ti"
+ help
+ Inject necessary files for boot process from TI firmware for into Barebox-R5
diff --git a/configs/platform-v8a/rules/firmware-ti.make b/configs/platform-v8a/rules/firmware-ti.make
new file mode 100644
index 0000000000000000000000000000000000000000..16ff4dea49a50a94aca57da9c0d3054fb79bae3d
--- /dev/null
+++ b/configs/platform-v8a/rules/firmware-ti.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_FIRMWARE_TI) += firmware-ti
+
+#
+# Paths and names
+#
+FIRMWARE_TI_VERSION := 11.00.07
+FIRMWARE_TI_MD5 := 65377f3f8ada7f6276e088e1b87cc5c6
+FIRMWARE_TI := ti-linux-firmware-$(FIRMWARE_TI_VERSION)
+FIRMWARE_TI_SUFFIX := tar.gz
+FIRMWARE_TI_URL := https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/snapshot/$(FIRMWARE_TI).$(FIRMWARE_TI_SUFFIX)
+FIRMWARE_TI_SOURCE := $(SRCDIR)/$(FIRMWARE_TI).$(FIRMWARE_TI_SUFFIX)
+FIRMWARE_TI_DIR := $(BUILDDIR)/$(FIRMWARE_TI)
+FIRMWARE_TI_LICENSE := unknown
+FIRMWARE_TI_LICENSE_FILES :=
+
+FIRMWARE_TI_FIRMWARE_FILES := \
+ ti-fs-firmware-am62x-gp.bin \
+ ti-fs-firmware-am62x-hs-fs-cert.bin \
+ ti-fs-firmware-am62x-hs-fs-enc.bin
+
+#
+# Firmware blobs for barebox
+#
+ifdef PTXCONF_FIRMWARE_TI
+BAREBOX_R5_INJECT_FILES += \
+ $(foreach f,$(FIRMWARE_TI_FIRMWARE_FILES),ti-sysfw/$(f):firmware/$(f))
+endif
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+FIRMWARE_TI_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/firmware-ti.compile:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/firmware-ti.install:
+ @$(call targetinfo)
+ @$(foreach f,$(FIRMWARE_TI_FIRMWARE_FILES), \
+ install -v -D -m644 $(FIRMWARE_TI_DIR)/ti-sysfw/$(f) \
+ $(FIRMWARE_TI_PKGDIR)/usr/lib/firmware/ti-sysfw/$(f)$(ptx/nl))
+ @install -v -D -m644 $(FIRMWARE_TI_DIR)/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f \
+ $(FIRMWARE_TI_PKGDIR)/usr/lib/firmware/ti-dm/am62xx/ti-dm.bin
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.5
next prev parent reply other threads:[~2025-06-24 15:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-24 15:46 [DistroKit] [PATCH v2 00/10] Add beagleplay support to DistroKit Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 01/10] v8a: barebox: bump version v2025.03.0 -> v2025.06.0 Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 02/10] beagleplay: k3: barebox needs part of tf-a firmware Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 03/10] tf-a: unify handling of firmware parts for barebox Lars Schmidt
2025-06-24 15:46 ` Lars Schmidt [this message]
2025-06-24 15:46 ` [DistroKit] [PATCH v2 05/10] beagleplay: barebox: first stage bootloader for Cortex-R5 Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 06/10] beagleplay: fipimage: add fip image for K3 Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 07/10] beagleplay: add full image including bootloaders and rootfs Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 08/10] beagleplay: add initial kernel configuration Lars Schmidt
2025-06-24 15:46 ` [DistroKit] [PATCH v2 09/10] beagleplay: barebox: get second boot stage running Lars Schmidt
2025-06-24 15:47 ` [DistroKit] [PATCH v2 10/10] beagleplay: add initial platform config Lars Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250624-am62-beagleplay-v2-4-9fcf3e67a98b@pengutronix.de \
--to=l.schmidt@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox