In particular, check
out MinnowBoard.1.00-Source\2013-WW49-MinnowBoard.1.00\IntelEg20tPkg\EthernetDxe
On Thu, Jul 9, 2015 at 2:23 PM, Thomas Rognon wrote:
> I'm guessing you're looking for an example of a full working stack on real
> hardware. If so, check out the minnowb
I'm guessing you're looking for an example of a full working stack on real
hardware. If so, check out the minnowboard source code...
https://firmware.intel.com/content/minnowboard-uefi-firmware-download
On Thu, Jul 9, 2015 at 12:46 PM, Ralph Campbell wrote:
> I was searching the edk2 code for n
The UEFI shell is an application that can be run in a UEFI environment
(either on real or emulated hardware) similar to how the Windows command
prompt runs in the Windows OS. So first you need to have a UEFI
environment. There are many options here. There is a UEFI environment on
your computer befo
Wouldn't it be nice if you could just reference your signing key in FDF or
DSC (maybe add a section for it in the specs) and everything is done
automatically? Kind of like how you can reference a signing key in Visual
Studio's project properties for Windows drivers.
On Fri, May 29, 2015 at 3:36 PM
Thank you Thomas,
> Can you point me to the appropriate EDK2 network stack functions that
> should be used in place of the StdLib wrappers ?
>
> *Saheb *
>
> On Sat, May 23, 2015 at 10:03 AM, Thomas Rognon
> wrote:
>
>> UEFI 2.5 specifices TLS protocol. I know this is
UEFI 2.5 specifices TLS protocol. I know this isn't really an answer, but
you could just wait for it to be implemented in edk2. Not sure when that
will be, but hopefully soon.
If you need it now, you might consider assigned/defining the network
functions in openssl (in the BIO struct if I remember
penVolume() and everything else from there and you'll be working with the
file system that your app was loaded from.
> Thanks again,
>
> __e
>
Hope this helps,
Thomas Rognon
--
BPM Camp - Free Virtual Wor
If you search this mailing list, I posted sample code that does about a
month (maybe?) or so ago.
On Jan 7, 2015 9:58 AM, "David Cox" wrote:
> Hi,
>
>
>
> I want to recursively read file information, including subdirectories on a
> volume. I am using EFI SIMPLE FILE SYSTEM PROTOCOL, OpenVolume
I've never understood why the edk2 network code is fragmented like this.
Out of curiosity, does anyone know why? Historical reasons or something?
On Thu, Dec 18, 2014 at 2:09 AM, Laszlo Ersek wrote:
>
> comments below
>
> On 12/18/14 08:11, Gary Ching-Pang Lin wrote:
> > Include the IPv6 drivers
oops ignore FsHandle parameter in ProcessFiles()
On Thu, Dec 11, 2014 at 1:47 PM, Thomas Rognon wrote:
>
> I was bored and feeling in high spirits, so I wrote some code for you.
> Also, I agree it would be nice to have example snippets on the tianocore
> website for common tasks. If
ool (Dp);
}
}
On Thu, Dec 11, 2014 at 1:31 PM, John Smith
wrote:
>
> Thank you, that looks like it will get me very close. I had went into the
> ShellPkg at one point while wandering the directory structure, but went
> into Application rather than Library and then finding nothing I backed
Not skeleton code, but look at ls in ShellPkg
https://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
On Thu, Dec 11, 2014 at 11:35 AM, John Smith
wrote:
>
> Anyone know where I can get an example of walking through the filesystem
> with a UEFI application
Why does the UEFI spec restrict UDP to unicast? Why require implementations
to return EFI_INVALID_PARAMETER for multicast and broadcast?
Respectfully,
Thomas Rognon
--
___
edk2
t 10:32 PM, Cameron Esfahani wrote:
> If you've found issues on Apple systems, please report them:
>
> https://developer.apple.com/bug-reporting/
>
> Cameron Esfahani
> di...@apple.com
>
>
> > On Oct 8, 2014, at 19:46, Thomas Rognon wrote:
> >
> > Even po
If you know you have the right handle, the most likely problem is the GOP
driver. Almost every system I've come across has problems with driver
implementations. Even popular ones. Microsoft's Surface's Flush() for
simple file system doesn't work properly, for example. Many systems will
crash with i
Another way is to get it from the ConOut device path. There's a UEFI
variable called "ConOut" (refer to UEFI spec) that holds a device path.
Doing a LocateDevicePath() with gEfiGraphicsOutputProtocolGuid and this
device path gives you the handle to GOP that ConOut is using. Just
OpenProtocol() with
You use the GetVariable() function from runtime services. The name of the
variable is SecureBoot and the guid is EFI_GLOBAL_VARIABLE. Refer to UEFI
spec section 3.2
Thomas Rognon
On Sep 14, 2014 8:58 AM, "J. E." wrote:
>
> How do I check if Secure Boot is enabled or disabl
e has some more insight.
Thomas Rognon
--
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/___
edk2-devel mailing list
edk2-devel@lists.sourceforge
o, TcpIoLib's TcpIoReceive() relies on Cancel() and thus breaks after an
EFI_TIMEOUT since Cancel() doesn't do anything.
Thomas Rognon
--
Slashdot TV.
Video for Nerds. Stuff that matters.
used
In all cases, the code is correct without the initialization to NULL. It
seems VS 2013 is too aggressive and is giving false positives in regard to
variable initialization. Or am I doing something wrong?
Thomas Rognon
-
ave
background network operations right now is to set timers or to access the
private data and release the lock myself.
Thomas Rognon
On Thu, Aug 21, 2014 at 8:56 PM, Ye, Ting wrote:
> Tcp4->Transmit() queues outgoing data into the transmit queue. In
> current implementation, the notify func
leaner.
Also, whenever hfs/ntfs/etc gets added, there will be a perfect place for
them instead of further debate over where those should go, too.
Thomas Rognon
On Wed, Aug 20, 2014 at 9:31 PM, Tian, Feng wrote:
> Hi, Paulo
>
> Thanks for the great job!
>
> My personal though
ill acquire the lock at the beginning and
> release the lock at the end.
>
> In your case, would you please describe the “callback finishes” more
> detail? Do you mean the “callback” includes a Tcp4->Transmit() call and you
> need wait for this call finish before entering Tcp4->
econds later. That way the callback finishes and the socket's lock is
released before my code is run. I'd rather not do it that way, though.
Is this intended? Thank you for any insight.
Thomas Rognon
--
Slashd
>
>
>
> I may be a good idea to move the just the intrinsic functions into their
> own lib instances in the AppPkg, so they are available for linking against
> firmware modules to work around porting issues until the intrinsic
> functions are replaced with MdePkg lib calls.
UefiCpuPkg/Library/CompilerIntrinsicsLib would be awesome. I feel like I'm
always battling the compiler with math and memory intrinsics. I hope this
happens.
On Wed, Aug 20, 2014 at 1:06 PM, Tim Lewis wrote:
> Daryl –
>
>
>
> Do we want to create the equivalent of the
> ArmPkg/Library/Compiler
Thanks! I see now. I overlooked the outer while loop.
Thomas Rognon
On Mon, Aug 18, 2014 at 3:11 AM, Ye, Ting wrote:
> Hi,
>
>
>
> TcpIoReceive() library function is defined to receive required amount of
> data in a specified period, see the function descrip
s number is arbitrary
Data = AllocatePool (DataSize);
ExampleReceive (Private, &DataSize, Data);
If I'm doing something wrong, then how would I receive a packet where I
know the maximum size, but I don't know the exact size? I'm using
U
ry list in
EFI_FILE_PROTOCOL.Open() and just moving through the cached data structure
in EFI_FILE_PROTOCOL.Read(). If the problem is an infinite loop, maybe look
and see if you're implementing EFI_FILE_PROTOCOL.Set/GetPosition()
correctly. Set/GetPosition() works differently for directories than it does
for
w(...) makes me think there is no I/O
protocol exposed that I can build on top of.
Thomas Rognon
On Thu, Jul 24, 2014 at 4:55 PM, Kris Harper wrote:
> Hi,
>
>As noticed, there is no mouse support in the Hyper-V UEFI
> implementation. In generation 2 virtual machines, all the
ut.
On Thu, Jul 24, 2014 at 12:50 AM, Sergey Isakov wrote:
> Hi,
> I don't know what is Hyper-V but if you have no SimplePointerProtocol then
> you have to install it by loading additional Dxe driver like
> edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe
>
> Hope it helps,
> Se
Does anyone know how to capture pointer input in Hyper-V? Is this feature
not possible yet? When I do a 'dh' from the shell, there are no simple or
absolute pointer protocols. I'm hoping the answer isn't 'Integration
Services for UEFI' which doesn't exist. Tha
hanks,
Thomas Rognon
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's la
FI is 128K. That is very useful info, thanks!
Thomas Rognon
On Wed, Jun 25, 2014 at 9:45 PM, Andrew Fish wrote:
>
> On Jun 25, 2014, at 8:23 PM, Thomas Rognon wrote:
>
> I got "unresolved external symbol __chkstk"
>
> From http://support.microsoft.com/kb/100775
>
x27;t compile.
Any ideas on a generic solution for this problem? Or am I missing something?
Thanks,
Thomas Rognon
--
Open source business process management suite built on Java and Eclipse
Turn processes into business
it in a lot of complexity. I'm sure
there's an advantage, but I'm just not getting it.
On May 12, 2014 12:47 AM, "Ye, Ting" wrote:
> You may use NetbufAlloc() in your cases. Please check DxeNetLib in
> MdeModulePkg for more NET_BUF operation APIs.
>
>
>
&g
Experts,
I'd like to use the TcpIoLib and UdpIoLib, but I spend way too much time
dealing with the NET_BUF struct. I must be doing things the hard way.
What is the best way to set up a NET_BUF for the following two scenarios?
Is it different for asynchronous vs. synchronous? Are there any other
c
) and some
is duplicate (TCP stuff).
Thomas Rognon
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software f
The TrueType format is not mentioned in the spec and not implemented in
edk2. You'll have to write the code to render the pixels from the glyphs.
Look at EFI_HII_FONT_PROTOCOL as a starting point.
On Wed, Apr 23, 2014 at 10:41 PM, . <1258270...@qq.com> wrote:
> Hi all,
> I'm currently working on
{
>
> Status = CoreCheckEvent (UserEvents[Index]);
>
> //
> // provide index of event that caused problem
> //
> if (Status != EFI_NOT_READY) {
> *UserIndex = Index;
> return Status;
> }
> }
>
> //
> // Si
Here is what I would like to do:
Foo () {
// do some stuff
// wait for a signal from a condition in code that's on a periodic timer
// do some stuff
}
>From what I see in edk2, WaitForEvent is a busy loop around CheckEvent. Is
there a way to do this so that the execution completely stops un
The ".." is the parent directory, but the root directory can't have a
parent directory. The shell is correct when is says "File not found". You
have to make sure that the Read() for your root directory does not return
".." when enumerating the directory contents.
On Tue, Apr 15, 2014 at 10:12 AM,
de/Protocol/SimpleFileSystem.h
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Protocol/UsbIo.h
Thomas Rognon
On Mon, Apr 7, 2014 at 6:55 AM, Itay Sali wrote:
> Hi,
>
>
>
> Does anyone have an example of writing text to file on usb storage.
>
> I am using DXE_
Hmm...that code is kinda crappy, sorry. I copied it from someone else's
stuff. Looks like I need to do a review.
On Thu, Mar 6, 2014 at 4:26 AM, Thomas Rognon wrote:
> If I were to wager, I would say that your computer does load PCI op roms.
> Most general purpose home/work comp
If I were to wager, I would say that your computer does load PCI op roms.
Most general purpose home/work computers do. I could be wrong, but if I
were you I'd give it a try.
One thing to keep in mind ... drivers probably have not been connected to
their devices yet when loading PCI op roms, so you
just to add code that handles bad input. Hopefully this gets improved.
Thomas Rognon
On Wed, Mar 5, 2014 at 8:02 PM, Andrew Fish wrote:
>
> On Mar 5, 2014, at 5:53 PM, Bill Paul wrote:
>
> Of all the gin joints in all the towns in all the world, Carsey, Jaben had
> to
> walk
I encountered the same issue. My workaround was to set the port to zero,
which results in a random port being chosen every time (which would fail if
the same port was randomly chosen, though the odds are very low). The port
didn't matter in my application, but this would be unacceptable in many
oth
Anyone given thought to adding a flag to PrintLib for printing device
paths? Seems to be a very common thing to do and using the device path to
text protocol gets tedious. If this is not a good idea, can someone educate
me? Thanks.
Thomas Rognon
Try doing this after getting user input, directly before your application
ends:
Status = gST->ConIn->Reset (gST->ConIn, TRUE);
Does the shell still look like it is getting the input?
On Thu, Oct 17, 2013 at 11:57 AM, Carsey, Jaben wrote:
> I do not believe that the shell's ReadKey is being ca
Why doesn't it just have EFI_GUID?
Thanks,
Thomas Rognon
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profilin
I'm just finishing up a read/write NTFS driver. I ported it from NTFS-3G so
it's open source. Can I make this a sub-project? I haven't done any legal
stuff with Microsoft. Just a port with copy and paste of GPL licensing text.
Thomas Rognon
On Tue, Oct 15, 2013 at 8:55 PM, And
On Sat, Oct 12, 2013 at 10:24 PM, Nishit Patira wrote:
> Hi,
>
> I am writing an application in EDK II where I need to take a string from
> source.txt, do certain operations on it, and store the final value in
> destination.txt
>
> Can you tell me which header file should be included for the fi
Boot options is different from executing an EFI image.
If you create a boot option and add it to BootOrder, the boot manager will
execute it for you.
If you want to immediately execute an EFI image and you have the device
path or a pointer to the file, then you use LoadImage() and StartImage().
ob (EFI_HOB_TYPE_FV, (VOID *) ((UINT8 *) FvHob +
FvHob->Header.HobLength));
}
return EFI_SUCCESS;
}
On Wed, Jul 3, 2013 at 12:00 PM, Thomas Rognon wrote:
> Is there a way to get EFI_SEC_PEI_HAND_OFF in a DXE application? Or more
> specifically, the BootFirmwareVolumeBase and BootFi
Is there a way to get EFI_SEC_PEI_HAND_OFF in a DXE application? Or more
specifically, the BootFirmwareVolumeBase and BootFirmwareVolumeSize?
Thanks,
Thomas Rognon
--
This SF.net email is sponsored by Windows:
Build for
ce control, build it into EFI
files, and copy it to VMware Workstation. Then I execute it manually. My
"TestPkg" does unit tests by calling public functions and checking the
return value. There's got to be a better way! Thank you for
e? Is this possible with timer
events? If not, is it possible using anything else? Thanks.
Thomas Rognon
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and opera
iable, but I've found the
some motherboards do not always have sufficient space to store my
information.
I've been using the EFI_PCI_IO_PROTOCOL with no success. I'm new to PCI if
that's not obvious haha. Thanks in advance for
(PixelBuffer);
return EFI_SUCCESS;
}
Thomas Rognon
On Thu, May 23, 2013 at 2:40 PM, Rafael Machado <
rafaelrodrigues.mach...@gmail.com> wrote:
> Hi
>
> Thanks for the answer Andrew.
> I'll talk to my manager about the possible solutions.
>
> By the way, does anyone k
through the shell code and it loops through all the images in the
rom and calls LoadImage and StartImage. The only place I can see that it
would return EFI_SECURITY_VIOLATION is in LoadImage. However, doing "load
TestDxe.efi" works just fine.
Wha
I need a handful of drivers and an application to reside on a PCI card and
I need the drivers to load and an application to start when the computer
turns on. I'm a beginner, so could someone list around 5-10 basic steps to
make this happen? I'm very grateful for any help!
Tho
Thanks, Jordan! I will look at your code tomorrow morning; it will
probably help me out a lot.
On Thu, Apr 4, 2013 at 6:32 PM, Jordan Justen wrote:
> On Thu, Apr 4, 2013 at 4:15 PM, Andrew Fish wrote:
> > On Apr 4, 2013, at 3:50 PM, Thomas Rognon wrote:
> >
> > I found
4, 2013 at 6:15 PM, Andrew Fish wrote:
>
>
> On Apr 4, 2013, at 3:50 PM, Thomas Rognon wrote:
>
> I found this on the internet,
> The UEFI adaptation of ElTorito results in mapping image offset
> 14800-A27FF as a FAT file system, and executing file EFI/BOOT/BOOTX64.efi
&
time to help me out, btw.
Thomas Rognon
On Thu, Apr 4, 2013 at 4:27 PM, Andrew Fish wrote:
> So remember El Torito != ISO-9660, so the image will look different in the
> OS vs. the EFI. The file system that EFI sees will show up as a file in the
> OS, and EFI will not see all the
trying to boot an OS, then you have to figure out how to
> convince how to convince that OS to continue to use that driver once it
> reaches the hand-off point in boot, because it then requires a native OS
> driver to continue to access your ISO.****
>
> ** **
>
> Tim
&g
e same
thing as booting to a CD/DVD, except its all in memory.
Thomas Rognon
On Thu, Apr 4, 2013 at 2:27 PM, Tim Lewis wrote:
> Produce an instance of BLOCK_IO protocol which returns pieces of the
> in-memory image. Then perform a ConnectController() on that handle, which
> sh
m using UDK2010.)
Thomas Rognon
--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Emp
Here is some disconnect/reconnect code that might be helpful. I use it to
make sure my stuff works even when users add/remove/change their hardware
on the motherboard.
http://sourceforge.net/apps/trac/edk2/browser/trunk/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConnect.c?rev=13363
O
Thanks for the help, Andrew and Jaben! When I'm back at my office
tomorrow, I'll try loading those two items and let everyone know if it
worked. If it doesn't work, I'll just have to require that users have UEFI
2.1+.
Thomas Rognon
On Tue, Mar 12, 2013 at 4:38 PM, Andre
may be a way to fallback to and older version gracefully. If you let
> the list know some of the protocols you are depending on we may be able to
> give you some advice on the list.
>
> Andrew Fish
>
>
>
>
>
> On Mar 12, 2013, at 1:03 PM, Thomas Rognon wrote:
>
>
:
> On Mar 12, 2013, at 9:21 AM, Thomas Rognon wrote:
>
> I ran into the same issues and, as far as I could find out, UEFI provides
> nothing for user interface except the ability to transfer a pixel buffer to
> the screen. HII and VFR aren't user interface, they are just under
I haven't yet come across a computer that has all, or even most, of the
drivers included in edk2. This is a problem because my UEFI application
depends on some of these drivers.
I need to deploy my application as efi files and not interfere with the
vendor's firmware volumes, so creating my own f
e
used for other stuff later on.
Well, that's how I did it. Hope it helps. If anyone knows a better way,
I'm interested also.
Thomas Rognon
On Tue, Mar 12, 2013 at 6:23 AM, Rafael Machado <
rafaelrodrigues.mach...@gmail.com> wrote:
> Hi Everyone
>
> After some research I
Hopefully it works.
If there are other ways of doing this, please let me know! Thanks again!
On Wed, Feb 13, 2013 at 4:02 PM, Andrew Fish wrote:
>
> On Feb 13, 2013, at 1:36 PM, Thomas Rognon wrote:
>
> Thanks for helping me! Tried just L"Load.efi", but still no
ImageHandle,
>
> L"Load.efi",
>
> FALSE,
>
> NULL,
>
> NULL
>
> );
>
> ** **
>
> ** **
>
> -Jaben
>
> ** **
>
> ** **
>
> *From:* Thomas R
ave you tried removing the CommandInit() call? Why do you need that?***
> *
>
> ** **
>
> *From:* Thomas Rognon [mailto:tcrog...@gmail.com]
> *Sent:* Tuesday, February 12, 2013 8:43 PM
> *To:* edk2-devel@lists.sourceforge.net
> *Subject:* Re: [edk2] ShellExecute
>
> ** *
Additional info:
It crashes on ShellExecute with a memory violation and I'm using 64 bit
UEFI 2.1+, UDK2010, and VS2008.
On Tue, Feb 12, 2013 at 10:30 PM, Thomas Rognon wrote:
> UEFI Ninjas,
>
> I can execute an uefi application from the shell as follows:
> Shell>map -
n:
ShellInitialize ();
CommandInit ();
ShellExecute (ImageHandle, L"fs0:\\launch.efi", FALSE, NULL, NULL);
return EFI_SUCCESS;
where ImageHandle is the parameter passed into UefiMain.
If anyone can help, I would appreciate
;
> The EDK2 implementation does not provide any fonts other than the default
> font that you discovered.
>
> ** **
>
> Tim
>
> ** **
>
> *From:* Thomas Rognon [mailto:tcrog...@gmail.com]
> *Sent:* Thursday, January 03, 2013 2:54 PM
> *To:* edk2-devel@lis
been unable to find any example code of how to use a font other than
sysdefault.
I've gotten StringToImage to work by passing NULL to StringInfo, but I want
to use 14 point Arial font (or some nice font like that) instead of 19
point sysdefault font.
T
80 matches
Mail list logo