Mark Cave-Ayland wrote:
Stefan Reinauer wrote:
This still very much looks like it's using the size of a string as an address somewhere :-(
Stefan
Yeah, that was my take on it too. I spent a bit of time taking your patch and playing with call-method, and managed to get a bit further; at least stepping through read in the debugger showed something that looked like a Milax CDROM sector. With the attached patch applied to current SVN, I now get the following:
OpenBIOS for Sparc64 Configuration device id QEMU version 1 machine id 0 CPUs: 1 x SUNW,UltraSPARC-II UUID: 00000000-0000-0000-0000-000000000000 Welcome to OpenBIOS v1.0 built on Nov 19 2009 21:42 Type 'help' for detailed information
[sparc64] Booting file 'cdrom' with parameters '' Not a bootable ELF image Not a Linux kernel image Not a bootable a.out image Loading FCode image... Loaded 7084 bytes entry point is 0x4000 Evaluating FCode... reserved fcode word. reserved fcode word. reserved fcode word. reserved fcode word. reserved fcode word.
[..]
Awesome! Can you find out the fcode numbers of those words? Sounds like the Solaris bootloader is expecting some Fcode extensions that openbios does not (yet) implement (such as 64bit extensions?)
Stefan