[edk2] adding EDK2 networking to a shipping system board

2015-01-06 Thread Stephen Polkowski
Hi folks, Is it possible to add ethernet networking support to a production system without a network stack? The "UEFI Network Stack for EDK Getting Started Guide.pdf" demonstrates how to add networking to the NT32 environment. Is this still valid for the EDK2? Also, could it work on a real

Re: [edk2] adding EDK2 networking to a shipping system board

2015-01-06 Thread Stephen Polkowski
To: edk2-devel@lists.sourceforge.net > Message-ID: <917ef1b5-d0ae-4fc1-bd50-61d7fd4fc...@apple.com> > Content-Type: text/plain; charset=us-ascii > > >> On Jan 6, 2015, at 7:46 AM, Stephen Polkowski wrote: >> >> >> Hi folks, >> >>Is it possible

Re: [edk2] adding EDK2 networking to a shipping system board

2015-01-07 Thread Stephen Polkowski
vers' command? > > Thanks, > Ruth > -Original Message- > From: Stephen Polkowski [mailto:step...@centtech.com] > Sent: Wednesday, January 07, 2015 12:43 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] adding EDK2 networking to a shipping system b

Re: [edk2] adding EDK2 networking to a shipping system board

2015-01-07 Thread Stephen Polkowski
nd fails. I am excited by these current results. I believe I am almost there. Any suggestions? Thanks, Stephen Stephen Polkowski wrote: > Hi Ruth, > > I switched to another motherboard in my office because it has > a built-in uefi shell. The board has the same pro

Re: [edk2] adding EDK2 networking to a shipping system board

2015-01-09 Thread Stephen Polkowski
gt; > Thanks, > Ruth > -Original Message- > From: Stephen Polkowski [mailto:step...@centtech.com] > Sent: Wednesday, January 07, 2015 11:49 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] adding EDK2 networking to a shipping system board > > Hi Ruth, > >

[edk2] testing a serial port

2015-01-09 Thread Stephen Polkowski
Okay, so everything is looking good so far. How can I send some characters to the serial port? Is there a SerialTest application, or can I just redirect STDERR to the port? Any help would be appreciated. Thanks, Stephen -- Stephen Polkowski Centaur Technology Austin, TX

[edk2] gnu assembler question and EDK2 (R_X86_64_64 offsets)

2013-11-19 Thread Stephen Polkowski
Hello, I'm building a #GP fault handler for a shell application. I named my file __gp_fault_handler.S and I added it to my inf file. Everything compiles and the exception handler actually works. However, now I want to set a global variable that is declared in a separate "C" fil

Re: [edk2] gnu assembler question and EDK2 (R_X86_64_64 offsets)

2013-11-19 Thread Stephen Polkowski
Thank you Andrew. The pc relative addressing mode was the trick! movl $1, EXCEPTION_EXECUTE_HANDLER(%rip) Regards, Stephen Andrew Fish wrote: > > On Nov 19, 2013, at 9:34 AM, Stephen Polkowski <mailto:step...@centtech.com>> wrote: > >> Hello, >> >&

[edk2] DMA memory regions and device behavior

2014-01-24 Thread Stephen Polkowski
hanks for your help. Stephen -- Stephen Polkowski Centaur Technology Austin, TX (512) 418-5730 -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Clou

[edk2] Does the EDK2 have a assembly code application example?

2014-02-19 Thread Stephen Polkowski
uild environment. Thanks, Stephen -- Stephen Polkowski Centaur Technology Austin, TX (512) 418-5730 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid

[edk2] Apple Mac products and UEFI 2.0

2014-02-19 Thread Stephen Polkowski
Hi all, Does anyone know if the latest mac laptops have support for UEFI 2.0? I heard a rumor on the net that the Macbook Air 2013 now has support for it. Older Macs supported EFI 1.0 or something like it. Thanks, Stephen -- Stephen Polkowski Centaur Technology Austin, TX (512) 418

Re: [edk2] Does the EDK2 have a assembly code application example?

2014-02-19 Thread Stephen Polkowski
, they figured out how to boot linux in UEFI without using the EDK2 build environment. Regards, Stephen Andrew Fish wrote: > > On Feb 19, 2014, at 8:36 AM, Stephen Polkowski <mailto:step...@centtech.com>> wrote: > >> Hi all, >> >> Does the EDK2 have a assembler

Re: [edk2] Apple Mac products and UEFI 2.0

