Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Raspberry Pi 64-bit support?

  • snguyen

    snguyen - 2022-02-03


    The new release for RPI 64-bit is pretty nice, but I can't make CodeSys work on it.

    First thing that is strange is that when I install the runtime, it gives me only the choice for Single core and not Multicore. It is probably due to the fact that CodeSys search for "armv7l", and the 64-bit OS is "armv8".

    Then, the runtime won't start because of the Bullseye "/opt/codesys/scripts/init-functions", so I fix the function with the help of a previous Thread post about this, but now it just gives me "Failed to start codesyscontrol" twice.

    Anybody has made it work yet with the new Bullseye 64-bit?
    Also, did anyone experienced real issue with Bullseye 32-bit?
    Is it safe to implement on the field or I should stick with Buster 32-bit?

  • h-hermsen

    h-hermsen - 2022-02-03

    lets just wait until CODESYS gives some form of greenlight for it? I believe Bull's-eye is giving the Pi Runtime all kinds of issues.


    Last edit: h-hermsen 2022-02-03
  • mondinmr

    mondinmr - 2022-03-04

    You could try a run condesys in chroot enviorement.
    If you add 32bit arch to 64bit OS.

    1- dpkg --add-architecture armhf
    2- Install minimal required 32bit libs, copy in /opt/codesys/lib/
    3- Copy sh and required 32bit libs in /opt/codesys/bin and lib
    4- "mount -o bind ..." /dev /sys /proc /dev/shm to empty folders in /opt/codesys
    5- copy /etc codesys files in /opt/codesys/etc
    6- copy /var/opt/codesys in /opt/codesys/var/opt/codesys
    7- use ldd to check all required libs.
    8- chroot /opt/codesys
    9- follow steps in /etc/init.d/codesyscontrol to start codesys

    This could make codesys start in 32bit enviorement hidden in 64bit system, but i don't know how it work with a 64bit kernel!


    Last edit: mondinmr 2022-03-04
  • eschwellinger

    eschwellinger - 2022-03-04

    Just use Linux Arm 64SL from CODESYS store.

  • dano42

    dano42 - 2022-06-10

    Now that we're a few months down the road with the raspberry pi runtime package on v4.4.0.0, does anyone have any success in getting the MC to run on Raspi OS x64? Or has anything been posted about it?


Log in to post a comment.