Re: [edk2] difficulties getting started with EDK2 Development

2013-01-19 Thread Isakov Sergey
t want to offend anyone here, nor their hard work, but I use OS >>>> X and that platform is even more behind. I was stunned to find out that >>>> while Apple is using EFI for years, one cannot even compile stuff properly. >>>> >>>> I presume that Apple

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-16 Thread Andrew Fish
>>>>> 4621c4621 >>>>> < *_XCLANG_*_ASLDLINK_FLAGS = -e _ReferenceAcpiTable -preload -segalign >>>>> 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map >>>>> $(DEST_DIR_DEBUG)/$(BASE_NAME).map >>>>> ---

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-16 Thread Isakov Sergey
gt;>> > -seg1addr 0x240 -read_only_relocs suppress -map >>>> > $(DEST_DIR_DEBUG)/$(BASE_NAME).map >>>> 4624d4623 >>>> < *_XCLANG_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) >>>> >>>> >>>> >>>> >>>

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-16 Thread Isakov Sergey
that Linux isn't a stable platform for development, it >>>> should be my preferred platform (licencing issues), but we can also >>>> use any other. What would you (or anyone else) recommend? >>>> >>>> Regards, >>>> >>>> Mauro >&

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-16 Thread Isakov Sergey
e, living in a non-windows world – using Linux since age 7 and >> OS X since 2007 – this is total madness. Won't ever use Windows. Not even in >> a virtual machine. >> >> Note: Anything expressed here is my own personal view and not that of my >> employer. >

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Andrew Fish
ards, > > Pike > > Van: Mauro Faccenda > Aan: edk2-devel@lists.sourceforge.net > Verzonden: dinsdag 15 januari 13:40 2013 > Onderwerp: Re: [edk2] difficulties getting started with EDK2 Development > > Hi Космынин, > > Thanks for your answer. I've noticed that the

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Laszlo, With your patch the GetHostByName doesn't hang anymore, but GetHostByDns still does. Couldn't even try to check the differences yet. Cheers, On Tue, Jan 15, 2013 at 7:46 PM, Laszlo Ersek wrote: > On 01/15/13 09:18, Космынин Олег Олегович wrote: >> One bug with debug sections (check

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Laszlo Ersek
On 01/15/13 09:18, Космынин Олег Олегович wrote: > One bug with debug sections (check your log for: cannot fill debug > link section) - it will stop DEBUG() macro from working, Can you please check if the attached patch works for you? (It won't become upstream as-is, see

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Laszlo Ersek
On 01/15/13 14:12, Космынин Олег Олегович wrote: > Seems like gethostbyname error is the same as in GetHostByDns... > > I spend about one week trying to understand what causes the bug with > ASSERT message in GetHostByDns and come to a conclusion that pointer > 'This' (EFI_UDP4_PROTOCOL pointer) c

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Andrew, Already following your suggestion I think I've found a solution for the warning being promoted as error: src/edk2/StdLib/LibC/Containers/Queues/Fifo.c: In function ‘New_cFIFO’: src/edk2/StdLib/LibC/Containers/Queues/Fifo.c:508: error: assignment from incompatible pointer type. In Fifo.

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Andrew Fish
As a general rule of thumb I would suggest the following If you get a warning, that we promote to an error, it is likely that it will be easy to fix with a cast. The reason is a lot of the work happens with Visual Studio but we have warning cranked way up. Both gcc and clang are more pedan

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Andrew, Just reporting that the GCC version doesn't seem to be the problem since I've got the exact same problems using Ubuntu 10.4 with GCC 4.4 (however I didn't try GCC 4.5). Cheers, On Tue, Jan 15, 2013 at 12:56 PM, Andrew Fish wrote: > > > I also noticed that the StdLib readme.txt states

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Jordan Justen
On Tue, Jan 15, 2013 at 12:18 AM, Космынин Олег Олегович wrote: > Sadly, Linux is not a platform for stable development, >there are at least 2 bugs we found in toolchain (gcc46), > one is critical, i reported it but no answers. I think GCC44/GCC45/GCC46 should be working well for standard edk2 ba

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Andrew, That you are right, in Main.c the main shouldn't have the EFIABI as Jordan pointed in his message. Your detailed explanation helps me to understand a little better the whole environment. Thank you, Mauro On Tue, Jan 15, 2013 at 1:21 PM, Andrew Fish wrote: > In my previous mail to th

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
> Thank you, > Daryl McDaniel > > -Original Message- > From: Mauro Faccenda [mailto:facce...@gmail.com] > Sent: Monday, January 14, 2013 8:23 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] difficulties getting started with EDK2 Development > > H

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Brian J. Johnson
;t really an option for us. Hope you can find a workable development system. Sincerely, Brian >> Note: Anything expressed here is my own personal view and not that of >> my employer. >> >> Regards, >> >> Pike >> >>

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Andrew Fish
In my previous mail to this thread I explained the usage of EFIABI and the differences in the calling convention. If you are seeing an EFIABI issue with main() this is what you should look for The EFIABI calling convention for X64 passes the first 4 arguments in registers RCX is arg1, RDX i

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Andrew Fish
pple. It works great for us. > Note: Anything expressed here is my own personal view and not that of my > employer. > > Regards, > > Pike > > Van: Mauro Faccenda > Aan: edk2-devel@lists.sourceforge.net > Verzonden: dinsdag 15 januari 13:40 2013 > Onderwerp:

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mcdaniel, Daryl
f EDK II. Thank you, Daryl McDaniel -Original Message- From: Mauro Faccenda [mailto:facce...@gmail.com] Sent: Monday, January 14, 2013 8:23 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] difficulties getting started with EDK2 Development Hi Daryl, Nice to hear that. Should I k

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Piker Alpha
: Anything expressed here is my own personal view and not that of my employer. Regards, Pike Van: Mauro Faccenda Aan: edk2-devel@lists.sourceforge.net Verzonden: dinsdag 15 januari 13:40 2013 Onderwerp: Re: [edk2] difficulties getting started with EDK2 Develo

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Космынин Олег Олегович
understand. From: Mauro Faccenda [facce...@gmail.com] Sent: 15 January 2013 16:40 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] difficulties getting started with EDK2 Development Hi Космынин, Thanks for your answer. I've noticed that the whole envi

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
lpha stage and you should expect lots of > bugs. > > Good luck in your work > > > From: Mauro Faccenda [facce...@gmail.com] > Sent: 11 January 2013 18:24 > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] difficulties getting star

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Космынин Олег Олегович
dk2-devel@lists.sourceforge.net Subject: [edk2] difficulties getting started with EDK2 Development Hi all, I am trying to get started with EDK2 development and I'd like to report some difficulties I had and am having. If any of you can point to some way to fix or even better way of doing

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-14 Thread Mauro Faccenda
ailto:facce...@gmail.com] > Sent: Monday, January 14, 2013 8:56 AM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] difficulties getting started with EDK2 Development > > On Sat, Jan 12, 2013 at 5:36 AM, Jordan Justen wrote: >> On Fri, Jan 11, 2013 at 6:24 AM, Mauro

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-14 Thread Mcdaniel, Daryl
r Koestler -Original Message- From: Mauro Faccenda [mailto:facce...@gmail.com] Sent: Monday, January 14, 2013 8:56 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] difficulties getting started with EDK2 Development On Sat, Jan 12, 2013 at 5:36 AM, Jordan Justen wrote: > On Fri, Jan

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-14 Thread Mauro Faccenda
On Sat, Jan 12, 2013 at 5:36 AM, Jordan Justen wrote: > On Fri, Jan 11, 2013 at 6:24 AM, Mauro Faccenda wrote: >> #include >> int >> EFIAPI >> main ( >> IN int Argc, >> IN char **Argv >> ) >> { >> printf("\nArgc=%d\n", Argc); >> return 0; >> } >> -- >> And whenever I run it on UEFI Sh

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-12 Thread Jordan Justen
On Fri, Jan 11, 2013 at 6:24 AM, Mauro Faccenda wrote: > #include > int > EFIAPI > main ( > IN int Argc, > IN char **Argv > ) > { > printf("\nArgc=%d\n", Argc); > return 0; > } > -- > And whenever I run it on UEFI Shell (using qemu), I always get really > big values (> 3700) no mat

[edk2] difficulties getting started with EDK2 Development

2013-01-11 Thread Mauro Faccenda
Hi all, I am trying to get started with EDK2 development and I'd like to report some difficulties I had and am having. If any of you can point to some way to fix or even better way of doing anything, I'd appreciate. I am willing to use a plain Ubuntu 12.04 64bits as development platform as it co