From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next v2 1/4] mv-ddr-marvell: new package
Date: Sat, 18 Nov 2017 11:35:46 +0300 [thread overview]
Message-ID: <20171118083549.9108-2-geomatsi@gmail.com> (raw)
In-Reply-To: <20171118083549.9108-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>
---
DEVELOPERS | 3 ++-
boot/Config.in | 1 +
boot/mv-ddr-marvell/Config.in | 7 +++++++
boot/mv-ddr-marvell/mv-ddr-marvell.hash | 2 ++
boot/mv-ddr-marvell/mv-ddr-marvell.mk | 18 ++++++++++++++++++
5 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 boot/mv-ddr-marvell/Config.in
create mode 100644 boot/mv-ddr-marvell/mv-ddr-marvell.hash
create mode 100644 boot/mv-ddr-marvell/mv-ddr-marvell.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 37b7dfe815..edca05ea6f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1478,8 +1478,9 @@ F: package/lua-resty-http/
F: package/mpir/
N: Sergey Matyukevich <geomatsi@gmail.com>
-F: package/xr819-xradio/
+F: boot/mv-ddr-marvell/
F: package/armbian-firmware/
+F: package/xr819-xradio/
F: board/orangepi/orangepi-zero
F: board/orangepi/orangepi-one
F: board/linksprite/pcduino
diff --git a/boot/Config.in b/boot/Config.in
index 2f46c8546e..3950c49524 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -10,6 +10,7 @@ source "boot/boot-wrapper-aarch64/Config.in"
source "boot/grub2/Config.in"
source "boot/gummiboot/Config.in"
source "boot/lpc32xxcdl/Config.in"
+source "boot/mv-ddr-marvell/Config.in"
source "boot/mxs-bootlets/Config.in"
source "boot/s500-bootloader/Config.in"
source "boot/syslinux/Config.in"
diff --git a/boot/mv-ddr-marvell/Config.in b/boot/mv-ddr-marvell/Config.in
new file mode 100644
index 0000000000..d5c28af97a
--- /dev/null
+++ b/boot/mv-ddr-marvell/Config.in
@@ -0,0 +1,7 @@
+config BR2_TARGET_MV_DDR_MARVELL
+ bool "Marvell DDR training code for ATF"
+ 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.
diff --git a/boot/mv-ddr-marvell/mv-ddr-marvell.hash b/boot/mv-ddr-marvell/mv-ddr-marvell.hash
new file mode 100644
index 0000000000..b96d4d2bc8
--- /dev/null
+++ b/boot/mv-ddr-marvell/mv-ddr-marvell.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 d413546367ffa3b5f4373a777b9efeb32dcc74d6106897c248935ecb79afc454 mv-ddr-marvell-656440a9690f3d07be9e3d2c39d7cf56fd96eb7b.tar.gz
diff --git a/boot/mv-ddr-marvell/mv-ddr-marvell.mk b/boot/mv-ddr-marvell/mv-ddr-marvell.mk
new file mode 100644
index 0000000000..e33065c24e
--- /dev/null
+++ b/boot/mv-ddr-marvell/mv-ddr-marvell.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# Marvell Armada DDR training code
+#
+################################################################################
+
+MV_DDR_MARVELL_VERSION = 656440a9690f3d07be9e3d2c39d7cf56fd96eb7b
+MV_DDR_MARVELL_SITE = $(call github,MarvellEmbeddedProcessors,mv-ddr-marvell,$(MV_DDR_MARVELL_VERSION))
+MV_DDR_MARVELL_LICENSE = GPL-2.0+, GPL-2.1 with FreeRTOS exception, BSD, Marvell Commercial
+MV_DDR_MARVELL_LICENSE_FILES = ddr3_init.c
+
+define MV_DDR_MARVELL_SRC_SYMLINK
+ ln -s $(BUILD_DIR)/mv-ddr-marvell-$(MV_DDR_MARVELL_VERSION) $(BUILD_DIR)/mv-ddr-marvell
+endef
+
+MV_DDR_MARVELL_POST_EXTRACT_HOOKS += MV_DDR_MARVELL_SRC_SYMLINK
+
+$(eval $(generic-package))
--
2.11.0
next prev parent reply other threads:[~2017-11-18 8:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-18 8:35 [Buildroot] [PATCH/next v2 0/4] Add support for MacchiatoBin board Sergey Matyukevich
2017-11-18 8:35 ` Sergey Matyukevich [this message]
2017-11-18 8:35 ` [Buildroot] [PATCH/next v2 2/4] binaries-marvell: new package Sergey Matyukevich
2017-11-18 8:35 ` [Buildroot] [PATCH/next v2 3/4] atf: add support for Marvell Armada SoCs Sergey Matyukevich
2017-11-18 8:35 ` [Buildroot] [PATCH/next v2 4/4] solidrun/macchiatobin: add new board Sergey Matyukevich
2017-11-29 6:55 ` [Buildroot] [PATCH/next v2 0/4] Add support for MacchiatoBin board Sergey Matyukevich
2017-12-02 14:56 ` Thomas Petazzoni
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=20171118083549.9108-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.