« Back to Product

Documentation

Switching to 64-Bit (arm64)

Warning

Symcon 9.1 is the last version released for armhf (32-bit ARM). Starting with Symcon 10.0, only arm64 (64-bit ARM) is supported on ARM systems.

Most Raspberry Pi devices running Symcon today are already 64-bit capable. Usually no new hardware is needed. It is sufficient to reinstall the operating system in its 64-bit version and to transfer the Symcon data with a backup. All settings, scripts, variables and archive data are kept.

Content

Frequently Asked Questions

What changes?

Symcon is provided for armhf up to and including version 9.1. Starting with Symcon 10.0, only arm64 packages are available on ARM systems. This affects Raspberry Pi and Linux systems with a 32-bit operating system as well as Docker containers on 32-bit ARM systems (ARM7). Windows, MacOS, Linux (amd64), SymBox, QNAP and Synology are not affected.

Do I have to switch to 64-bit now?

No, the point in time can be chosen freely. The switch is already possible with the current version of Symcon and is recommended. It is required at the latest for the update to Symcon 10.0.

What happens if I do not switch?

An existing installation of Symcon 9.1 keeps running unchanged. However, it does not receive an update to Symcon 10.0 or newer and therefore no new features and bug fixes of these versions.

Why is armhf no longer supported?

armhf is the last 32-bit platform of Symcon. On it, integer values are limited to 32 bits (at most 2,147,483,647), while all other platforms use 64 bits. With arm64, Symcon behaves the same on all platforms. In addition, Raspberry Pi recommends the 64-bit version of Raspberry Pi OS for all current models.

How do I know whether I use armhf?

The management console shows a notice as soon as Symcon runs as an armhf version. Alternatively, the architecture can be queried on the shell:

dpkg --print-architecture

The output armhf means 32-bit, the output arm64 means 64-bit. Within Symcon, IPS_GetKernelArchitecture returns the same information.

Warning

The command uname -m is not suitable for this. On a Raspberry Pi 4 or 5, the 32-bit Raspberry Pi OS usually runs a 64-bit kernel as well, so aarch64 is shown even though the operating system and Symcon are armhf.

Does my Raspberry Pi support 64-bit?

The model can be queried on the shell:

cat /proc/device-tree/model

The list of Raspberry Pi models shows which models support the 64-bit version of Raspberry Pi OS. These are all models starting with the Raspberry Pi 3 as well as the Raspberry Pi Zero 2 W.

My Raspberry Pi does not support 64-bit. What now?

In this case new hardware is needed, for example a Raspberry Pi 4 or Raspberry Pi 5. Alternatively, a SymBox or another supported system can be used. The data is moved the same way as for a Change of Platform.

Can I switch the operating system to 64-bit without reinstalling?

No. Raspberry Pi OS offers no way to convert a 32-bit installation to 64-bit. The operating system needs to be reinstalled. The manual describes all steps.

Will I lose data or the license?

No. The backup contains all Symcon data including the license. The backup format is the same on all platforms, so a backup from armhf can be restored directly on arm64. Programs installed on the operating system in addition to Symcon are not part of the backup and need to be reinstalled.

I use Docker on a 32-bit ARM system

Here as well, the host operating system needs to be reinstalled in its 64-bit version. Afterwards, Docker automatically pulls the arm64 image of Symcon when the container is created. The data folder of the container is backed up as described under Create Backup and then mounted into the new container.

Raspberry Pi models with 64-bit support

Model 64-bit Raspberry Pi OS Note
Raspberry Pi 5 yes
Raspberry Pi 500 / 500+ yes
Raspberry Pi 4 Model B yes
Raspberry Pi 400 yes
Raspberry Pi 3 Model B / B+ / A+ yes
Raspberry Pi Zero 2 W yes only 512 MB of memory, not recommended for larger installations
Compute Module 5 yes
Compute Module 4 / 4S yes
Compute Module 3 / 3+ yes
Raspberry Pi 2 Model B (v1.2) no the processor is 64-bit capable, but not officially supported by Raspberry Pi OS (64-bit)
Raspberry Pi 2 Model B (v1.0 / v1.1) no
Raspberry Pi 1 (A / B / A+ / B+) no not supported since Symcon 8.0
Raspberry Pi Zero / Zero W no not supported since Symcon 8.0
Compute Module 1 no not supported since Symcon 8.0

Manual: Switching to Raspberry Pi OS (64-bit)

Warning

A new microSD card should be used for the reinstallation. The previous card then stays unchanged and can simply be put back in case of problems.

Step 1: Preparation

  • Update Symcon on the previous system to the current version, see Update.
  • Write down the hostname and the IP address of the Raspberry Pi. If both stay the same, devices and apps accessing Symcon do not need to be adjusted.
  • Write down programs installed in addition to Symcon (e.g. an MQTT broker, drivers or own scripts and cron jobs).

Step 2: Create a backup

Stop the Symcon service and pack the folder "/var/lib/symcon" as described under Create Backup.

sudo /etc/init.d/symcon stop
cd /var/lib/symcon/
zip -r ~/backup.zip *

Then copy the file backup.zip to a PC or USB stick, as the installation on the Raspberry Pi is about to be replaced. From a PC this can be done for example with:

scp user@ipaddress:~/backup.zip .
Warning

The backup must be stored outside of the Raspberry Pi before the operating system is reinstalled.

Step 3: Install Raspberry Pi OS (64-bit)

  1. Install and start the Raspberry Pi Imager on a PC.
  2. Select the Raspberry Pi model in use.
  3. Select "Raspberry Pi OS (64-bit)" as operating system. Without a graphical desktop, "Raspberry Pi OS Lite (64-bit)" under "Raspberry Pi OS (other)" is sufficient.
  4. Select the microSD card as storage.
  5. In the settings, enter the previous hostname, a user with password, the WiFi if needed and enable SSH.
  6. Let the card be written, insert it into the Raspberry Pi and start it.

After the start, log in via SSH and verify that the 64-bit version is running now. The output must be arm64.

dpkg --print-architecture

Step 4: Install Symcon

Install Symcon as described under Raspberry Pi Installation. The installation script automatically sets up the arm64 version.

wget -qO- https://apt.symcon.de/install.sh | bash /dev/stdin
sudo apt-get update
sudo apt-get install symcon
Warning

If the newly installed version is higher than the version of the backup, the migrations need to be considered.

Step 5: Restore the backup

Copy the file backup.zip back into the home directory of the Raspberry Pi, for example from a PC with:

scp backup.zip user@ipaddress:~/

Then restore the backup as described under Restore Backup.

sudo /etc/init.d/symcon stop
sudo unzip -o backup.zip -d /var/lib/symcon/
sudo /etc/init.d/symcon start

Step 6: Verification

Any questions?