Go to advanced search

by uhrheber
Thu Jun 18, 2015 6:42 am
Forum: Bare metal, Assembly language
Topic: Dedicating one core to hard realtime tasks
Replies: 26
Views: 13179

Re: Dedicating one core to hard realtime tasks

The short answer is yes but if you really need something near 'hard realtime' in Linux you need a kernel module kthread on the core to do it. The actual C code is very simple for what I use to select a core for the created kthread on my RPi2 driver. The thing is, I don't need 'near hard realtime', ...
by uhrheber
Thu Jun 18, 2015 6:34 am
Forum: Bare metal, Assembly language
Topic: Dedicating one core to hard realtime tasks
Replies: 26
Views: 13179

Re: Dedicating one core to hard realtime tasks

mimi123 wrote:You may have a chance using the two RISC CPUs embedded in the RPi.
Normally, "isolcpus=3" should work.
Is there any documentation about this? Do they have access to the GPIOs?
Is there a possibility to communicate with them from userland?

Thanks
by uhrheber
Wed Jun 17, 2015 1:30 pm
Forum: Bare metal, Assembly language
Topic: Dedicating one core to hard realtime tasks
Replies: 26
Views: 13179

Dedicating one core to hard realtime tasks

Hi. I've asked about this before, but never really got an answer, so here I go again: Is it possible to exclude one of the four cores from Linux, and instead run bare metal code on it, with access to the I/O pins? The background: 3D printers normally use an 8bit or 32bit microcontroller to receive G...
by uhrheber
Thu Mar 05, 2015 10:15 am
Forum: Bare metal, Assembly language
Topic: Running bare metal code on only one core?
Replies: 6
Views: 2425

Running bare metal code on only one core?

Hi. Can I run bare metal code on only one core, and Linux on the other three? Background: I want to use one core for realtime bit banging the I/Os. Example applications would be: - driving multiple WS2812 strings - high speed logic analyzer - high speed arbitrary waveform generator - reading high sp...

Go to advanced search