CM Home technical documentation Buy

microSD for CM-Home board

The CM-Home board is fully compatible with the Raspberry Pi CM4S board so if you use any microSD that works on a Raspberry Pi it will work also on a CM-Home board. This guide explains how to activate the special hardware mounted on the CM-Home that is not available on the Raspberry Pi.

Previous version of this article

Following are the old instruction to make a microSD starting from a Raspberry Pi OS Release date: January 28th 2022

STEP 1 - Create a standard Raspberry Pi MicroSD

Go to page and follow the instructions to create a bootable MicroSD for Raspberry Pi. Select the lite version because the CM-Home board doesn't have any video interface.

STEP 2 - Add some lines to config.txt files to enable CM3-Home specific hardware

While booting up, the Raspberry Pi reads some configuration parameters from the first partition of MicroSD card.

These parameters are stored in a file named config.txt inside the first microSD partition.

You can edit this configuration from any PC because the first partition is formatted as FAT so it is compatible with Mac, Win an Linux. Use an ASCII editor like Nodepad or similar (please don't use Word :-) and add these lines at the end of this file:

#Ignore the HDMI cable hotplug (to avoid the delay at startup)

# Set the debug port on GPIO32, GPIO33 pins

# Enable the 1-wire bus

# Set the audio lines on GPIO40 and GPIO41 pins

# Disable the Bluetooth

# Set the I2C1 on GPIO 44 and GPIO 45 pins

#Enable the IR Linux driver

#Enable the debug message

It is possible to edit this file also using the Raspberry Pi itself. It is located in /boot/config.txt.

STEP 3 - Change the console in cmdline.txt files to move the debug port on serial1

Like as config.txt also the file cmdline.txt is saved in the first microSD partition. Using the same ASCII editor change this parameter:




STEP 4 - Enable the SSH server

By default the SSH server is disabled on the Raspberry Pi OS microsd images. This could be a problem when using a CM3-Home because the video interface is not present and so if you don't have a serial cable there isn't any other way to get the access to the Linux command line.

Creating an empty file called SSH with no extention on the first microSD partition the ssh server will be enabled at first startup and you can reach the Linux command prompt via lan.

ssh pi@raspberrypi.local
Password: raspberry

FINAL STEP - Boot it

Your MicroSD now is ready to be used on the CM3-Home. Go to the getting started article to use it.

Home page CM Home technical documentation Buy