From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe08::615]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 11C8381F4A for ; Wed, 1 Feb 2017 09:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FP6FbBdKQy6ufPEFs+H9cYIeraapgveIl6ciDyx+kDw=; b=O175ID+XipxklVp7RvaMrfccFRN1J0iw58tbWNFZMr1YQb/Lwa2gdbUTwGxagWMxknvLi2QxTWr7wsRb6Ae5dgPSwD5grJJcG4lwpEwfgIJBlcYWnKtnEHXUsDabvw+Hfzo0/KAd1w4Gsl+UJhvHGhB12KPRIJdC/XhufNmdQfo= Received: from AM4PR0802MB2306.eurprd08.prod.outlook.com (10.172.218.15) by AM4PR0802MB2306.eurprd08.prod.outlook.com (10.172.218.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Wed, 1 Feb 2017 17:35:17 +0000 Received: from AM4PR0802MB2306.eurprd08.prod.outlook.com ([10.172.218.15]) by AM4PR0802MB2306.eurprd08.prod.outlook.com ([10.172.218.15]) with mapi id 15.01.0874.020; Wed, 1 Feb 2017 17:35:17 +0000 From: Supreeth Venkatesh To: Michael Kinney , "edk2-devel@lists.01.org" CC: Andrew Fish Thread-Topic: [staging/edk2-test PATCH V2 1/6] edk2-test: Update Readme.md Thread-Index: AQHSfHB+zuksmbFBNkKFm53C70Vm9aFUaOxA Date: Wed, 1 Feb 2017 17:35:16 +0000 Message-ID: References: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> <1485942552-47388-2-git-send-email-michael.d.kinney@intel.com> In-Reply-To: <1485942552-47388-2-git-send-email-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Supreeth.Venkatesh@arm.com; x-originating-ip: [217.140.111.135] x-ms-office365-filtering-correlation-id: 04d2d076-cbac-41fc-5e94-08d44ac8aff4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:AM4PR0802MB2306; x-microsoft-exchange-diagnostics: 1; AM4PR0802MB2306; 7:Pqg2jdbGz9kP2BqNyCxpgfDws3p4wueO1sLQA4PgD3+tqCWK20GXrr6dBBK7unq4C6IuOkIHmAmfQhS+7tmLjfdjg/aL/s/9McD9L2fCM0UaUu++wVcayY4Qw++FsgLqunpecR77pDqXfbY/0Yn1GwfHFXEOR3jj74aGW68u+v1TY+BfjOqw2olLqOdDypcmAx1CE7cJ8VMVnFj1QbOmicDjnXfFzrJ1mmjq7Qgd4l3Q9bMLjYO8YcTD/yOuhCiAUjv7sfCArqoZtaTMQC39In+h4dwM3U0EJLkwsX9fxQO14H2+xHMFA1JoNnB+RYKyXqNpDLomALiHV4UCYqk7mSK67msrLufhZx22In0mAmKpUjoMwCNbdxXDgrSTQKymXWTShXWwhBP/6uodF1/12G4VqaOeqPrVwHbLpDAX2kprgn57sCoPWkv2/lXxb1IPhu42Uiy+lfKbMrFvFB/lkH/y8NFs4+2dToXR6rwnpAy0KKcYCmQIxBMvKYlBUVRGCs3fTOm/nativZ7FRcIEjYTFdiJoMvKH8Qik1/I7icn31PlYz/i51oH0zIeVSrSU x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(166708455590820)(111885846020525)(162533806227266)(31960201722614)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(20161123558025)(20161123562025)(20161123555025)(6072148); SRVR:AM4PR0802MB2306; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0802MB2306; x-forefront-prvs: 0205EDCD76 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39850400002)(39860400002)(39410400002)(39840400002)(39450400003)(189002)(174874002)(40434004)(199003)(13464003)(377454003)(54356999)(575784001)(4326007)(76176999)(50986999)(7736002)(53936002)(33656002)(305945005)(2950100002)(6116002)(3846002)(2900100001)(97736004)(74316002)(2906002)(189998001)(5001770100001)(101416001)(105586002)(106116001)(106356001)(5660300001)(7696004)(102836003)(3280700002)(77096006)(92566002)(8676002)(6436002)(6506006)(3660700001)(55016002)(8666007)(15650500001)(5890100001)(81166006)(66066001)(68736007)(81156014)(99286003)(2501003)(38730400001)(8936002)(9686003)(229853002)(122556002)(25786008)(6306002)(86362001)(134885004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0802MB2306; H:AM4PR0802MB2306.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2017 17:35:16.9572 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2306 Subject: Re: [staging/edk2-test PATCH V2 1/6] edk2-test: Update Readme.md X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 17:35:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This looks fine to me , albeit there is a post build error, which I think w= ill be handled by the python script patch which you are working on as oppos= ed to .cmd file. - Postbuild Start - /bin/bash: /home/supven01/edk2-test/edk2-staging/TestFrameworkPkg/GenFramew= ork.cmd: Permission denied build.py... : error F008: Postbuild process is not success! Tested-by: Supreeth Venkatesh Reviewed-by: Supreeth Venkatesh -----Original Message----- From: Michael Kinney [mailto:michael.d.kinney@intel.com] Sent: Wednesday, February 01, 2017 3:49 AM To: edk2-devel@lists.01.org Cc: Andrew Fish; Supreeth Venkatesh Subject: [staging/edk2-test PATCH V2 1/6] edk2-test: Update Readme.md * Add Supreeth Venkatesh to list of branch owners * Clean up environment variable for Windows builds * Add Linux Build Instructions Cc: Andrew Fish Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney --- Readme.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 4ca0ffa..c5cf1ff 100644 --- a/Readme.md +++ b/Readme.md @@ -3,8 +3,9 @@ edk2-staging branch for a test harness, test case SDK, and test cases for = the edk2 repository and platform firmware that is based on the edk2 repository= . -## **edk2-stagaing branch owners** +## **edk2-staging branch owners** * Michael Kinney +* Supreeth Venkatesh ## **Features** * Test harness that runs from the UEFI Shell @@ -76,13 +77,13 @@ build out= put directory. ```cmd git clone https://github.com/tianocore/edk2.git -git clone https://github.com/tianocore/edk2-staging.git --brach edk2-test +git clone https://github.com/tianocore/edk2-staging.git --branch +edk2-test set WORKSPACE=3D%CD% set EDK_TOOLS_PATH=3D%WORKSPACE%\edk2\BaseTools +set EDK_TOOLS_BIN=3D%EDK_TOOLS_PATH%\BinWrappers\WindowsLike set PACKAGES_PATH=3D%WORKSPACE%\edk2;%WORKSPACE%\edk2-staging -set EDK_TOOLS_BIN=3D%WORKSPACE%\BaseTools\BinWrappers\WindowsLike -path=3D%path%;%WORKSPACE%\edk2\BaseTools\Bin\Win32 +path=3D%path%;%EDK_TOOLS_PATH%\Bin\Win32 cd edk2 edkSetup.bat @@ -93,6 +94,49 @@ build -a IA32 -a X64 -t VS2015x86 -p TestCasePkg/TestCas= ePkg.dsc ## **Linux Build Instructions** +### Pre-requisites + +* GIT client: Available from https://git-scm.com/downloads +* GCC 4.9 compiler or XCODE compiler + +Create a new directory for an EDK II WORKSPACE. + +The code block below shows the GIT clone operations required to pull +the edk2 repository, and the edk2-test branch from the edk2-staging reposi= tory. + +Next it sets environment variables that must be set before running +```edksetup.bat```. Since content is being pulled from multiple +repositories, the EDK II [Multiple Workspace]( +https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspac +e) +feature is used. + +Next, the ```edksetup.bat``` file is run to complete the initialization +of an EDK II build environment. Two example build commands are shown. +The first one in ```TestFrameworkPkg/TestFrameworkPkg.dsc``` builds a +test harness and creates an installer in the build output directory. +The second one in ```TestCasePkg/TestCasePkg.dsc``` builds a sample +test case using a test library from the ```TestFrameworkPkg``` and adds +the test case to the installer in the build output directory. + +```cmd +git clone https://github.com/tianocore/edk2.git +git clone https://github.com/tianocore/edk2-staging.git --branch +edk2-test + +export WORKSPACE=3D`pwd` +export EDK_TOOLS_PATH=3D"$WORKSPACE/edk2/BaseTools" +export PACKAGES_PATH=3D"$WORKSPACE/edk2:$WORKSPACE/edk2-staging" +export EDK_TOOLS_BIN=3D"$WORKSPACE/edk2/BaseTools/BinWrappers/PosixLike" +export CONF_PATH=3D"$WORKSPACE/edk2/Conf" +export PATH=3D"$PATH:$EDK_TOOLS_BIN" + +cd edk2 +make -C BaseTools +. edksetup.sh + +build -a IA32 -a X64 -t GCC49 -p TestFrameworkPkg/TestFrameworkPkg.dsc +build -a IA32 -a X64 -t GCC49 -p TestCasePkg/TestCasePkg.dsc ``` + ## **Installation Instructions** * Copy the Build/SctPackage directory to media for the target platform -- 2.6.3.windows.1 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.