Skip to contentSkip to conversation

arm/fiptool : provides fiptool for packaging

PATCH In review Khasim Mohammed 3 participants 3 messages Jun 22, 2020 – Jun 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/fiptool : provides fiptool for packaging

Firmware Image Package (FIP), is a packaging format used by TF-A to package the firmware images in a single binary, this tool is used to package the binaries in FIP format.

Change-Id: Ie4108915c5d63be340d6f53148a6dff03d6d48e7
Issue-Id: PLATFORMS-3134

---
 .../fiptool/fiptool-native_2.3.bb             | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb
meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +29 -0
new file mode 100644
index 0000000..25ca111
@@ -0,0 +1,29 @@
+# Firmware Image Package (FIP)
+# It is a packaging format used by TF-A to package the
+# firmware images in a single binary.
+
+DESCRIPTION = "fiptool - Trusted Firmware tool for packaging"
+LICENSE = "BSD-3-Clause"
+
+SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;destsuffix=fiptool-${PV};protocol=https;"
+LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
+
+# Use fiptool from TF-A v2.3
+SRCREV = "ecd27ad85f1eba29f6bf92c39dc002c85b07dad5"
+
+DEPENDS += "openssl-native"
+
+inherit native
+
+do_compile () {
+    # These changes are needed to have the fiptool compiling and executing properly
+    sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
+    sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile
+
+    oe_runmake fiptool
+}
+
+do_install () {
+    install -d ${D}${bindir}/
+    install -m 0755 tools/fiptool/fiptool ${D}${bindir}
+}
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Khasim Mohammed

Firmware Image Package (FIP), is a packaging format used by TF-A to package the firmware images in a single binary, this tool is used to package the binaries in FIP format.

Change-Id: Ie4108915c5d63be340d6f53148a6dff03d6d48e7
Issue-Id: PLATFORMS-3134

Quoted 49 lines
---
 .../fiptool/fiptool-native_2.3.bb             | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb
meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +8 -0
new file mode 100644
index 0000000..25ca111
@@ -0,0 +1,29 @@
+# Firmware Image Package (FIP)
+# It is a packaging format used by TF-A to package the
+# firmware images in a single binary.
+
+DESCRIPTION = "fiptool - Trusted Firmware tool for packaging"
+LICENSE = "BSD-3-Clause"
+
+SRC_URI =

"git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;destsuffix=fiptool-${PV};protocol=https;" +LIC_FILES_CHKSUM =
"file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +10 -0
+
+# Use fiptool from TF-A v2.3
+SRCREV = "ecd27ad85f1eba29f6bf92c39dc002c85b07dad5"
+
+DEPENDS += "openssl-native"
+
+inherit native
+
+do_compile () {
+    # These changes are needed to have the fiptool compiling and executing

properly

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +2 -0
+    sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
+    sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},'

${S}/tools/fiptool/Makefile

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +8 -0
+
+    oe_runmake fiptool
+}
+
+do_install () {
+    install -d ${D}${bindir}/
+    install -m 0755 tools/fiptool/fiptool ${D}${bindir}
+}
Signature · 1 line
2.17.1
#2 lore raw
Quoted 7 lines · Diego Sueiro
Quoted 5 lines · Khasim Mohammed

Firmware Image Package (FIP), is a packaging format used by TF-A to package the firmware images in a single binary, this tool is used to package the binaries in FIP format.

Quoted 5 lines
Quoted 3 lines

Change-Id: Ie4108915c5d63be340d6f53148a6dff03d6d48e7
Issue-Id: PLATFORMS-3134

Pulled into master.

Thanks,
Jon

Quoted 52 lines
Quoted 50 lines
---
 .../fiptool/fiptool-native_2.3.bb             | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb
meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +8 -0
new file mode 100644
index 0000000..25ca111
@@ -0,0 +1,29 @@
+# Firmware Image Package (FIP)
+# It is a packaging format used by TF-A to package the
+# firmware images in a single binary.
+
+DESCRIPTION = "fiptool - Trusted Firmware tool for packaging"
+LICENSE = "BSD-3-Clause"
+
+SRC_URI =

"git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;destsuffix=fiptool-${PV};protocol=https;" +LIC_FILES_CHKSUM =
"file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +10 -0
+
+# Use fiptool from TF-A v2.3
+SRCREV = "ecd27ad85f1eba29f6bf92c39dc002c85b07dad5"
+
+DEPENDS += "openssl-native"
+
+inherit native
+
+do_compile () {
+    # These changes are needed to have the fiptool compiling and executing

properly

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +2 -0
+    sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
+    sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},'

${S}/tools/fiptool/Makefile

meta-arm/recipes-devtools/fiptool/fiptool-native_2.3.bb new file +8 -0
+
+    oe_runmake fiptool
+}
+
+do_install () {
+    install -d ${D}${bindir}/
+    install -m 0755 tools/fiptool/fiptool ${D}${bindir}
+}
Signature · 1 line
2.17.1