[PATCH v4 02/13] binman: qcom: Add type definitions for Qualcomm binaries
Varadarajan Narayanan
varadarajan.narayanan at oss.qualcomm.com
Thu Jun 4 11:31:21 CEST 2026
Add type definitions for Qualcomm's
appsbl -> APPS Boot Loader (U-Boot)
config -> Board/DDR related configuration
lib -> Library of proprietary routines
Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan at oss.qualcomm.com>
---
tools/binman/etype/qcom_appsbl.py | 18 ++++++++++++++++++
tools/binman/etype/qcom_config.py | 21 +++++++++++++++++++++
tools/binman/etype/qcom_lib.py | 21 +++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 tools/binman/etype/qcom_appsbl.py
create mode 100644 tools/binman/etype/qcom_config.py
create mode 100644 tools/binman/etype/qcom_lib.py
diff --git a/tools/binman/etype/qcom_appsbl.py b/tools/binman/etype/qcom_appsbl.py
new file mode 100644
index 00000000000..e308ebd2fca
--- /dev/null
+++ b/tools/binman/etype/qcom_appsbl.py
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+#
+# Entry-type module for U-Boot MBN image
+#
+
+from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
+
+class Entry_qcom_appsbl(Entry_blob_named_by_arg):
+ """U-Boot mbn image
+
+ Properties / Entry arguments:
+ - filename: Filename of u-boot MBN (default 'u-boot.mbn')
+
+ This is the U-Boot MBN image.
+ """
+ def __init__(self, section, etype, node):
+ super().__init__(section, etype, node, 'qcom-appsbl')
diff --git a/tools/binman/etype/qcom_config.py b/tools/binman/etype/qcom_config.py
new file mode 100644
index 00000000000..a1787c97b34
--- /dev/null
+++ b/tools/binman/etype/qcom_config.py
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+#
+# Entry-type module for QC Config ELF
+#
+
+from binman.entry import Entry
+from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
+
+class Entry_qcom_config(Entry_blob_named_by_arg):
+ """QC Config ELF
+
+ Properties / Entry arguments:
+ - qcom-config-path: Filename of QC Config ELF (typically 'qcconfig.elf')
+
+ This will be part of the Qualcomm SPL based bootloader image
+
+ """
+ def __init__(self, section, etype, node):
+ super().__init__(section, etype, node, 'qcom-config')
+ self.external = True
diff --git a/tools/binman/etype/qcom_lib.py b/tools/binman/etype/qcom_lib.py
new file mode 100644
index 00000000000..ca7666fe6e6
--- /dev/null
+++ b/tools/binman/etype/qcom_lib.py
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+#
+# Entry-type module for QC LIB ELF
+#
+
+from binman.entry import Entry
+from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
+
+class Entry_qcom_lib(Entry_blob_named_by_arg):
+ """QC LIB ELF
+
+ Properties / Entry arguments:
+ - qcom-lib-path: Filename of QC LIB ELF (typically 'QCLib.elf')
+
+ This will be part of the Qualcomm SPL based bootloader image
+
+ """
+ def __init__(self, section, etype, node):
+ super().__init__(section, etype, node, 'qcom-lib')
+ self.external = True
--
2.34.1
More information about the U-Boot
mailing list