public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Marcin Wojtas <mw@semihalf.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Leif Lindholm" <leif.lindholm@linaro.org>,
	"Jan Dąbroś" <jsd@semihalf.com>, "Hua Jing" <jinghua@marvell.com>,
	"Grzegorz Jaszczyk" <jaz@semihalf.com>,
	"David Sniatkiwicz" <davidsn@marvell.com>
Subject: Re: [platforms PATCH v3 5/5] Marvell/Armada7k8k: Wire up capsule support
Date: Mon, 4 Jun 2018 19:00:56 +0200	[thread overview]
Message-ID: <CAKv+Gu8neB1T7y2exsZnscc2WDU78+7DpKxDpoBM49feAztC3A@mail.gmail.com> (raw)
In-Reply-To: <CAPv3WKcDELB7NYudxLAsRWXUic63zX69Nhn=8oBQPjv5hEr4DA@mail.gmail.com>

On 4 June 2018 at 18:58, Marcin Wojtas <mw@semihalf.com> wrote:
> Ard,
>
> 2018-06-04 18:47 GMT+02:00 Ard Biesheuvel <ard.biesheuvel@linaro.org>:
>> On 4 June 2018 at 18:41, Marcin Wojtas <mw@semihalf.com> wrote:
>>> All required components are in place, so we can now
>>> add all necessary dependencies to build and use capsule support
>>> for Armada7k8k platforms. It is conditionally enabled
>>> with '-D CAPSULE_ENABLE' flag added during build time.
>>>
>>> Because the capsule generation must be sequential,
>>> due to boot requirements and glueing all binaries
>>> (BLE, ARM-TF, BL33) externally, introduce additional
>>> .dsc and .fdf file solely for creating the capsule.
>>>
>>> In order to build the capsule following parameters
>>> must be passed to the build command of the common file
>>> Silicon/Marvell/Armada7k8k/Armada7k8kCapsule.dsc:
>>>
>>> -D PLATFORM_NAME=<previously built platform name with capsule support>
>>> -D ARM_TRUSTED_FIRMWARE_IMAGE_PREFIX=<path/to/flash-image.bin>
>>>
>>
>> I think there was some miscommunication here:
>>
>> - PREFIX is not a full path, it is a prefix. So in this case, the
>> 'flash-image.bin' part should still be hardcoded, but the DEFINE
>> allows you to specify its location in the directory tree.
>> - apologies for bikeshedding/disagreeing with what Leif said
>> previously, but ARM_TRUSTED_FIRMWARE_IMAGE_PREFIX is not appropriate
>> here, given that flash-image.bin is the entire firmware image, so
>> ARM-TF, UEFI, and other bits and pieces that make up the full image. I
>> understand that Leif wants a generic prefix, but using it in
>> completely different ways (ARM-TF fip vs the entire firmware image)
>> defeats the purpose of that.
>>
>
> So is passing a full path a valid way for you?
>
> If yes, how a about following parameter name: 'FIRMWARE_IMAGE_PATH' ?
>

That works for me


  reply	other threads:[~2018-06-04 17:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 16:41 [platforms PATCH v3 0/5] Armada capsule support Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 1/5] Marvell/Armada70x0Db: Shift main FV from 0x0 address Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 2/5] Marvell/Aramda7k8k: Enable PEI booting stage Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 3/5] Marvell/Drivers: MvSpiFlashDxe: Add progress API Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 4/5] Marvell/Armada7k8k: Introduce capsule FW update implementation Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 5/5] Marvell/Armada7k8k: Wire up capsule support Marcin Wojtas
2018-06-04 16:47   ` Ard Biesheuvel
2018-06-04 16:58     ` Marcin Wojtas
2018-06-04 17:00       ` Ard Biesheuvel [this message]
2018-06-04 17:38       ` Leif Lindholm
2018-06-04 19:03         ` Marcin Wojtas

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-list 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=CAKv+Gu8neB1T7y2exsZnscc2WDU78+7DpKxDpoBM49feAztC3A@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /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