iPXE discussion forum
too big rom file for 64k NIC ROM chip - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: too big rom file for 64k NIC ROM chip (/showthread.php?tid=10984)



too big rom file for 64k NIC ROM chip - e_ship - 2018-03-01 15:02

Hi,
I've made the 80861229.rom for Intel NIC. But I can't burn one into the flash because this file is very big - 68 096 Byte.
Is somebody know the way to get rom file with correct length?


RE: too big rom file for 64k NIC ROM chip - NiKiZe - 2018-03-01 18:24

Hi, Welcome to the forum!

The size of iPXE depends on which features are enabled at compile time, you can see https://git.ipxe.org/ipxe.git/blob/HEAD:/src/config/vbox/README which describes how to use the vbox named config which has some features disabled to fit in the limited 56K that is its max size. However iPXE grows over time, so latest build might actually not fit :/

You can then modify your own config to disable features in your bootstrapping iPXE ROM with the vbox one as a base.
It is likely that you still will want to chain into a more fully featured version of iPXE from the ROM.


RE: too big rom file for 64k NIC ROM chip - e_ship - 2018-03-02 09:51

Hi and thanks for your help.
As I understand I have to edit /src/config/general.h before making a small rom, is it right?


RE: too big rom file for 64k NIC ROM chip - NiKiZe - 2018-03-02 18:02

You should usually edit src/config/local/general.h and add #undef for features that are non critical
You can also use named configs: http://ipxe.org/appnote/named_config