All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 03/11] board: Add Bananapi M64 support
Date: Mon, 4 Dec 2017 15:03:38 +0000	[thread overview]
Message-ID: <3669564e-b1ff-1ad3-80bd-3d0f021c7735@arm.com> (raw)
In-Reply-To: <CAMty3ZDAHW7OKSfrJXgLLncpOj8H_XCVDeBFSWaXtVqh5tGEWQ@mail.gmail.com>

Hi,

On 02/12/17 15:10, Jagan Teki wrote:
> + Andre
> 
> On Sat, Dec 2, 2017 at 8:28 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
>> Hello,
>>
>> On Wed,  1 Nov 2017 19:05:45 +0100, Jagan Teki wrote:
>>
>>> +# Firmware
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
>>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="bl31"
>>
>> What is this "bl31" additional variable doing?
> 
> Source build varies based on the exception levels switches, like bl31
> we have bl31, bl2, bl1

Those are not exception levels, but just stages of ATF: BROM loads bl1,
which (optionally) loads bl2 and possibly bl31 (if bl2 does not do this).
Various platforms can implement only a subset of these stages, the
Allwinner port chose to only implement bl31.
Technically we should express this in the Makefile snippets, so that
"make all" just builds bl31, but that's not easy to do in the Allwinner
port.

>> Aren't you hijacking the ADDITIONAL_VARIABLES thing to call the bl31
>> make target ?
> 
> Since ADDITIONAL_VARIABLES resembles to use additional parameters for
> ATF build, I've treated bl31 as additional variable for this ATF

I have the same feeling as Thomas: bl31 is just a make target (instead
of "all" and/or "fip"). So it should be treated like this. Using
ADDITIONAL_VARIABLES sounds like a hack.

Cheers,
Andre.

  reply	other threads:[~2017-12-04 15:03 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 18:05 [Buildroot] [PATCH v5 00/11] board: Add Allwinner A64/H5 boards Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 01/11] arm-trusted-firmware: Build FIP for BL33 Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 02/11] uboot: Add U-Boot-bundles-ATF support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 03/11] board: Add Bananapi M64 support Jagan Teki
     [not found]   ` <20171103181810202829132@banana-pi.com>
     [not found]     ` <2017110815285072387665@banana-pi.com>
2017-11-08  7:39       ` [Buildroot] 回复: " Thomas Petazzoni
2017-11-08  7:44         ` Jagan Teki
2017-12-02 14:58   ` [Buildroot] " Thomas Petazzoni
2017-12-02 15:10     ` Jagan Teki
2017-12-04 15:03       ` Andre Przywara [this message]
2017-12-04 15:18         ` Thomas Petazzoni
2017-11-01 18:05 ` [Buildroot] [PATCH v5 04/11] board: Add Pine64 support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 05/11] board: Add SoPine support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 06/11] board: Add FriendlyARM Nanopi A64 support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 07/11] board: Add FriendlyARM Nanopi NEO2 support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 08/11] board: Add Olimex A64-OLinuXino support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 09/11] board: Add Orangepi Win/Win Plus support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 10/11] board: Add Orangepi Prime support Jagan Teki
2017-11-01 18:05 ` [Buildroot] [PATCH v5 11/11] board: Add Orangepi Zero Plus2 support Jagan Teki
2017-11-06  9:39 ` [Buildroot] [PATCH v5 00/11] board: Add Allwinner A64/H5 boards Jagan Teki
2017-11-06  9:48   ` Thomas Petazzoni
2017-11-10  6:06     ` Jagan Teki
2017-11-10 12:33       ` nimaim
2017-11-23 16:27       ` Jagan Teki
2017-11-23 16:32         ` Thomas Petazzoni
2017-12-03 21:51 ` Thomas Petazzoni
2017-12-04  4:43   ` Jagan Teki
2017-12-04  8:04     ` Thomas Petazzoni
2017-12-19 20:48 ` Sergey Matyukevich
2017-12-20  9:05   ` Jagan Teki

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=3669564e-b1ff-1ad3-80bd-3d0f021c7735@arm.com \
    --to=andre.przywara@arm.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.