On 09/09/14 19:54, Mark Kettenis wrote:
Sweet.
The RealTek 8129 should be supported by the rl(4) driver, and is
AFAICT included in the RAMDISK kernel. Not sure why it doesn't
attach. If it is easy to hook up QEMU's e1000 hardware emulation to
the emulated sparc64 hardware, that should be supported as well on the
OpenBSD side.
OpenBSD expects the device tree node for the PS/2 keyboard to be named
"8042". That's how it is named on the Ultra AXi boards.
Thanks for the information. I've had some interest from the NetBSD folk
too and it seems that they don't build 8042 support into their default
sparc64 kernel, so it looks like I'd have to switch over to "su" serial
ports instead like the real thing (the QEMU sun4u model is fairly close
to an Ultra 5). My aim is to try and provide an environment that mostly
"just works" for as many OSs as possible.
The NVRAM is supposed to be described by a node named "eeprom" under
"ebus. proper emulation of this device will get rid of the
unix-gettod:interpret: exception -13 caught
interpret h# 01c099fc unix-gettod failed with error ffffffffffffffed
WARNING: bad date in battery clock -- CHECK AND RESET THE DATE!
spam.
Brilliant - very useful. The one issue I am aware of is that currently
the NVRAM chap is wired up as ioport rather than MMIO so that will need
to change. I believe Artyom posted some patches for this a year or so
ago, however they will likely need a bit of work to get them suitable
for upstream QEMU.
ATB,
Mark.