LdB
Posts: 1207
Joined: Wed Dec 07, 2016 2:29 pm

Multicore playzone

Sat Apr 13, 2019 6:31 pm

So I have finally got time to start my play around series on multicore concepts it is strictly a no Pi1 zone.
Apparently I am an absolute beginner so the code is as is where is but I am sure a pro will be along to write a better one.

So step1 is up the 4 core AARCH32 and AARCH64 task switcher comes alive
https://github.com/LdB-ECM/Raspberry-Pi-Multicore

I haven't had time to do a write up but I am off to bed for night so that won't happen until tomorrow.
I have mapped out a couple of MMU variations and scheduler variations that will follow and then a final play with IPC.
I was going to bind the MMU in step1 but there are a couple of interesting AARCH64 variations.

LdB
Posts: 1207
Joined: Wed Dec 07, 2016 2:29 pm

Re: Multicore playzone

Mon Apr 15, 2019 12:25 am

4 core Switcher now with MMU, the combining of AARCH64 and AARCH32 code into a single file for consistency was ugly when I do the write up I will clean it up.

leiradel
Posts: 32
Joined: Wed Feb 13, 2019 10:38 pm

Re: Multicore playzone

Fri Apr 19, 2019 12:53 pm

This is very interesting, thanks for sharing. I'll definitely take a look at it when the time to use all the cores in the multi-core CPUs come, although I'm leaning towards a batch-oriented approach instead of pre-emptive multi-tasking.

Return to “Bare metal, Assembly language”