[CDG5] SCSI Manager?
Daniel B-J
danielbj314 at verizon.net
Fri May 31 04:05:23 AWST 2019
From the tiny bits of documentation I looked at, VirtIO SCSI will require a SIM written for it. SIMs are documented in "Inside Macintosh: Devices".
PCI PowerMacs can have SIMs as entries into the device tree, as documented in "Designing PCI Cards and Drivers for Power Macintosh Computers".
So it is possible to write a SIM and have Openbios insert it into the device tree.
I suppose if you wanted to have a driver for a specific disk instead of a bus, you could use the Monster technote to write a driver for that one device. It doesn't look easy, but it might be better than writing a SIM. It's hard to tell.
> On May 30, 2019, at 7:03 AM, Elliot Nunn <elliotnunn at fastmail.com> wrote:
>
> It would be great to get VirtIO working. The “device” driver should be pretty simple to write, if we can get the right development kit.
>
> The NewWorld ROM already has exactly the same SCSI Manager as the OldWorld ROM! It allows NewWorld machines to boot from a SCSI PCI card.
>
> Those NDRVs are (I think) ATA Interface Modules (AIMs). SCSI Interface Modules (SIMs) are buried a bit deeper in the 68k ROM, possibly even in the MainCode image. (Use the tbxi tool to check this out.)
>
> This “monster” technote gives an overview of the MacOS disk driver situation.
>
> https://www.fenestrated.net/mirrors/Apple%20Technotes%20(As%20of%202002)/tn/tn1189.html <https://www.fenestrated.net/mirrors/Apple%20Technotes%20(As%20of%202002)/tn/tn1189.html>
>
> On Thu, 30 May 2019, at 11:30 AM, Jd Lyons wrote:
>> I was fooling around with Qemu and Virtio and I’m able to boot the newworld Mac OS ROM from a VirtIO PCI SCSI disk, however we can’t get the System file. Presumably because we need an ‘NDRV’ for our block device.
>>
>> I notice that in the Newworld ROM we have /newworld-rom/pef/ndrv/ata with the ‘NDRV’s for:
>>
>> cmd646
>> heathrow
>> kauai
>> keylargo
>>
>> I seem to recall something about a SCSI manager in the Old World ROM, and I wondering if there is a way to extract it and add it to the New World ROM?
>>
>> Likely we’ll need an ‘NDRV’ made just for Qemu’s VirtIO-SCSI device, but I think it will have to be added to Openbios or the New World ROM to get us booting…..
>>
>>> On May 26, 2019, at 11:28 AM, Elliot Nunn <elliotnunn at fastmail.com <mailto:elliotnunn at fastmail.com>> wrote:
>>>
>>>> On 26 May 2019, at 10:25 pm, Daniel B-J <danielbj314 at verizon.net <mailto:danielbj314 at verizon.net>> wrote:
>>>>
>>>> How does the parcel file syntax work?
>>>
>>> This needs to be commented in the Parcelfile
>>>
>>> 0 tab = parcel (first word is OSType, subsequent ones are fields)
>>> 1 tab = parcel child (first word is OSType, subsequent ones are fields)
>>> 2 tab = data to be inserted directly (the src= property can be used alternatively)
>>>
>>> _______________________________________________
>>> cdg5 mailing list
>>> cdg5 at ucc.asn.au <mailto:cdg5 at ucc.asn.au>
>>> https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5
>>
>> _______________________________________________
>> cdg5 mailing list
>> cdg5 at ucc.asn.au <mailto:cdg5 at ucc.asn.au>
>> https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5 <https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5>
>>
>
> _______________________________________________
> cdg5 mailing list
> cdg5 at ucc.asn.au <mailto:cdg5 at ucc.asn.au>
> https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5 <https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ucc.gu.uwa.edu.au/pipermail/cdg5/attachments/20190530/6d67b47b/attachment.htm
More information about the cdg5
mailing list