From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::d43; helo=mail-io1-xd43.google.com; envelope-from=peter.wiehe2@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A6FBA21193790 for ; Sat, 24 Nov 2018 09:24:00 -0800 (PST) Received: by mail-io1-xd43.google.com with SMTP id v10so5226283ios.13 for ; Sat, 24 Nov 2018 09:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=AjcX/x8WvOi8L3a6pZEomlukfttxbc+u5vwXwbdR/AY=; b=q9mSkgJkC5MuwDiKejlqRcapJiqUQOYTA4x9hH44L7OiXWJ8AXUIQdhiMYVH+d4T7l /+UL2muLYiYlK5mqyC/wAyBOlPawFtkl7wSpYpxTNLQvJpe/7PHtmX44ZAeAGFhEWJrU S8xN0MBawxuqB59ls06JrSozyenfSqsvQm9ND9ZXGECvmFHHwcqb1eEBl7rQBcesCW0E t9iLhAENx+R7tBa5ODMCGZy4uG+rgP/RNmzQsLqsNJ3e4pE/FnIZ22pM8NY5lfXo83g4 n/TM4eSm1vYo1oH+EuBLy+zzlzFN3yE2vJIj44UMJuh600bwJO8dF37/tVuehgILbAig GMHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=AjcX/x8WvOi8L3a6pZEomlukfttxbc+u5vwXwbdR/AY=; b=aL2O0hTq5MPp9Gdj+aVsbWa/v5+UMwaMMmz4mg/UdBSP60lES7AjiOJ8vQrhA1IvqV 9srka5psk62lV4qAtSIwOPo8ReoUtQN7pBTFxxj59cofpekVj1fnyuVRqBliW7qbwYo4 Vnu5kG8rTVV9VB9OAhlN/2DGaNirokAxlykUYeShGFGiapaW5ViAWbvcWlHNfI3nNv8m wJmWBNfGUxYzUePlQoUS32iq4Ihsd0I4URE7CB5zm0r30SNBbxDbqJ89MSvVWYHniOgW R+1xW1qB5M1oOboNcVdKl5jxLl9+wYgH4CxH8F2jN2d3/2db+35hB5PejIC0SStieolC 0vEQ== X-Gm-Message-State: AA+aEWa780IzWy7dOD0A4DLx4HMH/6Jrv7Cnom2BeXulbnaDPATC8e47 wJDcFdBAXTUgtZoLz/4yb8ToKFe6Mqrzfi7CjZIScg== X-Google-Smtp-Source: AFSGD/XIJ5z/kCuvlXPYhGPMJ1AZTap7l2M/04H1/nwWcZc1Ff8ML4FlKNT84C3uhHrh+OUIRBGvC93+pdYbFJhvPjM= X-Received: by 2002:a5e:de42:: with SMTP id e2mr15645108ioq.91.1543080239734; Sat, 24 Nov 2018 09:23:59 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a5d:899a:0:0:0:0:0 with HTTP; Sat, 24 Nov 2018 09:23:59 -0800 (PST) In-Reply-To: References: From: Peter Wiehe Date: Sat, 24 Nov 2018 18:23:59 +0100 Message-ID: To: edk2-devel 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 17:24:00 -0000 Content-Type: text/plain; charset="UTF-8" OK Building went well to a certain point. I successfully git cloned. I built the BaseTools. I (seemingly successfully) setup the build shell environment. (I got no errors.) In the target conf file I chose "IA32 X64" and ELFGCC (since I habe gcc 7.3.0 installed). When I type "build", there comes an error like "Command build not found". I thought that maybe it's because of the shell environment variable $PATH. $PATH does NOT contain the edk2 source directory in any way (despite the fact that I entered "export EDK_TOOLS_PATH..."). What can I do? Greetings Peter 2018-11-24 1:40 GMT+01:00, stephano : > 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 >> >