2014-02-19 Thread Stephen Polkowski
Rats. Thanks Andrew. Andrew Fish wrote: > On Feb 19, 2014, at 8:53 AM, Stephen Polkowski wrote: > >> Hi all, >> >> Does anyone know if the latest mac laptops have >> support for UEFI 2.0? I heard a rumor on the net that the Macbook Air 2013 >>

[edk2] Does the UDK2014 Shell Package work for you?

2014-04-01 Thread Stephen Polkowski
Hello, Has anyone tried the UDK2014 Shell Package? Is is working for you? I just downloaded the UDK2014 and installed it my workstation. I followed the directions for the NT32 build using Visual Studio 2012. I did all the steps except for building the Crypto library. Everything

[edk2] EDK II Shell 2.0 (UDK2010.SR1.UP) problem on Samsung ATIV Smart PC 500T Tablet

2012-11-08 Thread Stephen Polkowski
Hello, I just attempted to boot into the EDK II Shell 2.0 on my new Samsung ATIV Smart PC 500T Tablet. The shell fails with the following assertion: ASSERT EFI_ERROR (Status = Invalid Parameter) ASSERT /edk2/MyWorkSpace/MdePkg/Library/UefiMemoryAllocationLib.c(815): !EFI_ERROR (Status)

[edk2] Location of shell prompt "2.0" string?

2012-11-29 Thread Stephen Polkowski
Hello, Would anyone know the location (file) of the shell prompt "2.0" string for the uefi 2.0 shell? I can't seem to find it with a simple grep. BTW, the prompt is very icky. My 2 cents. Stephen -- Ke

Re: [edk2] Location of shell prompt "2.0" string?

2012-11-29 Thread Stephen Polkowski
Thanks Carsey! I'll take a look. Stephen Carsey, Jaben wrote: > Shell.uni I think. > > -Original Message- > From: Stephen Polkowski [mailto:step...@centtech.com] > Sent: Thursday, November 29, 2012 1:33 PM > To: edk2-devel@lists.sourceforge.net > Subject

Re: [edk2] Location of shell prompt "2.0" string?

2012-11-30 Thread Stephen Polkowski
I'll take a look. > > Stephen > > Carsey, Jaben wrote: >> Shell.uni I think. >> >> -Original Message- >> From: Stephen Polkowski [mailto:step...@centtech.com] >> Sent: Thursday, November 29, 2012 1:33 PM >> To: edk2-devel@lists.sourceforge.net >>

[edk2] How to determine UEFI architecture (x86, X64, ARM) via a Shell Script?

2012-12-03 Thread Stephen Polkowski
Hi, I've been looking for a way to determine the host architecture from a shell script. Basically, I want to know if the system is 32 bits or 64 bits. I don't see any UEFI variables that would allow a shell script to know the architecture size. Am I missing something? Thanks,

[edk2] StdLib is broken with GCC4.6

2012-12-03 Thread Stephen Polkowski
Hello, I'm trying to build the AppPkg on Ubuntu 12.04 using the native installed complier. GCC4.6 fails with the following message: /UDK2010.SR1/StdLib/LibC/Uefi/SysCalls.c: In function ‘utimes’: /UDK2010.SR1/StdLib/LibC/Uefi/SysCalls.c:1250:11: error: ‘va_start’ used in function with f

[edk2] Echo to a serial port (COM1)

2012-12-13 Thread Stephen Polkowski
Hello, Is there a way to Echo to a serial port from the EDK2 shell? Or is there a simple app? Thanks in advance! Stephen -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs

Re: [edk2] VirtualBox UEFI and problems with EFI PCI IO PROTOCOL

2013-02-04 Thread Stephen Polkowski
Hello Andrew, Does this fail for all addresses? What address are you using when it fails. You might want to try a DWORD access instead of a byte. Virtualbox might be picky about the register size while real systems might not care. Stephen Andrew Peters wrote: > Hello List, > > > I

[edk2] @echo -off doesn't work in a script

2013-02-12 Thread Stephen Polkowski
Hi all, Shouldn't @echo -off work in a .nsh script. It doesn't on the latest UDK2010.SR1.UP1 shell. It only hides the echo -off command. The commands that follow it are echoed to the screen. Am I missing something. Thanks in advance, Stephen ---

Re: [edk2] @echo -off doesn't work in a script

2013-02-12 Thread Stephen Polkowski
e UDK2010.SR1.UP1 Nt32 emulation and > the shell "echo" worked as per the screen capture attached Try the scripts > attached. > > > thanks, > Laurie > > laurie.jarlst...@intel.com > EFI / Framework Technical > Marketing Engineering Team > (503) 712-939

