> On May 26, 2015, at 7:15 PM, Neeraj Ladkani <neeraj.ladk...@gmail.com> wrote: > > Hi All, > > Is there any open source project which has tftp client for UEFI? I am looking > for a simple UEFI application which connects to tftp server and download the > file. > > > any pointers will help. >
There is probably a more App example pointer some place… But the EDK Boot Loader used a library to implement its command line So you can see some basic TFTP operations in this lib: https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c <https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c> This library uses the following library: https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.c The PXE boot in EFI is TFTP, so the TFTP stack is built in. The EfiFileLib maps different device names back into EFI concepts. Supported Device Names: A0x1234:0x12 - A memory buffer starting at address 0x1234 for 0x12 bytes l1: - EFI LoadFile device one. B0: - EFI BlockIo zero. fs3: - EFI Simple File System device 3 Fv2: - EFI Firmware VOlume device 2 10.0.1.102: - TFTP service IP followed by the file name Thanks, Andrew Fish > - > Thanks > Neeraj > > ------------------------------------------------------------------------------ > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel