DoStuff Wiki
Attachments
History
Blame
View Source
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Changelog
Menu
Related Github Repo
Page Index
Hardware
ACRTC-3
Backplane
Board Features
Memory Map
News
20260512 - Increased Cpu Speed
20260724 - Alternative Monitor
Programming
Examples
Duart
PIT
Man Pages
Chdir(3)
Dirfd(3)
Getcwd(3)
Midstr(3)
Opendir(3)
Assembly Language
Filesystem Layer
Handling Interrupts
Machine Library
MMU
Reference Material
Runtime
SBC3 Emulator
Toolchains
Project Ideas
Operating System
Gloworm Port
Linux Port
NetBSD Port
Atari Vector Generator
Ethernet Card
Keyboard Controller
Monitor
BIOS
Books
Datasheets
Getting Connected
Home
Specs and Tech Notes
Project Ideas
Operating System
NetBSD Port
26eeaf
Commit
26eeaf
2026-10-28 17:21:46
Bob Green
: -/-
project ideas/operating system/netbsd port.md
..
@@ 1,1 1,22 @@
# NetBSD Port
+
+
> [!WARNING]
+
> This page is very much a work in progress!
+
+
+
## Building
+
I've forked a copy of the NetBSD sources.
+
### Kernel
+
NetBSD contains a port called **hb68k** which is designed for any 680x0 sbc type of board and I used that to create a variant for my SBC, which I've called **SBC3**.
+
+
```
+
git clone https://github.com/znac049/netbsd-src.git
+
cd netbsd-src
+
./build.sh -U -u -j4 -O ~/NetBSD-Port/obj -m hb68k tools
+
./build.sh -U -u -j4 -O ~/obj -m hb68k kernel=SBC3
+
./build.sh -U -u -j4 -O ~/obj -m hb68k distribution
+
```
+
+
- The first step builds to tools (compiler etc) that will be used to build the kernel and userspace.
+
- The next step builds the kernel
+
- The final step takes a Long Time(tm) and builds the userspace, which will need to be added to the root filesystem.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9