From nobody Wed Oct 4 14:12:31 2023 X-Original-To: emulation@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S0xV619Vrz4w12s for ; Wed, 4 Oct 2023 14:12:46 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0xV539K9z3g11; Wed, 4 Oct 2023 14:12:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.208.175 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com; dmarc=none Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2c28e35752cso25577921fa.0; Wed, 04 Oct 2023 07:12:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696428764; x=1697033564; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xu7hViSC8iUPsqStHMnonylCvzl3IAwKB33rxLp66Y0=; b=pmBjBXImcpb28HG6IFypNSxANIp/jgo/FFU55IBGDR3llSsZme6ShwwPTYbv2Jbdh7 jEyb1y7O3t3IPB86eN5Y+I4/d4ZgTJBWW/4/aair/wN/del5JtJbvYFFBm0XTi4tHVWV xXJ4Ow2WApaLMK8LxRvXQmo/qfLjq0xtlLiZ+Bsdr6VE+15yrrRChpLOgW74z88/ac8n auWY0E3Od+WHeH64Xlw1Bng8c6oA0LRXNlHq80gCogOO6ioQo2EzhrpNIPLgr3kXGjzN V/p3Sl2R4SZWQKRSNHp6beQ27RQ7DcoiYCCA7gro4oiDQFfvq391U0hdFZf68yvYRic1 FABw== X-Gm-Message-State: AOJu0YxV2okalaXHXdoTvPinFcGMGj4YZlDrFi14AFaynMm/sEcjsaoR voB8ZP82sHn/HDYNzfqZf1wlCNXKTZc1GJB4PCA= X-Google-Smtp-Source: AGHT+IEAGOxypFM4jVt9a9rDuNdT5zZd09+krzBIqH3JQYVwDSQN4r55BLye6gWIIrVxLGbrQbMvefMyaA3pPgR+rVg= X-Received: by 2002:a19:7b03:0:b0:500:aed0:cb1b with SMTP id w3-20020a197b03000000b00500aed0cb1bmr2061411lfc.24.1696428763381; Wed, 04 Oct 2023 07:12:43 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 4 Oct 2023 10:12:31 -0400 Message-ID: Subject: Re: Qemu EFI Firmware files/docs (aarch64) To: David Horn Cc: emulation@freebsd.org, "gjb@freebsd.org" , lwhsu@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.91 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.914]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[emulation@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.175:from]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[carpeddiem]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.175:from] X-Rspamd-Queue-Id: 4S0xV539K9z3g11 On Thu, 28 Sept 2023 at 07:42, David Horn wrote: > > A) Is `edk2-aarch64-code.fd` included with Qemu the canonical and > correct firmware for UEFI aarch64 , or is there a better one ?[1] The Cirrus-CI smoke test switched to using the uefi image provided by QEMU as of commit 7d9794b34bcd. I am not aware of any reason to use a different one. > B) I think a bit of clarity on both the Wiki and the release > announcement would be useful. I am willing to assist with the wiki > update if I can get an 'ack' from some folks here on the best > firmware. I think the arm64 VM section of the release notes should just be removed, starting from "Note regarding arm64/aarch64 virtual machine images". Standard QEMU instructions should apply to amd64 and arm64. For reference, Cirrus-CI's smoke test invocation: for amd64: QEMU="qemu-system-x86_64 -drive if=pflash,format=raw,readonly=on,file=${OVMF}" for arm64: QEMU="qemu-system-aarch64 -cpu cortex-a57 -M virt -bios edk2-aarch64-code.fd" and the rest of the arguments are common to both: $QEMU -m 256M -nodefaults \ -serial stdio -vga none -nographic -monitor none \ -snapshot -hda $hda 2>&1 | tee ${BOOTLOG}