User Tools

Site Tools

한국어

comfilepi:raspbian:index

Raspberry Pi OS

We recommend using the latest OS image to ensure you have the latest bug fixes and features released by the upstream repositories. After booting the OS, the software packages can be further updated to the most recent releases of the day by running sudo apt update && sudo apt full-upgrade in a terminal.

Bullseye

OS Image Download Link Date Released Supported Models Word Size Release Notes and Checksum
ComfilePi Raspberry Pi OS 20240229 February 29, 2024 CPi-A, CPi-B, CPi-C, CPi-F, & CPi-S 64-bit Release Notes and Checksum
ComfilePi Raspberry Pi OS 20230904 September 4, 2023 CPi-A, CPi-B, CPi-C, CPi-F, & CPi-S 64-bit Release Notes and Checksum
ComfilePi Raspberry Pi OS 20230710 July 10, 2023 CPi-A, CPi-B, CPi-C, CPi-F, & CPi-S 64-bit Release Notes and Checksum
ComfilePi Raspberry Pi OS 20230227 February 27, 2023 CPi-A, CPi-B, CPi-C, & CPi-S 64-bit Release Notes and Checksum
ComfilePi Raspberry Pi OS 20221201 December 1, 2022 CPi-A, CPi-B, & CPi-C 64-bit Release Notes and Checksum

OS Image Archive

The latest OS image above is preconfigured for the CPi-S070WR. For other models, please replace the /boot/config.txt file with the appropriate model-specific one located in the /boot directory.

The CPi-C070WR4C v2.0 hardware revision replaces the SMSC9512 10/100 Ethernet IC with CM4's 1Gbps Ethernet. Therefore, if using an older OS with the CPi-C070WR4C v2.0 hardware, please remove the dtoverlay=noeth setting in the /boot/config.txt file to ensure the CM4's internal Ethernet is not disabled.

Installation Instructions

The installation procedure is the same as that used for the Raspberry Pi. See “Installing Images…” at the Raspberry Pi Installation Instructions. Using the Raspberry Pi Imager, from the “Choose OS” menu, select “Use Custom” and then browse the to the OS downloaded from the links above.

When the OS is installed and booted for the first time, it will automatically expand the file system to take advantage of the specific model's entire storage capacity, and then reboot automatically. Subsequent boots will boot directly to the desktop.

Flashing the eMMC Over USB

  1. Obtain a USB-Type-A-to-USB-Type-A cable and connect it between the CPi panel PC and your desktop PC using the “USB Device” port.
  2. Turn on the CPi-xxxx panel PC. Due to the USB cable being plugged into the USB Device port, it will automatically boot into a special mode allowing the eMMC to be flashed. Nothing will appear on the screen though. If it boots into the desktop, something is wrong. If that happens check to ensure the cables are properly connected.
  3. Once the ComfilePi is powered on, download, install, and then run the “RPiBoot.exe” program on your desktop PC. It will detect the ComfilePi and mount the eMMC as if it were an SD card (e.g. as a removable drive).
  4. Once the eMMC is mounted as a removable drive, follow the normal procedure for flashing or backing up an OS image.

See the Raspberry Pi eMMC Flashing Instructions for more information.

Booting from a USB Drive to Flash the eMMC on the CPi-C/F/S

The CPi-C, CPi-S, and CPi-F panel PCs built around the Raspberry Pi Compute Module 4 and Compute Module 4S respectively have a different bootloader providing the ability to boot from USB out of the box. Leveraging that feature, it is now possible to boot from a utility operating system, and from there flash the eMMC locally. With that method, it is no longer necessary to connect the panel PC to a separate PC via a USB-A-to-USB-A cable, and flashing the eMMC is also much faster.

It is also possible to automate the Raspberry Pi Imager using it's command line interface. Run the command rpi-imager –cli in a terminal window for onscreen help.

Procedure:

  1. From a workstation PC, use the Raspberry Pi Imager to create a utility OS on a USB drive (or use an SD card mounted in a USB SD card reader). Be sure to update the /boot/config.txt file with the model-specific one in the /boot directory. The OS images downloadable from the links above can be used as the utility OS.
  2. If using one of the OS images linked above, boot from the USB once to ensure the root file system is expanded to make room for the OS images in the next step. Shut down after successfully booting once from the USB drive and then continue on to the next step.
  3. Copy the OS image that will be flashed to the eMMC to the utility OS's ~/Downloads directory. Since Windows does not have the ability to read from and write to Linux file systems, you may want to use a Linux PC for this step. Since the ComfilePi is simply a Linux PC, you could plug your USB drive into a separate ComfilePi panel PC and use it to copy your OS image to the USB drive. Or, if the OS image is stored on a server, you can always use a wget or curl to download the OS image from the server to the USB drive's ~/Downloads directory.
  4. On the CPi-C/F/S panel PC, if the eMMC already has an OS installed, make the eMMC unbootable so it will fail to boot from the eMMC and attempt to boot from USB instead.. Run the commands sudo mkdir /boot/temp followed by sudo mv /boot/start*.elf /boot/temp. It is also possible to change the bootloader's configuration to attempt to boot from USB first, but we'll assume the default bootloader configuration.
  5. Reboot the panel PC and verify that it can no longer boot from the eMMC.
  6. Plug in the USB drive created in step 1 into one of the panel PC's USB host ports, and the panel PC should immediately boot from it.
  7. Once booted from the USB drive, use the Raspberry Pi Imager to flash the eMMC.
  8. Reboot to boot from the eMMC.

In the USB drive's utility OS, if you want to change the Raspberry Pi Imager program to not require password input, as shown in the video, then open the file /usr/share/applications/rpi-imager.desktop and change the Exec=rpi-imager line to Exec=sudo -E rpi-imager.

It is also possible to flash the OS you want to install onto the USB drive (or USB SD card reader), boot off the USB drive, and then use the SD Card Copier program (Raspberry Pi Menu –> Accessories) to copy the USB drive to the eMMC. However, the USB drive (or SD card mounted in the USB SD card reader) must be smaller in capacity than the eMMC.

Important: It is possible to configure a Compute Module 3 for USB booting by modifying the OTP memory, however, 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.

Replacing the pi User

The default user is pi and the default password is raspberry. To replace the pi user, use the Raspberry Pi Imager, 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.

Creating an OS Image for Backup and/or Cloning

Most likely users will want to customize their OS by changing settings and adding/remove software to customize the ComfilePi panel PC to their needs. Win32DiskImager can be used to Read an SD card or eMMC disk to an image file (.img) for cloning other ComfilePi panel PCs.

Source Code

Source code for appropriately licensed software can be obtained by executing apt source {package_name} on the ComfilePi.

ComfilePi - Industrial Raspberry Pi Panel PC

comfilepi/raspbian/index.txt · Last modified: 2024/03/15 09:46 by COMFILE Technology