Skip to the content
2 layers140 × 140 mmMc68k sbc, the printed circuit board in 3D

This SBC was created with one goal in mind - to run UNIX or UNIX-like OS on it. In order to achieve this, the Motorola 68010 had to be chosen since it's the first mc68k family member to support virtual memory (at least…

Size
140 × 140 mm
Copper layers
2
Thickness
1.6 mm
Parts
88
Nets
158
Pads
599
Tracks, vias
2,909, 466
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Jun 2026
Updated
27 Sep 2026

Overview

Mc68k sbc is an open-source printed circuit board by lokuciejewski, from the lokuciejewski/mc68k_unicorn repository on GitHub, published under the MIT licence. It is a 2-layer board of 140 × 140 mm with 88 parts on 158 nets, routed with 2,909 tracks and 466 vias.

It is built around the MAX232N, FT231XS-R and PCF8584T, with the AS6C4008-55PCN, AMS1117-3.3 and MCP100-450DI/TO among its other parts. Its parts include 23 capacitors, 15 resistors, 12 ICs, 7 diodes and 6 connectors. It belongs with the computers and single-board computers boards and the FPGA and CPLD boards of this library.

Main components

6

README

README.md

Unicorn - a mc68k-based SBC

This SBC was created with one goal in mind - to run UNIX or UNIX-like OS on it. In order to achieve this, the Motorola 68010 had to be chosen since it's the first mc68k family member to support virtual memory (at least in the basic form) and is able to cooperate with a MMU natively.

Hardware V1

V1 description

The board is designed in KiCad. The main specs are:

  • Motorola 68010 CPU @ 8.192Mhz
  • 1MB of SRAM in the form of 2x AS6C4008 (512k x 8) modules
  • 64kB of ROM in the form of 2x AT28C256 (32k x 8) modules
  • Xilinx xc9572xl CPLD used as glue logic and simple PMMU
  • Motorola MC68681 DUART chip for IO
  • PCF8584P I2C controller

The board uses two voltage rails, 5V and 3V3, with the latter being used to power the CPLD only and the rest of the system being powered from the 5V. The 3V3 regulator derives its voltage from the 5V rail which is supplied via the USB-C plug which also doubles as the UART1 (Serial A) input/output. The board has a DB9 socket which is connected via MAX232 to the 68681 DUART on UART2 (Serial B). Additionally, there is a JTAG header for programming the CPLD and two headers for I2C and SPI. 3 programmable LEDs and 3 inputs are available to the user.

Memory map

The memory map is defined by the CPLD and is kept as simple as possible:

Address rangeSize [bytes]Contents
0x000000 - 0x00FFFF64kROM
0x010000 - 0x1FFFFF1MSRAM
0x110000 - 0x1100FF25668681 DUART
0x110100 - 0x1101FF2568584P I2C

V1 conclusions

The board needed a few small adjustments but otherwise functions correctly. Its main problems are very slow SPI bus (bit-banged) and not enough pins on the CPLD to connect all necessary signals for it to function as the PMMU.

Unicorn SBC V1 with all its bodge wires :)

Hardware V2

Changes scheduled for the hardware revision 2:

  • Add clock divider circuit to allow for different clocks to be derived and used throughout the system
  • Add hardware solution to the SPI - either inside the CPLD or as a separate circuit
  • [Optional] Remove the I2C circuit since bit-banged I2C should be sufficient
  • Add an RTC on the I2C bus
  • Add the SD card slot directly to the board
  • Move to the 100 pin version of the CPLD to accomodate all signals
  • General layout fixes - USB, DUART data lines etc.

Further changes

A DRAM controller and a SIMM socket(s) would allow this SBC to address even more memory, up to 68010's 16MB natively and even more through paging. This would require adding a second CPLD or even swapping the current CPLD with a FPGA. While this is not required to reach the goal of running UNIX, it would significantly expand the SBC's capabilities.

Software

Firmware description

The board can run any software compiled with the m68k-elf-gcc or equivalent m68k compiler. It can utilize its own fork of picolibc which implements some of the stdlib's functions. The supplied bootloader allows loading any .elf file from the SD card and running it. The bootloader comes with a small monitor - a customized tinylisp implementation.

The bootloader mounts the SD card (FAT16-formatted) and searches for the file named bootord. It then tries to load a file that's in the bootord into the memory at address 0x10000. After that, it tries to execute the executable.

Booting the micropython elf

Architecture-specific design decisions

Motorola 68010, unlike the 68000 allows for relocating the interrupt vector table into an arbitrary address in its memory space. The Unicorn SBC's bootloader allocates the interrupt vector table at the top of its base 1M of SRAM, at address 0x10FC00. This 1KB is reserved by the system and must never be accessed by the application directly.

Compiling the software

Requirements
  • m68k-elf-gcc compiler or any other C compiler that supports the m68k architecture. With a bit of fiddling, the newer GCC can be built, I used gcc-16.2.0 with the following configuration options: --prefix=/tmp/m68k-elf-gcc/m68k-toolchain --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=m68k-elf --program-prefix=m68k-elf- --enable-languages=c --enable-obsolete --enable-lto --disable-threads --disable-libmudflap --disable-libgomp --disable-nls --disable-werror --disable-libssp --disable-shared --disable-multilib --disable-libgcj --disable-libstdcxx --disable-gcov --without-headers --without-included-gettext --with-cpu=m68010 --with-newlib
  • A fork of picolibc which needs to be installed into the above toolchain
  • An SD card formatted in FAT16

The example-app can be used as a base for any software that is to be compiled and ran on the Unicorn SBC. The most important are the linker script, the crt0.c and the CMakeLists.txt.

Caveats

