public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrew Goodbody" <andrew.goodbody@linaro.org>
To: Leif Lindholm <leif@nuviainc.com>, devel@edk2.groups.io
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Thomas Abraham <thomas.abraham@arm.com>,
	Liming Gao <gaoliming@byosoft.com.cn>
Subject: Re: [edk2-devel] Cannot build due to recent change
Date: Thu, 1 Oct 2020 12:06:07 +0100	[thread overview]
Message-ID: <8eb5e70a-a46e-6ebf-f4af-b27b0a345f49@linaro.org> (raw)
In-Reply-To: <20201001104332.GG5623@vanye>

On 01/10/2020 11:43, Leif Lindholm wrote:
> Hi Andrew,
> 
> Welcome to the list.

Thank you. I did BIOS work and some UEFI in a previous role but have 
been out of the loop for some years.

> First of all, it helps to cc maintainers of the bits you're having
> issues with.
> 
> The GetMaintainer.py script can look these up for you automatically
> for a given path:
> python ../edk2/BaseTools/Scripts/GetMaintainer.py -l Platform/ARM/JunoPkg/ArmJuno.dsc
> Platform/ARM/JunoPkg/ArmJuno.dsc
>    Leif Lindholm <leif@nuviainc.com>
>    Ard Biesheuvel <ard.biesheuvel@arm.com>
>    Thomas Abraham <thomas.abraham@arm.com>

Thanks for the pointer, will do in future.

> Anyway, yes - commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib
> to generate entropy in rand_pool"), merged through
> https://github.com/tianocore/edk2/pull/938 broke EmulatorPkg, and most
> platforms outside the main edk2 tree.
> 
> This should have been handled better.
> 
> But the fix is simple - if the platform port produces EFI_RNG_PROTOCOL
> from some onboard hw, you can use the approach from edk2-platforms
> commit 1e09147a01ae ("Platforms/RaspberryPi: Fix RPi4 RngLib build error").
> Otherwise, you can use the approach used in edk2 commit 416813753726
> ("ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg").

Just to be sure I understand this - most platforms outside of the main 
edk2 tree are going to need updating to take account of this change.

> If you're just trying to build something, you can rewind your edk2
> HEAD to the edk2-stable202008 tag.

Thanks, good to know.

Andrew

  reply	other threads:[~2020-10-01 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 12:16 Cannot build due to recent change andrew.goodbody
2020-10-01 10:43 ` [edk2-devel] " Leif Lindholm
2020-10-01 11:06   ` Andrew Goodbody [this message]
2020-10-01 11:12     ` Leif Lindholm
2020-10-01 11:07   ` Sami Mujawar
2020-10-02  9:18   ` Laszlo Ersek

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=8eb5e70a-a46e-6ebf-f4af-b27b0a345f49@linaro.org \
    --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