Skip to the content
4 layers215 × 150 mmMackerel-30-proto, the printed circuit board in 3D

Mackerel-30-proto

crmaykish/mackerel-68k96

A series of single-board Motorola 68k computers with support for modern Linux

Size
215 × 150 mm
Copper layers
4
Thickness
1.6 mm
Parts
133
Nets
290
Pads
1,121
Tracks, vias
2,615, 294
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
5 Dec 2021
Updated
12 Jul 2026

Overview

Mackerel-30-proto is an open-source printed circuit board by crmaykish, from the crmaykish/mackerel-68k repository on GitHub, published under the MIT licence. It is a 4-layer board of 215 × 150 mm with 133 parts on 290 nets, routed with 2,615 tracks and 294 vias.

It is built around the MC68030RC16C, 74HC245D and LM2576T-5.0, with the AMS1117-3.3, AS6C4008-55PCN and DS1233 among its other parts. Its parts include 57 capacitors, 29 resistors, 16 ICs, 15 connectors and 4 diodes. It belongs with the computers and single-board computers and retro computing and games boards and the FPGA and CPLD boards of this library.

Main components

7

README

README.md

Mackerel 68k

Discord

Mackerel 68k is a family of homebrew single-board computers built around the Motorola 68000 line of processors plus a from-scratch effort to run mainline Linux on each one.

The project works its way up the 68k family one chip at a time, from the 68008 to the 68040. Each new board adds capability: more memory, faster CPUs, an FPU, an MMU, and richer peripherals. But the throughline is software - every Mackerel runs the latest mainline Linux kernel, from a tiny NOMMU uClinux shell on the 68008 up to a full MMU + hardware-FPU install on the 68030.

What's in the box, top to bottom:

  • Bespoke hardware - custom PCBs with programmable logic chips (22V10 GALs on the 68008, Altera CPLDs on the later boards) handling address decoding, DRAM control, and interrupts.
  • A homegrown bootloader - a small ROM monitor on every board with debug tools (peek, poke, memtest), YMODEM file transfer, and the ability to boot Linux from IDE or SD.
  • Custom toolchains - bare-metal and Linux (MMU + NOMMU) GCC cross-compilers built with crosstool-ng.
  • Mainline Linux - kernel port with drivers for the DUART, IDE storage, and Ethernet-over-SPI, booting to a BusyBox userspace.
  • Fully open source - every schematic, PCB layout, logic file, and line of code is open, and hobbyists around the world have built their own Mackerel boards.

Three discrete boards are running today (68008, 68010, and 68030), with a 68040 system in the works - plus Mackerel-F, an FPGA build that runs a full Mackerel system on a soft 68000 core.

Links

  1. Hackaday Project Page
  2. Mackerel Linux v7.1.x
  3. Mackerel uClinux (deprecated)

Docs

  1. Mackerel-08 Assembly
  2. How to Compile Code and Programmable Logic
  3. Building the Mackerel Toolchains
  4. Building and Booting Linux on Mackerel
  5. Building and Running Mackerel-F (FPGA)

Hardware

Mackerel-08

Status: Complete

  • MC68008 CPU (52-pin PLCC variant)
  • 512 KB of Flash ROM, 3.5MB SRAM
  • Two serial ports
  • SD card support (bitbang SPI)
  • Linux 7.1.x NOMMU

Mackerel-08 SBC v1

Based on the original prototype hardware, this SBC combines the 52-pin PLCC MC68008, a 512KB Flash ROM, up to 3.5MB of SRAM, and a XR68C681 DUART on a single PCB. The DUART exposes two serial ports and three bit-banged SPI headers. One of these headers is currently used with an SD card breakout board to provide bulk storage.

Three 22V10 PLDs are used for address decoding, interrupt mapping, and DTACK generation. An expansion header breaks out address, data, and control lines to allow additional peripherals to be connected directly to the processor bus.

