[ipxe-devel] iPXE run time size

Michael Brown mbrown at fensystems.co.uk
Tue Jun 4 22:09:26 UTC 2013


On Monday 03 Jun 2013 22:30:42 Yossef Efraim wrote:
> Actually when I run -
> 	make bin/ConnectX3.map
> 
> I received:
> 	arch/i386/scripts/i386.lds:1: undefined symbol `_tmp_start' referenced in
> expression
> 
> Any hint here ?

Append the ".map"; don't replace the existing suffix.  For example:

  make bin/ConnectX3.mrom.map

> Another thing -
> I saw that by masking http,https,iscsi options in config/general.h I can
> reduce the mrom size by 25%. In case I wish to compile 'light weight' iPXE
> (with my NIC) + DHCP , TFTP only (no scripting or command shell) - Is
> there an easy way of doing so ? Looks like interfering with the make files
> requires much effort.

The easiest way is to create the file config/local/general.h and #undef the 
features that you want to omit.

Unless you are short on flash space, there is no significant advantage to 
reducing the .mrom size.  The two most constrained resources are base memory 
usage (which is unaffected by removing features) and option ROM space usage 
(which is also unaffected by removing features for .mrom).

Michael



More information about the ipxe-devel mailing list