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.93, mailfrom: michael.a.kubacki@intel.com) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by groups.io with SMTP; Wed, 22 May 2019 12:06:23 -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 fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2019 12:06:23 -0700 X-ExtLoop1: 1 Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga005.jf.intel.com with ESMTP; 22 May 2019 12:06:22 -0700 Received: from orsmsx121.amr.corp.intel.com ([169.254.10.47]) by ORSMSX109.amr.corp.intel.com ([169.254.11.251]) with mapi id 14.03.0415.000; Wed, 22 May 2019 12:06:22 -0700 From: "Kubacki, Michael A" To: "devel@edk2.groups.io" , "Agyeman, Prince" CC: "Chiu, Chasel" Subject: Re: [edk2-devel] [edk2-platforms] [PATCH v2 5/5] Intel/Readme.md: Updated readme with linux build instructions Thread-Topic: [edk2-devel] [edk2-platforms] [PATCH v2 5/5] Intel/Readme.md: Updated readme with linux build instructions Thread-Index: AQHVD4JvFe4C0BGUoUaDigRwzU0OxaZ3g1ew Date: Wed, 22 May 2019 19:06:22 +0000 Message-ID: <49AB4ACB9627B8468F29D589A27B74558894EF74@ORSMSX121.amr.corp.intel.com> References: <3793b1cdad9c68d23ec1378f35f5fef9e4d42ced.1558406058.git.prince.agyeman@intel.com> In-Reply-To: <3793b1cdad9c68d23ec1378f35f5fef9e4d42ced.1558406058.git.prince.agyeman@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjhhY2Y0M2QtMjUyMi00N2Q2LWJiMGQtYTE4NjA1NjQxMjQ3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQkhBb3NLdUh5K3hBNVRUSE9tXC9qQnNlazNvWk9aMUlxeEFJNVduSmdtRmNRcWRIYnZFRmdwMjZEZWJiVjRzaVAifQ== 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 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Kubacki > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Agyeman, Prince > Sent: Monday, May 20, 2019 8:08 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Agyeman, Prince > > Subject: [edk2-devel] [edk2-platforms] [PATCH v2 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 | 42 ++++++++++++++++++++++++-----------------= - > 1 file changed, 24 insertions(+), 18 deletions(-) >=20 > diff --git a/Platform/Intel/Readme.md b/Platform/Intel/Readme.md index > 1da5d0a..443fb40 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,14 +217,13 @@ 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.
> -  * Cross-platform build support is work-in-progress.
> -
>  **KabylakeOpenBoardPkg**
>  1. This firmware project has only been tested on the Intel KabylakeRvp3
> board.
>  2. This firmware project has only been tested booting to Microsoft Wind=
ows
> 10 x64 with AHCI mode and Integrated Graphic
>    Device.
> -3. This firmware project build has only been tested using the Microsoft
> Visual Studio 2015 compiler.
> +3. The Windows build was tested on Windows 10 with Microsoft Visual
> Studio 2015.
> +4. The Linux build was tested on Ubuntu 16.04.5 LTS with GCC version 5.=
4.0.
> +5. The build was tested with NASM version 2.11.08.
>=20
>  **PurleyOpenBoardPkg**
>  1. This firmware project has only been tested on the Microsoft MtOlympu=
s
> board.
> @@ -228,9 +232,11 @@ Users can also flash the UEFI firmware image to the
> highest area of the flash re
>=20
>  **ClevoOpenBoardPkg**
>  1. Currently, support is only being added for the N1xxWU series of boar=
ds.
> -2. The firmware project build has only been tested using the Microsoft
> Visual Studio 2015 compiler.
> -3. The firmware project has not been tested on an actual board, it *sho=
uld
> not* be expected to boot.
> -4. The firmware project applies to all Clevo supported board configurat=
ions
> but is only being tested on System 76 Galago
> +2. The Windows build was tested on Windows 10 with Microsoft Visual
> Studio 2015 compiler.
> +3. The Linux build was tested on Ubuntu 16.04.5 LTS with GCC version 5.=
4.0.
> +4. The build was tested with NASM version 2.11.08.
> +5. The firmware project has not been tested on an actual board, it *sho=
uld
> not* be expected to boot.
> +6. The firmware project applies to all Clevo supported board
> +configurations but is only being tested on System 76 Galago
>    Pro devices.
>=20
>  ### **Planned Activities**
> --
> 2.7.4
>=20
>=20
>=20