Re: [edk2] Newbie: Getting Ovmf built

2018-11-26 Thread Gao, Liming
ginal Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Peter > Wiehe > Sent: Sunday, November 25, 2018 1:24 AM > To: edk2-devel > Subject: Re: [edk2] Newbie: Getting Ovmf built > > OK > > Building went well to a certain point. I successf

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Rebecca Cran via edk2-devel
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

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Peter Wiehe
OK I simply re-did what I have done and now it works. It was probably a typo of ". edksetup.sh BaseTools" or of the "export ..." command. Kind regards Peter 2018-11-24 21:44 GMT+01:00, Andrew Fish : > > >> On Nov 24, 2018, at 11:46 AM, Peter Wiehe wrote: >> >> As I said: I can't run "build".

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Andrew Fish
> On Nov 24, 2018, at 11:46 AM, Peter Wiehe wrote: > > As I said: I can't run "build". That command is unkown. > Peter, The build command is what is required to build the firmware. Sourcing the edksetup.sh should set your path so build can be found. I'm on macOS and it looks like this

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Peter Wiehe
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 “.” or get an > error? > .

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Andrew Fish
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 “.” 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. > >

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Peter Wiehe
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

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread 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 = 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

Re: [edk2] Newbie: Getting Ovmf built

2018-11-24 Thread Peter Wiehe
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

Re: [edk2] Newbie: Getting Ovmf built

2018-11-23 Thread 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.

[edk2] Newbie: Getting Ovmf built

2018-11-23 Thread Peter Wiehe
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