The address space is mapped as follows:

  • RAM: 0x000000 - 0x37FFFF (up to 3.5 MB)
  • ROM: 0x380000 - 0x3FBFFF (496/512 KB usable)
  • DUART: 0x3FC000 - 0x3FDFFF (8KB)
  • Exp: 0x3FE000 - 0x3FFFFF (Expansion header, 8KB)

Mackerel-08 uses a 74HC595 shift register to create a BOOT signal for the first eight /AS cycles of the CPU after reset. This BOOT signal is used by the address decoder PLD to map the ROM to address 0x000000 long enough for the CPU to read the initial stack pointer and program counter vectors from ROM. RAM is mapped to 0x000000 after that.

Mackerel-10

Status: Complete

  • MC68000 or MC68010 CPU
  • 1 MB of ROM, 1 MB of SRAM
  • Up to 16 MB of 30-pin DRAM (15 usable)
  • Two serial ports
  • IDE interface
  • Linux 7.1.x NOMMU

Mackerel-10 v1

Mackerel-10 is the second SBC in the project. It expands on the design of Mackerel-08 with a MC68010 CPU (or equivalent), the same XR68C681 DUART, 1MB of Flash ROM, 1MB of SRAM, up to 16 MB of DRAM, and an IDE drive interface. Two CPLDs act as the glue logic and DRAM controller for the board. The SRAM is optional and the address space can be filled almost entirely with DRAM.

The memory map looks like this:

  • DRAM: 0x000000 - 0xDFFFFF (14MB)
  • SRAM: 0xE00000 - 0xEFFFFF (1 MB)
  • ROM: 0xF00000 - 0xFF4000 (not quite 1MB)
  • I/O: 0xF40000 - 0xFFFFFF

It's also possible to install a MC68SEC000 CPU on an adapter for a major speed boost. This CPU can run at 33 MHz with the correct CPU oscillator installed and an updated system controller CPLD.

Mackerel-30

Status: Prototype

  • MC68030 CPU at 20 MHz
  • MC68882 FPU
  • 512 KB ROM, 512 KB SRAM
  • 128 MB of 72-pin DRAM
  • Two serial ports
  • IDE interface
  • Ethernet over SPI
  • Linux 7.1.x

Mackerel-30 v0.1

Mackerel-30 is based on the 68030 CPU. It includes the DUART and IDE interface from Mackerel-10 and upgrades the DRAM controller to use a 72-pin SIMM. It also includes a MC68882 FPU.

Mackerel-40

Status: Design

  • 68040 CPU at 33 MHz (internal MMU and FPU)
  • 2 MB of ROM, 2 MB SRAM
  • 2x72 pin SIMMs (up to 256 MB of DRAM)
  • Dedicated I/O controller (SPI, I2C, GPIO)
  • DUART and IDE from earlier boards

Mackerel-F

Status: Prototype (FPGA)

  • fx68k soft 68000 core at 37.8 MHz, in a Tang Nano 20k
  • 8 MB SDRAM
  • 30 KB ROM (bootloader) and 32 KB BSRAM
  • UART console, programmable timer, and interrupt controller
  • microSD (SPI) and W5500 Ethernet
  • Linux 7.1.x NOMMU

Mackerel-F on a Tang Nano 20k

Mackerel-F is an entire Mackerel system implemented inside an FPGA. Everything that is discrete hardware on the other boards - the CPU, glue logic, memory controller, UART, timer, interrupt controller, and SPI masters - is RTL here, built around the fx68k soft 68000 core and synthesized for the Tang Nano 20k. The SoC runs at 75.6 MHz with the 68000 core clocked at half that (37.8 MHz).

Unlike the other boards there is no separate ROM chip: the bootloader is baked into the FPGA bitstream as on-chip ROM and its scratch RAM lives in block RAM, so the entire 8 MB of SDRAM is free for Linux. Alongside the usual boot (from SD) and YMODEM transfer, the bootloader adds a netboot command that pulls the kernel over Ethernet (raw TCP, with a small host server) and a five-second SD autoboot.

