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
2022-02-03
2023-07-14
<< < 1 2 (Page 2 of 2)
  • amvg - 2023-05-24

    Not being able to use the 64-bit OS version on RPI is a problem.
    32-bit OS suffers from the Y2K38 issue.
    32-bit version only allows calendar up to 2038.

    I think it should be fixed

     
  • Ingo

    Ingo - 2023-05-24

    Hi all!

    Let's give you a bit more background why this issue is hanging around for so long.
    First, lets try to devide and conquer. Actually we are talking about two issues:

    • 64Bit kernel, which comes with an update automatically
    • 64Bit user land, which you get, when you choose "Raspberry Pi OS (64-bit)"

    64Bit kernel

    64Bit linux kernels are AFAIK always compatible with 32Bit. So you are able to mix you user land with 64Bit and 32Bit programs. The only thing you usually need, are all libraries, which your program needs.

    The problem with running CODESYS with this kernel is the licensing mechanism. And this will be solved with the next release of 4.9.0.0

    64Bit user land

    By default, you get this, when you choose the following image:

    • Raspberry Pi OS (64-bit)

    As mentioned before, we would theroretically be able to execute our 32Bit runtime on this image, but the libraries, which our runtime needs, are missing in 32Bit. To support this 64Bit user land, you can use the runtime, which @eschwellinger mentioned before:

    • CODESYS Control for Linux ARM SL (for 64Bit)

    You find this as a product in the store, and it should run out-of-the-box on a 64Bit Raspberry Pi.
    Even for the future we see this as the main runtime for 64Bit systems. Although it doesn't support all devices on the Raspberry Pi natively at the moment.

    Conclusion

    For now, our recommendation is to use 32Bit Images with an 5.10 kernel, and with our standard Raspberry Pi runtime. If you are new, it's the easiest thing to choose "Raspberry Pi OS (Legacy)".

    When 4.9.0.0 is released, you will be able to use newer 64Bit Kernels with 32Bit user land.

    Full 64Bit Images with 64Bit kernel and user land can be used, but only with a Control ARM SL runtime for 64Bit. You should choose this solution with care, as the pricing and the features are different.

     
    πŸ‘
    2
    • amvg - 2023-05-24

      Raspberry Pi OS (Legacy) also suffers from the Y2K38 problem

       
      πŸ‘
      1
  • matthew - 2023-07-14

    Any update when we can expect to see 64bit support for the RPI? Will this be in the 4.9 release? I understand there is the ARM SL version, but to just get packages that are already available to the PI just cost way to much for small projects.

     
    πŸ‘
    1
<< < 1 2 (Page 2 of 2)

Log in to post a comment.