From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=stephano.cetola@linux.intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 8216221194D35 for ; Fri, 23 Nov 2018 16:40:17 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2018 16:40:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,271,1539673200"; d="scan'208";a="110811278" Received: from scetola-mobl1.amr.corp.intel.com (HELO [10.254.12.193]) ([10.254.12.193]) by orsmga001.jf.intel.com with ESMTP; 23 Nov 2018 16:40:16 -0800 To: edk2-devel@lists.01.org References: From: stephano Message-ID: Date: Fri, 23 Nov 2018 16:40:15 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: 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: Sat, 24 Nov 2018 00:40:17 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Hello Peter, Thanks for giving EDK2 a try! 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) Once you have built the BaseTools and MdeModulePkg without any errors, you can try building and running in OVMF: https://github.com/tianocore/tianocore.github.io/wiki/How-to-build-OVMF Tip: Add the -j option so that you can grep through the log easily for any errors (build -j /path/to/log/file.txt). Hopefully those links help get you started. Let me know if you run into any other issues. Cheers, Stephano Stephano Cetola TianoCore Community Manager On 11/23/2018 2:44 PM, Peter Wiehe wrote: > Hello, I'm a total newbie to Tianocore/EDK2/OVMF. > (My coding is at high school level I think, not university level. I > have some (small) experience writing in Assembler, C, C++. I wrote a > little bootloader, so I know something about filesystem in general and > ext2 and pre-kernel "environment".) > > I use xubuntu 18.04 on an AMD 64bit PC. > > I'm currently trying to > 1.) build OVMF from source > 2.) and then want to run it in/with Qemu. > 3.) Later I would like to try to write a simple ext2 "driver". Can't > guarantee I will succeed, but let's see. > > So far I have > 1.) downloaded the whole edk2 zip/tar-ball > 2.) have installed nasm and ASL (iasl) > 3.) Run "EmulatorPkg/build.sh" > 4.) Run "OvmfPkg/build.sh -a X64" > 5.) Run "OvmfPkg/build.sh -a X64 qemu" > > Then I get the error message "qemu-system-x86_64: -pflash > /home/peter/Schreibtisch/edk2-master/Build/OvmfX64/DEBUG_GCC5/QEMU/bios.bin: > Could not open '/home/peter/Schreibtisch/edk2-master/Build/OvmfX64/DEBUG_GCC5/QEMU/bios.bin': > No such file or directory" > > So my first question is how to deal with this error. > > Kind regards > Peter Wiehe > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >