[ipxe-devel] [PATCH] Export iPXE download protocols to chain loaded EFI binaries

Michael Brown mbrown at fensystems.co.uk
Mon Feb 13 13:12:07 UTC 2012

On Saturday 11 Feb 2012 20:41:36 Jarrod Johnson wrote:
> In the same way iPXE exports its capabilities under BIOS in a way that
> pxelinux.0 exploits to get better protocols than tftp, export capabilities
> as a UEFI protocol so that other efi binaries may use it instead of tftp.
> Can be used together with a patch submitted to elilo for one example:
> http://comments.gmane.org/gmane.comp.boot-loaders.elilo.general/147
> https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/d748ebf72206dcde1379b0
> 63fd9b533f7572caa5
> https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/e7b41890bc67350a9f5bc
> f7291ec859fa2174e26
> https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/45a51f99fd51b231a388b
> 1db00dfc4b18a5e9e4f
> https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/a84739023c391fa4d5e3b
> 65a487834bf92552895
> https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/23aea6c209965546c3956
> 9a770823eabf1358a71

I've merged these into a single patch (not yet merged):


This is produced by taking your commits, converting initial spaces to tabs 
where applicable, and changing "gPXE" to "iPXE" where applicable.

I also tidied up what looked like some dubious error handling in efi_image.c: 
errors were being ignored, and nothing ever freed the memory allocated by 
efi_image_make_cmdline().  I've put in what I think should be correct code, but 
I haven't tested it in any way.

Please let me know if you think this modified patch is OK to merge.



More information about the ipxe-devel mailing list