On Wed, Aug 18, 2010 at 4:04 PM, Paul Brook <p...@codesourcery.com> wrote: >> > Couldn't we just have an option rom for the SCSI controller? The same way >> > the VGABIOS is a rewrite of a VGA BIOS for the Cirrus Logic... >> >> Of course we could, but it should not be extboot, but proper scsi driver. >> gpxe has src/drivers/block/scsi.c so may be it already supports qemu scsi >> device? > > IIRC it only supports iSCSI. You'd need to add the LSI HBA driver and > possibly parallel SCSI transport bits. > > In practice I'd imagine the SCSI parts to be pretty straightforward. A bios > driver can ignore most of the fancy bits (e.g. TCQ) that a full featured OS > driver has to worry about.
ESP driver in OpenBIOS may be helpful: http://tracker.coreboot.org/trac/openbios/browser/trunk/openbios-devel/drivers/esp.c#L227