The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minimal iPXE build
2017-11-11, 12:05
Post: #1
Brick Minimal iPXE build
Hi !

I needed to build a iPXE EFI loader and everything works quite well so far.
There's an embedded script using the many possibilities of iPXE (thanks for that!).
But this loader is meant to be distributed across a large number of (similar) devices, so I started to look at reducing the generated binary size (starting from ~950KiB)

I found that building secure-boot enabled reduces the size to ~500KiB.
With further features tweaking (through config/local/*.h), I made this a little bit smaller, but it still included a lot of drivers I don't need.
I found no official way to specify a list of drivers, so I started to dig the Makefile a little bit and came with the solution of adding DRIVERS_ipxe=intel on the make invocation (as I only need a specific Intel driver).

Final size is 134KiB and still works as expected.

Do you feel like this technique is safe and future-proof or am I missing something to specify a list of drivers?

Thanks Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Minimal iPXE build - Morian - 2017-11-11 12:05
RE: Minimal iPXE build - NiKiZe - 2017-11-12, 11:10
RE: Minimal iPXE build - Morian - 2017-11-18, 19:31



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