Jump to content
K55

RaSCSI Development Thread

Recommended Posts

Just now, inertialcomputing said:

Agreed, with all of the above...however, I'd like to add that this is, in theory, also a problem that can be solved with SCSI2SD. It's a matter of firmware development (aka time and knowledge). SCSI2SD V6 (also open source firmware) has hardware support for USB devices, but has never had the implementation on the firmware side developed to enable use of it.

That is great news. If the SCSI2SD can function as a USB host, host a USB ethernet adapter, and emulate a SCSI ethernet adapter, that would be very cool. The holy grail would be providing storage and ethernet at the same time. All of this sounds like a lot of work for a microcontroller. I'm keen to discuss more, but this probably needs to broken out into another thread (e.g. Network Connectivity via SCSI2SD v6).

Share this post


Link to post
Share on other sites

Are there any projects that would allow the Raspberry Pi to host a SCIS drive or device?  My ultimate wish is to get Basillix II or SheepShaver to see a connecte hardware SCSI device.

Share this post


Link to post
Share on other sites
1 hour ago, nsputnik said:

Are there any projects that would allow the Raspberry Pi to host a SCIS drive or device?  My ultimate wish is to get Basillix II or SheepShaver to see a connecte hardware SCSI device.

That'd be called a SCSI card ;) You can give Basilisk a file device, or you can give it direct access to a block device, so all you'd need is a real SCSI card plugged in to the SCSI device of your choice.

Share this post


Link to post
Share on other sites
5 hours ago, nsputnik said:

Are there any projects that would allow the Raspberry Pi to host a SCIS drive or device?  My ultimate wish is to get Basillix II or SheepShaver to see a connecte hardware SCSI device.

To my knowledge: no.

 

To do what @johnklos said, you'd need to be running Basilisk II or another emulator that can do this on a machine with a PCI slot available, such as an x86 based PC with PCI or PCI-X slots. (PCI-X slots work with just-PCI devices.)

 

RaSCSI might be adaptable to this purpose, but you'd likely have to do the dev work or make a feature request with the project to make it happen.

 

I don't know what load RaSCSI places on the Pi, but my understanding is that doing this exceeds the compute power the Pi has. Reversing the emulation and adding an entire Mac emulation to it might be too much.

 

I don't know how the Pi4 will change that, however.

Share this post


Link to post
Share on other sites

Hi, i just made it work on my Amiga 2000 with gvp 040 combo. Which has a scsi Controller.

 

I found the baremetal software for rasci.

Make the rasp zero boot within a second.

Unfortunaly the gpio pins in k55:s design does not follow the Original RASCI. soo i cheated and made a adapter board between rascsi and rasp zero and moved the gpio pins to the right place.

 

This design can work. In linux if you recompile the source with the pin config design is using. 

It should have follow this pinconfig (see picture)

I Think i will ask author gimons for a baremetal version for this board. If he can help i let you all know

 Cheers!

pinassign.png

cable3.png

Share this post


Link to post
Share on other sites

So does anyone have made one of these? do they work? I really like the fact the SD card isn't a 'special' format so I can copy/backup disk images from/on it...

Share this post


Link to post
Share on other sites

Hi all! I'm going to jump on the RaSCSI bandwagon here. I've order a few of the cards designed by K55 (and also tried my hand at a customized version that has both 50pin ribbon and 25-pin DB connectors). Hopefully everything will be here by the 4th of July so I can dig into this.

 

Just curious if anyone has successfully got this working with their 68k mac? I have a SCSI2SD v5 board that works great, but I'm intrigued about how much further the RaSCSI could be taken. If anyone else has attempted this, how far did you get? Did you have any successes? Any issues you had to overcome?

 

Note: I may have gone a little overboard with the silkscreen art on the board :-)

 

2020-06-27_13-27-51.png.ff8c640ec0e9612a42a24d4339105d55.png

Edited by landoGriffin

Share this post


Link to post
Share on other sites
10 hours ago, landoGriffin said:

Hi all! I'm going to jump on the RaSCSI bandwagon here. I've order a few of the cards designed by K55 (and also tried my hand at a customized version that has both 50pin ribbon and 25-pin DB connectors). Hopefully everything will be here by the 4th of July so I can dig into this.

 

Just curious if anyone has successfully got this working with their 68k mac? I have a SCSI2SD v5 board that works great, but I'm intrigued about how much further the RaSCSI could be taken. If anyone else has attempted this, how far did you get? Did you have any successes? Any issues you had to overcome?

 

Note: I may have gone a little overboard with the silkscreen art on the board :-)

 

2020-06-27_13-27-51.png.ff8c640ec0e9612a42a24d4339105d55.png

I have it a go a while back but I accidentally reversed the SCSI connector pinout (went off a diagram for the male rather than female...) and haven’t had the chance to revise it.

 

