Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Realtek 8168 rom size
2014-05-11, 17:41
Post: #1
Realtek 8168 rom size
Is anyone able to help with options for reducing the rom size of a 8168 rom with http and iscsi options.

I have tried removing most features - sometimes with bad results.

I need to get it under 64k and the closest I can get is 64.5k which fails to load.

I have the iscsi and http protocols enabled and others remove including dns

I have the following commands enabled
autoboot
config
ifmgmt
dhcp
sanboot
menu
but I just cant get below the 64k mark - any suggestions or tweaks I can do outside the general.h?

Cheers
Life-o-reilly
Find all posts by this user
Quote this message in a reply
2014-05-19, 08:27
Post: #2
RE: Realtek 8168 rom size
I think your only option is to remove the config command. It is not required for normal operation, but your debugging capabilities will be a bit stunted. If that is not enough you'll just have to bit the bullet and remove the menu command and use chainloading to load a more feature-full ipxe binary. You can see an ISC dhcpd setup here: https://gist.github.com/robinsmidsrod/4008017
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-06-24, 17:12
Post: #3
RE: Realtek 8168 rom size
I think that in the current version of the master is not enough to remove the config and menu command. About a year ago I helped fix a few bugs in the driver RTL8139 iPXE - DHCP timeout from Realtek 8139 card

[realtek] Allow reaction time between writing RTL_CAPR and reading RTL_CR
[realtek] Ensure EEPROM writes reach chip before starting udelay()
[realtek] Fix reopening of legacy-mode 8139 NIC

Please use iPXE version e411 or 0036 or commit 5d3d62d in linux machine + disable some features in src/config/general.h file to reduce size rom image for NIC Realtek :-)
Find all posts by this user
Quote this message in a reply
2019-06-02, 17:49
Post: #4
RE: Realtek 8168 rom size
I know the thread is old but I am struggling with the same issue.

I tried to build with commit 5d3d62d source but it fails. Master allows me to build but the rom is too big. 68,6kb.

How do I specify which features to build?
Find all posts by this user
Quote this message in a reply
2019-06-03, 20:54
Post: #5
RE: Realtek 8168 rom size
(2019-06-02 17:49)AreYouLoco? Wrote:  I know the thread is old but I am struggling with the same issue.

I tried to build with commit 5d3d62d source but it fails. Master allows me to build but the rom is too big. 68,6kb.

How do I specify which features to build?

You can look at the named config "vbox" which is quite minimal, see http://ipxe.org/appnote/named_config for what that is.

Also worth double checking that the NIC actually has it's own ROM, if it is an on board it's unlikely usable. (worth mentioning since it is missed by many trying to burn ROMs) Also the forum FAQ are good to read!

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: 2 Guest(s)