From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 1/5] armada-firmware: new package
Date: Sun, 12 Nov 2017 23:16:42 +0300 [thread overview]
Message-ID: <20171112201646.15558-2-geomatsi@gmail.com> (raw)
In-Reply-To: <20171112201646.15558-1-geomatsi@gmail.com>
This package adds SCP BL2 firmware for Marvell Armada 7040 and 8040 SoCs.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
boot/Config.in | 1 +
boot/armada-firmware/Config.in | 19 +++++++++++++++++++
boot/armada-firmware/armada-firmware.hash | 2 ++
boot/armada-firmware/armada-firmware.mk | 18 ++++++++++++++++++
4 files changed, 40 insertions(+)
create mode 100644 boot/armada-firmware/Config.in
create mode 100644 boot/armada-firmware/armada-firmware.hash
create mode 100644 boot/armada-firmware/armada-firmware.mk
diff --git a/boot/Config.in b/boot/Config.in
index 2f46c8546e..0ffbd7288b 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -17,5 +17,6 @@ source "boot/ts4800-mbrboot/Config.in"
source "boot/uboot/Config.in"
source "boot/vexpress-firmware/Config.in"
source "boot/xloader/Config.in"
+source "boot/armada-firmware/Config.in"
endmenu
diff --git a/boot/armada-firmware/Config.in b/boot/armada-firmware/Config.in
new file mode 100644
index 0000000000..530b5622c8
--- /dev/null
+++ b/boot/armada-firmware/Config.in
@@ -0,0 +1,19 @@
+config BR2_TARGET_ARMADA_FIRMWARE
+ bool "armada-firmware"
+ depends on BR2_aarch64
+ help
+ Marvell Armada SCP BL2 firmware images.
+
+if BR2_TARGET_ARMADA_FIRMWARE
+
+config BR2_TARGET_ARMADA_FIRMWARE_IMAGE
+ string "Armada SCP BL2 image name"
+ help
+ Armada SCP BL2 firmware image name.
+
+config BR2_TARGET_ARMADA_FIRMWARE_VERSION
+ string "Armada SCP BL2 image version"
+ help
+ Armada SCP BL2 firmware image version.
+
+endif
diff --git a/boot/armada-firmware/armada-firmware.hash b/boot/armada-firmware/armada-firmware.hash
new file mode 100644
index 0000000000..5eeca9d6ea
--- /dev/null
+++ b/boot/armada-firmware/armada-firmware.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b310443c0d51d07b7c11597548685ae608b8478eee7095925427da6ab71e0168 armada-firmware-binaries-marvell-armada-17.10.tar.gz
diff --git a/boot/armada-firmware/armada-firmware.mk b/boot/armada-firmware/armada-firmware.mk
new file mode 100644
index 0000000000..d75dc7cb6c
--- /dev/null
+++ b/boot/armada-firmware/armada-firmware.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# Marvell Armada SCP BL2 firmware images
+#
+################################################################################
+
+ARMADA_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARMADA_FIRMWARE_VERSION))
+ARMADA_FIRMWARE_SITE = $(call github,MarvellEmbeddedProcessors,binaries-marvell,$(ARMADA_FIRMWARE_VERSION))
+ARMADA_FIRMWARE_LICENSE = Proprietary
+
+ARMADA_FIRMWARE_INSTALL_IMAGES = YES
+
+define ARMADA_FIRMWARE_INSTALL_IMAGES_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/mrvl_scp_bl2_7040.img $(BINARIES_DIR)/mrvl_scp_bl2_7040.img
+ $(INSTALL) -D -m 0644 $(@D)/mrvl_scp_bl2_8040.img $(BINARIES_DIR)/mrvl_scp_bl2_8040.img
+endef
+
+$(eval $(generic-package))
--
2.11.0
next prev parent reply other threads:[~2017-11-12 20:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-12 20:16 [Buildroot] [PATCH/next 0/5] Add support for MacchiatoBin board Sergey Matyukevich
2017-11-12 20:16 ` Sergey Matyukevich [this message]
2017-11-13 7:30 ` [Buildroot] [PATCH/next 1/5] armada-firmware: new package Baruch Siach
2017-11-13 19:47 ` Sergey Matyukevich
2017-11-14 22:07 ` Arnout Vandecappelle
2017-11-15 21:15 ` Sergey Matyukevich
2017-11-15 21:55 ` Arnout Vandecappelle
2017-11-12 20:16 ` [Buildroot] [PATCH/next 2/5] armada-ddr: " Sergey Matyukevich
2017-11-13 8:00 ` Baruch Siach
2017-11-13 20:12 ` Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 3/5] atf: add support for Marvell Armada SoCs Sergey Matyukevich
2017-11-13 8:23 ` Baruch Siach
2017-11-13 20:10 ` Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 4/5] solidrun/macchiatobin: add new board Sergey Matyukevich
2017-11-13 12:27 ` Baruch Siach
2017-11-13 12:51 ` Jan Kundrát
2017-11-13 13:13 ` Baruch Siach
2017-11-13 20:06 ` Sergey Matyukevich
2017-11-13 22:36 ` Thomas Petazzoni
2017-11-14 7:41 ` Antoine Ténart
2017-11-14 9:20 ` Sergey Matyukevich
2017-11-14 9:42 ` Antoine Ténart
2017-11-14 20:27 ` Sergey Matyukevich
2017-11-14 20:53 ` Antoine Ténart
2017-11-15 21:20 ` Sergey Matyukevich
2017-11-13 14:52 ` Baruch Siach
2017-11-13 19:51 ` Sergey Matyukevich
2017-11-14 19:11 ` Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 5/5] Add myself to MacchiatoBin releated packages Sergey Matyukevich
2017-11-14 21:58 ` [Buildroot] [PATCH/next 0/5] Add support for MacchiatoBin board Arnout Vandecappelle
2017-11-15 15:59 ` Baruch Siach
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=20171112201646.15558-2-geomatsi@gmail.com \
--to=geomatsi@gmail.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.