From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=96.73.9.1; helo=muon.bluestop.org; envelope-from=rebecca@bluestop.org; receiver=edk2-devel@lists.01.org Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DB3EC21B02822 for ; Sat, 24 Nov 2018 21:59:34 -0800 (PST) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 39229E4CD9; Sat, 24 Nov 2018 23:00:19 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluestop.org; s=mail; t=1543125619; bh=g/f1i258uRbsOTNTsxIR62QN9ca2xANdTanJAsu39Hw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UrD24oSyrThjW7DVkavUPuIPcKYAjvub5tvUs5O3q2SvkophLJluCyApcP5pXOM/W YTfNoRDbTiRkX7EhIA+j9p2rT1tYBYt04j6xeDrGL4F5957vIdPuPfosjOUd0b6hhj kM9LHAjNfZWPwPiTCsZrJZeDYhE5Z0mYAoLhb1io= Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yap5oT2fYbxy; Sat, 24 Nov 2018 23:00:18 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Sat, 24 Nov 2018 23:00:18 -0700 (MST) From: Rebecca Cran To: edk2-devel@lists.01.org Date: Sat, 24 Nov 2018 22:59:32 -0700 Message-ID: <15314690.vxEf1mJfsr@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: Newbie: Getting Ovmf built X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2018 05:59:35 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Friday, 23 November 2018 17:40:15 MST stephano wrote: > We have a set of simple instructions for folks building on standard > Linux distros. Please have a look at this page: > > https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions > > Note: Be sure the TARGET_ARCH is set correctly. (E.g. TARGET_ARCH = x64) If you just want to build OVMF, there's a simpler way. After cloning, and assuming you're running bash, just: cd edk2 . ./edksetup.sh ./OvmfPkg/build.sh -a X64 -t GCC5 -b RELEASE If the build succeeds you'll end up with Build/OvmfX64/RELEASE_GCC5/FV/OVMF.fd which is the 'BIOS' image to pass to Qemu, e.g.: qemu-system-x86_64 -m 4g -drive if=pflash,format=raw,readonly,file=Build/ OvmfX64/RELEASE_GCC5/FV/OVMF.fd \ -nodefaults \ -drive format=raw,file=/hda.img -monitor stdio \ -vga std -sdl -drive format=raw,file=Install.iso -- Rebecca