[coreboot] GRUB2 is too big as a payload in ThinkPad X201

Berth-Olof Bergman bo.bergman at winzenttech.com
Fri Mar 27 11:49:54 CET 2015


Personally I don’t understand why boot loaders insist on writing the code the way they do. There is BIOS services for boot device I/O, serial port debug and putting payloads anywhere in memory. I think a boot loader will suffice running in 16-bit real mode or unreal mode (16-bit code, 32-bit data) and using the BIOS APIs to communicate with the hardware. It will always be compatible and a lot faster. I think most boot loaders are overly bloated.

> 26 mar 2015 kl. 19:54 skrev Alexandru Gagniuc via coreboot <coreboot at coreboot.org>:
> 
> On Thursday, March 26, 2015 07:53:04 AM Paul Menzel wrote:
>> The file is now 578K big and in CBFS the compressed size is a little
>> over 200 KB.
>> 
> I never understood how grub2 can do less than seabios but be much larger. OK, 
> you caught me! grub2 can read files off a disk.
> 
> Alex
> 
> -- 
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot




More information about the coreboot mailing list