On Fri, 12 Jan 2018, Jens Bauernfeind wrote:
I build openbios in the x86 version and added the
openbios-bultin.elf as addtional payload to the image (with seabios as primary, so i could
easily test openbios )
Unfortunately when I start it, it doesn't recognize the keyboard and several messages
"cannot manage <device name>...."
I know that the laptop keyboard is attached via PS/2, and in the drivers/pci.c is a PS2
This is not relevant to PS/2 keyboard but the "cannot manage" messages
about USB devices reminded me that I've only ported the OHCI driver from
coreboot so it likely won't work on a PC where UHCI (or EHCI) is more
common. If you want to use USB peripherals then you may need to port at
least one of those too. If you also want to boot from USB then maybe the
usbmsc driver will also be needed which I've also skipped (I've only added
a HID driver in OpenBIOS sufficient for a keyboard so that's the only
thing expected to work currently).
In case you've tried booting from an HDD not from a USB drive then I'd
check if that has a driver (if the ATA/SATA controller is mentioned in one
of the cannot manage lines then it's likely missing a driver). Looking at
drivers/pci_database.c I think we only have driver for virtio and CMD646
based IDE controllers although the IDE one may work for similar
controllers, but I'm not sure about that.