From: Leif Lindholm <leif.lindholm@linaro.org>
To: Heyi Guo <heyi.guo@linaro.org>
Cc: edk2-devel@lists.01.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: Re: [PATCH 1/2] Hisilicon/D0x: fix tftp command init failure
Date: Wed, 18 Apr 2018 11:59:27 +0100 [thread overview]
Message-ID: <20180418105927.cgppqxhl7qglx3zn@bivouac.eciton.net> (raw)
In-Reply-To: <1520391833-9344-1-git-send-email-heyi.guo@linaro.org>
On Wed, Mar 07, 2018 at 11:03:52AM +0800, Heyi Guo wrote:
> We need to set PcdShellLibAutoInitialize to FALSE for
> TftpDynamicCommand, or else we will get initialization failure when
> loading TftpDynamicCommand module, for EFI Shell has not been started
> at this moment.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
As requested on other thread, pushed separately as 06866930dc.
> ---
> Platform/Hisilicon/D03/D03.dsc | 5 ++++-
> Platform/Hisilicon/D05/D05.dsc | 5 ++++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
> index c4963063794b..cb0669d639d1 100644
> --- a/Platform/Hisilicon/D03/D03.dsc
> +++ b/Platform/Hisilicon/D03/D03.dsc
> @@ -517,5 +517,8 @@ [Components.common]
> gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
> }
> !ifdef $(INCLUDE_TFTP_COMMAND)
> - ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
> + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
> + <PcdsFixedAtBuild>
> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
> + }
> !endif #$(INCLUDE_TFTP_COMMAND)
> diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc
> index 0792b0814ea1..8373a821a496 100644
> --- a/Platform/Hisilicon/D05/D05.dsc
> +++ b/Platform/Hisilicon/D05/D05.dsc
> @@ -675,5 +675,8 @@ [Components.common]
> gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
> }
> !ifdef $(INCLUDE_TFTP_COMMAND)
> - ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
> + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
> + <PcdsFixedAtBuild>
> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
> + }
> !endif #$(INCLUDE_TFTP_COMMAND)
> --
> 2.7.4
>
prev parent reply other threads:[~2018-04-18 10:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 3:03 [PATCH 1/2] Hisilicon/D0x: fix tftp command init failure Heyi Guo
2018-03-07 3:03 ` [PATCH 2/2] Hisilicon/D0x: Enable tftp command by default Heyi Guo
2018-03-07 16:02 ` Ard Biesheuvel
2018-03-20 7:54 ` Guo Heyi
2018-03-20 9:51 ` Leif Lindholm
2018-03-20 12:15 ` Guo Heyi
2018-03-23 4:51 ` Ni, Ruiyu
2018-03-26 9:03 ` Guo Heyi
2018-04-02 2:51 ` Guo Heyi
2018-04-16 12:33 ` Leif Lindholm
2018-04-17 1:58 ` Guo Heyi
2018-04-18 10:59 ` Leif Lindholm [this message]
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=20180418105927.cgppqxhl7qglx3zn@bivouac.eciton.net \
--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