Re: Porting to my custom 030 board

Hauke Fath <[email protected]> Wed, 1 Oct 2025 16:19:48 +0200
Newsgroups gmane.os.netbsd.ports.m68k
Organization Lacking
Message-ID <[email protected]>
On Wed, 1 Oct 2025 11:59:01 +0100, Lawrence Manning wrote:
> Thanks for the mail and your interest in my board, and desire to get
> NetBSD working on it. I've had a very brief look at 11 but still can't
> really figure out how to begin my own porting effort.

I will put a link block below, maybe that'll help. If anything, there=20
is probably too much information out there of the 'almost, but not=20
quite your setup' kind. Weeding it out will be part of the learning=20
curve, while teaching you what to find where in the source tree. And,=20
as Jason said=20
<https://mail-index.netbsd.org/port-m68k/2025/02/18/msg000935.html> -=20
start simple.

> Do you have a
> set of changes which just add support for a new machine? Ideally
> something m68k, but I might glean some knowledge looking at another
> machine type.

%  ls -1d sys/arch/*68*
sys/arch/luna68k
sys/arch/m68k
sys/arch/mac68k
sys/arch/mvme68k
sys/arch/news68k
sys/arch/next68k
sys/arch/sun68k
sys/arch/virt68k
sys/arch/x68k
%

plus amiga, atari, hp300, with m68k being the common ground for the=20
arch. Look through the ports, compare how they do things. Some will be=20
closer to your hardware than others.

> FWIW my offer is still open, but I can gather from the lack of
> interest that either not enough skilled people are interested in such
> a board, or that they know it would be a reasonable amount of work
> even for them?

Well, for one, if I were looking for a 68k board to port NetBSD to (and=20
had the round tuits), I would probably start with a simpler one. No=20
offense, but your design packs considerable complexity...

Cheerio,
Hauke

____________________________

<https://www.netbsd.org/developers/new-port.html>
<https://www.netbsd.org/docs/kernel/programming.html>
<https://www.netbsd.org/docs/kernel/porting_netbsd_arm_soc.html>
<https://www.netbsd.org/docs/kernel/bus_dma.pdf>
<https://man.netbsd.org/bus_space.9>
<https://man.netbsd.org/bus_dma.9>

<https://www.usenix.org/legacy/event/usenix99/full_papers/cranor/cranor.pdf=
>
<https://www.bsdcan.org/2019/schedule/attachments/483_riscvnetbsd.pdf>
<https://blog.netbsd.org/tnf/entry/porting_netbsd_to_allwinner_h3>
<https://www.garbled.net/tmp/bringup.pdf>
<https://ftp.netbsd.org/pub/NetBSD/misc/ddwg/NetBSD-driver_writing-1.0.1e.p=
df>
<https://www.teamten.com/lawrence/291.paper.pdf>
<https://2002.eurobsdcon.org/papers/ushakov.ps>
<https://arxiv.org/pdf/1605.05810>

-- that should keep you busy for a while...  ;)

--=20
Hauke Fath                        <[email protected]>
Linn=E9weg 7
64342 Seeheim-Jugenheim
Germany