From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.151.62.68; helo=nwk-aaemail-lapp03.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from nwk-aaemail-lapp03.apple.com (nwk-aaemail-lapp03.apple.com [17.151.62.68]) (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 5870721193062 for ; Sat, 24 Nov 2018 11:45:18 -0800 (PST) Received: from pps.filterd (nwk-aaemail-lapp03.apple.com [127.0.0.1]) by nwk-aaemail-lapp03.apple.com (8.16.0.22/8.16.0.22) with SMTP id wAOJfmJT059144; Sat, 24 Nov 2018 11:45:17 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-type : sender : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=20180706; bh=ThkRhbq55B1Jd1Uj1BXmIMzW4LxE3/VGS6Ie2Xzkyec=; b=HFIp82FuPpMhY0YxXLpcOttorkepvz/KHd3lDG379nVGlJ3NKgX04awAkx1grL5FTtd1 PO41peYnwdq+nKqf5h1nHQt6M/shDQvQmDiifAuZwfKazz89HHqGOC+u4Nz0GVHaFb6S AnJkRMOUafP/DrAfCv1Z3ZINiiCTa4n35+5YgLnpYvxgPX1f7VF2vnBprAFKV+JH+Tzw 3iurpEuGZBmUOf8yDJ4cTe8T/FqZKAb4qV0JD3hxw0+HBw4ryOWJ+N+CJN4wAQp86/2D byzbsXVocJ93SIhgv5htKIyBEEyHKsnn3rl70VbPmt3lzPf7tH0FXQJikn1D9rB3i/ux Pw== Received: from mr2-mtap-s02.rno.apple.com (mr2-mtap-s02.rno.apple.com [17.179.226.134]) by nwk-aaemail-lapp03.apple.com with ESMTP id 2ny4291c8f-9 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 24 Nov 2018 11:45:17 -0800 MIME-version: 1.0 Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by mr2-mtap-s02.rno.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPS id <0PIP00JMXQVD3A30@mr2-mtap-s02.rno.apple.com>; Sat, 24 Nov 2018 11:45:13 -0800 (PST) Received: from process_viserion-daemon.nwk-mmpp-sz12.apple.com by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PIP00700QT9SR00@nwk-mmpp-sz12.apple.com>; Sat, 24 Nov 2018 11:45:13 -0800 (PST) X-Va-A: X-Va-T-CD: 7069b87e460bab77838bd4ff93c12437 X-Va-E-CD: 1758fc4680fd58cfa24a3d78200b33d1 X-Va-R-CD: f4ce024657388c4f41e2355efbeac5df X-Va-CD: 0 X-Va-ID: 2f37e246-529e-4866-bb31-68720ac46dca X-V-A: X-V-T-CD: 98a778f61b85c340d07cc74675eb362f X-V-E-CD: 1758fc4680fd58cfa24a3d78200b33d1 X-V-R-CD: f4ce024657388c4f41e2355efbeac5df X-V-CD: 0 X-V-ID: a65baa7a-3251-4fbd-87b6-18726c607ab8 Received: from process_milters-daemon.nwk-mmpp-sz12.apple.com by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PIP00M00Q88OW00@nwk-mmpp-sz12.apple.com>; Sat, 24 Nov 2018 11:45:13 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-24_17:,, signatures=0 Received: from [17.235.38.68] (unknown [17.235.38.68]) by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPSA id <0PIP00JNTQVDNA70@nwk-mmpp-sz12.apple.com>; Sat, 24 Nov 2018 11:45:13 -0800 (PST) Sender: afish@apple.com From: Andrew Fish X-Mailer: iPad Mail (16B92) In-reply-to: Date: Sat, 24 Nov 2018 11:45:12 -0800 Cc: edk2-devel Message-id: <4DF911E2-CFF4-4FA7-8270-7F17E29E51ED@apple.com> References: To: Peter Wiehe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-24_17:, , signatures=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: Sat, 24 Nov 2018 19:45:18 -0000 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Run the build command. Conf/target.txt controls the default arguments passe= d 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 > On Nov 24, 2018, at 10:03 AM, Peter Wiehe wrote= : >=20 > OK, thanks! Done that. >=20 > But how do I get to build the MdeModulePkg? I did setup as mentioned > in https://github.com/tianocore/tianocore.github.io/wiki/Common-instruct= ions >=20 > Peter >=20 > 2018-11-24 18:57 GMT+01:00, stephano : >> Hey Peter, >>=20 >> We're still using GCC5 for most of our testing. Try building with that >> release: >>=20 >> apt install gcc-5 >>=20 >> Then in Conf/target.txt: >> TOOL_CHAIN_TAG =3D GCC5 >>=20 >> Cheers, >> Stephano >>=20 >>> On 11/24/2018 9:23 AM, Peter Wiehe wrote: >>> OK >>>=20 >>> Building went well to a certain point. I successfully git cloned. I >>> built the BaseTools. >>>=20 >>> I (seemingly successfully) setup the build shell environment. (I got n= o >>> errors.) >>>=20 >>> 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 foun= d". >>>=20 >>> 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..."). >>>=20 >>> What can I do? >>>=20 >>> Greetings >>> Peter >>>=20 >>> 2018-11-24 1:40 GMT+01:00, stephano : >>>> Hello Peter, >>>>=20 >>>> Thanks for giving EDK2 a try! >>>>=20 >>>> We have a set of simple instructions for folks building on standard >>>> Linux distros. Please have a look at this page: >>>>=20 >>>> https://github.com/tianocore/tianocore.github.io/wiki/Common-instruct= ions >>>>=20 >>>> Note: Be sure the TARGET_ARCH is set correctly. (E.g. TARGET_ARCH =3D= x64) >>>>=20 >>>> Once you have built the BaseTools and MdeModulePkg without any errors= , >>>> you can try building and running in OVMF: >>>>=20 >>>> https://github.com/tianocore/tianocore.github.io/wiki/How-to-build-OV= MF >>>>=20 >>>> Tip: Add the -j option so that you can grep through the log easily fo= r >>>> any errors (build -j /path/to/log/file.txt). >>>>=20 >>>> Hopefully those links help get you started. Let me know if you run in= to >>>> any other issues. >>>>=20 >>>> Cheers, >>>> Stephano >>>>=20 >>>> Stephano Cetola >>>> TianoCore Community Manager >>>>=20 >>>>> 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 a= nd >>>>> ext2 and pre-kernel "environment".) >>>>>=20 >>>>> I use xubuntu 18.04 on an AMD 64bit PC. >>>>>=20 >>>>> 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. >>>>>=20 >>>>> 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" >>>>>=20 >>>>> Then I get the error message "qemu-system-x86_64: -pflash >>>>> /home/peter/Schreibtisch/edk2-master/Build/OvmfX64/DEBUG_GCC5/QEMU/b= ios.bin: >>>>> Could not open >>>>> '/home/peter/Schreibtisch/edk2-master/Build/OvmfX64/DEBUG_GCC5/QEMU/= bios.bin': >>>>> No such file or directory" >>>>>=20 >>>>> So my first question is how to deal with this error. >>>>>=20 >>>>> Kind regards >>>>> Peter Wiehe >>>>> _______________________________________________ >>>>> edk2-devel mailing list >>>>> edk2-devel@lists.01.org >>>>> https://lists.01.org/mailman/listinfo/edk2-devel >>>>>=20 >>>>=20 >>> _______________________________________________ >>> edk2-devel mailing list >>> edk2-devel@lists.01.org >>> https://lists.01.org/mailman/listinfo/edk2-devel >>>=20 >>=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel