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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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:
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:
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.
Raspberry Pi OS (Legacy) also suffers from the Y2K38 problem
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.