Note that changing to a different operating system (e.g. linux) changes the system timing to the point where the real-time software either does not work at all, or gives the wrong timing.
Each real-time hardware application must be designed for the operating system it runs on. Installing a new operating system under it ruins its timing.
So stop suggesting different operating systems. Changing to any of them means replacing the software, and propbably the hardware.