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 ~/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 the 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.

I've still got to document how to build the root filesystem.

On this page
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