User Tools

Site Tools

한국어

comfilepi:migratingfromcpia:index

Migrating an Existing Solution from the CPi-A/B to the CPi-C/S

If you have an existing solution created for the CPi-A/B panel PCs that utilize the Raspberry Pi Compute Module 3+, but would like to migrate that solution to CPi-C/S panel PCs that utilize the Raspberry Pi Compute Module 4/4S, you will need to update the operating system's bootloader, firmware, and kernel in order for the CPi-C/S panel PCs to boot.

The recommend method of migrating an existing solution to the CPi-C/S panel PCs is to install the latest operating system, make adjustments to the system's configuration, and redeploy your software. This method will ensure you are using the bootloader, operating system, and root filesystem permutation that was given the most testing and scrutiny by both Raspberry Pi Ltd. and COMFILE Technology.

Scripting your configuration and deployment procedure in Bash, Python, or some other scripting language can help automate your deployment so it is easier to reproduce on future models and operating system releases.

Please be aware that operating systems prior to Debian Bullseye (e.g. Debian Buster) are 32-bit with the dhcpcd network subsystem, while operating systems from Debian Bullseye onward are 64-bit with the Network Manager subsystem in order to best utilize the CPi panel PCs' hardware and keep pace with the evolution of the platform.

Alternative Method

We understand the recommend method of using the latest operating system may require a significant amount of reconfiguration, testing, and even remembering or reverse-engineering changes that have been lost to time. If the recommended method is not feasible, the following method may work.

  1. Boot your existing solution on your CPi-A/B panel PC.
  2. Run the command sudo rpi-update and follow the on-screen instructions. This will update the operating system's bootloader and kernel, but will leave the root file (i.e. the operating system's Debian release) unchanged. For more information see the rpi-update documentation
  3. Reboot and make sure all is good on the CPi-A/B panel PC.
  4. Shutdown.
  5. Mount the CPi-A/B's SD card or eMMC on a workstation PC.
  6. Download our latest operating system release and copy the /boot/cpi-cxxxx_config.txt or /boot/cpi-sxxxx_config.txt (for the CPi-C and CPi-S respectively) to the CPi-A/B's /boot folder, and use it to replace the existing /boot/config.txt file.
  7. Install the new OS image on the CPi-C/S.
  8. Once powered on, the CPi-C/S should boot without issue.

The risk with this method is you'll be using an updated bootloader, firmware, and kernel with an older root file system (i.e. Debian version), and breakage could be possible. However, in our testing so far, this method has not resulted in any issues.

Additional Information

comfilepi/migratingfromcpia/index.txt · Last modified: 2023/11/10 16:40 by COMFILE Technology