Page 1 of 1

Error deploying Codesys Control SL Runtime to RevPi

Posted: 16 Mar 2025, 19:46
by rijad12
Hello everyone,

I am having problems with deploying Codesys Control SL Runtime to Revolution Pi device.
It is explained in this video:
https://www.youtube.com/watch?v=EF-Jtd6mPLE

These are the details of my device:

cat /etc/os-release

Code: Select all

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
dpkg --print-architecture

Code: Select all

armhf
uname -a

Code: Select all

Linux RevPi1085 5.10.152-rt75 #1 PREEMPT_RT Tue, 26 Sep 2023 09:43:32 +0200 armv6l GNU/Linux
cat /sys/firmware/devicetree/base/model

Code: Select all

Raspberry Pi Compute Module Rev 1.0
In Codesys V3.5 SP20 Patch 5+ (32 bit), I am deploying "CODESYS Control for Linux ARM SL" to connected Revolution Pi device.
I am getting errors that dpkg frontend lock is locked by another process and that codesyscontrol is not installed.

I am also getting this error when manually running binary on Revolution Pi device:

/usr/sbin/CodeMeterLin -f

Code: Select all

Illegal instruction
Does anyone see what I am doing wrong?
Can this Codesys Control Runtime be deployed to this Revolution Pi device?

Thank you very much!

Re: Error deploying Codesys Control SL Runtime to RevPi

Posted: 17 Mar 2025, 09:08
by dirk
Well, CODESYS is a bit of a drama, the easiest thing to do here is to follow the steps in this helpful checklist:
CODESYS Checklist

Re: Error deploying Codesys Control SL Runtime to RevPi

Posted: 17 Mar 2025, 10:25
by nicolaiB
Hi,

You're trying to run CODESYS on a RevPi Core first generation with a Raspberry Compute Module 1. The Raspberry Pi Compute Module 1 runs the armv6l architecture, which is unfortunately not compatible with the CODESYS runtime.

Nicolai