iPXE discussion forum
Optimization gPXE/iPXE rom for better CBROM compression - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Optimization gPXE/iPXE rom for better CBROM compression (/showthread.php?tid=7674)



Optimization gPXE/iPXE rom for better CBROM compression - Gelip - 2015-04-06 15:23

Hi. I have old PC with AWARD BIOS. In Debian I make gPXE for onboard NIC NVIDIA 10de0057.rom (56.5KB)

Original PXE Boot Agent NVPXE.NIC have 54KB and fit in the BIOS after compression by CBROM -> 28.13KB

If try add 10DE0057.ROM then have error '...have not enough space to adding ROM'

How optimize 10DE0057.ROM for better compresion CBROM?


RE: Optimization gPXE rom for better CBROM compression - NiKiZe - 2015-04-06 15:33

gPXE is old and no longer maintained.
Additionally this forum is for iPXE and iPXE related issues.

you could and probably should try with iPXE instead.
Depending of what features you enable in iPXE it should fit within your 54K limit


RE: Optimization gPXE/iPXE rom for better CBROM compression - Gelip - 2015-04-06 15:44

(2015-04-06 15:33)NiKiZe Wrote:  gPXE is old and no longer maintained.
Additionally this forum is for iPXE and iPXE related issues.

you could and probably should try with iPXE instead.
Depending of what features you enable in iPXE it should fit within your 54K limit

Yes, gPXE is old but my motherboard is also old. I try other version CBROM198 with /cals option and iPXE is too big and also not possible add to BIOS :-(

Why NVPXE.NIC (54K size) compress better than gPXE or iPXE (55K size)?


RE: Optimization gPXE/iPXE rom for better CBROM compression - robinsmidsrod - 2016-03-17 11:40

Gelip: Look in CONFIG=vbox (src/config/vbox) in the source tree for how you can disable various features to get below 56KB). You'll probably need to have a sophisticated isc dhcpd setup to be able to "upgrade" your ROM ipxe to a fully-featured chainloaded ipxe.pxe/undionly.kpxe. See https://gist.github.com/robinsmidsrod/4008017 for details on the isc-dhcpd setup. Lines 10-20 has the logic for which features your ipxe binary must have to not be "upgraded" again. This must match your compiled chainloaded ipxe.pxe/undionly.kpxe binary feature set.