On Tue, Feb 16, 2010 at 3:22 AM, Stefan Hajnoczi <span dir="ltr"><<a href="mailto:stefanha@gmail.com">stefanha@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Feb 16, 2010 at 10:29 AM, Luca <<a href="mailto:lucarx76@gmail.com">lucarx76@gmail.com</a>> wrote:<br>
> I want to burn gPXE into my network card's expansion ROM. I was wondering if<br>
> there is a way to compress gPXE. Compiling it as a .rom the size is ~95K (I<br>
> left only HTTPS as download protocol)<br>
<br>
</div></div>gPXE is already compressed.<br>
<br></blockquote><div>OK. Is compression enabled/disabled by <br>#define COMPRESS 1 <br><br>in src/arch/i386/libprefix.S?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Which driver are you building in?</blockquote><div> </div><div>I can use rtl8139 or e1000.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It sounds like you need a<br>
HTTPS-only boot ROM, which doesn't need to provide PXE/UNDI.<br></blockquote><div><br>Yes. <br>So with the configuration settings you suggested, PXE and UNDI will not be in the .rom image, right?<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
config/general.h and config/defaults/pcbios.h contain the config<br>
options gPXE ROMs are built with.<br>
<br>
I suggest trying the following:<br>
1. Remove SAN stuff (sanboot, iSCSI, and AOE).<br>
2. Remove COMBOOT.<br>
3. Remove all image types except IMAGE_BZIMAGE and IMAGE_SCRIPT.<br>
4. Remove PXE_STACK, PXE_MENU, and PXE_CMD.<br>
<font color="#888888"><br></font></blockquote><div> <br>Thanks a lot.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
Stefan<br>
</font></blockquote></div><br>