[coreboot] seabios change to boot from last boot device for gPXE or other option rom booting

Kevin O'Connor kevin at koconnor.net
Thu Mar 12 04:03:14 CET 2009


On Wed, Mar 11, 2009 at 09:15:01AM -0700, Joe Julian wrote:
> The hardcoded boot order method when using seabios with coreboot makes  
> booting from option roms difficult if the number of hard drives  
> installed is not a fixed number. I used this patch to allow choosing the  
> last boot device by setting the nibble to 0xf. This allows me to boot  
> from the gPXE option rom.

I don't think that is necessary.

> -        IPL.bootorder = 0x00000231;
> +        IPL.bootorder = 0x0000231f;

You want:

        IPL.bootorder = 0x00002314;

which will set the default order to option rom (BEV), floppy, cdrom,
and then hard drive.

-Kevin




More information about the coreboot mailing list