j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi all,
Does anyone know how OBP probes for in-built SBus devices on SPARC32? The reason I'm asking is that I'm looking at trying to detect in-built devices in OpenBIOS, and the SBus documentation suggests that each slot contains Fcode mapped at offset 0 which is executed to build the device tree.
Now QEMU currently doesn't do any Fcode mapping within SBus slots, but according to its boot output OBP still manages to detect hardware such as graphics cards etc. within certain slots during boot. Is there a different mechanism used for detecting in-built devices, or is it just something as simple as a hardcoded list based upon the current machine type?
Many thanks,
Mark.
On Sat, May 12, 2012 at 5:46 PM, Mark Cave-Ayland mark.cave-ayland@ilande.co.uk wrote:
Hi all,
Does anyone know how OBP probes for in-built SBus devices on SPARC32? The reason I'm asking is that I'm looking at trying to detect in-built devices in OpenBIOS, and the SBus documentation suggests that each slot contains Fcode mapped at offset 0 which is executed to build the device tree.
Now QEMU currently doesn't do any Fcode mapping within SBus slots, but according to its boot output OBP still manages to detect hardware such as graphics cards etc. within certain slots during boot. Is there a different mechanism used for detecting in-built devices, or is it just something as simple as a hardcoded list based upon the current machine type?
I think it's the later. I had to implement a FCode stub for a dbri device, as I played with the SS-20 OBP, because it just blindly tried to execute the code there.
Artyom