This is an old revision of the document!
The ComfilePi OS is COMFILE Technology's operating system image for ComfilePi panel PCs. It is derived from Raspberry Pi OS and customized for ComfilePi hardware, with model-specific configuration, utilities, example programs, a dedicated data partition, read-only file system support, and access to convenient software package repositories.
The OS is intended to provide a practical starting point for developing and deploying ComfilePi-based industrial solutions, using familiar Windows, Linux, and Raspberry Pi tooling to install packages, configure services, and develop applications.
Existing Solutions: For solutions already deployed on an older OS release, it is recommended to no upgrade to at later OS unless there is a compelling reason to do so. Prior releases are available in the OS archive.
New Solutions: For new development, using the latest ComfilePi OS release is recommended.
The ComfilePi Trixie OS contains several improvements and changes over prior releases. Please see the ComfilePi Trixie OS for more information.
| Download Link | Release Date | Supported Models | OS Word Size | |
|---|---|---|---|---|
| ComfilePi OS 20260701 | July 1, 2026 | CPi-A, CPi-B, CPi-C, CPi-G, CPi-J, CPi-S | 64-bit | Release Notes and Checksum |
In general, to install the OS, simply download the OS image and use an disk imaging utility to write the OS image to the ComfilePi's boot device (e.g. the SD card). Any of the following OS imaging utilities should work:
IMPORTANT! - After installing the OS image to the ComfilePi's storage device, and prior to booting for the first time, you MUST replace the config.txt file with the model-specific config.txt file in the bootfs partition. For example, for the CPi-J070WR panel PC, overwrite config.txt with the cpi-j070wr_config.txt file. Some models will not boot, or will not function correctly, without the correct config.txt file.
The Trixie OS has adopted cloud-init for first boot initialization, and the latest Raspberry Pi imager has removed the ability to customize custom OS images. Therefore, to customize the OS prior to booting (e.g. changing the default userid/password, adding authorized SSH keys, etc.) please edit the user-data file according the the instructions in the cloud-init documentation.
When booting the OS for the first time, it will perform some initialization work (expand the last partition, generate unique SSH keys, etc) and reboot. Please allow it at least 5 minutes to boot for the first time to the desktop. After booting to the desktop, you can optionally update the software packages to the most recent releases of the day by running the following commands in a terminal.
sudo apt update sudo apt full-upgrade
The CPi-C/G/J/S panel PCs can boot from a USB drive. Therefore, it is possible to boot from a ComfilePi OS installed on a USB drive, and from there, flash the SD Card/eMMC/NVME drive locally. This method is much faster than writing the OS image to the ComfilePi over a USB cable.
Procedure:
scp or a utility like FileZilla to copy the OS image from a desktop computer to the ComfilePi. curl or wget to download the OS to a directory on the USB drive. Important: Although it is possible to configure a Compute Module 3 for USB booting by modifying the OTP memory, that has an unfortunate side effect of disabling it's ability to boot into the USB device mode for programming the eMMC. So please do not attempt to modify the Compute Module 3's OTP memory to enable USB booting, or you may not be able to program the eMMC again and will need to replace the Compute Module. Use the USB cable method instead.
See the Raspberry Pi eMMC Flashing Instructions for more information.
CPi-J panel PCs do not have a USB device port for programming the eMMC. Use the method to boot from a USB drive instead.
For all OS releases, the default user is pi and the default password is raspberry.
To replace the pi user and/or password prior to booting for the first time, after installing the OS the storage device, edit the user-data file on the bootfs partition to customize the default username and password. See the cloud-init documentation for more information.
To configure passwordless SSH authentication, configure the ssh_authorized_keys field as described in this cloud-init documentation.
The latest Raspaberry Pi Imager program removed the ability to customize custom OS images, so you will need to use v1.9.6 or earlier to configure first boot initialization.
To replace the pi user and/or password, use the Raspberry Pi Imager v1.9.6, press the gear icon and set a new username and password in the Advance Options screen before writing the OS to the SD card or eMMC.
After customizing an OS by changing settings, adding/remove software, etc. you may want to create a clone of the OS to provision additional panel PCs. If using a Windows PC, consider using Win32DiskImager to Read the SD card or eMMC disk to an image file (.img), and then use that resulting image file to provision additional ComfilePi panel PCs.
It is also possible to boot the ComfilePi OS from a USB drive and then use the included Backup/Restore application to backup, clone, and/or restore additional ComfilePi panel PCs.
The backup procedure uses sgdisk and fsarchiver to backup the partition table and partitions respectively, and package them into a .tar archive. One advantage of this method is that it is possible to untar the .tar archive, and manually edit the partition table backup file to change the size or layout of the partitions.
Using the Backup/Restore application to restore the .tar archive also provides the ability change the disk UUIDs, reinitialize the machine ID (e.g. to recreate unique SSH keys), and offer a final dialog to select the appropriate config.txt file (e.g. if clone from one ComfilePi model to another).