2016-05-18 13:06 GMT+02:00 Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>: > The short version is that the QEMU NVRAM format is different from that > of a real SS-5 machine (and indeed QEMU doesn't support NVRAM > persistence for that interface yet)
It's quite easy to fix this if you're willing to patch qemu. IIRC: After starting with the SS5 PROM file, reset the (virtual) nvram like you would do on a real SS5 with a failed nvram battery. Then from the qemu monitor, dump the physical memory for the nvram (now with a 'valid' content) in a file. Then just patch qemu to load the data from that file after the nvram is initialized (file hw/sparc/sun4m.c, function nvram_init()). It also saves a lot of time when you give qemu the full 256 MiB of memory, since with a valid nvram the PROM won't check all of the memory. Cordially, -- Romain Dolbeau