IIRC the PCB design linked to in this thread is slightly wrong and will require modifications (Cutting traces and patch wires) to work.
 

Good luck with your efforts and please report back - the only other info I have regarding RaSCSI and old Macs is someone who claimed to have it working but only on 68030 Macs - said older Macs didn’t work.

Share this post


Link to post
Share on other sites
9 hours ago, Michael_b said:

I have it a go a while back but I accidentally reversed the SCSI connector pinout (went off a diagram for the male rather than female...) and haven’t had the chance to revise it.

 

IIRC the PCB design linked to in this thread is slightly wrong and will require modifications (Cutting traces and patch wires) to work.
 

Good luck with your efforts and please report back - the only other info I have regarding RaSCSI and old Macs is someone who claimed to have it working but only on 68030 Macs - said older Macs didn’t work.

Thanks Michael! Any tips on what was wrong with the circuit?

Share this post


Link to post
Share on other sites

FYI.... status update....

 

Found an issue with the modified circuit board I made. I had the "ACK" and "ACT" lines swapped. Oops! This was easy enough to fix with a cut/jump on the board though.

 

I was able to get the RaSCSI software running on a Raspberry Pi 4. My Quadra is able to see the virtual hard disk I created, as well as format, read and write to it. I ran a quick benchmark, and the performance seems to be on par with my SCSI2SD v5. 

 

My current sticking point is with CD-ROMs. Using various SCSI tools, the Mac can see that there is a drive present at the correct SCSI ID, but it hasn't detected any of the images that i have "Inserted". So, I'm going to keep working that.

 

In the next few days, I'm hoping to run some benchmarks comparing the different versions of Rasperry Pis, and maybe on some different Mac models. But first, I'm trying to get the CD-ROM functionality working.

Share this post


Link to post
Share on other sites
13 hours ago, landoGriffin said:

FYI.... status update....

 

Found an issue with the modified circuit board I made. I had the "ACK" and "ACT" lines swapped. Oops! This was easy enough to fix with a cut/jump on the board though.

 

I was able to get the RaSCSI software running on a Raspberry Pi 4. My Quadra is able to see the virtual hard disk I created, as well as format, read and write to it. I ran a quick benchmark, and the performance seems to be on par with my SCSI2SD v5. 

 

My current sticking point is with CD-ROMs. Using various SCSI tools, the Mac can see that there is a drive present at the correct SCSI ID, but it hasn't detected any of the images that i have "Inserted". So, I'm going to keep working that.

 

In the next few days, I'm hoping to run some benchmarks comparing the different versions of Rasperry Pis, and maybe on some different Mac models. But first, I'm trying to get the CD-ROM functionality working.

Great stuff - very interested in the results of your testing!

Share this post


Link to post
Share on other sites

ITS ALIVE!!!

 

I did some benchmarks with a few different Raspberry Pi versions (the Raspberry Pi 0 results were surprising). I compared them to the stock Seagate HD in my Quadra 840av and a SCSI2SD version 5.0a that I had from a few years back.

https://github.com/akuker/RASCSI/wiki/Benchmarks

 

CD-ROMs are also working! You'll need to use Resexeccence's CD-ROM driver hack. https://web.archive.org/web/20040404121044/http://www.resexcellence.com/hack_html_99/12-21-98.shtml I'm using Apple CD-ROM driver version 5.4.2.

 

Some other things I've learned over the past few days....

- The Mac OS sends a flush command when you reboot that crashes the RaSCSI software. When it crashes, the entire Mac freezes until you re-launch the RaSCSI software. I'm assuming the RaSCSI software is giving up in the middle of a SCSI transaction and doesn't report an error to the host.

- GIMON's host file system and Ethernet interfaces are very specific to the 68000 platform. He wrote some very custom drivers. Getting similar functionality on the Mac is going to be a non-trivial undertaking

- I need to fix my board (to correct the ACK vs ACT signal mismatch)

- A lot of the reference documentation I've been looking at is linked on my RaSCSI Github repo https://github.com/akuker/RASCSI (yes... the formatting is horrible. I'll clean it up someday)

image.png.100b688457220ba5b6eaa1a3656272ae.png

Share this post


Link to post
Share on other sites

For the ethernet driver, someone developed some hardware that can be used with existing driver: 

 

 

I wonder how portable it is to RaSCSI… I haven't taken a look at the sources

Share this post


Link to post
Share on other sites
23 hours ago, landoGriffin said:

ITS ALIVE!!!

 

I did some benchmarks with a few different Raspberry Pi versions (the Raspberry Pi 0 results were surprising). I compared them to the stock Seagate HD in my Quadra 840av and a SCSI2SD version 5.0a that I had from a few years back.

https://github.com/akuker/RASCSI/wiki/Benchmarks

 