The memory map:

  • RAM: 0x000000 - 0x7FFFFF (8 MB SDRAM, the top 384 KB holds the execute-in-place root filesystem)
  • BSRAM: 0xFF0000 - 0xFF7FFF (32 KB, bootloader RAM)
  • ROM: 0xFF8000 - 0xFFF7FF (30 KB, bootloader ROM)
  • I/O: 0xFFF800 - 0xFFFFFF (GPIO, UART, timer, two SPI masters, interrupt controller)

It boots mainline NOMMU uClinux to a BusyBox shell from a ROMfs root run in place from SDRAM, with the microSD for storage and the W5500 for networking. See Building and Running Mackerel-F (FPGA).

Software

Bootloader and Bare-metal Programs

Every version of Mackerel runs a small bootloader program installed on the Flash ROM. This provides a simple set of debugging tools (peek, poke, memtest, etc.) as well as two methods for loading external code.

The bootloader supports the YMODEM protocol for loading programs and data into RAM (see the ymodem command), using lrzsz-sb on the PC for example. Other terminal programs like TeraTerm should also work.

The boot command is used to load the Linux kernel from disk (SD or IDE). It expects a IMAGE.BIN file on the first FAT16 partition of the drive. See the prepare_disk.sh script in the mackerel-linux repository.

On Mackerel-F the bootloader also supports netboot (pulling the kernel over Ethernet) and a five-second SD autoboot on power-up.

Linux on Mackerel

Every Mackerel board runs the latest mainline kernel (v7.1.x). Mackerel-08, Mackerel-10, and the FPGA-based Mackerel-F run NOMMU and are more limited in their capabilities. Mackerel-30 supports the MMU and the external FPU in Linux and functions more like a traditional headless Linux install. Userspace is made up of busybox (init and shell) with driver support for the DUART, IDE storage, and networking over SPI.

Compilers and Tools

There are three different toolchains for Mackerel. The baremetal toolchain builds the bootloader and other low level programs in this repo. There are also two variants of the Linux toolchain - one for Mackerel-30 with MMU support and the other for NOMMU/ucLinux on Mackerel-08/10. Prebuilt toolchains are available on the releases page; see Building the Mackerel Toolchains for both the download steps and instructions on building them all with crosstools-ng.

Parts

133
QtyValueFootprintReferences
340.1uFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C29, C30, C31, C32 +18
164k7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8, R9, R14, R23, R24, R25, R26, R28, R29
100.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8, C9, C10
10RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10, R11, R12, R13, R15, R16, R19, R20, R21, R22
6470uFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC11, C37, C41, C52, C53, C57
574HC245Package_DIP:DIP-20_W7.62mm_SocketU12, U13, U14, U15, U16
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
3Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ8, J9, J10
3LEDLED_THT:LED_D5.0mmD1, D3, D4
21000uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC24, C26
210uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC25, C27
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR17, R18
2CCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC50, C51
2CXO_DIP14Oscillator:Oscillator_DIP-14X1, X3
2Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1, J2
2Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ4, J5
2Conn_02x05_Odd_EvenConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ3, J11
2EPM7128Package_LCC:PLCC-84_THT-SocketU2, U9
10.01uFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC28
1100uHInductor_THT:L_Radial_D10.0mm_P5.00mm_Fastron_07ML1
11N5822Diode_THT:D_DO-27_P15.24mm_HorizontalD2
13.6864MHzOscillator:Oscillator_DIP-8X2
1470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR27
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U7
1AS6C4008-55PCNPackage_DIP:DIP-32_W15.24mm_SocketU4
1Barrel_Jack_MountingPinConnector_BarrelJack:BarrelJack_HorizontalJ7
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ15
1Conn_02x10_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ6
1Conn_02x20_Odd_EvenConnector_IDC:IDC-Header_2x20_P2.54mm_VerticalJ13
1DIN41612_03x32_ABCConnector_DIN:DIN41612_C_3x32_Female_Vertical_THTJ14
1DS1233Package_TO_SOT_THT:TO-92L_InlineU8
1HeatsinkHeatsink:Heatsink_Stonecold_HS-S02_13.21x9.53mmHS1
1LM2576T-5Package_TO_SOT_THT:TO-220-5_VerticalU6
1MC68030RCmackerel:PGA169U1
1MC68882Package_LCC:PLCC-68_THT-SocketU11
1SIMM72mackerel:SIMM-72U10
1SST39SF040Package_DIP:DIP-32_W15.24mm_SocketU3
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmSW1
1Screw_Terminal_01x04TerminalBlock:TerminalBlock_bornier-4_P5.08mmJ12
1XR68C681Package_LCC:PLCC-44_THT-SocketU5

