News for hackers. Stuff that matters.
Re:Learn how to design and defend an embedded Linux device by mlaretallack on Saturday November 07, 2020 @02:56PM (#25018492)
ive not done hard real time for a number of years (usually I have foubd its not needed), but Xenomai would be one option for real hard realtime. The other option is to use the rtlinux patches, however that is not true hard real time, but for most use-cases works ok.
Re:Learn how to design and defend an embedded Linux device by DenseComet on Saturday November 07, 2020 @03:30PM (#25018948)
Interesting, thank you! I'll take a look at Xemomai, but it seems like the options are very limited. I'm building a TVC rocket, so hard real time is unfortunately a strict requirement.
Re:Learn how to design and defend an embedded Linux device by Gibbon1 on Saturday November 07, 2020 @04:31PM (#25019649)
I think you can do hard real time inside drivers. The other is some embedded linux capable chips have TPU's, aka Time Processing Units.

For something like a thrust vectoring rocket, I'd stick to a sub processor running an actual RTOS or bare metal code.

Re:Learn how to design and defend an embedded Linux device by p_l on Saturday November 07, 2020 @07:28PM (#25021400)
Xenomai might be fast enough with some coprocessing added if necessary. It makes your RT threads have essentially "normal" POSIX RT api, but runs them on separate kernel that can respond to things like interrupts much, much faster (including stable timeslicing)