From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0078.outbound.protection.outlook.com [104.47.34.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5502E21E1455E for ; Tue, 15 Aug 2017 12:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jzMe1gzPeqcDalbZ9NoQHncIpA8ekzrpm4xIHNXRrI8=; b=iMDMA0OqhpVX5n9fGR/5ioqz+vrRkwLETu/G2q6SGsTWPPes1nwpAzHJuXXHD3TZE5XIJkvjPJ8T32TAVUcbgsjDT0pJxKYPfMgQFhZZ0wPiD3xjnuKYtNhcBL0aa1VPyi80WE8np1xBUpOx6PGcG0pKCZ99oxvf0ebbS+PLqiY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from [10.236.136.62] (165.204.77.1) by BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Tue, 15 Aug 2017 19:32:29 +0000 Cc: brijesh.singh@amd.com, Jordan Justen , Tom Lendacky , Ard Biesheuvel To: Laszlo Ersek , edk2-devel@lists.01.org References: <1502107139-412-1-git-send-email-brijesh.singh@amd.com> <7dc9df48-98c4-4df4-9b8b-7732ad3f4f2d@amd.com> <528814fa-03a9-cb12-57b2-5a516d087b96@redhat.com> <5751db0c-8a86-1a2e-16b0-f0292f84f120@amd.com> <82e062ef-3df6-7aef-cb3a-fa0db4e3ada6@redhat.com> From: Brijesh Singh Message-ID: <8bf5c6aa-6e73-e5c2-c10f-7196b7dbe782@amd.com> Date: Tue, 15 Aug 2017 14:32:25 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <82e062ef-3df6-7aef-cb3a-fa0db4e3ada6@redhat.com> X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR13CA0031.namprd13.prod.outlook.com (10.173.156.145) To BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a438cdbd-880e-44f6-6ae3-08d4e4145ee2 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0145; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 3:/8Y8c29RrP8zhB5qopSvavH85D46N+HzMO+DJlogcpiHA8m90KNDnZUD0iLvr6UKJMj33Yyqfa2QsrMB3Eb+J01JkSNSGLB2XMHP7QD6/WGE8k2LQJ5pHzAp/u7/VGDB00zKQKIE/DyuyzyJl69Y87oKQUesRSVCY8TDNjnv8bbC459dubbQP2QitAgq1ofYlK0lxYxDGKBacISYfs1BcBodbiF0SpZRDPgMXzrA4rUIQgfy/zq/RksynnyUyRhx; 25:XsTYDKUCiHyUF+WQnWl4D4EFPOErflldI1OTZYpAmvAB2UblyuOpIVs4QzfjaKlaciGRUVhA1OMSXQVZVwqgIRIWMIE9qG45hS1MnavGfbnb4Xt3MMSk7QaON7Ovw8kNvdZKjFQcEiZVrVNqQAdMchGljm+D/kgaw3IJaH/eGSSDAuga4ToN41u6CRxKDL7BdKeZoHmoL6ERnSyX9AaAwgnxjdpeAj4onzGz4olUuzDlbdjCSesnxuwOBiHOogtbV9aRaSZDLHQccTSjOrW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2RZmONMZv0+Tzi4PDYg3pP1gqL/8CymVG2OZ7HFb1i+Ft2eIcMKBi804hcE03xN9RvstEvkhQUlDlHXC8SdGxTdCBFj2/tfUKtrMjU3Bm2LhQlyBGfxpIm0thGXhDYra2DACBpOcONRDmnPkVvuNN3HLBQpeiHQ== X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(192278398808882); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123560025)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0145; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0145; X-Forefront-PRVS: 04004D94E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6049001)(6009001)(199003)(24454002)(189002)(57704003)(377454003)(33646002)(68736007)(6666003)(2950100002)(65826007)(7736002)(105586002)(5660300001)(305945005)(189998001)(106356001)(42186005)(966005)(229853002)(86362001)(31696002)(23676002)(2906002)(90366009)(6486002)(77096006)(110136004)(230700001)(53936002)(6246003)(101416001)(65806001)(81156014)(81166006)(8676002)(50986999)(76176999)(31686004)(25786009)(7350300001)(64126003)(93886004)(4001350100001)(54356999)(97736004)(50466002)(66066001)(65956001)(478600001)(54906002)(47776003)(6116002)(3846002)(83506001)(4326008)(6306002)(53546010)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0145; H:[10.236.136.62]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjEyTUIwMTQ1OzIzOjh5UEw3S0Fjc3BpU2hoYU9jc0ovY1FsUkcv?= =?utf-8?B?US9jdGZaV2MwRDdPb1lPUXcycm1LZXVqRVpNVDRhQW1KMURsN20yQnYvdmlB?= =?utf-8?B?Uy9EaXMvc2Q2YkJLWks3ODN5a3hjU25EWnI5M1BERlJoWEZGVnA1SkJpTGpF?= =?utf-8?B?clJKYjlrZWYwNWFTVkh2SFIwM1BlSG1pbVFqZkVTcFlnaVF3VCtpWUZJUzBF?= =?utf-8?B?SmpiQzdnd05sS21TSHRxKzNKM2tmYk4xWWVzOGFwTkhqY1lBTDRFeFRIOE1C?= =?utf-8?B?d3pCclJlNk9wQ1JMb0FkNktQSU54dkpXZ1pIaHliYWUrZ21LSTN6M1JiUkNp?= =?utf-8?B?cE1la2JpYzV5QzBhSWNnWFVvcUQ1UGxueDA2RzhMZjF4WXJCbXJ4Umo0Vko0?= =?utf-8?B?NytWZVBZbEJKaDdFN0ZmMlZXV1U0RllUSDNnMmFHZDFPTmxEcnNWeGlXUWNI?= =?utf-8?B?a2d6SVlJR2E3Q3BVOWFKeG42OXBLOWE2SlY4VURuYm9Sb1Nic3U5QXZXWCsz?= =?utf-8?B?QVRmb1ROOXdVVHQ1aHFleDhtMm41dFN3VXY5alRMLysxc2NrcHRwTFhMQTdK?= =?utf-8?B?dXF5bUZYbEJac20yKy9NcjFHY0dpVUZBNUZFdHlCYXQwVWRmUEdWMHF5VjQy?= =?utf-8?B?VEg3a1lIUVFudzFEUTRvS1l1TDZRbFJiaU5Qa1NMU25TYUNKd0gzbU9GK0d5?= =?utf-8?B?cEtKSGRSOXVxYTZpcmZFdTF5TEZDVytMTlduNTFqU095Tnc5Q2NuTkFXRTJT?= =?utf-8?B?RHBha1hwUVZxbW1mWUVHdE04TzF0UmMyWE9WemhzUjV3eGZBNVpFe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dlCJYFY0DdNsRtzv7GuWg4SDpVhA9CazKXJdLLsjzccvsSqux7t/K1IbpIQIp07/nvJZD/ZqZZVAhQJ5JoMH9udSvN7O/1dsP98F3hM5wnngYtlanh2uzY0wQsDvbtKHdITfuZ0kYmvjhhLKJvt7OvmITvGPVXkc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 20:avN9njtGuncW8n6xwUB+WsgCUZ7Kf0uRuEo0PsJ+URPJDtZAxV/vtPy0c6WzxntvdW4MDZ/CZSG/iUpywP0TJ5lDeAe/qwOEibUWpt/k2ycXaA8LnZBN+hA8EXU7JKNUESSPpWkBCpAHCMYt+T/MLy3R8/qZvVfSFCpKVWHiJ+nemECKOoGQknuiEwEiHn1T2Ll8VpUMZEEaZLomlK5EwCnxo6PEHkfvAAMqylWEm4nWUVNWXIIe0qNIWq6kxgYB X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2017 19:32:29.9864 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0145 Subject: Re: [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2017 19:30:07 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Hi Laszlo, On 08/15/2017 05:42 AM, Laszlo Ersek wrote: [snip] >> >> I have been following the steps from >> https://wiki.linaro.org/LEG/UEFIforQEMU >> >> qemu-system-aarch64 \ >> -m 1024 \ >> -cpu cortex-a57 \ >> -M virt \ >> -bios QEMU_EFI.fd \ >> -serial stdio >> >> I tried this steps with and without my patches and it resulted in the same. >> It seems like I am missing something in the qemu cli, do I need to pass >> special dtb file or something similar ? > > The above command line is not right ("-bios"). Please scroll down the > wiki page, to the section heading saying "Using persistent UEFI > variables". There it explains how to pad the images and how to use two > -pflash options. ... Perhaps even that part of the article is a bit > out-of-date now. > > Basically, today ArmVirtQemu should be used the same way as OVMF, except > for the padding. The build produces two files: > - QEMU_EFI.fd (fw binary) > - QEMU_VARS.fd (varstore template) > > Each should be padded to 64MiB with zeros at the end (write a small > script for that), then use them with two pflash drives similarly to OVMF. > Still no luck, you can see my log error [1]. I never get to UEFI shell, I have tried with and without virtio disk. https://gist.github.com/codomania/0aed024702b817761ee55fd30929200a I will continuing googling ...