From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.59]) by mx.groups.io with SMTP id smtpd.web12.9354.1659537388545858673 for ; Wed, 03 Aug 2022 07:36:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=3MLAzWB3; spf=pass (domain: arm.com, ip: 40.107.22.59, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=N2xJI/UC0zTA1WGbZE6fL5FLeLyPcvCaD5wViJzqvfyAVqAXNqWekNnkZeU1pOR6pzWiJLmifBkCRUMkuYHnrvoZq0JaogEtOWWKOm+Oxq4qzGw6XKueQB3QuvFczGm+QDiNO7G5awqm8FIhOMT8wLPyQzAA+02OcF8XcGM/LikZvbN0MoA6ikZu+9xyMjEURQ4Y2X+k9iepi6lfoOU5Wj/X6tLXh9Lfm6eDa4PbMiGsa6SQ3DvRyzOjn/GW2aCUuWEPkleNnJ+fbiS7yB7KBSAIxtKpQI+1R0pQL3VQ+X3w7HH1I8+38qfEX0NbmyI7QharLOGk66FHxQiObbnmUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lggvWwop5Gxjjywduiqiz89dW2ho6PgFmvswi0k9/WE=; b=hUfWElP9ZBeYJOdNE1pa30PwaFYybFdYimtRyRS8BWZD/yx0Dcy0PLRJ7mPu1bTCfTj1uXFTUq+uXRPunTUEPT9W/lUChM9aU2Xb8k2OUAB5UrZop3JAAEtadtDdXCAVWycvGywliEkmxF2zDVsSb+s85qZMcbYG+ijkajzv0GX1kfurc2hAwGiGRYMdyt/dnNUPfCaEyvRDGSUO15ohIE8brydHcVKPHhUZo1QmielIdc/6CWGsX2nbnF08URw5nMi6FoZbgR6EHx1A5Bdz6LDNPL9qEUSt+Kc8i4UavgSVV/YvOSt4RufcmzhkvuYfv7+Oxc45pKHL5NwaXKfPIA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lggvWwop5Gxjjywduiqiz89dW2ho6PgFmvswi0k9/WE=; b=3MLAzWB3wUozp22C5sFWIB42Jo6cSpm3S9ZEXjshNbWLMW/Gj1i36GPwv4/Gyj1kwjlCFJkPVSguvb9FTQSjKWnmA4IaKUEThrJrLmSsxNV7QDkBZnBtZBUhBe6Gofo9GwaPYz7n42z/ViIIRGfZ+B9QDJsobdt3zDi2yUREfBw= Received: from DBBPR09CA0031.eurprd09.prod.outlook.com (2603:10a6:10:d4::19) by VI1PR08MB4317.eurprd08.prod.outlook.com (2603:10a6:803:101::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Wed, 3 Aug 2022 14:36:20 +0000 Received: from DBAEUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::2c) by DBBPR09CA0031.outlook.office365.com (2603:10a6:10:d4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11 via Frontend Transport; Wed, 3 Aug 2022 14:36:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT035.mail.protection.outlook.com (100.127.142.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12 via Frontend Transport; Wed, 3 Aug 2022 14:36:20 +0000 Received: ("Tessian outbound fccf984e7173:v123"); Wed, 03 Aug 2022 14:36:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2fd1fd6598249d31 X-CR-MTA-TID: 64aa7808 Received: from f3a55ed48b77.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 66B897F4-DBFD-4024-B1C6-F0432409BEE1.1; Wed, 03 Aug 2022 14:36:13 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f3a55ed48b77.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 03 Aug 2022 14:36:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TMmboU5pa/FyCrUjljd1TcrVvBuuba1aScgZqKfYYNc9feTAz1ZvY1fUhhgFhjUoUKpxtMIeGbPlbHtVob7hHHpu7/PDTcKYSHCslZYNIGu5PPxzsUqDl0s4pvGamepp2ZQKv153pcHD8Zp3PjM94acfvUt76dTi0IBqLehe+mF4ZYgG51ogan7INAZywo9pnq9Rq5OKDskVosey29nu/ifymZoRs4/N6jch86DoQIUJUXFDOKqA0jZouoCvEhJUTqezg0zNzri/N8Je38YEmgqJbDRmutIgam11U4rrhsRP/WecFXwMU2zmVPbbP+6LS/obVRgURp7wHNajzeL0Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lggvWwop5Gxjjywduiqiz89dW2ho6PgFmvswi0k9/WE=; b=KsuI7yFuY9KP6vuPyLMoKRX/r0+oHawdk7YEocIkpOhETEPyeL6NF2nZJNJ/tqHrklVHyVMXT/rkUN3WFvD6CqvzRaJgb1p8Mef9UNeKCX73goK0qiZWbKNHTvHp/wGk7fUGF9f/uVhgM9MeQ9qzduFHeMkdp6FAiln75sxYfK/MVT/w/wJBwS2YdQMs8iHN4fSwN9EvQVkGR6X0TjULnZ0icI+TzVGDhHw56xi3XAcVbn1HdyBN7M9opBhxMy60rJPIw3tGGv6y/qhi/g1sUgFRfWrM7r1K09qnVhEHUbd8y4gCoAYOR3na+1h/fvXE7rVEn/xMP2rna+MUbbpMhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lggvWwop5Gxjjywduiqiz89dW2ho6PgFmvswi0k9/WE=; b=3MLAzWB3wUozp22C5sFWIB42Jo6cSpm3S9ZEXjshNbWLMW/Gj1i36GPwv4/Gyj1kwjlCFJkPVSguvb9FTQSjKWnmA4IaKUEThrJrLmSsxNV7QDkBZnBtZBUhBe6Gofo9GwaPYz7n42z/ViIIRGfZ+B9QDJsobdt3zDi2yUREfBw= Received: from DBBPR09CA0037.eurprd09.prod.outlook.com (2603:10a6:10:d4::25) by AM0PR08MB5441.eurprd08.prod.outlook.com (2603:10a6:208:17d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12; Wed, 3 Aug 2022 14:36:10 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::9f) by DBBPR09CA0037.outlook.office365.com (2603:10a6:10:d4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.10 via Frontend Transport; Wed, 3 Aug 2022 14:36:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5482.12 via Frontend Transport; Wed, 3 Aug 2022 14:36:10 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Wed, 3 Aug 2022 14:35:52 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Wed, 3 Aug 2022 14:35:51 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , Subject: [PATCH v1 5/5] PrmPkg: Add details on AArch64 build to the Readme. Date: Wed, 3 Aug 2022 15:35:47 +0100 Message-ID: <20220803143547.27772-6-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220803143547.27772-1-sami.mujawar@arm.com> References: <20220803143547.27772-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 59fd163c-98e6-4deb-5422-08da755d87fd X-MS-TrafficTypeDiagnostic: AM0PR08MB5441:EE_|DBAEUR03FT035:EE_|VI1PR08MB4317:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 1u/FZjXJHEaiCOUiQPbyY4B7PwZpIRsDPwO294TvU860pm+4IAFqsGxibjYoQSnpgmODzsW/XyRhdXSXT0t23+67JG3u3xVR3YQ4ZIvjWM7lHScjw62z38wCgNy3LJjvW4Za9CGANtKQ64NJmyrVizeFL1E7QB62VFajWcTzwNdTOdNc2M1pwTgUylb+FjooyZ5Qa2gHGnk2/kOc/NJi5Idh5NDTzNOjjDQu450p56/Ip2FsW3jlMRn70p9FpqRK5HskOxSepGFOQ5SdRf2y4sQzqXUtEL8v8Ej0V6xVYJombkftEyFrLoNvuiQ2hPVGYWVLU1yQEgRJ4hePE+fwec7RX2xqdmwOidcYxfEou9ghJQCjK4LW92l/yk0VFDFSjHWIIZxBHmhoH/YbSTh50HVlme/jTpmndQhok8Aj6TQIUk1cB6ir3JhaovMBAinwXhjCe3el0GaqKlvlZEbicbCNGW0rAB2+VpG3hVQTCfQnyUEYp5U0BSotM0ZFjpM6VXfIo3eye1PthtJ4as+kg6sqjvYfO6bop21dtuFQn4FSHmDounznFTw7JxggDRi9YlXxpSTldzqu0EHoSvBoIW4Oc0+tafri+fujW6MpKDtj61fskrozU0IovA/fZIRBNNVc3eclfW4FqAILZIG/PcnczWzTZjW5QDBIE2RCBtCNZ/vK0kelzssKFHxQcm25zJdtitApiB6nrT29ZirmkJr6kTuTTP4gamVsXUHYIkZXXJFt58idz51pEipDoNETvW95IAYkkUuxGtX8s0C7C+yU15BAx2MG/zngmXR40tYS/zoel/tDX+7DKWJFlN3LPHv2v20N6sdKJycTEMLVRA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(346002)(136003)(39860400002)(376002)(396003)(36840700001)(40470700004)(46966006)(44832011)(82740400003)(82310400005)(7696005)(6666004)(26005)(356005)(41300700001)(478600001)(70586007)(81166007)(5660300002)(2906002)(40460700003)(86362001)(36860700001)(8676002)(36756003)(8936002)(4326008)(6916009)(54906003)(40480700001)(316002)(47076005)(1076003)(186003)(426003)(336012)(2616005)(70206006)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5441 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 78c81883-3faa-40cc-b589-08da755d827b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MtSBGcehudMbrec8w9q66TqhKYw/q/pUWDDjGs73TUOzjwIoV1sJJd12XA73luLSDZLJXNWpnXVc+siMrIhuHztObuUmm/q9mIxAhD6PqBW0rlwFn47TtPRcKOxg4mumbgcOAMp2ZQ3Ts/5UaTNuAEitjxUfY1v4iByLftarIaaQ3z/60bG0AcSMEpFIQbkeIjOMcXiSxQzKMvRAoAjC5WH7Kkz98XzACq4Dt9Kic0pmpr41bfD+wEG5RUeqxpo0YzGTXXHjFVXNufPbAkWmutczKsH9TPvUBCYPTrsFQa1iKYmsLXxll7VBnH2tlO8JRkniiF/yE5J2ej229hoR585pzsuarEB8Q4w8HPYcFDV7fGR6cT2q6E3wxCBRWPvGZIDhgg96CizGUZfvVBD3jwGkMABPTSOjVfbiVJY/SFfZwHi6Fp+coiTtTi96nAeG5zlGCyl9boytaD3aVEodfWKUEvC9USNwH4Urvt+ST+P7JOnj67SX46o1HPhVuwjBJATHtc88lqhH1YXJaqby/HgfpKELseR3ckMM+iOas2oKKhlL8/1HukZn64hhrOCbkjk3VXsAlXseaAko6P+8M67nmZm40PRNMxllZSp/tqIH0x1I9vNRNPQ5+FqHdRgMsl5CeJol/FowwcmleKHyNHnfcfdGrlLuryN5fpNvOV3yKPVCEl+Hb9TBfArR9XRcwyKNC/hUPAJZLdI+umkFIwTjrLjKXDZFfQVGowvKeb8ASJ2vRILigXmB9uc6i9fAk1T45nNjqOT+ho++6xV9wkhQ4Ha9LrMcxpYwSJgS83XjGcOioU5m6S8MAuHY1DRk X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230016)(4636009)(136003)(396003)(39860400002)(346002)(376002)(36840700001)(40470700004)(46966006)(40480700001)(6666004)(54906003)(7696005)(316002)(6916009)(2906002)(70586007)(4326008)(81166007)(8676002)(5660300002)(82740400003)(70206006)(8936002)(40460700003)(86362001)(44832011)(36860700001)(41300700001)(82310400005)(478600001)(36756003)(186003)(1076003)(47076005)(26005)(336012)(2616005)(426003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2022 14:36:20.0281 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59fd163c-98e6-4deb-5422-08da755d87fd X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Content-Type: text/plain From: Jose Marinho Specify how to build the PrmPkg for the AArch64 architecture. Make the 2 following notes: - the PrmPkg has only been tested on AArch64 using the GCC5 toolchain. - All symbols to be listed in the PRMT as well as the PrmModuleExportDescriptor must be explicitly preserved by resorting to the --require-defined linker flag. Signed-off-by: Jose Marinho Signed-off-by: Sami Mujawar --- PrmPkg/Readme.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/PrmPkg/Readme.md b/PrmPkg/Readme.md index 4ff8a36123d5f987fdd8b54ebaa87e605fa0b4ea..3191c039fd641307979f0c79c69157dbdebe7eab 100644 --- a/PrmPkg/Readme.md +++ b/PrmPkg/Readme.md @@ -52,6 +52,11 @@ To build `PrmPkg` as a standalone package: * ``. edksetup.sh`` 5. Build PrmPkg \ + +The PrmPkg can be built targetting the IA32/X64 and AArch64 architectures. + + - IA32/X64 + ``build -p PrmPkg/PrmPkg.dsc -a IA32 -a X64`` > ***Note***: Due to the way PRM modules are compiled with exports, **only building on Visual Studio compiler tool chains has been tested**. @@ -63,6 +68,12 @@ To build `PrmPkg` as a standalone package: > You can add your own PRM modules into the build and check them with the `PrmInfo` UEFI application described > later in this document and dump the PRMT table in the OS to check if your PRM module is represented as expected. + - AArch64 + ``build -p PrmPkg/PrmPkg.dsc -a AARCH64 -t GCC5`` + + > ***Note***: Only builds with the GCC5 toolchain have been tested. + > ***Note***: For builds with the GCC5 toolchain, the PrmModuleExportDescriptor and any other handler entry points symbols, to be listed in the PRMT, must be explicitly preserved by enumerating these in the AARCH64 linker flags. The --require-defined linker flag must be used for each symbol to be preserved. + ### PRM Platform GUID **IMPORTANT** PRM has a concept of a "Platform GUID" which associates a specific platform with a set of PRM modules -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'