[edk2-devel] uefi building for fu-540

Andrew Fish via groups.io afish=apple.com at groups.io
Sun Apr 4 21:59:49 UTC 2021


You should probably just chmod the directory permissions so you can build from the git repo vs. trying to build with sudo or some such.

For each terminal window there is a onetime setup of sourcing . ./edksetup.sh (not extra dot to source command). That should setup your path. That looks missing in your 2nd failure.
> On Apr 4, 2021, at 8:52 AM, Pullannagari Babu <Pullannagari.babu at exaleapsemi.com> wrote:
> 
> 
> Hello Andrew,
> 
> 
> Thanks for replying early,
> 
> If I build as root permissions, I'm facing the issue attached below.
> 
> <Screenshot from 2021-04-04 21-19-34.png>
> 
> 
> 
> Thanks
> Babu P
> 
> From: devel at edk2.groups.io <devel at edk2.groups.io> on behalf of Andrew Fish via groups.io <afish=apple.com at groups.io>
> Sent: Sunday, April 4, 2021 9:10 PM
> To: edk2-devel-groups-io <devel at edk2.groups.io>; Pullannagari Babu <Pullannagari.babu at exaleapsemi.com>
> Subject: Re: [edk2-devel] uefi building for fu-540
>
> Babu,
> 
> The `Build` directory is created by the build for the build output. Looks like your problem is you don’t have privilege to add a directory in `/work/git/tianocore` Did you have to use `sudo` to add the directory? Seem like you need to fix the permissions of the tiancore directory.
> 
> Thanks,
> 
> Andrew Fish 
> 
>> On Apr 4, 2021, at 8:21 AM, Pullannagari Babu <Pullannagari.babu at exaleapsemi.com> wrote:
>> 
>> Hello All,
>> 
>> 
>> I'm trying to build UEFI for freedom-u540 board, I cloned these sources : edk2, edk2-non-osi , edk2-platforms. in my build directory 
>> 
>> then I'm facing the below issue 
>> 
>> build.py... : 
>> error 0005: Could not create directory /work/git/tianocore/Build/FreedomU500VC707/DEBUG_GCC5/RISCV64
>> 
>> then i craeted Build/FreedomU500VC707/DEBUG_GCC5/RISCV64 directory manually.
>> after i facing below issue please can you help out this.
>> 
>> 
>> build -a RISCV64 -p Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc -t GCC5
>> 
>> <Outlook-ie2qxiud.png>
>> 
>> 
>> Thanks
>> Babu P
> 
> [EXT]
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73687): https://edk2.groups.io/g/devel/message/73687
Mute This Topic: https://groups.io/mt/81845796/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210404/ca012d6b/attachment.htm>


More information about the edk2-devel-archive mailing list