]> xenbits.xensource.com Git - seabios.git/commit
Add multiboot support.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 18 May 2015 17:07:16 +0000 (19:07 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 1 Jun 2015 16:11:36 +0000 (12:11 -0400)
commit1b911d7aed7b0b2db5738d02a3c6964cdf895944
treedaddc95d4319f10f36f29c73485d4d4b3e15f84c
parent67643955c7467781c28c4da1669775d7564dc74a
Add multiboot support.

I've been successfully using SeaBIOS as secondary bootloader. In more details
I have GRUB2-as-payload in flash together with coreboot. SeaBIOS binary is on
the HDD and loaded by GRUB when needed. This has an unfortunate consequence
that I have to keep vga oprom in flash even if usually I boot without it. This
patches makes bios.bin.elf multiboot executable with files passed as modules.
Example:

menuentry "SeaBIOS (mb)" --unrestricted {
   root=ahci0,2
   multiboot /bios.bin.elf
   module /vgabios_x230.rom name=pci8086,0166.rom
}

the parameter name= specifies under which name SeaBIOS will see it.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Makefile
scripts/layoutrom.py
src/Kconfig
src/fw/multiboot.c [new file with mode: 0644]
src/post.c
src/romlayout.S
src/std/multiboot.h [new file with mode: 0644]
src/util.h