The picolibc automatically allocates all unused memory reserved for the application in the linker script as a heap space, so during the compilation it will always show 100% memory is consumed. As far as I know, there is no way of limiting the size except for setting the minimum heap size.

Parts

88
QtyValueFootprintReferences
140.1uFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC8, C9, C10, C11, C12, C14, C15, C17, C18, C19, C20, C25, C26, C27
7LEDLED_THT:LED_D3.0mmD2, D3, D4, D5, D6, D7, D9
6220RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR5, R6, R11, R12, R13, R18
41uFCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC3, C4, C5, C6
31KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR14, R16, R17
210uFCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC16, C21
227RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR3, R4
228C256Package_DIP:DIP-28_W15.24mm_SocketU3, U10
247pFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC1, C2
24k7Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR7, R8
25k1Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR9, R10
2AS6C4008-55PCNPackage_DIP:DIP-32_W15.24mmU4, U8
11uFCapacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mmC13
168681Package_DIP:DIP-40_W15.24mmU2
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U9
1BUS_SIGTestPoint:TestPoint_Pad_D2.0mmTP10
1CTSJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP7
1CXO_DIP14Oscillator:Oscillator_DIP-14Y1
1CXO_DIP8Oscillator:Oscillator_DIP-8Y2
1DCDJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1DE9_PinsConnector_Dsub:DSUB-9_Pins_Horizontal_P2.77x2.54mm_EdgePinOffset9.40mmJ2
1DSRJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP5
1DTRJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP4
1ETestPoint:TestPoint_Pad_D2.0mmTP1
1EXPConnector_PinHeader_2.54mm:PinHeader_2x32_P2.54mm_VerticalJ1
1FT231XSPackage_SO:SSOP-20_3.9x8.7mm_P0.635mmU5
1I2C_ConnConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1JTAG_ConnConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ10
1MAX232Package_DIP:DIP-16_W7.62mmU6
1MC68000P/MC68010PPackage_DIP:DIP-64_W22.86mmU1
1MCP100-450DPackage_TO_SOT_THT:TO-92_InlineU14
1PCF8584Package_DIP:DIP-20_W7.62mm_Socket_LongPadsU7
1Power SwitchButton_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1QSW3
1RIJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP8
1RTSJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP6
1RXDJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1ResetButton_Switch_THT:SW_PUSH_6mmSW2
1SPI_ConnConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ8
1TXDJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_GCT_USB4085J7
1USER_INPUT_1TestPoint:TestPoint_Pad_D2.0mmTP7
1USER_INPUT_1Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP10
1USER_INPUT_2TestPoint:TestPoint_Pad_D2.0mmTP8
1USER_INPUT_2Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP11
1USER_INPUT_3TestPoint:TestPoint_Pad_D2.0mmTP9
1USER_INPUT_3Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP12
1XC9572XL-xxVQx64Package_QFP:TQFP-64_10x10mm_P0.5mmU13
1~{BGACK}TestPoint:TestPoint_Pad_D2.0mmTP6
1~{BG}TestPoint:TestPoint_Pad_D2.0mmTP5
1~{BR}TestPoint:TestPoint_Pad_D2.0mmTP4
1~{VMA}TestPoint:TestPoint_Pad_D2.0mmTP2
1~{VPA}TestPoint:TestPoint_Pad_D2.0mmTP3

Similar boards

  • 2 layers150.5 × 94 mmRx module, the printed circuit board in 3D

    Rx module

    koushik12328/Smart_mining_helmet

    An ESP32-powered safety helmet featuring gas detection, impact sensing, and IoT connectivity

    30 partsMIT
  • 2 layers67.3 × 54 mmJeep radio, the printed circuit board in 3D

    Jeep radio

    latonita/jeep-canbus

    Projects around CAN BUS in Chrysler Jeep - VES enabler, other small features

    52 parts30MIT
  • 2 layers121.9 × 121.9 mmPower Clock, the printed circuit board in 3D

    Power Clock

    DutchMaker/DM-02

    8-bit computer built (almost) entirely out of TTL logic chips

    49 parts14
  • 2 layers235 × 158.8 mmGigatron, the printed circuit board in 3D

    Gigatron

    flypie/Gigatron

    This is a version of the files from https://gigatron.io/ altered to work on a vanilla KiCAD 5.1.6. Changes are minimal in the schematic and PCB, layout has only been changed where dimensions or orientations changed as a…

    151 parts2
  • 2 layers110 × 110 mmCustom cpu, the printed circuit board in 3D

    Custom cpu

    axelo/custom-cpu

    Cutom CPU built from 7400-series integrated circuits (and FLASH roms)

    47 partsMIT
  • 4 layers139.7 × 116.8 mmProjekt pm, the printed circuit board in 3D

    Projekt pm

    lukasz-strama/projekt-pm

    81 parts
  • 2 layers268 × 237.9 mmBackplane, the printed circuit board in 3D

    Backplane

    crempp/ucpu

    16bit CPU made from TTL Logic Chips

    139 parts4
  • 4 layers296 × 220 mmInterposer, the printed circuit board in 3D

    Interposer

    AlexColello/discrete-nes

    A discrete logic implementation of the Nintendo Entertainment System where EVERY single gate output and EVERY memory bit is visible via LED. Watch a complete NES flip every bit in real-time.

    107 parts

Questions

How big is the Mc68k sbc PCB?

It measures 140 × 140 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mc68k sbc use?

88 parts, built around the MAX232N, FT231XS-R, PCF8584T and AS6C4008-55PCN. 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 Mc68k sbc KiCad files?

From the lokuciejewski/mc68k_unicorn repository on GitHub, at the commit this page was made from: the board is hardware/mc68k_sbc.kicad_pcb and its schematic hardware/mc68k_sbc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mc68k sbc 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).