[ipxe-devel] iPXE run time size
Yossef Efraim
yossefe at mellanox.com
Tue Jun 4 22:13:17 UTC 2013
Thanks Michael,
I really appreciate it.
In some cases ,indeed , we are short in flash space.
Yossi
-----Original Message-----
From: Michael Brown [mailto:mbrown at fensystems.co.uk]
Sent: Wednesday, June 05, 2013 1:10 AM
To: ipxe-devel at lists.ipxe.org
Cc: Yossef Efraim
Subject: Re: [ipxe-devel] iPXE run time size
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