Harrison, Jon (SELEX GALILEO, UK) schrieb:
OK. So I seem to have got my build deploying seaBIOS (0.4.1) , but appear to have hit a major obstacle.
No USB Keyboard Support!? This is a complete show stopper for me.
I've seen a thread from last summer talking about adding USB Kbd support:: http://www.coreboot.org/pipermail/coreboot/2008-December/043714.html
Has anything happened anywhere on this ??
I'm now trying to decide whether I fancy my chances of adding CBFS support to FILO or USB keyboard to SeaBIOS more !!!
USB keyboard support for SeaBIOS will require that you emulate a standard PS/2 keyboard (io 0x60/0x62) interface in system management mode (SMM), passing the commands on to a USB stack (There is one in libpayload which should probably be used. It's the stack that is used in FILO for USB keyboard support, too). Right now there is only a SMM handler for i945/i82801gx, and it has no USB keyboard legacy emulation, but it can show you quite well what needs to be done to implement an SMM handler for a coreboot platform.
CBFS support in FILO (or libpayload, for that matter) is definitely the quicker approach.
Stefan