Salesforce: Turning a Freescale Dev Board into a Macintosh

68 points by wanderingjew 10 hours ago on hackernews | 28 comments

buildbot | 10 hours ago

This is neat but probably an extremely bad idea to use Saleforce’s name and _exact logo_?

mholm | 10 hours ago

Yeah this feels inexplicable to me. There isn’t even a clever link to the name

KerrAvon | 9 hours ago

TFA justifies it with a link to the SF transit center which I think is underneath Salesforce Tower, because Apples old chips are sometimes named for transit centers.

Which is cute but probably a bad idea for all the reasons everyone's pointed out.

rahimiali | 10 hours ago

the author's explanation for the name:

>I’m calling it Salesforce. Apple named its I/O chips after transit centers, and Salesforce is technically a transit center, so the joke works.

No explanation for the logo.

wk_end | 6 hours ago

Unless I'm missing something it's not even really a "joke"? He just named it after an unrelated company/transit station for no reason.

Now, what is a joke - and a pretty good one - is that if you look at the System Profiler output he had the firmware report it as a "SOSUMI Salesforce".

[OP] wanderingjew | 5 hours ago

sosumi.computer

jeremyjh | 10 hours ago

I wonder if they naively picked the name and whatever AI generated the logo just rolled with it.

Either that or it’s some kind of clever clickbait.

mproud | 10 hours ago

I would have gone with something like “Freerscale”.
Agreed, just made me confused, since there's too much connotation to the word "Salesforce" and it doesn't imply it's a board. I bet if just just called it

SalesforceBoard

it at least would be easier to grok.

benoau | 9 hours ago

Macintosh is a trademark too, guy is speed-running his C&D notice.

https://www.apple.com/legal/intellectual-property/trademark/...

[OP] wanderingjew | 9 hours ago

Oh you people haven't seen _anything_ yet.

cr125rider | 9 hours ago

Probably should call the revision “Mario” or “Zelda” to make sure we get all the lawyers together.

therein | 6 hours ago

He should probably have the bootscreen be some GTA6 PC gameplay footage.

walrus01 | 6 hours ago

And while it boots, it plays Disney music
"Macboard" might be a safer name than "Salesforce".

wolfi1 | 8 hours ago

I might be wrong here, but wasn't the PowerPC by IBM, originally?

colechristensen | 8 hours ago

It was a joint venture of Apple IBM and Motorola

https://en.wikipedia.org/wiki/AIM_alliance

anurodhp | 8 hours ago

The Salesforce thing confused me. The whole time I thought bbenchoff might be marcs secret domain.

codeulike | 7 hours ago

I’m calling it Salesforce. Apple named its I/O chips after transit centers, and Salesforce is technically a transit center, so the joke works.

I don't understand this at all. How is Salesforce a transit center? (Also what is a transit center?)

internet2000 | 7 hours ago

jwilliams | 7 hours ago

In San Francisco the bus terminal is called the Salesforce Transit Center (yes, they got naming rights). It’s by Salesforce tower and there are some quite nice gardens.

Usually Transit Center is where multiple transit modes or routes connect together. In the case of SF they seem to be allergic to connecting transit modes together.

cobychapple | 4 hours ago

Cool cool but what does any of that have to do with this PowerPC chip and getting it to boot MacOS? I straight up don't understand the connection.
Read the article and the connection is explained therein.

"The mac-io family began with Grand Central, then O'Hare, Heathrow/Gatwick, Paddington, and KeyLargo."

Grand Central and Paddington are both train stations/transit centers. So is SalesForce Transit Center in SF. The only part of the New World Mac that needed to be recreated here was the Southbridge, as explained, the "mac-io" chip.

Neywiny | 6 hours ago

Very curious on the OHCI control. I've only seen some custom controlled IP cores or licensed ones. I guess I'll have to wait for the open source.

Also jumping on the salesforce is a bad name.

[OP] wanderingjew | 4 hours ago

OP here; Wow a technical question.

It's not custom. It's SpinalHDL's UsbOhci. There's a project using Artix 7s on old Sun cards that use the same thing.

The PHY is a pair of TUSB1106 transceivers. Mac OS 9 doesn't need a driver from me. It's using the Apple OHCI driver in Mac OS ROM, bound to a PCI class. 3k LUTs on the chip, keyboard, mouse, and thumb drive work.

As for the name. The Apple mac-io was Grand Central, Paddington, Ohare, Heathrow, Gatwick, etc. the last one was Key Largo. I had two choices. I could name it after the Salesforce Transit Center, or I could name it Islamorada. I would like to thank you all for the engagement.

Neywiny | 2 hours ago

I forgot about the spinal core, that's true. That core says no phy needed (like most/all of the full speed FPGA cores I've seen) so did you put a shim? Or you can configure it to use the phy? I really need to learn spinal one day. I can't make heads or tails of what their documented example will compile to in terms of I/O.

[OP] wanderingjew | 2 hours ago

The Spinal code has a PHY block that does all the USB signaling in logic. Underneath that, it's a simple interface with enable, tx and rx data, D+/D- out. I'm bringing that interface out of the generated verilog with a 100-line shim that maps everything onto the TUSB.

I'm using real transceivers because the bare FPGA balls won't work. Well, they would probably work for USB1. But I'm going to put something between the port and an FPGA.

You don't need to read scala, just write a wrapper that names the ports you want, generate, and look at the port list of the .v file.

Neywiny | 2 hours ago

I've used them for USB full speed at least as a device. They certainly work at the short distance I tested. But yeah if you want something more compliant and don't mind the SWAP-C hit, makes sense to do it your way. Honestly I've seen (and done at least 1) countless implementations of this without a transceiver so I was a bit shocked.