Am 21.08.2013 20:52, schrieb Mark Cave-Ayland:
On 21/08/13 18:54, Andreas Färber wrote:
Shouldn't this blob come in the same patch as an update to some
git module, so that we keep track of the sources used to build
the blob?
I concur. Independent of how to order the .gitmodules update, this patch
is missing Makefile support to actually copy the new binary from
OpenBIOS build to the location it is being added to as binary here.
Okay that's something else to add to the v2 :)
On second thoughts, more important than Makefile changes (which would
depend on the OpenBIOS gitmodule update) would be to document textually
in the README wherever the openbios-sparc origin is tracked that this
file comes from OpenBIOS rXXXX, too.
I vaguely recall Mark telling me that SBus is not really
qdev'ified/QOM'ified, right?
PCI devices have support for ROM files, too, and I think they just set
the file name and generic PCI code takes care of the actual loading.
Maybe we would want to do the same for SBus? We're not in a rush yet so
getting this designed right probably only takes a week or so...
Currently there is no concept of an SBus in QEMU, since the bus address
lines are effectively mapped to the processor bus (and so the standard
sysbus calls work just fine). I know this isn't the complete truth with
respect to real hardware, though I suspect Blue/Bob could expand further
on this if required.
Seems I mixed that up with CBus then. ;)
So, TCX is a SysBusDevice. How do I recognize which devices are SBus
devices? Do you have a list of files/types or some recipe to find out?