Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 2/5] armada-ddr: new package
Date: Sun, 12 Nov 2017 23:16:43 +0300	[thread overview]
Message-ID: <20171112201646.15558-3-geomatsi@gmail.com> (raw)
In-Reply-To: <20171112201646.15558-1-geomatsi@gmail.com>

This package adds Marvell Armada SoC DDR training algorithms.
This code is not built separately, it is needed as dependency
to build ATF firmware for Marvell Armada SoCs.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 boot/Config.in                  |  1 +
 boot/armada-ddr/Config.in       | 16 ++++++++++++++++
 boot/armada-ddr/armada-ddr.hash |  2 ++
 boot/armada-ddr/armada-ddr.mk   | 20 ++++++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 100644 boot/armada-ddr/Config.in
 create mode 100644 boot/armada-ddr/armada-ddr.hash
 create mode 100644 boot/armada-ddr/armada-ddr.mk

diff --git a/boot/Config.in b/boot/Config.in
index 0ffbd7288b..1363181fc5 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -18,5 +18,6 @@ source "boot/uboot/Config.in"
 source "boot/vexpress-firmware/Config.in"
 source "boot/xloader/Config.in"
 source "boot/armada-firmware/Config.in"
+source "boot/armada-ddr/Config.in"
 
 endmenu
diff --git a/boot/armada-ddr/Config.in b/boot/armada-ddr/Config.in
new file mode 100644
index 0000000000..23b71b8345
--- /dev/null
+++ b/boot/armada-ddr/Config.in
@@ -0,0 +1,16 @@
+config BR2_TARGET_ARMADA_DDR
+	bool "armada-ddr"
+	depends on BR2_aarch64
+	help
+	  Marvell keeps algorithms for DDR training in a separate repository.
+	  This code is not built separately, it is needed as dependency
+	  to build ATF firmware for Marvell Armada 7040 and 8040 SoCs.
+
+if BR2_TARGET_ARMADA_DDR
+
+config BR2_TARGET_ARMADA_DDR_VERSION
+	string "Armada DDR training code version"
+	help
+	  Marvell Armada DDR training code version
+
+endif
diff --git a/boot/armada-ddr/armada-ddr.hash b/boot/armada-ddr/armada-ddr.hash
new file mode 100644
index 0000000000..2dc36e0975
--- /dev/null
+++ b/boot/armada-ddr/armada-ddr.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 5f6f2b8c0742eb8b4ff716dc6715d20507c6ceadd5576aa446e407a428861de9 armada-ddr-mv_ddr-armada-17.10.tar.gz
diff --git a/boot/armada-ddr/armada-ddr.mk b/boot/armada-ddr/armada-ddr.mk
new file mode 100644
index 0000000000..5f76bfd7ed
--- /dev/null
+++ b/boot/armada-ddr/armada-ddr.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# Marvell Armada DDR training code
+#
+################################################################################
+
+ARMADA_DDR_VERSION = $(call qstrip,$(BR2_TARGET_ARMADA_DDR_VERSION))
+ARMADA_DDR_SITE = $(call github,MarvellEmbeddedProcessors,mv-ddr-marvell,$(ARMADA_DDR_VERSION))
+ARMADA_DDR_LICENSE = Proprietary
+
+ARMADA_DDR_INSTALL_IMAGES  = YES
+
+define ARMADA_DDR_INSTALL_IMAGES_CMDS
+	$(INSTALL) -m 0755 -d $(DL_DIR)/mv-ddr-marvell
+	$(call suitable-extractor,$(notdir $(ARMADA_DDR_SOURCE))) \
+		$(DL_DIR)/$(notdir $(ARMADA_DDR_SOURCE)) | \
+		$(TAR) --strip-components=1 -C $(DL_DIR)/mv-ddr-marvell $(TAR_OPTIONS) -
+endef
+
+$(eval $(generic-package))
-- 
2.11.0

  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 ` [Buildroot] [PATCH/next 1/5] armada-firmware: new package Sergey Matyukevich
2017-11-13  7:30   ` 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 ` Sergey Matyukevich [this message]
2017-11-13  8:00   ` [Buildroot] [PATCH/next 2/5] armada-ddr: " 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-3-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox