From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: michael.a.kubacki@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Fri, 17 May 2019 18:19:38 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2019 18:19:37 -0700 X-ExtLoop1: 1 Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by orsmga005.jf.intel.com with ESMTP; 17 May 2019 18:19:37 -0700 Received: from orsmsx158.amr.corp.intel.com (10.22.240.20) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 17 May 2019 18:19:36 -0700 Received: from orsmsx121.amr.corp.intel.com ([169.254.10.47]) by ORSMSX158.amr.corp.intel.com ([169.254.10.135]) with mapi id 14.03.0415.000; Fri, 17 May 2019 18:19:36 -0700 From: "Kubacki, Michael A" To: "devel@edk2.groups.io" , "Agyeman, Prince" Subject: Re: [edk2-devel] [edk2-platforms] [PATCH 5/5] Intel/Readme.md: Updated readme with linux build instructions Thread-Topic: [edk2-devel] [edk2-platforms] [PATCH 5/5] Intel/Readme.md: Updated readme with linux build instructions Thread-Index: AQHVC0SrTOsmP/2uhEesiLJg6NlV8qZwFTRw Date: Sat, 18 May 2019 01:19:35 +0000 Message-ID: <49AB4ACB9627B8468F29D589A27B74558894712C@ORSMSX121.amr.corp.intel.com> References: <176c9351320200ab88e4f7a40f29a53c8e919b50.1557779977.git.prince.agyeman@intel.com> In-Reply-To: <176c9351320200ab88e4f7a40f29a53c8e919b50.1557779977.git.prince.agyeman@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjFhYTU3YWYtZTQ4ZC00MzVmLTgyMDMtNTU5NGY4Y2IzMDAyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieWZ2aXYrNERDYitrU0pXTTR0QzlseElYXC9TTGc5azdGQXErZEhJUk5HWnhtNmJLdGFrWXAwNTVja2xjXC9rY3kwIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.139] MIME-Version: 1.0 Return-Path: michael.a.kubacki@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The Known Limitations section needs clean up now. This text can be removed as a general statement: " * All firmware projects can build on Windows with the validated configura= tion below. * Cross-platform build support is work-in-progress. * KabylakeOpenBoardPkg and ClevoOpenBoardPkg can build on Ubuntu 16.04.5 = LTS with gcc version 5.4.0 and nasm version 2.11.08 with the build_bios.py = script " These are no longer generic limitations. I suggest deleting those bullets = entirely. The goal of this series was to add GCC5 build support so each board descri= ption should be updated to include the tool chains and version tested to give board-specif= ic limitations. For example,=20 KabylakeOpenBoardPkg should no longer say " This firmware project build ha= s only been tested=20 using the Microsoft Visual Studio 2015 compiler." It should say: * The Windows build was tested on Windows 10 with Visual Studio 2015 * The Linux build was tested on Ubuntu 16.04.5 LTS with GCC version 5.4.0 * The build was tested with NASM version 2.11.08 Please update this information for each board. Thanks, Michael > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Agyeman, Prince > Sent: Wednesday, May 15, 2019 10:36 AM > To: devel@edk2.groups.io > Cc: Agyeman, Prince > Subject: [edk2-devel] [edk2-platforms] [PATCH 5/5] Intel/Readme.md: > Updated readme with linux build instructions >=20 > From: Prince Agyeman >=20 > Signed-off-by: Prince Agyeman > --- > Platform/Intel/Readme.md | 31 +++++++++++++++++++------------ > 1 file changed, 19 insertions(+), 12 deletions(-) >=20 > diff --git a/Platform/Intel/Readme.md b/Platform/Intel/Readme.md index > fbf7351..972a1b0 100644 > --- a/Platform/Intel/Readme.md > +++ b/Platform/Intel/Readme.md > @@ -107,9 +107,13 @@ return back to the minimum platform caller. >=20 > **Building with the python script** >=20 > -1. Open command window, go to the workspace directory, e.g. c:\Kabylake= . > -2. Type "cd edk2-platforms\Platform\Intel -3. Type "python build_bios.p= y -p > REPLACE_WITH_BOARD_NAME" > +1. Open command window, go to the workspace directory, e.g. c:\Kabylake > +or ~/Kabylake in the case of a linux OS 2. If using a linux OS > + * Type "cd edk2" > + * Type "source edksetup.sh" > + * Type "cd ../" to go back to the workspace directory 3. Type "cd > +edk2-platforms/Platform/Intel 4. Type "python build_bios.py -p > +REPLACE_WITH_BOARD_NAME" >=20 > * build_bios.py arguments: >=20 > @@ -132,18 +136,19 @@ return back to the minimum platform caller. > | | >=20 > * For more information on build options > - * ``Type "python build_bios.py -h"`` > + * Type "python build_bios.py -h" >=20 > * Note > - * ``Python 2.7.16 and Python 3.7.3 compatible`` > - * ``These python build scripts have been tested on Windows due to`` > [cross-platform limitations](#Known-limitations) > + * Python 2.7.16 and Python 3.7.3 compatible > + * This python build script has been tested on Windows 10 and Ubuntu > + 16.04.5 LTS > + * See [cross-platform limitations](#Known-limitations) >=20 > * Configuration Files > - * ``The edk2-platforms\Platform\Intel\build.cfg file contains the def= ault > settings used by build_bios.py`` > - * ``The default settings are under the DEFAULT_CONFIG section`` > - * ``Each board can have a settings file that will override the edk2- > platforms\Platform\Intel\build.cfg settings`` > - * ``An example of a board specific settings:`` > - * ``edk2- > platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3\build_confi > g.cfg`` > + * The edk2-platforms\Platform\Intel\build.cfg file contains the > + default settings used by build_bios.py > + * The default settings are under the DEFAULT_CONFIG section > + * Each board can have a settings file that will override the > + edk2-platforms\Platform\Intel\build.cfg settings > + * An example of a board specific settings: > + * > + edk2- > platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3\build_ > + config.cfg >=20 > * Workspace view of the build scripts > *
> @@ -212,8 +217,10 @@ Users can also flash the UEFI firmware image to
> the highest area of the flash re
>=20
>  ### **Known limitations**
>=20
> -* All firmware projects can only build on Windows with the validated
> configuration below.
> +* All firmware projects can build on Windows with the validated
> configuration below.
>    * Cross-platform build support is work-in-progress.
> +* KabylakeOpenBoardPkg and ClevoOpenBoardPkg can build on Ubuntu
> +16.04.5 LTS with gcc version 5.4.0 and nasm version 2.11.08 with the
> +build_bios.py script
>=20
>  **KabylakeOpenBoardPkg**
>  1. This firmware project has only been tested on the Intel KabylakeRvp3
> board.
> --
> 2.7.4
>=20
>=20
>=20