[ipxe-devel] How to reduce the image size

Geert Stappers stappers at stappers.nl
Thu Sep 24 21:25:27 UTC 2020


On Fri, Sep 18, 2020 at 01:53:36PM +0100, Michael Brown wrote:
> On 18/09/2020 02:10, 丰立波 wrote:
> > I am testing the iPxe on a MIPS platform, the final image of snponly is
> > about 900kB, and the network driver of the UEFI has some problem, it is
> > very slow when downloading the iPxe image, and always fails with
> > timeout. And even worse, the UEFI is already deployed, can't be changed.
> > So, I think it could work to make a small iPxe image with the minimal
> > functionalities for the defective UEFI.
> 
> There is no existing MIPS port of iPXE.  I am assuming that you may have
> modified the build process to support MIPS.  In doing so, you would have
> needed to provide implementations for several per-CPU-architecture
> functions.
> 
> My guess is that you have probably chosen to link in an external C library
> in order to achieve this, and that the bulk of your code size is coming from
> this external library.
> 
> Without seeing your modified code, we cannot sensibly help you.  You will
> need to publish the code in accordance with the GPL at some point anyway,
> so you may as well publish it now.

For what it is worth: QEMU, https://www.qemu.org/ , has a MIPS target.


Regards
Geert Stappers
-- 
Silence is hard to parse


More information about the ipxe-devel mailing list