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

CODESYS Control for Raspberry Pi MC SL runtime failed to start

ramas
2022-02-14
2023-04-13
  • ramas - 2022-02-14

    Hey guys,
    I am trying to install the CODESYS Control for Raspberry Pi MC SL and I also have the sub dongle with the license on it. I have already installed the runtime package. But when i click start these errors show up.
    I have worked with this before and it all got installed and started normally. but I reinstalled the raspberry OS 64bit and ever since i have been having this same issue. I have reinstalled the OS several times.
    After I pressed install a few moments later I had to choose between multicore or standard. but i could not choose multicore it was not clickable.

    Error messege:
    [INFORMATION] Executing SSH command on pi@192.168.137.144: Start runtime system
    [INFORMATION] Standard output: cat: /sys/devices/virtual/bcm2708_vcio/vcio/dev: No such file or directory
    [INFORMATION] Standard output: mknod: missing operand after β€˜c’
    [INFORMATION] Standard output: Special files require major and minor device numbers.
    [INFORMATION] Standard output: Try 'mknod --help' for more information.
    [INFORMATION] Standard output: Error: Failed to start codesyscontrol
    [INFORMATION] Standard output: Error: script has to be run as root

    Any help would be much appreciated.
    Thank you

     
  • ramas - 2022-02-14

    Here is a screenshot just in case you guys need to see it

     

    Last edit: ramas 2022-02-14
  • eschwellinger

    eschwellinger - 2022-02-14

    /sys/devices/virtual/bcm2708_vcio/vcio/dev
    needs the fix which will be released with 4.4.0.0 version 24th February but
    there is no 64Bit release of the Pi runtime, think you have worked with the 32Bit version before - for 64Bit you need to use:
    https://store.codesys.com/de/codesys-control-for-linux-arm-sl-bundle.html
    64Bit version

     

    Last edit: eschwellinger 2022-02-14
    • ramas - 2022-02-14
      Hey thank you so much i came a bit forward. I downgraded the raspian version (Bullseye 2021.10.30) And then i keep getting this error:
      Old 64bit version should work right?
      Have you any idea about this maybe, thanks again for your reply.
      [INFORMATION] Executing SSH command on pi@192.168.121.44: Start runtime system
      [INFORMATION] Standard output: Error: Failed to start codesyscontrol
      [INFORMATION] Standard output: Error: script has to be run as root
       
  • eschwellinger

    eschwellinger - 2022-02-14

    no, 64bit works
    only Arm Linux Sl on 64 bit OS

     
  • eschwellinger

    eschwellinger - 2022-02-14

    Raspberry Pi MC need 32Bit OS!

     
    • ramas - 2022-02-15

      Just to clarify again, so the CODESYS Control for Raspberry Pi MC SL needs a 32bit OS Right?

      Thank you again

       
  • eschwellinger

    eschwellinger - 2022-02-15

    yes

     
  • mbrumini - 2023-04-12

    sorry for the reply but I got same error:
    [ERROR] Architecture seems to be arm64. CODESYS Control for Raspberry Pi SL is only available on the 32-bit kernel for Raspberry Pi!
    Error: script has to be run as root
    sincerely after lot of try not know how to exit from this loop.
    do you have any idea?
    thank in advance

     

    Last edit: mbrumini 2023-04-12
  • eschwellinger

    eschwellinger - 2023-04-13

    -> use 32Bit OS or if you do on an 32Bit OS and you have executed a'sudo apt-get upgrade'
    then please add in
    /boot/config.txt

    arm_64bit=0
    
     
  • mbrumini - 2023-04-13

    Thank, now it running.

     

Log in to post a comment.