Thursday, June 3, 2010

Qemu, OpenBIOS improve support for sparc64

Qemu is firmly on the trajectory to become an emulator for everything. We are already using it to emulate amd64, arm32, ia32 and ppc32. It would not be hard to make use of its mips32 support too. Thanks to Igor Kovalenko, it very recently became the first open source emulator which can do pre-Niagara UltraSPARCs. The picture shows Qemu/sparc64 current with OpenBIOS current running HelenOS current:



P.S.: It looks like someone is already working on Qemu/ia64, so before too long, all HelenOS ports will be able to run on Qemu, which is just great!

6 comments:

atar said...

Great news!

Any plans to port HelenOS to sparc32? (The question here is actually, why ppc32 is better than sparc32?)

Jakub Jermar said...

Indeed, we've been considering the possibility to port HelenOS to the LEON sparc32 processors. The only thing missing is the manpower.

atar said...

Is it possible to use a serial console in the sparc64 port? Is there a SILO boot option for that? Couldn't find it in the docs.

Jakub Jermar said...

The kernel knows how to control ns16550 (su) and z8530 (zs), but it expect a keyboard to be attached to them. And the userspace console just follows the kernel setting. So this is rather not supported at the moment. Nevertheless, we are before a major overhaul of the device drivers. We plan to switch everything to new DDF framework which will hopefully give us more flexibility in the number of supported configurations.

atar said...

Expecting keyboard is not a problem in my case. Is it possible to get the kernel boot messages on the serial console?

I just need a nice regression test case for qemu. Since HelenOS is currently the only OS which can make it up to the command prompt, it's the best candidate for the regression testing.

Jakub Jermar said...

It's not ready for that, but the kernel's input/output can be connected to arbitrary character device for which there is a driver. So what you say would be possible after some minimal tweaking.