public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK2 WilsonCityRVP BIOS Build Error
@ 2022-04-11 11:38 Akber Basha J
  2022-04-11 17:44 ` [edk2-devel] " Nate DeSimone
  2022-04-20  6:29 ` Akber Basha J
  0 siblings, 2 replies; 12+ messages in thread
From: Akber Basha J @ 2022-04-11 11:38 UTC (permalink / raw)
  To: devel; +Cc: mangeshs

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

Team,



We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.



Toolchains used:

GCC: 5 and 7 (getting same error for both GCC5 and GCC7)

IASL: 20211217

OS: Ubuntu-20.04-LTS

Source: Latest EDK2 "master" source is being used for compilation.



All pre-build tests has been run successfully.



With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.



Error screenshot has been attached with this mail for reference.







Any help would be appreciated.



Regards,

Akber

[-- Attachment #2.1: Type: text/html, Size: 1408 bytes --]

[-- Attachment #2.2: 1649676820232000_551811540.png --]
[-- Type: image/png, Size: 682902 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-11 11:38 EDK2 WilsonCityRVP BIOS Build Error Akber Basha J
@ 2022-04-11 17:44 ` Nate DeSimone
  2022-04-20  6:36   ` Akber Basha J
  2022-04-20  6:29 ` Akber Basha J
  1 sibling, 1 reply; 12+ messages in thread
From: Nate DeSimone @ 2022-04-11 17:44 UTC (permalink / raw)
  To: devel@edk2.groups.io, basha, akber; +Cc: Sadafale, Mangesh


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

Hi Akber,

It looks like you are trying to build without using the MinPlatform build script. Please try building using the following:

cd edk2
source edksetup.sh
cd ../edk2-platforms/Platform/Intel
python ./build_bios.py -p WilsonCityRvp

Thanks,
Nate

From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io>
Date: Monday, April 11, 2022 at 4:38 AM
To: devel <devel@edk2.groups.io>
Cc: Sadafale, Mangesh <mangesh.s@zohocorp.com>
Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
Team,

We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.

Toolchains used:
GCC: 5 and 7 (getting same error for both GCC5 and GCC7)
IASL: 20211217
OS: Ubuntu-20.04-LTS
Source: Latest EDK2 "master" source is being used for compilation.

All pre-build tests has been run successfully.

With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.

Error screenshot has been attached with this mail for reference.

[cid:0.28869215260.7406330471487565094.180186afcd9__inline__img__src]

Any help would be appreciated.

Regards,
Akber



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

[-- Attachment #2: 1649676820232000_551811540.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: EDK2 WilsonCityRVP BIOS Build Error
  2022-04-11 11:38 EDK2 WilsonCityRVP BIOS Build Error Akber Basha J
  2022-04-11 17:44 ` [edk2-devel] " Nate DeSimone
@ 2022-04-20  6:29 ` Akber Basha J
  1 sibling, 0 replies; 12+ messages in thread
From: Akber Basha J @ 2022-04-20  6:29 UTC (permalink / raw)
  To: devel

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

Team,



Any help/support available on this WilsonCityRvp BIOS build issue?



Regards,

Akber







---- On Mon, 11 Apr 2022 17:08:26 +0530 Akber Basha J <akberbasha.j@zohocorp.com> wrote ----



Team,



We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.



Toolchains used:

GCC: 5 and 7 (getting same error for both GCC5 and GCC7)

IASL: 20211217

OS: Ubuntu-20.04-LTS

Source: Latest EDK2 "master" source is being used for compilation.



All pre-build tests has been run successfully.



With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.



Error screenshot has been attached with this mail for reference.







Any help would be appreciated.



Regards,

Akber

[-- Attachment #2.1: Type: text/html, Size: 2116 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 682902 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-11 17:44 ` [edk2-devel] " Nate DeSimone
@ 2022-04-20  6:36   ` Akber Basha J
  2022-04-22 17:35     ` Nate DeSimone
  0 siblings, 1 reply; 12+ messages in thread
From: Akber Basha J @ 2022-04-20  6:36 UTC (permalink / raw)
  To: nathanielldesimone; +Cc: devel@edk2.groups.io

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

Hello Nate,



Thank you for your response.



Build is still getting failed after trying the steps you have mentioned.



Regards,

Akber







---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <nathaniel.l.desimone@intel.com> wrote ----




Hi Akber,

 

It looks like you are trying to build without using the MinPlatform build script. Please try building using the following:

 

cd edk2

source edksetup.sh

cd ../edk2-platforms/Platform/Intel

python ./build_bios.py -p WilsonCityRvp

 

Thanks,

Nate

 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io> on behalf of Akber Basha J via groups.io <akberbasha.j=mailto:zohocorp.com@groups.io>
 Date: Monday, April 11, 2022 at 4:38 AM
 To: devel <mailto:devel@edk2.groups.io>
 Cc: Sadafale, Mangesh <mailto:mangesh.s@zohocorp.com>
 Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Team,


 


We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.


 


Toolchains used:


GCC: 5 and 7 (getting same error for both GCC5 and GCC7)


IASL: 20211217


OS: Ubuntu-20.04-LTS


Source:  Latest EDK2 "master" source is being used for compilation.


 


All pre-build tests has been run successfully.


 


With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.


 


Error screenshot has been attached with this mail for reference.


 





 


Any help would be appreciated.


 


Regards,


Akber



 


[-- Attachment #2.1: Type: text/html, Size: 13121 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-20  6:36   ` Akber Basha J
@ 2022-04-22 17:35     ` Nate DeSimone
  2022-04-24 12:11       ` Akber Basha J
  0 siblings, 1 reply; 12+ messages in thread
From: Nate DeSimone @ 2022-04-22 17:35 UTC (permalink / raw)
  To: basha, akber; +Cc: devel@edk2.groups.io


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

Hi Akber,

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET being undefined.

Thanks,
Nate

From: Akber Basha J <akberbasha.j@zohocorp.com>
Sent: Tuesday, April 19, 2022 11:36 PM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>
Cc: devel@edk2.groups.io
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Nate,

Thank you for your response.

Build is still getting failed after trying the steps you have mentioned.

Regards,
Akber



---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>> wrote ----

Hi Akber,

It looks like you are trying to build without using the MinPlatform build script. Please try building using the following:

cd edk2
source edksetup.sh
cd ../edk2-platforms/Platform/Intel
python ./build_bios.py -p WilsonCityRvp

Thanks,
Nate

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> on behalf of Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io<mailto:zohocorp.com@groups.io>>
Date: Monday, April 11, 2022 at 4:38 AM
To: devel <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>
Cc: Sadafale, Mangesh <mangesh.s@zohocorp.com<mailto:mangesh.s@zohocorp.com>>
Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
Team,

We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.

Toolchains used:
GCC: 5 and 7 (getting same error for both GCC5 and GCC7)
IASL: 20211217
OS: Ubuntu-20.04-LTS
Source: Latest EDK2 "master" source is being used for compilation.

All pre-build tests has been run successfully.

With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.

Error screenshot has been attached with this mail for reference.

[cid:image001.png@01D85634.A214F440]

Any help would be appreciated.

Regards,
Akber





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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-22 17:35     ` Nate DeSimone
@ 2022-04-24 12:11       ` Akber Basha J
  2022-04-29 21:15         ` Oram, Isaac W
  0 siblings, 1 reply; 12+ messages in thread
From: Akber Basha J @ 2022-04-24 12:11 UTC (permalink / raw)
  To: nathanielldesimone; +Cc: devel

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


        

        
            Hello Nate,Yes. The error is same, relating to CPUTARGET.I have followed the steps exactly you shared.Regards,Akber---- On Fri, 22 Apr 2022 23:05:08 +0530  Desimone, Nathaniel L<nathaniel.l.desimone@intel.com> wrote ---- 
 
@font-face {font-family: &quot;Cambria Math&quot;} 
@font-face {font-family: Calibri} 
@font-face {font-family: Verdana} 
div.zm_3439600677699188033_parse_-8282203189211570726 p.MsoNormal, div.zm_3439600677699188033_parse_-8282203189211570726 li.MsoNormal, div.zm_3439600677699188033_parse_-8282203189211570726 div.MsoNormal { margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif } 
div.zm_3439600677699188033_parse_-8282203189211570726 a:link, div.zm_3439600677699188033_parse_-8282203189211570726 span.x_1281710661MsoHyperlink { color: blue; text-decoration: underline } 
div.zm_3439600677699188033_parse_-8282203189211570726 span.x_1281710661font { } 
div.zm_3439600677699188033_parse_-8282203189211570726 span.x_1281710661size { } 
div.zm_3439600677699188033_parse_-8282203189211570726 span.x_1281710661EmailStyle25 { font-family: Calibri, sans-serif; color: windowtext } 
div.zm_3439600677699188033_parse_-8282203189211570726 *.x_1281710661MsoChpDefault { font-size: 10pt } 
 
 
 
Hi Akber, 
  
Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET being undefined. 
  
Thanks, 
Nate 
  
 
 
From: Akber Basha J <akberbasha.j@zohocorp.com>  
Sent: Tuesday, April 19, 2022 11:36 PM 
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com> 
Cc: devel@edk2.groups.io 
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error 
 
 
  
 
 
Hello Nate, 
 
 
  
 
 
Thank you for your response. 
 
 
  
 
 
Build is still getting failed after trying the steps you have mentioned. 
 
 
  
 
 
Regards, 
 
 
Akber 
 
 
  
 
 
  
 
 
 
  
 
 
---- On Mon, 11 Apr 2022 23:14:14 +0530 
Desimone, Nathaniel L <nathaniel.l.desimone@intel.com> wrote ---- 
 
 
  
 
 
 
 
Hi Akber, 
  
It looks like you are trying to build without using the MinPlatform build script. Please try building using the following: 
  
cd edk2 
source edksetup.sh 
cd ../edk2-platforms/Platform/Intel 
python ./build_bios.py -p WilsonCityRvp 
  
Thanks, 
Nate 
  
 
From: 
devel@edk2.groups.io <devel@edk2.groups.io> 
 on behalf of Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io> 
Date: Monday, April 11, 2022 at 4:38 AM 
To: devel <devel@edk2.groups.io> 
Cc: Sadafale, Mangesh <mangesh.s@zohocorp.com> 
Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error 
 
 
 
Team, 
 
 
  
 
 
We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform. 
 
 
  
 
 
Toolchains used: 
 
 
GCC: 5 and 7 (getting same error for both GCC5 and 
 GCC7) 
 
 
IASL: 20211217 
 
 
OS: Ubuntu-20.04-LTS 
 
 
Source: 
Latest EDK2 "master" source is being used for compilation. 
 
 
  
 
 
All pre-build tests has been run successfully. 
 
 
  
 
 
With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are 
 thrown. 
 
 
  
 
 
Error screenshot has been attached with this mail for reference. 
 
 
  
 
 
 
 
 
  
 
 
Any help would be appreciated. 
 
 
  
 
 
Regards, 
 
 
Akber 
 
 
  
 
 
 
 
 
 
 
 
  
 
 
  
 

        
        

    
    


[-- Attachment #2.1: Type: text/html, Size: 16588 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-24 12:11       ` Akber Basha J
@ 2022-04-29 21:15         ` Oram, Isaac W
  2022-05-01 10:47           ` Akber Basha J
  0 siblings, 1 reply; 12+ messages in thread
From: Oram, Isaac W @ 2022-04-29 21:15 UTC (permalink / raw)
  To: devel@edk2.groups.io, basha, akber, Desimone, Nathaniel L


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

Akber,

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450

There are more fixes needed.  In the meantime, this workaround procedure worked for me:

export WORKSPACE=~/src
export EDK_TOOLS_PATH=~/src/edk2/BaseTools

cd ~/src/edk2

make -C BaseTools
. edksetup.sh BaseTools

cd ../edk2-platforms/Platform/Intel/
python build_bios.py -p WilsonCityRvp -t GCC5 -d

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed to perform the pre-build steps.
I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

Regards,
Isaac

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Akber Basha J via groups.io
Sent: Sunday, April 24, 2022 5:11 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>
Cc: devel <devel@edk2.groups.io>
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Nate,
Yes. The error is same, relating to CPUTARGET.
I have followed the steps exactly you shared.

Regards,
Akber




---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>> wrote ----

Hi Akber,

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET being undefined.

Thanks,
Nate

From: Akber Basha J <akberbasha.j@zohocorp.com<mailto:akberbasha.j@zohocorp.com>>
Sent: Tuesday, April 19, 2022 11:36 PM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>>
Cc: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Nate,

Thank you for your response.

Build is still getting failed after trying the steps you have mentioned.

Regards,
Akber



---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>> wrote ----

Hi Akber,

It looks like you are trying to build without using the MinPlatform build script. Please try building using the following:

cd edk2
source edksetup.sh
cd ../edk2-platforms/Platform/Intel
python ./build_bios.py -p WilsonCityRvp

Thanks,
Nate

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> on behalf of Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io<mailto:zohocorp.com@groups.io>>
Date: Monday, April 11, 2022 at 4:38 AM
To: devel <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>
Cc: Sadafale, Mangesh <mangesh.s@zohocorp.com<mailto:mangesh.s@zohocorp.com>>
Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
Team,

We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.

Toolchains used:
GCC: 5 and 7 (getting same error for both GCC5 and GCC7)
IASL: 20211217
OS: Ubuntu-20.04-LTS
Source: Latest EDK2 "master" source is being used for compilation.

All pre-build tests has been run successfully.

With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.

Error screenshot has been attached with this mail for reference.

[cid:image001.png@01D85BD1.89D06CA0]

Any help would be appreciated.

Regards,
Akber






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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-04-29 21:15         ` Oram, Isaac W
@ 2022-05-01 10:47           ` Akber Basha J
  2022-05-17  8:37             ` Akber Basha J
                               ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Akber Basha J @ 2022-05-01 10:47 UTC (permalink / raw)
  To: devel, isaacworam; +Cc: Desimone,   Nathaniel L

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

Hello Issac,



Thank you for your time and help.

Yes, the patch is working fine for both JunctionCity and WilsonCityRvp.

I will boot it on WIlsonCityRvp. If got any issues, will let you.



Regards,

Akber







---- On Sat, 30 Apr 2022 02:45:14 +0530 Oram, Isaac W <isaac.w.oram@intel.com> wrote ----




Akber,

 

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450
 

There are more fixes needed.  In the meantime, this workaround procedure worked for me:

 

export WORKSPACE=~/src

export EDK_TOOLS_PATH=~/src/edk2/BaseTools

 

cd ~/src/edk2

 

make -C BaseTools

. edksetup.sh BaseTools

 

cd ../edk2-platforms/Platform/Intel/

python build_bios.py -p WilsonCityRvp -t GCC5 -d

 

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed
 to perform the pre-build steps.

I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

 

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second
 SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

 

Regards,
 Isaac
 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>  On Behalf Of Akber Basha J via groups.io
 Sent: Sunday, April 24, 2022 5:11 AM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: devel <mailto:devel@edk2.groups.io>
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


Yes. The error is same, relating to CPUTARGET.


I have followed the steps exactly you shared.


 


Regards,


Akber


 


 


 



 


---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET
 being undefined.

 

Thanks,

Nate

 

From: Akber
 Basha J <mailto:akberbasha.j@zohocorp.com> 
 Sent: Tuesday, April 19, 2022 11:36 PM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: mailto:devel@edk2.groups.io
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


 


Thank you for your response.


 


Build is still getting failed after trying the steps you have mentioned.


 


Regards,


Akber


 


 


 


---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

It looks like you are trying to build without using the MinPlatform build
 script. Please try building using the following:

 

cd edk2

source edksetup.sh

cd ../edk2-platforms/Platform/Intel

python ./build_bios.py -p WilsonCityRvp

 

Thanks,

Nate

 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>
 on behalf of Akber Basha J via groups.io <akberbasha.j=mailto:zohocorp.com@groups.io>
 Date: Monday, April 11, 2022 at 4:38 AM
 To: devel <mailto:devel@edk2.groups.io>
 Cc: Sadafale, Mangesh <mailto:mangesh.s@zohocorp.com>
 Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Team,


 


We are getting build errors while trying to build BIOS for Intel WilsonCityRVP
 under WhitleyOpenBoardPkg platform.


 


Toolchains used:


GCC: 5 and 7 (getting same error for both GCC5 and GCC7)


IASL: 20211217


OS: Ubuntu-20.04-LTS


Source: Latest EDK2 "master" source is being used for compilation.


 


All pre-build tests has been run successfully.


 


With the above-mentioned toolchains, we could successfully able to build
 BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.


 


Error screenshot has been attached with this mail for reference.


 





 


Any help would be appreciated.


 


Regards,


Akber



 





 



 





 







[-- Attachment #2.1: Type: text/html, Size: 46796 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-05-01 10:47           ` Akber Basha J
@ 2022-05-17  8:37             ` Akber Basha J
       [not found]             ` <16EFD79BCF54458D.13068@groups.io>
  2022-05-19  6:26             ` Akber Basha J
  2 siblings, 0 replies; 12+ messages in thread
From: Akber Basha J @ 2022-05-17  8:37 UTC (permalink / raw)
  To: devel, isaacworam; +Cc: Desimone,    Nathaniel L

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

Hello Issac,



For WilsonCityRvp and JunctionCity, the command python build_bios.py -p WilsonCityRvp -t GCC5 -d is getting failed with following error.





Any help would be appreciated.



Regards,

Akber





---- On Sun, 01 May 2022 16:17:40 +0530 Akber Basha J <akberbasha.j@zohocorp.com> wrote ----



Hello Issac,



Thank you for your time and help.

Yes, the patch is working fine for both JunctionCity and WilsonCityRvp.

I will boot it on WIlsonCityRvp. If got any issues, will let you.



Regards,

Akber







---- On Sat, 30 Apr 2022 02:45:14 +0530 Oram, Isaac W <mailto:isaac.w.oram@intel.com> wrote ----





lockquote>










Akber,

 

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450
 

There are more fixes needed.  In the meantime, this workaround procedure worked for me:

 

export WORKSPACE=~/src

export EDK_TOOLS_PATH=~/src/edk2/BaseTools

 

cd ~/src/edk2

 

make -C BaseTools

. edksetup.sh BaseTools

 

cd ../edk2-platforms/Platform/Intel/

python build_bios.py -p WilsonCityRvp -t GCC5 -d

 

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed
 to perform the pre-build steps.

I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

 

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second
 SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

 

Regards,
 Isaac
 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>  On Behalf Of Akber Basha J via groups.io
 Sent: Sunday, April 24, 2022 5:11 AM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: devel <mailto:devel@edk2.groups.io>
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


Yes. The error is same, relating to CPUTARGET.


I have followed the steps exactly you shared.


 


Regards,


Akber


 


 


 



 


---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET
 being undefined.

 

Thanks,

Nate

 

From: Akber
 Basha J <mailto:akberbasha.j@zohocorp.com> 
 Sent: Tuesday, April 19, 2022 11:36 PM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: mailto:devel@edk2.groups.io
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


 


Thank you for your response.


 


Build is still getting failed after trying the steps you have mentioned.


 


Regards,


Akber


 


 


 


---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

It looks like you are trying to build without using the MinPlatform build
 script. Please try building using the following:

 

cd edk2

source edksetup.sh

cd ../edk2-platforms/Platform/Intel

python ./build_bios.py -p WilsonCityRvp

 

Thanks,

Nate

 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>
 on behalf of Akber Basha J via groups.io <akberbasha.j=mailto:zohocorp.com@groups.io>
 Date: Monday, April 11, 2022 at 4:38 AM
 To: devel <mailto:devel@edk2.groups.io>
 Cc: Sadafale, Mangesh <mailto:mangesh.s@zohocorp.com>
 Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Team,


 


We are getting build errors while trying to build BIOS for Intel WilsonCityRVP
 under WhitleyOpenBoardPkg platform.


 


Toolchains used:


GCC: 5 and 7 (getting same error for both GCC5 and GCC7)


IASL: 20211217


OS: Ubuntu-20.04-LTS


Source: Latest EDK2 "master" source is being used for compilation.


 


All pre-build tests has been run successfully.


 


With the above-mentioned toolchains, we could successfully able to build
 BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.


 


Error screenshot has been attached with this mail for reference.


 





 


Any help would be appreciated.


 


Regards,


Akber



 





 



 





 







[-- Attachment #2.1: Type: text/html, Size: 48209 bytes --]

[-- Attachment #2.2: 1652776560046000_38959741.png --]
[-- Type: image/png, Size: 41470 bytes --]

[-- Attachment #2.3: 1.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
       [not found]             ` <16EFD79BCF54458D.13068@groups.io>
@ 2022-05-17 10:33               ` Akber Basha J
  0 siblings, 0 replies; 12+ messages in thread
From: Akber Basha J @ 2022-05-17 10:33 UTC (permalink / raw)
  To: devel, isaacworam; +Cc: Desimone,     Nathaniel L

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

Issac, 



Update: 

After commenting the function FspPcdListLibNull in file WhitleyFspBinPkg/Library/FspPcdListLibNull/FspPcdListLibNull.c, the error got resolved.



Seems its defined and unused, hence the warning as error.



Regards,

Akber







---- On Tue, 17 May 2022 14:07:27 +0530 Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io> wrote ----



Hello Issac,



For WilsonCityRvp and JunctionCity, the command python build_bios.py -p WilsonCityRvp -t GCC5 -d is getting failed with following error.





Any help would be appreciated.



Regards,

Akber





---- On Sun, 01 May 2022 16:17:40 +0530 Akber Basha J <mailto:akberbasha.j@zohocorp.com> wrote ----



Hello Issac,



Thank you for your time and help.

Yes, the patch is working fine for both JunctionCity and WilsonCityRvp.

I will boot it on WIlsonCityRvp. If got any issues, will let you.



Regards,

Akber







---- On Sat, 30 Apr 2022 02:45:14 +0530 Oram, Isaac W <mailto:isaac.w.oram@intel.com> wrote ----





lockquote>










Akber,

 

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450
 

There are more fixes needed.  In the meantime, this workaround procedure worked for me:

 

export WORKSPACE=~/src

export EDK_TOOLS_PATH=~/src/edk2/BaseTools

 

cd ~/src/edk2

 

make -C BaseTools

. edksetup.sh BaseTools

 

cd ../edk2-platforms/Platform/Intel/

python build_bios.py -p WilsonCityRvp -t GCC5 -d

 

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed
 to perform the pre-build steps.

I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

 

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second
 SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

 

Regards,
 Isaac
 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>  On Behalf Of Akber Basha J via groups.io
 Sent: Sunday, April 24, 2022 5:11 AM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: devel <mailto:devel@edk2.groups.io>
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


Yes. The error is same, relating to CPUTARGET.


I have followed the steps exactly you shared.


 


Regards,


Akber


 


 


 



 


---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET
 being undefined.

 

Thanks,

Nate

 

From: Akber
 Basha J <mailto:akberbasha.j@zohocorp.com> 
 Sent: Tuesday, April 19, 2022 11:36 PM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: mailto:devel@edk2.groups.io
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


 


Thank you for your response.


 


Build is still getting failed after trying the steps you have mentioned.


 


Regards,


Akber


 


 


 


---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

It looks like you are trying to build without using the MinPlatform build
 script. Please try building using the following:

 

cd edk2

source edksetup.sh

cd ../edk2-platforms/Platform/Intel

python ./build_bios.py -p WilsonCityRvp

 

Thanks,

Nate

 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>
 on behalf of Akber Basha J via groups.io <akberbasha.j=mailto:zohocorp.com@groups.io>
 Date: Monday, April 11, 2022 at 4:38 AM
 To: devel <mailto:devel@edk2.groups.io>
 Cc: Sadafale, Mangesh <mailto:mangesh.s@zohocorp.com>
 Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Team,


 


We are getting build errors while trying to build BIOS for Intel WilsonCityRVP
 under WhitleyOpenBoardPkg platform.


 


Toolchains used:


GCC: 5 and 7 (getting same error for both GCC5 and GCC7)


IASL: 20211217


OS: Ubuntu-20.04-LTS


Source: Latest EDK2 "master" source is being used for compilation.


 


All pre-build tests has been run successfully.


 


With the above-mentioned toolchains, we could successfully able to build
 BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.


 


Error screenshot has been attached with this mail for reference.


 





 


Any help would be appreciated.


 


Regards,


Akber



 





 



 





 



















[-- Attachment #2.1: Type: text/html, Size: 49522 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 41470 bytes --]

[-- Attachment #2.3: 2.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-05-01 10:47           ` Akber Basha J
  2022-05-17  8:37             ` Akber Basha J
       [not found]             ` <16EFD79BCF54458D.13068@groups.io>
@ 2022-05-19  6:26             ` Akber Basha J
  2022-05-19 17:57               ` Oram, Isaac W
  2 siblings, 1 reply; 12+ messages in thread
From: Akber Basha J @ 2022-05-19  6:26 UTC (permalink / raw)
  To: devel, isaacworam; +Cc: Desimone,    Nathaniel L

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

Hello Issac,



When trying to boot the generated BIOS image on WisonCityRVP platform, we are getting only blank screen.



Any debug suggestions or help would be appreciated.



Regards,

Akber







---- On Sun, 01 May 2022 16:17:40 +0530 Akber Basha J <akberbasha.j@zohocorp.com> wrote ----



Hello Issac,



Thank you for your time and help.

Yes, the patch is working fine for both JunctionCity and WilsonCityRvp.

I will boot it on WIlsonCityRvp. If got any issues, will let you.



Regards,

Akber







---- On Sat, 30 Apr 2022 02:45:14 +0530 Oram, Isaac W <mailto:isaac.w.oram@intel.com> wrote ----





lockquote>










Akber,

 

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450
 

There are more fixes needed.  In the meantime, this workaround procedure worked for me:

 

export WORKSPACE=~/src

export EDK_TOOLS_PATH=~/src/edk2/BaseTools

 

cd ~/src/edk2

 

make -C BaseTools

. edksetup.sh BaseTools

 

cd ../edk2-platforms/Platform/Intel/

python build_bios.py -p WilsonCityRvp -t GCC5 -d

 

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed
 to perform the pre-build steps.

I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

 

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second
 SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

 

Regards,
 Isaac
 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>  On Behalf Of Akber Basha J via groups.io
 Sent: Sunday, April 24, 2022 5:11 AM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: devel <mailto:devel@edk2.groups.io>
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


Yes. The error is same, relating to CPUTARGET.


I have followed the steps exactly you shared.


 


Regards,


Akber


 


 


 



 


---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET
 being undefined.

 

Thanks,

Nate

 

From: Akber
 Basha J <mailto:akberbasha.j@zohocorp.com> 
 Sent: Tuesday, April 19, 2022 11:36 PM
 To: Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com>
 Cc: mailto:devel@edk2.groups.io
 Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error


 

Hello Nate,


 


Thank you for your response.


 


Build is still getting failed after trying the steps you have mentioned.


 


Regards,


Akber


 


 


 


---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <mailto:nathaniel.l.desimone@intel.com> wrote ----


 


Hi Akber,

 

It looks like you are trying to build without using the MinPlatform build
 script. Please try building using the following:

 

cd edk2

source edksetup.sh

cd ../edk2-platforms/Platform/Intel

python ./build_bios.py -p WilsonCityRvp

 

Thanks,

Nate

 

From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>
 on behalf of Akber Basha J via groups.io <akberbasha.j=mailto:zohocorp.com@groups.io>
 Date: Monday, April 11, 2022 at 4:38 AM
 To: devel <mailto:devel@edk2.groups.io>
 Cc: Sadafale, Mangesh <mailto:mangesh.s@zohocorp.com>
 Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Team,


 


We are getting build errors while trying to build BIOS for Intel WilsonCityRVP
 under WhitleyOpenBoardPkg platform.


 


Toolchains used:


GCC: 5 and 7 (getting same error for both GCC5 and GCC7)


IASL: 20211217


OS: Ubuntu-20.04-LTS


Source: Latest EDK2 "master" source is being used for compilation.


 


All pre-build tests has been run successfully.


 


With the above-mentioned toolchains, we could successfully able to build
 BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.


 


Error screenshot has been attached with this mail for reference.


 





 


Any help would be appreciated.


 


Regards,


Akber



 





 



 





 







[-- Attachment #2.1: Type: text/html, Size: 47978 bytes --]

[-- Attachment #2.2: 1.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

* Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
  2022-05-19  6:26             ` Akber Basha J
@ 2022-05-19 17:57               ` Oram, Isaac W
  0 siblings, 0 replies; 12+ messages in thread
From: Oram, Isaac W @ 2022-05-19 17:57 UTC (permalink / raw)
  To: basha, akber, devel; +Cc: Desimone, Nathaniel L


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

Most commonly this has been because of a microcode mismatch with the populated processor.  Update edk2-non-osi/Silicon/Intel/WhitleySiliconBinPkg/IcxMicrocode with microcode matching a successfully booting image and rebuild.

Less common, but possibly helpful is taking your existing, booting RVP binary image, and using a hex editor to replace the BIOS region of the 64MB image with the 16MB BIOS binary image built.  Replace 0x03000000 to 0x03FFFFFF with the 16MB O:\Build\WhitleyOpenBoardPkg\DEBUG_VS2015x86\FV\WILSONCITYRVP.fd
Ensure you have BootGuard disabled and considerations like that.

We have occasionally seen issues with variants of WilsonCity HW that aren’t currently functional in the open code.  If microcode doesn’t correct the issue, we can share logs and hardware details privately and see if we can’t identify the issue from a working log.

I installed WSL with Debian and I was able to build and boot successfully.  I think that you are past these issues, but here are some config details just for your reference.
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
NASM version 2.15.05
Intel ACPI Component Architecture ASL+ Optimizing Compiler/Disassembler version 20200925

Regards,
Isaac

From: Akber Basha J <akberbasha.j@zohocorp.com>
Sent: Wednesday, May 18, 2022 11:26 PM
To: devel <devel@edk2.groups.io>; Oram, Isaac W <isaac.w.oram@intel.com>
Cc: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Issac,

When trying to boot the generated BIOS image on WisonCityRVP platform, we are getting only blank screen.

Any debug suggestions or help would be appreciated.

Regards,
Akber



---- On Sun, 01 May 2022 16:17:40 +0530 Akber Basha J <akberbasha.j@zohocorp.com<mailto:akberbasha.j@zohocorp.com>> wrote ----

Hello Issac,

Thank you for your time and help.
Yes, the patch is working fine for both JunctionCity and WilsonCityRvp.
I will boot it on WIlsonCityRvp. If got any issues, will let you.

Regards,
Akber



---- On Sat, 30 Apr 2022 02:45:14 +0530 Oram, Isaac W <isaac.w.oram@intel.com<mailto:isaac.w.oram@intel.com>> wrote ----


lockquote>



Akber,

I just sent a patch with some GCC build fixes.  https://edk2.groups.io/g/devel/message/89450
There are more fixes needed.  In the meantime, this workaround procedure worked for me:

export WORKSPACE=~/src
export EDK_TOOLS_PATH=~/src/edk2/BaseTools

cd ~/src/edk2

make -C BaseTools
. edksetup.sh BaseTools

cd ../edk2-platforms/Platform/Intel/
python build_bios.py -p WilsonCityRvp -t GCC5 -d

The problem as I currently understand it is that the pre_build_ex board specific extension is being run before the edk2 build environment is set up by the build_bios.py script.  The workaround effectively creates the environment needed to perform the pre-build steps.
I will confer with Nate on the correct fix for this.  It seems like we might need another extension point after ed2 build environment and before main build, but maybe there is a more elegant solution.

Also note that there has been an initial report of a binary compatibility issue between the FSP binary and the gcc built bootloader.  At this time it is not expected to boot properly.  The issue reported was only with enabling a second SATA drive.  But if there is a binary compatibility issue in the API, any number of things might be incorrect functionally with GCC built edk2 WhitleyOpenBoardPkg bootloader.

Regards,
Isaac

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Akber Basha J via groups.io
Sent: Sunday, April 24, 2022 5:11 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>>
Cc: devel <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Nate,
Yes. The error is same, relating to CPUTARGET.
I have followed the steps exactly you shared.

Regards,
Akber




---- On Fri, 22 Apr 2022 23:05:08 +0530 Desimone, Nathaniel L<nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>> wrote ----

Hi Akber,

Is the error in the build log the same as before? The build script should resolve the issue of CPUTARGET being undefined.

Thanks,
Nate

From: Akber Basha J <akberbasha.j@zohocorp.com<mailto:akberbasha.j@zohocorp.com>>
Sent: Tuesday, April 19, 2022 11:36 PM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>>
Cc: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: Re: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error

Hello Nate,

Thank you for your response.

Build is still getting failed after trying the steps you have mentioned.

Regards,
Akber



---- On Mon, 11 Apr 2022 23:14:14 +0530 Desimone, Nathaniel L <nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>> wrote ----

Hi Akber,

It looks like you are trying to build without using the MinPlatform build script. Please try building using the following:

cd edk2
source edksetup.sh
cd ../edk2-platforms/Platform/Intel
python ./build_bios.py -p WilsonCityRvp

Thanks,
Nate

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> on behalf of Akber Basha J via groups.io <akberbasha.j=zohocorp.com@groups.io<mailto:zohocorp.com@groups.io>>
Date: Monday, April 11, 2022 at 4:38 AM
To: devel <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>
Cc: Sadafale, Mangesh <mangesh.s@zohocorp.com<mailto:mangesh.s@zohocorp.com>>
Subject: [edk2-devel] EDK2 WilsonCityRVP BIOS Build Error
Team,

We are getting build errors while trying to build BIOS for Intel WilsonCityRVP under WhitleyOpenBoardPkg platform.

Toolchains used:
GCC: 5 and 7 (getting same error for both GCC5 and GCC7)
IASL: 20211217
OS: Ubuntu-20.04-LTS
Source: Latest EDK2 "master" source is being used for compilation.

All pre-build tests has been run successfully.

With the above-mentioned toolchains, we could successfully able to build BIOS images for TigerlakeURVP platform. But for WhitleyOpenBoardPkg, errors are thrown.

Error screenshot has been attached with this mail for reference.

[cid:image001.png@01D86B55.578E37C0]

Any help would be appreciated.

Regards,
Akber













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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 682933 bytes --]

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

end of thread, other threads:[~2022-05-19 18:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-11 11:38 EDK2 WilsonCityRVP BIOS Build Error Akber Basha J
2022-04-11 17:44 ` [edk2-devel] " Nate DeSimone
2022-04-20  6:36   ` Akber Basha J
2022-04-22 17:35     ` Nate DeSimone
2022-04-24 12:11       ` Akber Basha J
2022-04-29 21:15         ` Oram, Isaac W
2022-05-01 10:47           ` Akber Basha J
2022-05-17  8:37             ` Akber Basha J
     [not found]             ` <16EFD79BCF54458D.13068@groups.io>
2022-05-17 10:33               ` Akber Basha J
2022-05-19  6:26             ` Akber Basha J
2022-05-19 17:57               ` Oram, Isaac W
2022-04-20  6:29 ` Akber Basha J

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