[edk2] "mv" shell command will delete a directory if the source and destination are the same

2013-03-05 Thread Stephen Polkowski
Hello, I was wondering if it was generally known that "mv" will delete a directory if the source and destination are the same. I noticed this problem when I was trying to change a directory name from uppercase to lowercase. Example: FS0:\> mkdir TEST FS0:\> dir Directory of: FS

[edk2] AsciiPrint() and %s

2013-03-25 Thread Stephen Polkowski
Hello, I'm trying to print a simple ASCII string to the console. I decided to try AsciiPrint() from the MDE package. I started having problems right away. The function wouldn't print an Ascii string. Here's my code: #include #include #include INTN EFIAPI ShellAppMain (IN UINTN A

Re: [edk2] AsciiPrint() and %s

2013-03-26 Thread Stephen Polkowski
standard usage. > > -Jaben > > -Original Message- > From: Stephen Polkowski [mailto:step...@centtech.com] > Sent: Monday, March 25, 2013 4:02 PM > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] AsciiPrint() and %s > > Hello, > > I&#

Re: [edk2] how timer and interrupt works in UEFI?

2013-05-16 Thread Stephen Polkowski
Hi Andrew, Thanks for answering this question. I was curious about interrupts as well. If I understand you correctly, a timer exists and it is only used when a driver or a program requests it. So, when we come up in a basic UEFI Shell the system is essentially tickless? Thanks

Re: [edk2] how timer and interrupt works in UEFI?

2013-05-16 Thread Stephen Polkowski
, but that is not the current > EDK2 implementation, as far as I understand it. > > Tim > > -Original Message- > From: Stephen Polkowski [mailto:step...@centtech.com] > Sent: Thursday, May 16, 2013 10:31 AM > To: edk2-devel@lists.sourceforge.net > Subject:

[edk2] EFI MP Services Protocol on VirtualBox, VMware

2013-05-21 Thread Stephen Polkowski
Hello, I've been working on a multi-processor utility for RDMSR and WRMSR on the UEFI shell. I have them working on a real system, but they fail on Virtualbox and VMware. It appears that both virtual machines don't support the EFI_MP_SERVICES_PROTOCOL. I'm a little disappointed

[edk2] PI version information

2013-05-31 Thread Stephen Polkowski
Hello, Is there a way to query the PI version from a shell application? If so, where is it located? Thanks, Stephen -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting to

[edk2] _LEGACY_BIOS_MPTABLE_H_

2013-06-17 Thread Stephen Polkowski
Hello, I was wondering if anyone knows if the EFI_LEGACY_MP_TABLE (MPI 1.4) is included on all UEFI systems, or if it is only included on systems with a CSM? In other words, can we depend on MPI 1.4 table being in memory? Thanks, Stephen ---

[edk2] DXE Driver confusion

2013-06-19 Thread Stephen Polkowski
Hello, The edk2 produces several DXE drivers from the various packages. I understand that these drivers can be loaded by using the shell "load" command. Are there any other methods to load DXE drivers from a shell application? For example, one could have a DXE directory under \EF

Re: [edk2] DXE Driver confusion

2013-06-19 Thread Stephen Polkowski
f the drivers, you could put > them on the network somewhere and write an application that downloads > them and then use LoadImage() and StartImage() on each one. This is how > I do some of my stuff. > > Thomas Rognon > > > On Wed, Jun 19, 2013 at 10:39 AM, Steph

Re: [edk2] DXE Driver confusion

2013-06-19 Thread Stephen Polkowski
Thanks Andrew. Can a directory be used as a Firmware Volume? Stephen Andrew Fish wrote: > On Jun 19, 2013, at 10:11 AM, Stephen Polkowski wrote: > >> Hi Thomas, >> >> Thank you for your suggestions. I didn't know about #2. >> >> Ideally, I wish th

Re: [edk2] ifconfig: Locate protocol error 'Ip4Config protocol'

2013-06-28 Thread Stephen Polkowski
y Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > > > ___ > edk2-devel mailing list > edk2-devel@lists.so

Re: [edk2] ifconfig: Locate protocol error 'Ip4Config protocol'

2013-06-29 Thread Stephen Polkowski
! > Once enabled, ifconfig is all what I need. > > > -------- > *From:* Stephen Polkowski > *To:* Toto Lebolo > *Cc:* "edk2-devel@lists.sourceforge.net" > > *Sent:* Friday, June 28, 2013 1:34 PM &g