News for hackers. Stuff that matters.
Re:Former Tesla Firmware Engineer Discusses the System by kevan on Friday August 24, 2018 @02:09PM (#17836658)
I'm not familiar with this space but I'm pretty sure there are hard realtime kernels for linux. I'd hope they're using one.
Re:Former Tesla Firmware Engineer Discusses the System by crististm on Friday August 24, 2018 @02:27PM (#17836814)
Technically there used to be (still is?) such a thing as realtime Linux but not _for_ Linux (which you probably meant the userland?).

Regardless. There are many and far better alternatives to Linux for real time applications.

Re:Former Tesla Firmware Engineer Discusses the System by gapo on Friday August 24, 2018 @02:50PM (#17837001)
RT Preempt / Preempt-RT patch still exists. It slowly is being integrated into mainline as per everyone's wishes but it is still a thing.
Re:Former Tesla Firmware Engineer Discusses the System by kevin_thibedeau on Friday August 24, 2018 @03:13PM (#17837168)
The original RTLinux it also still usable and it provides it's own hard RT scheduler.
Re:Former Tesla Firmware Engineer Discusses the System by rurban on Saturday August 25, 2018 @01:58AM (#17839761)
I've worked with RTLinux in automotive. It is only used in R&D and testing. It's much worse than INTime (windows rtos) or L4, which are usually used. I've even patched g++ to work on RTLinux eliminating all the dynamic, unreliable stuff.

People are using Linux when they need HW and driver support, e.g. gigabit Ethernet, firewire and such. RTOS vendors charging shitload of money on those drivers. I trust the Linux drivers more than the RTLinux scheduler or libc. But well, recently networking went to hell, so even there they start fucking up.

Re:Former Tesla Firmware Engineer Discusses the System by janoc on Friday August 24, 2018 @03:39PM (#17837335)
Pretty much anything that actually needs hard realtime is very likely running on a dedicated MCU/FPGA/ASIC. Linux is vastly easier to use for everything else, though. Navigation or communication doesn't need hard realtime, for example.
Re:Former Tesla Firmware Engineer Discusses the System by FredFS456 on Friday August 24, 2018 @02:15PM (#17836714)
NI's cRIO devices use a real-time variant of Linux.

http://www.ni.com/white-paper/14627/en/