DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Lars Schmidt <l.schmidt@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Lars Schmidt <l.schmidt@pengutronix.de>
Subject: [DistroKit] [PATCH 06/12] beagleplay: firmware-ti: initial package
Date: Fri, 23 May 2025 10:10:43 +0200	[thread overview]
Message-ID: <20250523081049.1693633-7-l.schmidt@pengutronix.de> (raw)
In-Reply-To: <20250523081049.1693633-1-l.schmidt@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(+)
 create mode 100644 configs/platform-v8a/platforms/firmware-ti.in
 create mode 100644 configs/platform-v8a/rules/firmware-ti.make

diff --git a/configs/platform-v8a/platforms/firmware-ti.in b/configs/platform-v8a/platforms/firmware-ti.in
new file mode 100644
index 0000000..0d8693c
--- /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 0000000..16ff4de
--- /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




  parent reply	other threads:[~2025-05-23  8:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-23  8:10 [DistroKit] [PATCH 00/12] Add beagleplay support to DistroKit Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 01/12] v8a: barebox: bump version v2025.03.0 -> v2025.05.0 Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 02/12] beagleplay: tf-a: needs adaption for k3 boards Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 03/12] tf-a: k3 needs an additional compile argument Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 04/12] beagleplay: k3: barebox needs part of tf-a firmware Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 05/12] tf-a: unify handling of firmware parts for barebox Lars Schmidt
2025-05-23  8:49   ` Alexander Dahl
2025-05-23  8:10 ` Lars Schmidt [this message]
2025-05-23  8:10 ` [DistroKit] [PATCH 07/12] beagleplay: barebox: first stage bootloader for Cortex-R5 Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 08/12] beagleplay: fipimage: add fip image for K3 Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 09/12] beagleplay: add full image including bootloaders and rootfs Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 10/12] beagleplay: add initial kernel configuration Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 11/12] beagleplay: barebox: update config for beagleplay Lars Schmidt
2025-05-23  8:10 ` [DistroKit] [PATCH 12/12] 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=20250523081049.1693633-7-l.schmidt@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