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::136; helo=mail-it1-x136.google.com; envelope-from=peter.wiehe2@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-it1-x136.google.com (mail-it1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 9595421193062 for ; Sat, 24 Nov 2018 11:46:58 -0800 (PST) Received: by mail-it1-x136.google.com with SMTP id z7so5179816iti.0 for ; Sat, 24 Nov 2018 11:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o034oiuvIt3A01RlgLlli9OV9IOl1X4omeXXj9LVr4M=; b=L8YeKmKrVYwQWLtVJDZiY8bqFIbxEE450StVN+MFQyh2SSta1l3aKnCbpG4obWpGrI QJweuZ4GcVQzOJk6zm6Y3PsIK1dT1PsGMlvIMfxjaLI053CCPC7qXpVaAKY8XofLvKXN xUT0xteJsg6uxXDyTpPveJ5FYH23Ascn0mKX4L87VLphx3JDhxlvxusU2zNVzexvhJBr MbLyriJcFjUzTgPL2Z499ltbUPhzV/LxKmxyVcrwO9I7UZqz2pRJ3+qBwqWNzKlTnBjz Rr8XhSwMuTz7ZmRocitLE9T/NQkLeDU+Zq4FwJ8foI/eT7q+lMJmX5SGxbYsmioagzvE ZPAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o034oiuvIt3A01RlgLlli9OV9IOl1X4omeXXj9LVr4M=; b=DZ2N1vBbd/s28vwrJz/kB3k3Nfddvtx6H0FdhALDPsxsJumr8yXIvz01PJ+ix2TOue sUlKeYL0MahpLpNQxdR3ro3afcTfcV3UluhJy00eDcClHRbJWl+zh1yK1QEYETqaWZFw w6ijoVagPbm5k2ey7T3+e0/u+nUreMKBTuB1UeKKdXrUcKGmpDEcNK30/S7wgEL8SMID 4vabIsmgsEe14bNgXCH757Up6jpxqsLJazatfg4zW/RV0+Ub2wYs/geSTqFJmtlIs0px kNdrlOGKyV9eAq2w9uKQfE3WBS47zt7INrCMy2R3/fyFB0g0CU5z6fLSf1nCXt+tJIg0 9O+Q== X-Gm-Message-State: AA+aEWbFyj4Axc1PET3WhENsvTPyLFUmYMvuQFnR9LEyH2b2yChf0y8e cCkqKLKGA3L5hC6UDotGiWvguomPkyoo9WIOzwk= X-Google-Smtp-Source: AFSGD/XBGdzVSs2wyGvXNlm11rE0kA1EhbjaGjEJFwhKYL9y2wJN1IuoVDcfxlVGejMjrXfstM74IiTHPlyIuitDBbM= X-Received: by 2002:a24:28c5:: with SMTP id h188mr6155955ith.97.1543088817615; Sat, 24 Nov 2018 11:46:57 -0800 (PST) MIME-Version: 1.0 References: <4DF911E2-CFF4-4FA7-8270-7F17E29E51ED@apple.com> In-Reply-To: <4DF911E2-CFF4-4FA7-8270-7F17E29E51ED@apple.com> From: Peter Wiehe Date: Sat, 24 Nov 2018 20:46:49 +0100 Message-ID: To: Andrew Fish Cc: edk2-devel X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 19:46:58 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As I said: I can't run "build". That command is unkown. Peter Andrew Fish schrieb am Sa., 24. Nov. 2018 20:45: > Run the build command. Conf/target.txt controls the default arguments > passed to build. > > Sourcing edksetup.sh should set your path. Did you miss the =E2=80=9C.=E2= =80=9D or get an > error? > . edksetup.sh BaseTools > > Sent from my iPad > > > On Nov 24, 2018, at 10:03 AM, Peter Wiehe > wrote: > > > > OK, thanks! Done that. > > > > But how do I get to build the MdeModulePkg? I did setup as mentioned > > in > https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions > > > > Peter > > > > 2018-11-24 18:57 GMT+01:00, stephano : > >> Hey Peter, > >> > >> We're still using GCC5 for most of our testing. Try building with that > >> release: > >> > >> apt install gcc-5 > >> > >> Then in Conf/target.txt: > >> TOOL_CHAIN_TAG =3D GCC5 > >> > >> Cheers, > >> Stephano > >> > >>> On 11/24/2018 9:23 AM, Peter Wiehe wrote: > >>> 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 = =3D > x64) > >>>> > >>>> Once you have built the BaseTools and MdeModulePkg without any error= s, > >>>> 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 f= or > >>>> 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.b= in: > >>>>> 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 > >>>>> > >>>> > >>> _______________________________________________ > >>> edk2-devel mailing list > >>> edk2-devel@lists.01.org > >>> https://lists.01.org/mailman/listinfo/edk2-devel > >>> > >> > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel >