From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: "Ni, Ruiyu" <ruiyu.ni@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [PATCH v3 4/6] BeagleBoardPkg: Fix build failure due to Tftp library removal
Date: Wed, 29 Nov 2017 08:40:43 +0000 [thread overview]
Message-ID: <CAKv+Gu_vR1ddfqp3czkgys4Fk7vqCika-nYZcyEad7zKdzJvAg@mail.gmail.com> (raw)
In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5BAD6865@SHSMSX104.ccr.corp.intel.com>
On 29 November 2017 at 08:28, Ni, Ruiyu <ruiyu.ni@intel.com> wrote:
> Ard,
> PcdShellLibAutoInitialize is specially set to FALSE in old code for Shell.efi build.
> But in old code line 507, it is set FALSE for Shell.efi build.
> So the global setting of this PCD can be removed.
>
OK, fair enough.
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Thanks/Ray
>
>> -----Original Message-----
>> From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]
>> Sent: Wednesday, November 29, 2017 3:57 PM
>> To: Ni, Ruiyu <ruiyu.ni@intel.com>
>> Cc: edk2-devel@lists.01.org; Leif Lindholm <leif.lindholm@linaro.org>
>> Subject: Re: [PATCH v3 4/6] BeagleBoardPkg: Fix build failure due to Tftp
>> library removal
>>
>> On 29 November 2017 at 00:59, Ruiyu Ni <ruiyu.ni@intel.com> wrote:
>> > Contributed-under: TianoCore Contribution Agreement 1.1
>> > Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
>> > Cc: Leif Lindholm <leif.lindholm@linaro.org>
>> > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> > ---
>> > BeagleBoardPkg/BeagleBoardPkg.dsc | 16 +++++++++-------
>> > BeagleBoardPkg/BeagleBoardPkg.fdf | 3 ++-
>> > 2 files changed, 11 insertions(+), 8 deletions(-)
>> >
>> > diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc
>> b/BeagleBoardPkg/BeagleBoardPkg.dsc
>> > index 4f7c0bd645..d67ccf377e 100644
>> > --- a/BeagleBoardPkg/BeagleBoardPkg.dsc
>> > +++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
>> > @@ -2,7 +2,7 @@
>> > # Beagle board package.
>> > #
>> > # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
>> > -# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
>> > +# Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
>> > # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
>> > #
>> > # This program and the accompanying materials
>> > @@ -355,11 +355,6 @@ [PcdsFixedAtBuild.common]
>> > # OMAP Interrupt Controller
>> > gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000
>> >
>> > - # We want to use the Shell Libraries but don't want it to initialise
>> > - # automatically. We initialise the libraries when the command is called by
>> the
>> > - # Shell.
>> > - gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> > -
>>
>> Why are you moving this? The TFTP shell library is not the only user
>> of this PCD.
>>
>> > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
>> >
>> > # GUID of the UEFI Shell
>> > @@ -487,6 +482,14 @@ [Components.common]
>> >
>> NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
>> >
>> NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMainte
>> nanceManagerUiLib.inf
>> > }
>> > +
>> > + #
>> > + # Shell
>> > + #
>> > +
>> ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.
>> inf {
>> > + <PcdsFixedAtBuild>
>> > + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> > + }
>> > ShellPkg/Application/Shell/Shell.inf {
>> > <LibraryClasses>
>> >
>> ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellComma
>> ndLib.inf
>> > @@ -497,7 +500,6 @@ [Components.common]
>> >
>> NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Com
>> mandsLib.inf
>> >
>> NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1Com
>> mandsLib.inf
>> >
>> NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1
>> CommandsLib.inf
>> > -
>> NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib
>> .inf
>> >
>> HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingL
>> ib.inf
>> > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>> >
>> BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfg
>> CommandLib.inf
>> > diff --git a/BeagleBoardPkg/BeagleBoardPkg.fdf
>> b/BeagleBoardPkg/BeagleBoardPkg.fdf
>> > index c9c6afd714..71249c7eb3 100644
>> > --- a/BeagleBoardPkg/BeagleBoardPkg.fdf
>> > +++ b/BeagleBoardPkg/BeagleBoardPkg.fdf
>> > @@ -1,7 +1,7 @@
>> > # FLASH layout file for Beagle board.
>> > #
>> > # Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
>> > -# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
>> > +# Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
>> > # Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR>
>> > #
>> > # This program and the accompanying materials
>> > @@ -178,6 +178,7 @@ [FV.FvMain]
>> > # UEFI application (Shell Embedded Boot Loader)
>> > #
>> > INF ShellPkg/Application/Shell/Shell.inf
>> > + INF
>> ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.
>> inf
>> >
>> > #
>> > # Bds
>> > --
>> > 2.15.0.gvfs.1.preview.4
>> >
next prev parent reply other threads:[~2017-11-29 8:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 0:59 [PATCH v3 0/6] Fix build failure due to tftp/dp library removal Ruiyu Ni
2017-11-29 0:59 ` [PATCH v3 1/6] ShellPkg/tftp: Correct file comments header of Tftp.uni Ruiyu Ni
2017-11-29 0:59 ` [PATCH v3 2/6] EmulatorPkg: Fix build failure due to Tftp library removal Ruiyu Ni
2017-11-29 0:59 ` [PATCH v3 3/6] ArmVirtPkg: " Ruiyu Ni
2017-11-29 9:36 ` Ni, Ruiyu
2017-11-29 9:44 ` Ard Biesheuvel
2017-11-29 9:57 ` Ni, Ruiyu
2017-11-29 9:59 ` Ard Biesheuvel
2017-11-29 10:03 ` Ni, Ruiyu
2017-11-29 10:05 ` Ard Biesheuvel
2017-11-29 11:06 ` Laszlo Ersek
2017-11-29 0:59 ` [PATCH v3 4/6] BeagleBoardPkg: " Ruiyu Ni
2017-11-29 7:57 ` Ard Biesheuvel
2017-11-29 8:28 ` Ni, Ruiyu
2017-11-29 8:40 ` Ard Biesheuvel [this message]
2017-11-29 0:59 ` [PATCH v3 5/6] CorebootPayloadPkg: Fix build failure due to Tftp/Dp " Ruiyu Ni
2017-11-29 1:51 ` You, Benjamin
2017-11-29 0:59 ` [PATCH v3 6/6] OvmfPkg: Add tftp dynamic command Ruiyu Ni
2017-11-29 10:53 ` Laszlo Ersek
2017-11-29 13:12 ` Ni, Ruiyu
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+Gu_vR1ddfqp3czkgys4Fk7vqCika-nYZcyEad7zKdzJvAg@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