From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1E678AC0A4B for ; Mon, 26 Aug 2024 04:41:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3D8d30ng66SzAvSvK2ZhKE6K902DdXMxw6YfCHwqdyI=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1724647277; v=1; b=MByNsunksv/AXXigIgz/i2vVsLDbptMpMV1FWoweCibPtH7TzC5jSotG+N3CLE+navoU8xql C8RKups5CraAA3oW9wSqr3Ht6VIVegoGNo0qadoTgDox5Fd9A25QP2ILus2C5nCAG09es3GMaTT WAiodmc9dvigbrtmlcHvIISEhd2DV5ukZO93jdJLC4OF4PCkbFTorzlbJCQuyjhNyjL9A3HRXWO Atd3Ixl3E1JEV5o97vzcDGyicrnJlCzPRxKWXJdspYnNNLiZk/h8pmcypztLE1hpqyOjq+qkkFM GOfxnPOLE161yqB3LIPc6Ot36VGFLZtQSxzzEhdbz0zAQ== X-Received: by 127.0.0.2 with SMTP id WYT1YY7687511x5MjXP30Vnz; Sun, 25 Aug 2024 21:41:16 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mx.groups.io with SMTP id smtpd.web10.46318.1724647275495940691 for ; Sun, 25 Aug 2024 21:41:15 -0700 X-CSE-ConnectionGUID: 88VZBjVYSU+2YliKAL1XrA== X-CSE-MsgGUID: UA8GhIe2QSCdPYj9eKLpkQ== X-IronPort-AV: E=McAfee;i="6700,10204,11175"; a="22639787" X-IronPort-AV: E=Sophos;i="6.10,176,1719903600"; d="scan'208";a="22639787" X-Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2024 21:41:15 -0700 X-CSE-ConnectionGUID: lh3NTkf1QqmH2yKakoMKpg== X-CSE-MsgGUID: ubEAmiH0TZWurDBwwINluw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,176,1719903600"; d="scan'208";a="66577089" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Aug 2024 21:41:15 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Sun, 25 Aug 2024 21:41:14 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Sun, 25 Aug 2024 21:41:14 -0700 X-Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.44) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sun, 25 Aug 2024 21:41:14 -0700 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by DS0PR11MB6398.namprd11.prod.outlook.com (2603:10b6:8:c9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Mon, 26 Aug 2024 04:41:11 +0000 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::15cc:b461:7bb8:b69f]) by PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::15cc:b461:7bb8:b69f%5]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024 04:41:11 +0000 From: "Jayaprakash, N" To: "devel@edk2.groups.io" , "Jayaprakash, N" CC: Rebecca Cran , "Kinney, Michael D" Subject: Re: [edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools Thread-Topic: [edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools Thread-Index: AQHa843wxFvhNrmsd0GBmTNCKPzKhLI4/RbA Date: Mon, 26 Aug 2024 04:41:11 +0000 Message-ID: References: <20240821054623.517-1-n.jayaprakash@intel.com> <17EDA8382F57BDB4.11026@groups.io> In-Reply-To: <17EDA8382F57BDB4.11026@groups.io> Accept-Language: en-IN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5943:EE_|DS0PR11MB6398:EE_ x-ms-office365-filtering-correlation-id: b3e32a24-5344-4aa8-3b7f-08dcc5894fa9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?D+3Z0KHJG/kgM8Dr1ItSFQc55YPMUmde/IEVVkuy8z1Ke/iwn0UqhonNtO4Y?= =?us-ascii?Q?I392Y+IkioRS1Bl7guzEa7O29pXPHrcMkmEGhMXM5PYLkoGRRGVhL932n17h?= =?us-ascii?Q?eXp9jdTEc7dA3MgVfTS+UVoXrvd9OWgQlZGeEPz9JZDCeL6nX9QB1YkxnAX0?= =?us-ascii?Q?NPEUCMbtFCa/q4zuSxl5fcWXQUtVCksonZzWf2ua64yxaHwZXyILyc8sTycn?= =?us-ascii?Q?jhFpaOAdppp8nJvxyErwW7VvL0vH6ppa50p2o8GgDDNIKASFanwoyq5291hW?= =?us-ascii?Q?DI+qxPNzhNvHi1gR366jzEqf3w5rg3IEaLTB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EtTCeJ03YIPhWaXVRVi7qeMIl0DBYWonAjxOdDsUcVvFrPc6CHUJsOgxTaz?= =?us-ascii?Q?xaHh6wx8NZn3PWEQjjoQD+4A1UMCZFmYCz1ETA080+7O0drOuSYarLAzSVIE?= =?us-ascii?Q?xEEfwUyljDzs0DikcrHqpB2G6Eq2Zg4hG6u5H2joVxmKEkDKgnjkTnR9Qldx?= =?us-ascii?Q?rI0mlBM=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?butTo+H+/3vSYLtQS5BCz8qztnhd5wyj4deafREXB1LivOMgrwC4Umdq7XWo?= =?us-ascii?Q?C6Y4bBHGUvCZSJtA4flyoj9t7Uq06Bgmat/r1xtDrdZF527qv4Ft8niuWur1?= =?us-ascii?Q?0ZzvLUadQ+KIoDvhaU8eWI7/lBPAhoTCM9aFnJAEsUdAXA6EfZC+4kJPQC3j?= =?us-ascii?Q?CDw9VKq+VyRKEO+m0RqchOCLEl3FpVeJHLZO5L7uO8Kqe40zXnJoM2hZePkw?= =?us-ascii?Q?ZJXh4MJkXWLfnwC+XfXVQ3n5Ch9/tiA3PlxyLHfsxqSOTI9VofC4kbFsk+8e?= =?us-ascii?Q?JbeYtWPDyljFellL27+hGzKhWcNuMQGGaqTsCt34mYnCbK5hcHnEa/fyol5+?= =?us-ascii?Q?OZ6pgFDexCi1ydH4bRiiyvDLviIXP57+r/f2aRCS+UoKfU8sM8Y74YuczK4I?= =?us-ascii?Q?Jq/XpobZCVAWYmUHvXpChyNRDAM6YLJjhuEv7YBx0SUbciKucs3vQBlqQoD9?= =?us-ascii?Q?/QuFQuwJYHl//a4fldx+8utz+il2t4++M5kS340qKBNvOdodzGLZ7W8hWAHr?= =?us-ascii?Q?qSi5Lo59zDFW0tXNy/et7xkL2qQhhAsvRukkirNxPpFYYpoPNYFfPjI5oo4L?= =?us-ascii?Q?9Osa52Y0ImUJi3sWyddAFxdAQSJqlafBVLV0hYyfuMmqh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CE7JAD3msG6ApR7rxUlALv7pM53UBof1Y33e?= =?us-ascii?Q?+2tTGY1mGO8GaljR3xqidrVliAuDcNBNN6rKdFc7?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5943.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3e32a24-5344-4aa8-3b7f-08dcc5894fa9 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2024 04:41:11.6898 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Mg8EuSGpevwKe64dBi6Pn65jKiC4y0vIL6E72a8dKZXOTKCAZu4vORSpcGyA8jlayTrDRJdKS+6Wq3TZ1YilQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6398 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 25 Aug 2024 21:41:15 -0700 Resent-From: n.jayaprakash@intel.com Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: wQGIblVMG04joaTvtienD4pax7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=MByNsunk; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Hi Rebecca, This address your comment.=20 Please review and approve the same. Regards, JP -----Original Message----- From: devel@edk2.groups.io On Behalf Of Jayaprakash,= N Sent: Wednesday, August 21, 2024 11:12 AM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D Subject: [edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: BKM document to b= uild Python UEFI using Visual Studio Tools REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4810 There is a BKM document which provides detailed step by step instructions t= o build Python UEFI interpreter using GCC tool chain from Ubuntu Linux OS. = But there is no complete BKM document providing the similar details to buil= d on Windows using VS2019/VS2022 tool chains. This commit adds a new BKM do= cument providing the step by step instructions to build Python UEFI interpr= eter using Visual Studio tool chains such as VS2019/VS2022. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/Python-3.6.8/VSCompilationBKMs.md | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 AppPkg/Applications/Python/Python-3.6.8/VSCompilationBK= Ms.md diff --git a/AppPkg/Applications/Python/Python-3.6.8/VSCompilationBKMs.md b= /AppPkg/Applications/Python/Python-3.6.8/VSCompilationBKMs.md new file mode 100644 index 0000000..87a5d7a --- /dev/null +++ b/AppPkg/Applications/Python/Python-3.6.8/VSCompilationBKMs.md @@ -0,0 +1,126 @@ +# Building Python UEFI Interpreter uisng Visual Studio Tool Chain(s) + +## 1. Introduction +This is a Best-Known Methods document capturing the details of build envir= onment setup for compiling the Python UEFI interpreter version 3.6.8 using = Microsoft Visual Studio Tool chains on Windows 11 systems. These BKMs have = been tested on Windows 11 with VS2019 and VS2022 tool chains. + +## 2. Pre-requisites +a. Install the Microsoft Visual Studio tool chain VS2022 community version= by downloading it from [here](https://visualstudio.microsoft.com/downloads= /). You could also use VS2019 for building Python UEFI interpreter. + +b. Install the latest version of NASM assembler for X64 bit platforms by d= ownloading it from [here](https://www.nasm.us/pub/nasm/releasebuilds/2.16.0= 3/win64/nasm-2.16.03-installer-x64.exe). + +c. Install the ASL tools by downloading it from [Intel's website](https://= www.intel.com/content/www/us/en/download/774881/acpi-component-architecture= -downloads-windows-binary-tools.html). Unzip the iasl-win-*.zip folder, cre= ate a folder with name ASL in `C:\` drive as `C:\ASL\`, then copy all the c= ontents from the unzipped folder to `C:\ASL\`. + +d. Install the latest version of Python by downloading it from [here](http= s://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe). While instal= ling Python, click on customize installation, click next, check the Add Pyt= hon to environment variables, modify the installation path to `c:\python312= \`, then click install. + +e. Install git bash or any other git source code management tools you are = comfortable with. You may download the git bash for windows from [this webs= ite](https://github.com/git-for-windows/git/releases/download/v2.46.0.windo= ws.1/Git-2.46.0-64-bit.exe). + + +## 3. Setup Edk2 Build Environment +a. Open a windows command prompt (not PowerShell) and create a folder with= name `src` and change your working folder to the newly created folder usin= g the commands provided below: +```cmd + mkdir src + cd src +``` + +b. Clone the `edk2` repo and initialize all the submodule within it using = the commands provided below: +```cmd + git clone https://github.com/tianocore/edk2.git + cd edk2 + git submodule update --init +``` + +c. Run the below command to build the BaseTools: +```cmd + python -m pip install -r pip-requirements.txt --upgrade + python BaseTools\Edk2ToolsBuild.py -t VS2022 ``` + +## 4. Setup Build Environment to Build Python UEFI Interpreter a.=20 +Change your working directory to `src` folder using the following command: +```cmd + cd .. +``` + +b. Clone `edk2-libc` repo using the following command: +```cmd + git clone https://github.com/tianocore/edk2-libc.git +``` + +c. Set the PACKAGES_PATH and EDK2_LIBC_PATH using the commands below: +```cmd + set PACKAGES_PATH=3D%cd%\edk2;%cd%\edk2-libc + set EDK2_LIBC_PATH=3D%cd%\edk2-libc +``` + + +## 5. Build Python UEFI Interpreter with VS2022 compiler You may use=20 +the commands provided below to build the Python UEFI interpreter using Vis= ual Studio 2022 compiler tool chain. +```cmd + cd edk2 + edksetup.bat + cd .. + cd edk2-libc\AppPkg\Applications\Python\Python-3.6.8\ + python srcprep.py + cd ..\..\..\..\..\edk2 +``` + +Use one of the below command to build Python UEFI interpreter ```cmd + build -t VS2022 -a X64 -p ../edk2-libc/AppPkg/AppPkg.dsc -m=20 +../edk2-libc/AppPkg/Applications/Python/Python-3.6.8/Python368.inf -b REL= EASE -D BUILD_PYTHON368 ``` + or + +```cmd + build -t VS2022 -a X64 -b RELEASE -p ../edk2-libc/AppPkg/AppPkg.dsc=20 +-D BUILD_PYTHON368 ``` + + +## 6. Create a Deployable Python UEFI package To create a usable Python=20 +UEFI package with all the dependencies from the build environment, you can= use the batch (.bat) create_python_pkg.bat script available under edk2-lib= c/AppPkg/Applications/Python/Python-3.6.8 folder. + +Ensure that EDK2_LIBC_PATH environment variable set to edk2-libc folder pa= th using the below command: + +```cmd + echo %EDK2_LIBC_PATH% +``` + +Then use the commands provided below to create a Python UEFI package: +```cmd + cd ..\edk2-libc\AppPkg\Applications\Python\Python-3.6.8 + create_python_pkg.bat VS2022 RELEASE X64 myPyUEFI ``` + +This creates a Python UEFI package at src\edk2\myPyUEFI\. + +In the above command: +- `VS2022` refers to the tool chain. +- `RELEASE` refers to the build type. +- `X64` refers to the architecture. +- `myPyUEFI` refers to the name of the folder for the Python UEFI package. + +When you run the create_python_pkg.bat without any parameters, it lists th= e help information as shown below: + +Batch Script to create Python EFI Package. + +Usage: ./create_python_pkg.sh + +Where +- `ToolChain` : name of the tool chain such as VS2019 / VS2022 +- `Target` : build type such as RELEASE, DEBUG +- `Architecture` : Architecture such as X64 +- `OutFolder` : Output directory for creating the package + + +## 7. Usage of Python UEFI package from UEFI shell 1. Connect a USB=20 +thumb drive to your development system and format it with FAT32 file syste= m. +2. Copy the EFI `` (Ex: `myPyUEFI`) folder to a USB thumb drive= , ensure that EFI folder is available at the root of the thumb drive. +3. Eject the thumb drive from your development system and connect/insert t= he thumb drive to a system under test (SUT) and boot the SUT to UEFI shell. +4. Switch to the right file system such as `FS0:` or `FS1:` and so on depe= nding on how your USB thumb drive has been enumerated by the shell. +5. Start using the Python interpreter from UEFI shell by executing the `Py= thon` command from shell to get into interactive interpreter mode of Python= , or execute `Python ` to execute the Python script fro= m UEFI shell. + +Alternatively, you could create a FAT32 partition on your system and copy = the contents of the EFI folder from the above package to this partition. Th= is partition will be visible to the UEFI shell as a file system such as FS1= /FS2 depending on how the UEFI environment enumerates. + +## 8. Pre-build Python UEFI interpreter package from edk2-libc repo The=20 +pre-built Python UEFI interpreter packages are available at: +- Artifacts built using VS2019 tool chain: [VS2019=20 +Artifacts](https://github.com/tianocore/edk2-libc/actions/runs/97887642 +04/artifacts/1666612053) +- Artifacts built using GCC tool chain: [GCC=20 +Artifacts](https://github.com/tianocore/edk2-libc/actions/runs/97887641 +99/artifacts/1666613814) -- 2.46.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120406): https://edk2.groups.io/g/devel/message/120406 Mute This Topic: https://groups.io/mt/108099092/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-