Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting to my custom 030 board




> On Feb 16, 2025, at 2:29 AM, Lawrence Manning <lawrence%aslak.net@localhost> wrote:
> 
> Hi,
> 
> My board: github.com/aslak3/maxi030

Hey Lawrence — this is good stuff, and I’m happy to help you with this.  (I have been scheming my own 68030 home-brew, and possibly a 68040 home-brew as well, so I might want to hit you up with all kinds of ideas!)

Anyways, getting a new m68k platform going isn’t too rough at all.  For some … silly historical reasons, there is a bit of duplicated code, but it’s slowing improving, and “clean-up on aisle 030” is always something that can be undertaken at a later date.

You’ll have 3 main tasks:

- Kernel entry in locore.s
- VM bootstrap (pmap_bootstrap.c)
- Platform-specific device auto configuration

My experience here is “have been hacking on NetBSD m68k since like the very beginning on lots of different systems” and “ported NetBSD to the Qemu virt68k platform last year”.

It’s going to be best to go in baby steps.  The first goal is to get a basic serial console functioning and getting the kernel copyright message printed.  At that point, VM is up and you’ve reached main(), which is a huge milestone.  Take a peek at virt68k, and feel free to ask me questions on-list or off.

As for all of the devices on your system, it won’t be much trouble at all, I don’t think.  Let’s get the basics going first and then rock it from there!

-- thorpej



Home | Main Index | Thread Index | Old Index