* [Buildroot] [PATCH v3 0/2] Generate ADI ADSP boot streams
@ 2025-09-08 11:51 Philip Molloy
2025-09-08 11:51 ` [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package Philip Molloy
2025-09-08 11:52 ` [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format Philip Molloy
0 siblings, 2 replies; 5+ messages in thread
From: Philip Molloy @ 2025-09-08 11:51 UTC (permalink / raw)
To: buildroot; +Cc: Michael Hennerich, Philip Molloy, Thomas Petazzoni
From: Philip Molloy <philip.molloy@analog.com>
adsp-ldr is a command-line tool that generates boot streams for ADI ADSP
processors. It is required to boot U-Boot on ADSP processors. This series is
the first step in adding support for the SC598 EZ-KIT evaluation board, and
eventually other boards.
Successful pipeline for this series:
https://gitlab.com/pamolloy/buildroot/-/pipelines/2027407298
Branch containing this series:
git clone -b staging/philip/adsp-ldr https://github.com/analogdevicesinc/buildroot.git
The entire series adding support for the SC598 EZ-KIT evaluation board:
git clone -b staging/philip/support-sc5xx-eval-boards https://github.com/analogdevicesinc/buildroot.git
---
Changes v2 -> v3:
- Consolidate BR2_TARGET_UBOOT_FORMAT_ADSP_LDR conditionals
- Add help for BR2_TARGET_UBOOT_FORMAT_ADSP_LDR
- Update comment in HOST_ADSP_LDR_INSTALL_CMDS
Changes v1 -> v2:
- Bump to adsp-ldr from v1.0.0 to v1.0.1
- Replace autotools with meson
- The version is generated using git describe and added to a custom source
archive using meson dist. Since Github doesn't support modifying source
archives use the custom archive added to the Github release
- Remove GPL source code and add dependency on libusb
- Remove _SUBDIR
- Squash PATCH 4/4 modifying DEVELOPERS
- Move Config.in to Config.in.host
- Add host-adsp-ldr as a dependency to U-Boot when
BR2_TARGET_UBOOT_FORMAT_ADSP_LDR is enabled
- Add comment explaining $(TARGET_CROSS)ldr installation
Philip Molloy (2):
package/adsp-ldr: new package
boot/uboot: add ADSP LDR binary format
DEVELOPERS | 3 +++
boot/uboot/Config.in | 8 ++++++++
boot/uboot/uboot.mk | 5 +++++
package/Config.in.host | 1 +
package/adsp-ldr/Config.in.host | 8 ++++++++
package/adsp-ldr/adsp-ldr.hash | 3 +++
package/adsp-ldr/adsp-ldr.mk | 21 +++++++++++++++++++++
7 files changed, 49 insertions(+)
create mode 100644 package/adsp-ldr/Config.in.host
create mode 100644 package/adsp-ldr/adsp-ldr.hash
create mode 100644 package/adsp-ldr/adsp-ldr.mk
--
2.50.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package
2025-09-08 11:51 [Buildroot] [PATCH v3 0/2] Generate ADI ADSP boot streams Philip Molloy
@ 2025-09-08 11:51 ` Philip Molloy
2026-01-02 17:56 ` Thomas Petazzoni via buildroot
2025-09-08 11:52 ` [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format Philip Molloy
1 sibling, 1 reply; 5+ messages in thread
From: Philip Molloy @ 2025-09-08 11:51 UTC (permalink / raw)
To: buildroot
Cc: Michael Hennerich, Philip Molloy, Thomas Petazzoni, Eric Le Bihan,
Philip Molloy
From: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
---
DEVELOPERS | 3 +++
package/Config.in.host | 1 +
package/adsp-ldr/Config.in.host | 8 ++++++++
package/adsp-ldr/adsp-ldr.hash | 3 +++
package/adsp-ldr/adsp-ldr.mk | 21 +++++++++++++++++++++
5 files changed, 36 insertions(+)
create mode 100644 package/adsp-ldr/Config.in.host
create mode 100644 package/adsp-ldr/adsp-ldr.hash
create mode 100644 package/adsp-ldr/adsp-ldr.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index a7bb3bd834..792f230e4c 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2742,6 +2742,9 @@ F: package/psplash/
F: package/sispmctl/
F: package/zsh/
+N: Philip Molloy <philip@philipmolloy.com>
+F: package/adsp-ldr/
+
N: Philipp Richter <richterphilipp.pops@gmail.com>
F: package/libtorrent-rasterbar/
diff --git a/package/Config.in.host b/package/Config.in.host
index b0f7529a13..7ead116aa1 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -1,6 +1,7 @@
menu "Host utilities"
source "package/abootimg/Config.in.host"
+ source "package/adsp-ldr/Config.in.host"
source "package/aespipe/Config.in.host"
source "package/agent-proxy/Config.in.host"
source "package/amlogic-boot-fip/Config.in.host"
diff --git a/package/adsp-ldr/Config.in.host b/package/adsp-ldr/Config.in.host
new file mode 100644
index 0000000000..4776440eea
--- /dev/null
+++ b/package/adsp-ldr/Config.in.host
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HOST_ADSP_LDR
+ bool "host adsp-ldr"
+ help
+ adsp-ldr is a tool that generates boot streams to be
+ loaded and executed by the boot ROM of Analog Devices
+ ADSP-SCXXX SoCs
+
+ https://github.com/analogdevicesinc/adsp-ldr
diff --git a/package/adsp-ldr/adsp-ldr.hash b/package/adsp-ldr/adsp-ldr.hash
new file mode 100644
index 0000000000..459b48cf09
--- /dev/null
+++ b/package/adsp-ldr/adsp-ldr.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 a1b1b5700b75e47bae7f656cd61f8c635f5d3c82a90e20dfe594e0a3315e4eef LICENSE
+sha256 0f240aa5aad9300d8f4bc7ffd9cc1c53e01dfd6120de4f20f60d4d4176d99c10 adsp-ldr-v1.0.1.tar.xz
diff --git a/package/adsp-ldr/adsp-ldr.mk b/package/adsp-ldr/adsp-ldr.mk
new file mode 100644
index 0000000000..d269ddb093
--- /dev/null
+++ b/package/adsp-ldr/adsp-ldr.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# adsp-ldr
+#
+################################################################################
+
+ADSP_LDR_VERSION = 1.0.1
+ADSP_LDR_SOURCE = adsp-ldr-v$(ADSP_LDR_VERSION).tar.xz
+ADSP_LDR_SITE = https://github.com/analogdevicesinc/adsp-ldr/releases/download/v$(ADSP_LDR_VERSION)
+ADSP_LDR_LICENSE = BSD-3-Clause
+ADSP_LDR_LICENSE_FILES = LICENSE
+HOST_ADSP_LDR_DEPENDENCIES = host-libusb
+
+define HOST_ADSP_LDR_INSTALL_CMDS
+ # The U-Boot Makefile expects ldr to be prefixed by $(CROSS_COMPILE),
+ # hence the rename to $(TARGET_CROSS)ldr
+ $(INSTALL) -m 755 -D $(@D)/buildroot-build/ldr \
+ $(TARGET_CROSS)ldr
+endef
+
+$(eval $(host-meson-package))
--
2.50.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format
2025-09-08 11:51 [Buildroot] [PATCH v3 0/2] Generate ADI ADSP boot streams Philip Molloy
2025-09-08 11:51 ` [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package Philip Molloy
@ 2025-09-08 11:52 ` Philip Molloy
2026-01-02 17:56 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 5+ messages in thread
From: Philip Molloy @ 2025-09-08 11:52 UTC (permalink / raw)
To: buildroot; +Cc: Michael Hennerich, Philip Molloy, Thomas Petazzoni
From: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
---
boot/uboot/Config.in | 8 ++++++++
boot/uboot/uboot.mk | 5 +++++
2 files changed, 13 insertions(+)
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index a2301b7747..06e90b309c 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -479,6 +479,14 @@ config BR2_TARGET_UBOOT_FORMAT_QSPI_BIN
file for flashing by combining the spl/boot.bin and
u-boot.itb files into a unified binary.
+config BR2_TARGET_UBOOT_FORMAT_ADSP_LDR
+ bool "u-boot.ldr"
+ depends on BR2_arm || BR2_aarch64
+ help
+ Boot stream format for Analog Devices, Inc. ADSP-SCxxx
+ processors including 32-bit SC589, SC592, and SC594, as
+ well as 64-bit SC596 and SC598
+
config BR2_TARGET_UBOOT_FORMAT_STM32
bool "u-boot.stm32"
depends on BR2_arm
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 2796b0a310..9ad001c8a2 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -257,6 +257,11 @@ UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/$(notdir $(ROCKCHIP_RKBIN_TEE_FILENAME))
endif
endif
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_ADSP_LDR),y)
+UBOOT_BINS += u-boot.ldr
+UBOOT_DEPENDENCIES += host-adsp-ldr
+endif
+
ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
UBOOT_DEPENDENCIES += host-dtc
UBOOT_MAKE_OPTS += DTC=$(HOST_DIR)/bin/dtc
--
2.50.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package
2025-09-08 11:51 ` [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package Philip Molloy
@ 2026-01-02 17:56 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-02 17:56 UTC (permalink / raw)
To: Philip Molloy; +Cc: buildroot, Michael Hennerich, Philip Molloy, Eric Le Bihan
Hello Philip,
On Mon, 08 Sep 2025 11:51:59 +0000
Philip Molloy <philip@philipmolloy.com> wrote:
> +sha256 a1b1b5700b75e47bae7f656cd61f8c635f5d3c82a90e20dfe594e0a3315e4eef LICENSE
This license file hash was incorrect, so I fixed it up, and finally
applied your patch!
Sorry for the long delay.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format
2025-09-08 11:52 ` [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format Philip Molloy
@ 2026-01-02 17:56 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-02 17:56 UTC (permalink / raw)
To: Philip Molloy; +Cc: buildroot, Michael Hennerich, Philip Molloy
On Mon, 08 Sep 2025 11:52:07 +0000
Philip Molloy <philip@philipmolloy.com> wrote:
> From: Philip Molloy <philip.molloy@analog.com>
>
> Signed-off-by: Philip Molloy <philip.molloy@analog.com>
> ---
> boot/uboot/Config.in | 8 ++++++++
> boot/uboot/uboot.mk | 5 +++++
> 2 files changed, 13 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-01-02 17:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 11:51 [Buildroot] [PATCH v3 0/2] Generate ADI ADSP boot streams Philip Molloy
2025-09-08 11:51 ` [Buildroot] [PATCH v3 1/2] package/adsp-ldr: new package Philip Molloy
2026-01-02 17:56 ` Thomas Petazzoni via buildroot
2025-09-08 11:52 ` [Buildroot] [PATCH v3 2/2] boot/uboot: add ADSP LDR binary format Philip Molloy
2026-01-02 17:56 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox