Re: [edk2] New to EFI. help needed

2012-10-18 Thread Krishna Joshi
Thanks Tonderai and Daryl.And yes , I do not just want to execute command , I want to transfer data to SUT. Daryl, I used the document u gave earlier and was able to install python successfully on Romley platform with APTIO BIOS. But since I was concentrating

[edk2] Enabling ftp in efi shell

2012-10-18 Thread Krishna Joshi
Hi, I want to enable ftp in the efi shell. I am able to ping the machines in LAN successfully. However when I tried to do ftp , it shows the error: 'socket :Undefined error : 0 ' I built the AppPkg and used the ftp.efi to serve my purpose. Please let me know how to enable ftp in efi

Re: [edk2] Can't Trim Efildr Down

2012-10-18 Thread Jordan Justen
On Thu, Oct 18, 2012 at 8:32 PM, Shao Miller wrote: > As a follow-up, I was successful with the same mission but only by using > Windows DDK 3790.1830, which has always worked in the past. So perhaps > there's a problem with using the Linux x86_64-w64-mingw32-gcc version 4.7.0 > 20120322 (Fedora

Re: [edk2] Can't Trim Efildr Down

2012-10-18 Thread Shao Miller
Good day, Sergey. Thanks again for this info. As a follow-up, I was successful with the same mission but only by using Windows DDK 3790.1830, which has always worked in the past. So perhaps there's a problem with using the Linux x86_64-w64-mingw32-gcc version 4.7.0 20120322 (Fedora MinGW 4.7.0-2

Re: [edk2] Sata hdds ports not recognized

2012-10-18 Thread Amol Tasgaonkar
Try to initialize the port multiplier with 0x for every new port found for reading the device. -amol Sent from Yahoo! Mail on Android -- Everyone hates slow websites. So do we. Make your web apps faster with AppDyna

Re: [edk2] [PATCH] IntelFrameworkModulePkg: fix IsKeyOptionVariable and gcc build of Hotkey.c

2012-10-18 Thread Ni, Ruiyu
Thanks for fixing them. Reviewed-by: Ruiyu Ni -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Friday, October 19, 2012 2:38 AM To: edk2-devel@lists.sourceforge.net; Ni, Ruiyu Subject: [PATCH] IntelFrameworkModulePkg: fix IsKeyOptionVariable and gcc build of Hotkey.

Re: [edk2] Does UEFI support C++ Exception handling.

2012-10-18 Thread Andrew Fish
On Oct 18, 2012, at 11:27 AM, Tim Lewis wrote: > Amol – > > Unlikely. It depends on your individual compiler and support library. Many > support libraries call underlying OS services directly, which obviously will > not work on UEFI. Also, adding the standard library to your build may confuse

Re: [edk2] [PATCH] IntelFrameworkModulePkg: fix IsKeyOptionVariable and gcc build of Hotkey.c

2012-10-18 Thread Jordan Justen
Reviewed-by: Jordan Justen But, I think the bug fix should be a separate commit from the compiler warning. -Jordan On Thu, Oct 18, 2012 at 11:38 AM, Laszlo Ersek wrote: > gcc-4.4 refuses the following constructs (added in svn rev 13861): > > (a) > > Hotkey.c: In function 'IsKeyOptionVariable':

Re: [edk2] Sata hdds ports not recognized

2012-10-18 Thread Rafael Machado
Thanks for the answer Isakov. The code is this way now : EFI_STATUS TestMain(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) { EFI_STATUSStatus = EFI_SUCCESS; EFI_ATA_PASS_THRU_PROTOCOL*ataProtocol; UINT16 Port; UINT16 PortMultiplierPort; EFI_HANDLE *HandleB

[edk2] [PATCH] IntelFrameworkModulePkg: fix IsKeyOptionVariable and gcc build of Hotkey.c

2012-10-18 Thread Laszlo Ersek
gcc-4.4 refuses the following constructs (added in svn rev 13861): (a) Hotkey.c: In function 'IsKeyOptionVariable': Hotkey.c:424:error: suggest parentheses around '&&' within '||' Looking at it more closely, we should rather return FALSE if either requirement fails. (b) Hotkey.c: In function '

Re: [edk2] Does UEFI support C++ Exception handling.

2012-10-18 Thread Tim Lewis
Amol - Unlikely. It depends on your individual compiler and support library. Many support libraries call underlying OS services directly, which obviously will not work on UEFI. Also, adding the standard library to your build may confuse the build process as to which should be used: the UEFI lib

Re: [edk2] Does UEFI support C++ Exception handling.

2012-10-18 Thread Amol Tasgaonkar
Is it posssible to still continue to static link with Standard libs to resolve linking problems. Do you think the c++ exception handling will work? The idea here is to use the limited subset of the functionlity provided by the C++ library for the porting effort. Do you see any problems in this

Re: [edk2] Can't Trim Efildr Down

2012-10-18 Thread Sergey Isakov
Hi, Shao. Efildr has fixed size by its construction. Size = 472k = 472*1024 = 483328 = 0x76000 no matter haw many codes you produce up to the limit. Sergey On 18.10.2012, at 19:45, Shao Miller wrote: > Good day to all. > > I am working from commit "Add manual configured gateway address back

Re: [edk2] Sata hdds ports not recognized

2012-10-18 Thread Sergey Isakov
No, Rafael. You must assign Port = 0x; inside for() cycle, not outside. Type dh -b to see all handles and their protocols Sergey On 18.10.2012, at 16:42, Rafael Machado wrote: > Thanks for the answers Feng and Isakov. > > On my first message I din't put my hole function here. > The var

Re: [edk2] OVMF + Windows 2008 r2 sp1

2012-10-18 Thread Jeff VanDellen
I've tried following the steps in that link several times over the past month or two. I've had no luck getting windows to boot under DUET on kvm. I was able to get the usb install stick to boot but the install would fail very early in the process. On Thu, Oct 18, 2012 at 11:47 AM, Paolo Bonzini

Re: [edk2] Can't Trim Efildr Down

2012-10-18 Thread Shao Miller
On 10/18/2012 11:50, Nikolai Saoukh wrote: > Looks like your CPU lacks SSE2? Thank you, but no. I just verified that my qemu-system-x86_64 has SSE2, and I'm sure this brand new HP computer does, too. They both fail in the same way. - Shao Miller --

Re: [edk2] Can't Trim Efildr Down

2012-10-18 Thread Nikolai Saoukh
Looks like your CPU lacks SSE2? On Thu, Oct 18, 2012 at 7:45 PM, Shao Miller wrote: > Good day to all. > > I am working from commit "Add manual configured gateway address back > after system reset" by Ye Ting. > > I've been trying to build a DUET boot floppy for use with both real > hardware and

Re: [edk2] OVMF + Windows 2008 r2 sp1

2012-10-18 Thread Paolo Bonzini
Il 18/10/2012 17:17, Laszlo Ersek ha scritto: > On 10/18/12 10:12, Gleb Natapov wrote: >> On Thu, Oct 18, 2012 at 03:38:37AM +0200, Laszlo Ersek wrote: >>> I have no idea why the UEFI-booted kernel tries to initialize the >>> display with Int10h, since that is a (VGA) BIOS interrupt. >> Looks like

[edk2] Can't Trim Efildr Down

2012-10-18 Thread Shao Miller
Good day to all. I am working from commit "Add manual configured gateway address back after system reset" by Ye Ting. I've been trying to build a DUET boot floppy for use with both real hardware and in QEmu. My QEmu command-line looks like this: qemu-system-x86_64 -fda duet.vfd For both t

[edk2] Proper way to submit bug/feature issues?

2012-10-18 Thread Nikolai Saoukh
web page of tianocore.org points to Trac server at sourceforge.net. Is anybody watching it? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: h

Re: [edk2] OVMF + Windows 2008 r2 sp1

2012-10-18 Thread Laszlo Ersek
On 10/18/12 10:12, Gleb Natapov wrote: > On Thu, Oct 18, 2012 at 03:38:37AM +0200, Laszlo Ersek wrote: >> I have no idea why the UEFI-booted kernel tries to initialize the >> display with Int10h, since that is a (VGA) BIOS interrupt. > Looks like google knows something about it. Search for "INT 10"

Re: [edk2] Sata hdds ports not recognized

2012-10-18 Thread Rafael Machado
Thanks for the answers Feng and Isakov. On my first message I din't put my hole function here. The variables you mentioned were already declared and initialized this way: EFI_STATUSStatus = EFI_SUCCESS; EFI_ATA_PASS_THRU_PROTOCOL*ataProtocol; UINT16 Port; UINT16 Po

Re: [edk2] OVMF + Windows 2008 r2 sp1

2012-10-18 Thread Paolo Bonzini
Il 18/10/2012 03:38, Laszlo Ersek ha scritto: > On 10/17/12 15:11, Laszlo Ersek wrote: > >> I did see a lot of binary stuff written to the serial console. I >> expected to see textual debug messages, but apparently the /bootdebug & >> /debug flags above allow a remote windbg to attach instead, and