The 131 most common of 133 parts.

More from crmaykish/mackerel-68k

3
  • 4 layers150 × 114 mmMackerel-10-v1, the printed circuit board in 3D

    Mackerel-10-v1

    crmaykish/mackerel-68k

    A series of single-board Motorola 68k computers with support for modern Linux

    65 parts96MIT
  • 4 layers150 × 80 mmMackerel-10-dram, the printed circuit board in 3D

    Mackerel-10-dram

    crmaykish/mackerel-68k

    A series of single-board Motorola 68k computers with support for modern Linux

    45 parts96MIT
  • 2 layersMackerel-10-ide, the printed circuit board in 3D

    Mackerel-10-ide

    crmaykish/mackerel-68k

    A series of single-board Motorola 68k computers with support for modern Linux

    9 parts96MIT

Similar boards

  • 4 layers210 × 170 mmCrmaykish mackerel-68k mackerel-10-v1, the printed circuit board in 3D

    Crmaykish mackerel-68k mackerel-10-v1

    punkfab/pcb-corpus

    235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark

    114 parts1
  • 4 layers239.4 × 165.7 mmSpreadout, the printed circuit board in 3D

    Spreadout

    aslak3/MAXI030

    MC68030 based expandable computer design

    199 parts38GPL-2.0
  • 2 layers160 × 200 mmRetro programmer, the printed circuit board in 3D

    Retro programmer

    lynchaj/duodyne

    Duodyne is a hobbyist retrocomputer system designed to run ROMWBW. It is comprised of modules on a system bus

    209 parts15
  • 4 layers100 × 100 mmStplus, the printed circuit board in 3D

    Stplus

    KenWillmott/SST-6809

    MC6809 Single Board Computer

    49 parts5MIT
  • 4 layers100 × 100 mmStplus, the printed circuit board in 3D

    Stplus

    KenWillmott/SST-6809-V2.2

    50 parts1MIT
  • 2 layers100 × 150 mmZ FIGHTER Mainboard, the printed circuit board in 3D

    Z FIGHTER Mainboard

    tangent3D/Z-FIGHTER

    Homebrew Z80 hobby computer

    55 parts10MIT
  • 4 layers160 × 100 mmK30p VME, the printed circuit board in 3D

    K30p VME

    transistorfet/retroverse

    A collection of VME-based hardware and software for modular computers

    133 parts17
  • 6 layers304.8 × 243.8 mmM68k hbc, the printed circuit board in 3D

    M68k hbc

    ehbc-project/ehbc-proto1-board

    KiCad board designs for EHBC

    72 parts

Questions

How big is the Mackerel-30-proto PCB?

It measures 215 × 150 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Mackerel-30-proto use?

133 parts, built around the MC68030RC16C, 74HC245D, LM2576T-5.0 and AMS1117-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mackerel-30-proto KiCad files?

From the crmaykish/mackerel-68k repository on GitHub, at the commit this page was made from: the board is hardware/mackerel-30-proto/mackerel-30-proto.kicad_pcb and its schematic hardware/mack-10-proto/mackerel-10-dram/mackerel-10-dram.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mackerel-30-proto design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).