Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
too big rom file for 64k NIC ROM chip
2018-03-01, 15:02
Post: #1
too big rom file for 64k NIC ROM chip
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?
Find all posts by this user
Quote this message in a reply
2018-03-01, 18:24
Post: #2
RE: too big rom file for 64k NIC ROM chip
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:...box/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.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-03-02, 09:51
Post: #3
RE: too big rom file for 64k NIC ROM chip
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?
Find all posts by this user
Quote this message in a reply
2018-03-02, 18:02
Post: #4
RE: too big rom file for 64k NIC ROM chip
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

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)