Hacker News new | ask | show | jobs
by rhalkyard 937 days ago
Wow, huh, that's me! A friend told me I'd gotten mentioned here so I thought I'd drop in and offer some explanation, hope that's okay!

It's still in very early development, I mostly put it up on github so I could show it to some friends and get some review on it - the 'revision 0' hardware in there was only ever intended as a minimum-viable prototype to prove the concept and let me get started on driver development.

As far as licensing goes, once it's more polished I'm planning on releasing it under some kind of open hardware license. I've no interest in making money off of it beyond hopefully selling a small run of them to recoup the cost of development. Right now, though, I'd strongly recommend against trying to build it or derive anything from it in its current state - the Revision 0 hardware was only ever intended as a minimum-viable product, it has a number of hardware bugs, and I may make some software-incompatible changes in the next revision.

Having said that, things are progressing well. Aforementioned hardware bugs aside, the initial bringup of the board was a success, it sends and receives packets as it should, but there's plenty on the to-do list for the next revision.

It's driver development that's the killer. The Classic Mac OS network stack is ... interesting ... I've got the basics all there, but it's very prone to dramatic and difficult-to-debug crashes at the moment.

The driver that's up on github is quite out of date, but my work-in-progress is an absolute mess of debugging code and commented-out bits, so it'll probably be a while before I get that cleaned up and published.

If anyone wants to know more, there's a sporadically-updated Twitter thread about it at https://twitter.com/halkyardo/status/1723914693595607525, and a more in-depth thread on 68kmla at https://68kmla.org/bb/index.php?threads/sethernet-and-sether...

1 comments

Have you thought of running NetBSD on the SE/30 and debugging your hardware from that? You would have a modern network stack with source.
That's not a bad idea, but the 'interacting with the hardware' part of writing a driver has actually been a breeze - within a few hours of building the card, I'd thrown together a test harness that was able to send and receive packets.

The hard part is getting it to behave properly with Mac OS's 'interesting' and poorly-documented network stack.

Ironically, while I hadn't considered NetBSD, I do want to write a driver for it for A/UX - between the recent work that has already been done on A/UX drivers (https://github.com/SolraBizna/testc), and some reverse-engineering of its network code, I think it's well within the bounds of possibility, even with the original driver SDK being Lost Media.