From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 2/4] binaries-marvell: new package
Date: Sun, 3 Dec 2017 23:03:13 +0100 [thread overview]
Message-ID: <20171203230313.2cde5811@windsurf.home> (raw)
In-Reply-To: <20171203181818.10087-3-geomatsi@gmail.com>
Hello,
On Sun, 3 Dec 2017 21:18:16 +0300, Sergey Matyukevich wrote:
> diff --git a/boot/binaries-marvell/Config.in b/boot/binaries-marvell/Config.in
> new file mode 100644
> index 0000000000..0a0717cd26
> --- /dev/null
> +++ b/boot/binaries-marvell/Config.in
> @@ -0,0 +1,29 @@
> +config BR2_TARGET_BINARIES_MARVELL
> + bool "Marvell Armada SCP_BL2 image for ATF"
I've used the package name here as well.
> + depends on BR2_aarch64
> + help
> + Some systems, including Marvell Armada SoC, have a separate
> + System Control Processor (SCP) for power management, clocks,
> + reset and system control. ATF Boot Loader stage 2 (BL2) loads
> + optional SCP_BL2 image into a platform-specific region
> + of secure memory.
Added an upstream URL here.
> diff --git a/boot/binaries-marvell/binaries-marvell.mk b/boot/binaries-marvell/binaries-marvell.mk
> new file mode 100644
> index 0000000000..7bb5071aed
> --- /dev/null
> +++ b/boot/binaries-marvell/binaries-marvell.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# Marvell Armada SCP_BL2 firmware images
> +#
> +################################################################################
> +
> +BINARIES_MARVELL_VERSION = 0dabe23b956420b0928d337d635f0cd5646c33d0
> +BINARIES_MARVELL_SITE = $(call github,MarvellEmbeddedProcessors,binaries-marvell,$(BINARIES_MARVELL_VERSION))
> +BINARIES_MARVELL_LICENSE = PROPRIETARY
> +BINARIES_MARVELL_REDISTRIBUTE = NO
Well, if you can't distribute it... it's a bit problematic no?
In fact, there is a license on the master branch, i.e at
https://raw.githubusercontent.com/MarvellEmbeddedProcessors/binaries-marvell/master/README.md.
And to me, this is GPL-2.0 with the FreeRTOS exception, so I've changed
the BINARIES_MARVELL_LICENSE variable to that, and dropped
BINARIES_MARVELL_REDISTRIBUTE. Let me know what you think.
> +BINARIES_MARVELL_IMAGE = $(call qstrip,$(BR2_TARGET_BINARIES_MARVELL_IMAGE))
> +BINARIES_MARVELL_INSTALL_IMAGES = YES
> +
> +define BINARIES_MARVELL_INSTALL_IMAGES_CMDS
> + $(INSTALL) -D -m 0644 $(@D)/$(BINARIES_MARVELL_IMAGE) $(BINARIES_DIR)/scp-fw.bin
> +endef
> +
> +$(eval $(generic-package))
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-12-03 22:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-03 18:18 [Buildroot] [PATCH v3 0/4] Add support for MacchiatoBin board Sergey Matyukevich
2017-12-03 18:18 ` [Buildroot] [PATCH v3 1/4] mv-ddr-marvell: new package Sergey Matyukevich
2017-12-03 22:01 ` Thomas Petazzoni
2017-12-03 18:18 ` [Buildroot] [PATCH v3 2/4] binaries-marvell: " Sergey Matyukevich
2017-12-03 22:03 ` Thomas Petazzoni [this message]
2017-12-04 5:45 ` Baruch Siach
2017-12-04 8:01 ` Thomas Petazzoni
2017-12-03 18:18 ` [Buildroot] [PATCH v3 3/4] atf: add support for Marvell Armada SoCs Sergey Matyukevich
2017-12-03 22:04 ` Thomas Petazzoni
2017-12-03 18:18 ` [Buildroot] [PATCH v3 4/4] solidrun/macchiatobin: add new board Sergey Matyukevich
2017-12-03 21:35 ` Thomas Petazzoni
2017-12-03 21:53 ` [Buildroot] [PATCH v3 0/4] Add support for MacchiatoBin board Thomas Petazzoni
2017-12-04 6:10 ` Sergey Matyukevich
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=20171203230313.2cde5811@windsurf.home \
--to=thomas.petazzoni@free-electrons.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