CD-ROMs are also working! You'll need to use Resexeccence's CD-ROM driver hack. https://web.archive.org/web/20040404121044/http://www.resexcellence.com/hack_html_99/12-21-98.shtml I'm using Apple CD-ROM driver version 5.4.2.

  

Some other things I've learned over the past few days....

- The Mac OS sends a flush command when you reboot that crashes the RaSCSI software. When it crashes, the entire Mac freezes until you re-launch the RaSCSI software. I'm assuming the RaSCSI software is giving up in the middle of a SCSI transaction and doesn't report an error to the host.

- GIMON's host file system and Ethernet interfaces are very specific to the 68000 platform. He wrote some very custom drivers. Getting similar functionality on the Mac is going to be a non-trivial undertaking

 - I need to fix my board (to correct the ACK vs ACT signal mismatch)

- A lot of the reference documentation I've been looking at is linked on my RaSCSI Github repo https://github.com/akuker/RASCSI (yes... the formatting is horrible. I'll clean it up someday)

 

That is cool,  good work!  as far as I know, you're the first person with actual results of it working

Did you happen to post something in a comment on one of the vintage Mac facebook groups yesterday on a topic about scsi2sd clones?(Yesterday someone commented they were working on a RASCSI project and is working on getting the CD emulation working)

Share this post


Link to post
Share on other sites
9 hours ago, Torbar said:

That is cool,  good work!  as far as I know, you're the first person with actual results of it working

Did you happen to post something in a comment on one of the vintage Mac facebook groups yesterday on a topic about scsi2sd clones?(Yesterday someone commented they were working on a RASCSI project and is working on getting the CD emulation working)

I did post in one of the Vintage Mac Facebook groups yesterday. That was me!

 

Side note: I'm spending a bunch of time today trying to pull together a good documentation package for English Mac users. Feedback/comments/contributions are welcome!

https://github.com/akuker/RASCSI/wiki

Share this post


Link to post
Share on other sites
On 7/8/2020 at 8:51 AM, landoGriffin said:

I did post in one of the Vintage Mac Facebook groups yesterday. That was me!

Cool! I'm the one that posted the 50 pin connector version of the other scsisd clone.  Cool to see that there are at least a few people with projects in the works for SD storage on old Macs

Share this post


Link to post
Share on other sites

How many gpio pins are left unused on the Pi? I wonder, if we have enough to run a small i2c bus, if we could add a small LCD or OLED and a few buttons to the board to switch CD images or the like. I've been dreaming of a FlashFloppy-style device for SCSI CD emulation since I got my Mystic a couple years ago.

Share this post


Link to post
Share on other sites
On 7/8/2020 at 8:51 AM, landoGriffin said:

Side note: I'm spending a bunch of time today trying to pull together a good documentation package for English Mac users. Feedback/comments/contributions are welcome!

Your documentation is coming together very nicely! I look forward to being able to read it all when you finish. I have only ever had limited success understanding whatever it is google translate generates, so this will be a great alternative!

Share this post


Link to post
Share on other sites
On 7/8/2020 at 5:27 AM, uyjulian said:

For the ethernet driver, someone developed some hardware that can be used with existing driver: 

 

 

I wonder how portable it is to RaSCSI… I haven't taken a look at the sources

That is exciting!! The code might not be directly portable to the RaSCSI, but the understanding of the communication protocol is a huge win for the community! I'm running out of vacation time for this week, but this looks like something to tackle with my next vacation!! 

 

I'd make a comment about this being a weird use of my vacation from work.... but considering the crowd ;-)

Share this post


Link to post
Share on other sites
17 hours ago, kerobaros said:

How many gpio pins are left unused on the Pi? I wonder, if we have enough to run a small i2c bus, if we could add a small LCD or OLED and a few buttons to the board to switch CD images or the like. I've been dreaming of a FlashFloppy-style device for SCSI CD emulation since I got my Mystic a couple years ago.

I thought the same thing! For this version, I broke out the i2c and VCC to a separate header to attach a super cheap OLED. I haven't got around to writing any code do do anything with it, but that shouldn't be too tough. You could also easily add a much larger screen, but I'm trying to watch the budget on this project :-) 

image.thumb.png.14e0de9fe49b2741b3c41f83c944efac.pngimage.thumb.png.46c2457f021b1a85edd7a4d2991b8ed3.png(Ignore the fact that my pin headers aren't soldered on straight....)

 

As far as buttons, GPIO pins 4,5, 10-27 are used for the SCSI interfaces. GPIO 2 and 3 are used for the I2C interface. So, that leaves GPIO 0,1,6,7,8,9 that you could use for user control. You could also add a I2C GPIO expander and get as much I/O as you want.

2020-07-10-102503_3840x1080_scrot.thumb.png.e7cd2ff616abbd7f7ee6f90afad2ce58.png

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×