Home

Awesome

CM4 NAS Board [UNMAINTAINED]

This Compute Module 4 carrier board design exposes a subset of the CM4's interfaces, including its single PCIe 2.0 lane to accept an external SATA controller card. This design is based off of the official Raspberry Pi Foundation's CM4 IO board (the KiCad project is available on the IO board official page). Removed the IO that was less relevant for a NAS and rearranged the remaining interfaces for a smaller footprint that would fit within the width of a standard 3.5" hard drive.

The board was intentionally kept simple to limit mistakes as this is my first ever attempt at designing a PCB and I have no background in electronics, so all the power management is left to external power supplies and buck converters. It's important to use good quality regulated power supplies with this board as it offers no protection other than what is built into the CM4.

Also made 3D printed enclosure for the final product. Design available here: https://www.thingiverse.com/thing:4820662

Feel free to explore the discussion section of this repo to share ideas.

Latest Reddit post here.

Table of Contents

Software

For the software part of this project, I highly recommend Jeff Geerling's repo, where he documented similar endeavors, but you will likely have to recompile the kernel after enabling some modules to be able to use a PCIe SATA controller.

Don't hesitate to ask questions in the Discussion tab of this repo.

Board IO

CM4 IO Breakout

The interfaces the board forwards from the CM4 are the following:

Other Connections on the Board

Other than relaying the compute module's IOs, the board adds other connections, mainly for power.

PCB Assembly

Manufacturing

There is a Fab folder at the repo's root. This folder contains all the files that you need to order PCBs from a manufacturer. You will find in the folder a Fab_rev1.4.zip archive that is all you need to order from JLC PCB. This is the latest version and the one I have been running for months now.

Required Parts

Other than the standard caps and resistors, here are the components you will need if you want to assemble the board:

Building

To build the board, you will need a soldering iron and a hot air gun (or a reflow oven). I would recommend starting with the Hirose high density connectors as they are without a doubt the hardest part. This video I referred to earlier is a good starting point, it makes for a fine tutorial. It only took a couple tries before I could get a decent result (image from microscope at around 50-60x):

Once the HD connectors are in place, you can move on to the ESD sinks. They are very small and can also be daunting, but soldering them turned out to be easier than expected. The trick is to put as little solder paste as possible and the chips will naturally be pulled in place by the solder's surface tension.

The rest of the parts should be fairly easy to solder with a standard iron.

Pinout

Revision History