Skip to main content

Software Setup

This page covers operating system compatibility, boot modes, storage options, and GPIO-controlled features for the IRIV SmartHub CM5.

Operating System Compatibility​

The IRIV SmartHub CM5 is based on the Raspberry Pi Compute Module 5 and runs Raspberry Pi OS. Raspberry Pi OS may be pre-installed (Cytron's tutorial says units "can have" it pre-installed; the user manual does not say). If the unit does not boot to a desktop, flash the OS as described below.

OSStatus
Raspberry Pi OSSupported
UbuntuListed as an option in Cytron's getting-started tutorial

For other operating systems compatible with Raspberry Pi CM5, refer to the official Raspberry Pi documentation.

Boot Modes​

The IRIV SmartHub CM5 supports multiple boot configurations controlled by the internal Boot/Run switch and boot order settings.

Boot/Run Mode Switch​

PositionFunction
BootCM5 enters USB boot mode for OS programming via USB-C
RunNormal operation mode

Boot Sources​

SourceSupport
eMMCYes (default)
NVMe SSDYes (via M.2 Key-M socket, bootable)
USBNot specified in official manual
NetworkNot specified in official manual

Changing Boot Order​

To boot from NVMe SSD instead of eMMC, configure the boot order using the Raspberry Pi configuration tools. Refer to official Raspberry Pi CM5 documentation for boot order configuration.

Storage Options​

Built-in eMMC​

ParameterOptions
Capacity16GB / 32GB / 64GB (varies by SKU)
FunctionPrimary OS storage

M.2 NVMe SSD Expansion​

ParameterSpecification
InterfacePCIe Gen 2, 1-lane
Supported Form Factors2230, 2242
BootableYes
SATA SupportNo (M.2 SATA SSDs are not supported)

To install an NVMe SSD:

  1. Power off the device and disconnect all cables
  2. Remove the enclosure cover
  3. Insert the NVMe SSD into the M.2 Key-M socket
  4. Secure with the standoff screw (use 2230 or 2242 position as appropriate)
  5. Reassemble the enclosure

GPIO-Controlled Features​

Programmable LEDs​

Control the user LEDs by setting GPIO pins as outputs:

LEDGPIOActive State
LED0GPIO20HIGH = ON (expected; not stated in the user manual)
LED1GPIO21HIGH = ON (expected; not stated in the user manual)

Example using pinctrl (Raspberry Pi OS):

# Turn on LED0
pinctrl set 20 op dh

# Turn off LED0
pinctrl set 20 op dl

Active Buzzer​

ParameterValue
GPIOGPIO19
Active StateHIGH = Beep

Example:

# Activate buzzer
pinctrl set 19 op dh

# Deactivate buzzer
pinctrl set 19 op dl

User Button​

ParameterValue
GPIOGPIO4
Read StateNot stated in the user manual (commonly LOW when pressed — check before relying on it)

The user button can be configured for various functions including safe shutdown. Implementation requires software configuration.

Mini PCIe Power and Reset Control​

FunctionGPIOUsage
PowerGPIO6Turns mini PCIe power on/off (polarity not stated in the user manual)
ResetGPIO5LOW = Reset (active low)

Use these GPIOs to control power cycling and reset of modules installed in the mini PCIe socket (e.g., 4G/LTE modules).

RTC Configuration​

The IRIV SmartHub CM5 includes a CR2032 coin cell holder for the built-in RTC on the CM5.

ParameterValue
Battery TypeCR2032
FunctionKeeps RTC running when system is powered off

The RTC is built into the CM5 module. Install a CR2032 battery to maintain time when the system is powered off.

Wireless Configuration​

WiFi​

Set the WiFi country first (Raspberry Pi Imager, or sudo raspi-config → Localisation Options → WLAN Country) — Raspberry Pi OS keeps WiFi blocked until it is set. Then connect with the standard network tools:

# Scan for networks
nmcli device wifi list

# Connect to a network
nmcli device wifi connect "SSID" password "password"

Disabling Wireless​

To permanently disable WiFi or Bluetooth, solder the corresponding jumper pads on the internal board (silkscreen WLAN for WiFi and BT for Bluetooth, under "DISABLE" on the back of the board).


Source(s):

  • IRIV SmartHub CM5 User Manual (IRIV-SH5), Rev 1.3, Dec 2025
  • IRIV SmartHub CM5 product page (my.cytron.io), read Oct 2026