public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* uefi building for fu-540
@ 2021-04-04 15:21 Pullannagari  Babu
  2021-04-04 15:40 ` [edk2-devel] " Andrew Fish
  0 siblings, 1 reply; 4+ messages in thread
From: Pullannagari  Babu @ 2021-04-04 15:21 UTC (permalink / raw)
  To: devel@edk2.groups.io


[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]

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

[cid:adee7aab-3622-4a70-bb66-40077d41c23c]


Thanks
Babu P

[-- Attachment #1.2: Type: text/html, Size: 3604 bytes --]

[-- Attachment #2: Outlook-ie2qxiud.png --]
[-- Type: image/png, Size: 135256 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] uefi building for fu-540
  2021-04-04 15:21 uefi building for fu-540 Pullannagari  Babu
@ 2021-04-04 15:40 ` Andrew Fish
  2021-04-04 15:52   ` Pullannagari  Babu
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Fish @ 2021-04-04 15:40 UTC (permalink / raw)
  To: edk2-devel-groups-io, Pullannagari.babu

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

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@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
> 


[-- Attachment #2: Type: text/html, Size: 9782 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] uefi building for fu-540
  2021-04-04 15:40 ` [edk2-devel] " Andrew Fish
@ 2021-04-04 15:52   ` Pullannagari  Babu
  2021-04-04 21:59     ` Andrew Fish
  0 siblings, 1 reply; 4+ messages in thread
From: Pullannagari  Babu @ 2021-04-04 15:52 UTC (permalink / raw)
  To: edk2-devel-groups-io, afish@apple.com


[-- Attachment #1.1: Type: text/plain, Size: 1579 bytes --]

Hello Andrew,


Thanks for replying early,

If I build as root permissions, I'm facing the issue attached below.

[cid:649a0851-79c1-4d1b-9a51-f29d04c4a83d]


Thanks
Babu P

________________________________
From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Andrew Fish via groups.io <afish=apple.com@groups.io>
Sent: Sunday, April 4, 2021 9:10 PM
To: edk2-devel-groups-io <devel@edk2.groups.io>; Pullannagari Babu <Pullannagari.babu@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@exaleapsemi.com<mailto:Pullannagari.babu@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]

[-- Attachment #1.2: Type: text/html, Size: 11975 bytes --]

[-- Attachment #2: Screenshot from 2021-04-04 21-19-34.png --]
[-- Type: image/png, Size: 40269 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] uefi building for fu-540
  2021-04-04 15:52   ` Pullannagari  Babu
@ 2021-04-04 21:59     ` Andrew Fish
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Fish @ 2021-04-04 21:59 UTC (permalink / raw)
  To: Pullannagari Babu; +Cc: edk2-devel-groups-io

[-- Attachment #1: Type: text/plain, Size: 2063 bytes --]

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@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@edk2.groups.io <devel@edk2.groups.io> on behalf of Andrew Fish via groups.io <afish=apple.com@groups.io>
> Sent: Sunday, April 4, 2021 9:10 PM
> To: edk2-devel-groups-io <devel@edk2.groups.io>; Pullannagari Babu <Pullannagari.babu@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@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]
> 

[-- Attachment #2: Type: text/html, Size: 12427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-04 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 15:21 uefi building for fu-540 Pullannagari  Babu
2021-04-04 15:40 ` [edk2-devel] " Andrew Fish
2021-04-04 15:52   ` Pullannagari  Babu
2021-04-04 21:59     ` Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox