From nobody Mon Feb 9 19:53:43 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+61667+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159300573033192.79327952119945; Wed, 24 Jun 2020 06:35:30 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id gIPNYY1788612xFb7NeW8TMm; Wed, 24 Jun 2020 06:35:30 -0700 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.72]) by mx.groups.io with SMTP id smtpd.web11.13572.1593005728739969130 for ; Wed, 24 Jun 2020 06:35:29 -0700 X-Received: from DB6PR1001CA0038.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::24) by AM0PR08MB5443.eurprd08.prod.outlook.com (2603:10a6:208:183::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Wed, 24 Jun 2020 13:35:26 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:55:cafe::b) by DB6PR1001CA0038.outlook.office365.com (2603:10a6:4:55::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21 via Frontend Transport; Wed, 24 Jun 2020 13:35:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+61667+1787277+3901457@groups.io; helo=web01.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Wed, 24 Jun 2020 13:35:26 +0000 X-Received: ("Tessian outbound 839770a6d413:v59"); Wed, 24 Jun 2020 13:35:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4c263d8a5490cf94 X-CR-MTA-TID: 64aa7808 X-Received: from 91a065fa935c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 32C49058-B802-458C-91F0-84FF774277CC.1; Wed, 24 Jun 2020 13:35:20 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 91a065fa935c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 24 Jun 2020 13:35:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EXq5Ns5fEYiffYqOMZibmC2IG1vtyl8RLpQCB5EjsOeUnTAZAXmur2QNN73II25xYAmd/2baTkhX5wvHPasZkJZhniAga8BYLm7YFpjLHSuYdbCLX1B4CNJ0od98QX8ZK+QFDbn3UCgsSoKNrQSsR6CBNKdYcslv4wpFHDvmEsIs22esWO1T4Rin/bSvlo5mnuhsCOPmA07HmdGMNHnE6D6vqet0ivMUVePeO6gvi31qi4vNAr1Uz7vZGqexL0l495iJ/Xx8qM9n7gEoOQwc3wge6QgCcmzqAstDXGszzcP3ENIKBAeHaSO65P9muINigEkazCCgB0tw5x4g0LeZwg== 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-SenderADCheck; bh=fbxBRKb98+2/DdHWhom2Fv97Xgvc34WhAsjWeIINP3I=; b=WPiAsJ5I5Vi/LcLBWBhydW4RXceRxGxrWvacYL0501PZvafNPzAjaoTxNi6pDVeMSyJycN4bMW48gwd/UvlNraBs8uvSY0DvTQja/PYQcC+xcutuwhpMSHA9vD4uDKRxoSt940Do/66C8ONlJm9OgdbobJatkxx336omVFi5GMHU12leEH7hkibTLSqtZBcc2uJ2lZz/Zd+8yGBGWieufHQs2miZz7iaHgUv2ttgZhLauqsReqyamSEwWB4Xtkge6tQZT+jPLVvoMazmkL1vQM3oY1NbGwJAPrIIPD5XhlgxoV+/OnfO4jx37WH9nrro1i4DUk2DHD86XA1Qqa1pHA== 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=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from AM6PR04CA0057.eurprd04.prod.outlook.com (2603:10a6:20b:f0::34) by VI1PR08MB3774.eurprd08.prod.outlook.com (2603:10a6:803:c5::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Wed, 24 Jun 2020 13:35:19 +0000 X-Received: from AM5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::4e) by AM6PR04CA0057.outlook.office365.com (2603:10a6:20b:f0::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Wed, 24 Jun 2020 13:35:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass 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; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT042.mail.protection.outlook.com (10.152.17.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3131.20 via Frontend Transport; Wed, 24 Jun 2020 13:35:19 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) 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.1415.2; Wed, 24 Jun 2020 13:35:08 +0000 X-Received: from E107187.Arm.com (10.57.22.181) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Wed, 24 Jun 2020 13:35:08 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v3 07/15] ArmVirtPkg: Early serial port initialisation Date: Wed, 24 Jun 2020 14:34:50 +0100 Message-ID: <20200624133458.61920-8-sami.mujawar@arm.com> In-Reply-To: <20200624133458.61920-1-sami.mujawar@arm.com> References: <20200624133458.61920-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant 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;SFTY:;SFS:(4636009)(346002)(376002)(39860400002)(396003)(136003)(46966005)(44832011)(4326008)(7696005)(70586007)(336012)(2616005)(70206006)(1076003)(8676002)(82310400002)(356005)(47076004)(36756003)(83380400001)(86362001)(82740400003)(81166007)(478600001)(2906002)(6666004)(26005)(6916009)(426003)(8936002)(186003)(5660300002)(316002)(54906003);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2f6f1ef-cc9d-45d0-c4db-08d81843741e X-MS-TrafficTypeDiagnostic: VI1PR08MB3774:|AM0PR08MB5443: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5516;OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: xXmI9ovRP1pWlZ2HzDAAWoiBrlug47u+Z+LGJbbCy4ftlkGWJsMuccAB2tWWkpANP7BfJftLKOJCi53ijyDwVDu2M0Fluiq7YvEQfUqSCktjuos0H+STPU6gFxIs4Cf2t+Gt+widCzqEjxMeVxldPxATDTN8E6CWlWUXdA78OXYWyaDUXxx+BhAOglhBsblkK5ploQVRM9f0HWhCBFCSTFSPGcAdFWQEMF1wf18k92EGRpwQ4+0nEhDbrGwLP6BZGjUt1GHh4tMkFk10pZJJ2UmojjrgMq/wLVEoF8Syaumjg0XLdtxtBbdhuFGFpmODhQZZmThWCNU+Lpxj0p8AAJGSs9aA/fukauvJS8Lt4l9EefRuAMdtpCldF+ANWtcxJ7B1bdFX5hkZOApKEdyDEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3774 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 442ac2dc-179d-4c6e-9aa9-08d818437024 X-Microsoft-Antispam-Message-Info: eCU6aDCU/Qwx49OmGFKldH+l65nOw3bjK3v0HFzSHyc8lXQjvMVDjc1H3cftlkdDDmqMe2ePmf6qiNBX7FdlqpxTjDPiYuHHdpvGyyBxN8glal9V4GiaM5q/kzCQ46/NlA5ZQHtAwoBeM7Ev/2JxX4hVD3xPhITWlTc8gUK4GJETsK5Ar6YgS8ftO0Isx+z7QHWPjVrVjd+w9zs1FeVjrnXjh88KBGpEH5zzdvEOWnjn4ywvqGFLZJNp4dMG31wlym64D5SGQhFHSQJ6lkqG0u/rd0pb4uZS2Za7MwQwruepPrJ61nT3H61Offp6r2GiHd+XQcp4Ui3gaR9L4xJztnOdTbQoeC0DFomhrUcFdq37vMnia9kVfqmWorklzbiJIait4V8J3IzgKAruY6KmFg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2020 13:35:26.2899 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e2f6f1ef-cc9d-45d0-c4db-08d81843741e 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5443 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com X-Gm-Message-State: 5QjnoHcWEPXeYiFsshh4EJK9x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1593005730; bh=R4dlSFc1jzzUv1tsfL1HSeigJQVeZ6JYCeo6ModgRHA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=wL4Kd58OhiIppKBbTb8OmndBz2r7WP3q8MPQNMjE3b4aeRO9DafE699+oXWUA5Dwh0r hcJxGhVxZq4685+mFCoBCC0H8eejLPPOJohhF9EeD8cqLM70x+weOIZDri7bvGuJbjRy5 btg5gdiiw4nLVlt/aaRi+1+q9415E5yCtg8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Initialise serial port early so that the platform memory map can be logged. Signed-off-by: Sami Mujawar --- ArmVirtPkg/PrePi/PrePi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ArmVirtPkg/PrePi/PrePi.c b/ArmVirtPkg/PrePi/PrePi.c index 4f0c3f98bad63d0682cccd76a0a062d1fd4f46ab..5e144f4bdefb810708238097a33= 73f11d150bfe5 100755 --- a/ArmVirtPkg/PrePi/PrePi.c +++ b/ArmVirtPkg/PrePi/PrePi.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011-2014, ARM Limited. All rights reserved. +* Copyright (c) 2011-2020, ARM Limited. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * @@ -60,16 +60,16 @@ PrePiMain ( // InvalidateDataCacheRange((VOID *)(UINTN)PcdGet64 (PcdFdBaseAddress), Pcd= Get32 (PcdFdSize)); =20 - // Initialize MMU and Memory HOBs (Resource Descriptor HOBs) - Status =3D MemoryPeim (UefiMemoryBase, FixedPcdGet32 (PcdSystemMemoryUef= iRegionSize)); - ASSERT_EFI_ERROR (Status); - // Initialize the Serial Port SerialPortInitialize (); CharCount =3D AsciiSPrint (Buffer,sizeof (Buffer),"UEFI firmware (versio= n %s built at %a on %a)\n\r", (CHAR16*)PcdGetPtr(PcdFirmwareVersionString), __TIME__, __DATE__); SerialPortWrite ((UINT8 *) Buffer, CharCount); =20 + // Initialize MMU and Memory HOBs (Resource Descriptor HOBs) + Status =3D MemoryPeim (UefiMemoryBase, FixedPcdGet32 (PcdSystemMemoryUef= iRegionSize)); + ASSERT_EFI_ERROR (Status); + // Create the Stacks HOB (reserve the memory for all stacks) StacksSize =3D PcdGet32 (PcdCPUCorePrimaryStackSize); BuildStackHob (StacksBase, StacksSize); --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=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 (#61667): https://edk2.groups.io/g/devel/message/61667 Mute This Topic: https://groups.io/mt/75081479/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-