This is my current patch series for getting the various *BSDs to boot under QEMU SPARC64. NetBSD, in comparison to Linux, will stricly parse the device tree in order to ascertain information such as addresses and interrupt mappings and for devices, and so proves to be a very useful test harness for ensuring that the device tree is consistent.
With a minor patch applied to QEMU git, NetBSD will now boot all the way through to IDE detection; OpenBSD is still unchanged from my last patchset due to a missing interrupt property which I can't yet locate, and FreeBSD will now finally start to boot but fails during psycho detection due to an (undocumented?) TSR register not being initialised by OpenBIOS.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Mark Cave-Ayland (6): pci.c: add generation of pci node available property pc_serial.c: move address initialisation to a separate init word pc_serial.c: don't add address property to SPARC64 serial ports SPARC64: build ebus ranges property from PCI BARs SPARC64: switch to using interrupt-map property for interrupt pins SPARC64: add model to hwdefs array and set it to a suitable value
openbios-devel/arch/sparc64/openbios.c | 17 +++++- openbios-devel/drivers/pc_serial.c | 23 ++++---- openbios-devel/drivers/pci.c | 101 ++++++++++++++++++++++++-------- 3 files changed, 105 insertions(+), 36 deletions(-)