The ARM BDS (ArmPlatformPkg/Bds) support booting from TFTP. As Andrew said, 
TFTP is more a developer solution than a deployment solution.

From: Andrew Fish [mailto:af...@apple.com]
Sent: 23 June 2015 07:54
To: edk2-devel@lists.sourceforge.net
Cc: Olivier Martin
Subject: Re: [edk2] PXE with manual TFTP server and filename options


On Jun 22, 2015, at 11:29 PM, Radha Mohan 
<mohun...@gmail.com<mailto:mohun...@gmail.com>> wrote:

On Mon, Jun 22, 2015 at 10:49 PM, Andrew Fish 
<af...@apple.com<mailto:af...@apple.com>> wrote:


On Jun 22, 2015, at 10:26 PM, Radha Mohan 
<mohun...@gmail.com<mailto:mohun...@gmail.com>> wrote:

On Mon, Jun 22, 2015 at 10:19 PM, Ye, Ting 
<ting...@intel.com<mailto:ting...@intel.com>> wrote:

We use DHCP options to configure such information for PXE boot in UEFI
network stack.


Right, this is true when intel was the only platform..but now with
other architectures coming into fray..i think there should be more
flexibility..


There are lots of options for network booting in UEFI.
PXE
iSCSI
HTTP (New in UEFI 2.5)

You can produce an EFI_LOAD_FILE_PROTOCOL and boot how every you want.
The only thing missing in UEFI is a standard way to boot from a hardcoded
TFTP address and file. This is generally not a useful generic thing, it is
more of a developer thing. So it is usually just implemented as a shell
command. Or it is the boot loader that gets returned by the PXE server.

PXE is most sought after way (wonder why). In a network with mix of
x86 and arm servers, it would be a pain to manage pxe boot.
One needs to have special rules in dhcpd config to separate out the 2 archs.
I believe the present way is the TFTP server points to a netboot or
pxelinux efi binary (from syslinux) and then it uses NFS to do the
installation.
So if this binary is arch specific it will pose a problem in
multi-arch environment. Now if I want to launch a different binary I
have to go edit the dhcpd.conf (only if I manage the network).
I understand its kind of developer thing. But having an option for
developers to enter the server and file name is a more straight case
in my opinion if you are making a good software.


I don’t understand you point. Having a static IP and hard coded filename in 
100,000 clients or servers is a “better” solution? What happens if the static 
IP address of the server changes? We just moved offices and all our static IPs 
changed. Or if the filename needs to get changed?

The HTTP boot solves a lot of problems with needing control of the DNS servers, 
It can require some complexity on the backend, but that complexity has known 
solutions (there are really popular cat videos on the internet and such).

As I pointed you can make a custom BDS today that supports booting from a 
server with a static IP address, and TFTP filename via load file. It is not 
really a good scalable solution to have static IP address, and magic filenames 
configured in every client, so that is why it did not make it into the UEFI 
spec.

Thanks,

Andrew Fish





This library can download a file from a TFTP remote using the PXE Protocols.
The same way an OS loader can use UEFI services to load more info.
https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c




Thanks,

Andrew Fish



Best Regards,
Ye Ting

-----Original Message-----
From: Leekha Shaveta [mailto:shav...@freescale.com]
Sent: Tuesday, June 23, 2015 1:15 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Cc: Olivier Martin
Subject: Re: [edk2] PXE with manual TFTP server and filename options

Hi,

Then how tftp and PXE boot flow works in UEFI network stack?
How to provide server ip address and file to get from remote location?

Thanks and Regards,
Shaveta

-----Original Message-----
From: Ye, Ting [mailto:ting...@intel.com]
Sent: Tuesday, June 23, 2015 8:48 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] PXE with manual TFTP server and filename options

This is not supported by UEFI network stack as I known.

Best Regards,
Ye Ting

-----Original Message-----
From: Radha Mohan [mailto:mohun...@gmail.com]
Sent: Tuesday, June 23, 2015 9:12 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: [edk2] PXE with manual TFTP server and filename options

Hi,
I am looking to do PXE boot with an option to manually enter a TFTP server
ip address and filename from the prompt.
This option can help in having a multiple installation of distros at
different locations.
Is this something that is already available or on the cards ?

regards,
Radha Mohan

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors network
devices and physical & virtual servers, alerts via email & sms for fault.
Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors network
devices and physical & virtual servers, alerts via email & sms for fault.
Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors network
devices and physical & virtual servers, alerts via email & sms for fault.
Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel



------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to