- Posts: 56
- Thank you received: 17
Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
1 year 8 months ago #321194
by behai
Replied by behai on topic Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
Hi gene_weber,
Thank you for the info. Back in November, 2024, I did managed to build and install a PREEMPT_RT kernel to my Raspberry Pi 4B:
[
Linux picnc 6.6.59-rt45-v8-behai-rt-build+ #1 SMP PREEMPT_RT Sat Nov 2 10:20:46 AEDT 2024 aarch64 GNU/Linux
]
But I did not know how to make other configurations as you have done: I did not know we have different displays, etc.
I have also built LinuxCNC from source and installed it from the build: only last week, I have found out that I have done a simulated-realtime version of LinuxCNC. PnCConf reports:
[
"You are using a simulated-realtime version of LinuxCNC, so testing / tuning of hardware is unavailable."
]
I did not know we can install LinuxCNC from a prebuilt package to a Raspbian OS as you have done.
Might I have a question, please? You use -j6 in the command:
[
make -j6 Image.gz modules dtbs 2>&1 | tee make.log
]
On my Raspberry Pi 4B, nproc reports 4, I use -j4.
So is it true that later Pi 4B revisions have more cores? I bought mine back in middle 2023. I don't have Pi 5 yet.
Thank you and best regards,
...behai.
Thank you for the info. Back in November, 2024, I did managed to build and install a PREEMPT_RT kernel to my Raspberry Pi 4B:
[
Linux picnc 6.6.59-rt45-v8-behai-rt-build+ #1 SMP PREEMPT_RT Sat Nov 2 10:20:46 AEDT 2024 aarch64 GNU/Linux
]
But I did not know how to make other configurations as you have done: I did not know we have different displays, etc.
I have also built LinuxCNC from source and installed it from the build: only last week, I have found out that I have done a simulated-realtime version of LinuxCNC. PnCConf reports:
[
"You are using a simulated-realtime version of LinuxCNC, so testing / tuning of hardware is unavailable."
]
I did not know we can install LinuxCNC from a prebuilt package to a Raspbian OS as you have done.
Might I have a question, please? You use -j6 in the command:
[
make -j6 Image.gz modules dtbs 2>&1 | tee make.log
]
On my Raspberry Pi 4B, nproc reports 4, I use -j4.
So is it true that later Pi 4B revisions have more cores? I bought mine back in middle 2023. I don't have Pi 5 yet.
Thank you and best regards,
...behai.
Please Log in or Create an account to join the conversation.
1 year 8 months ago #321204
by unknown
Replied by unknown on topic Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
No always 4 cores.
For some reason the RPi docs say to use -j6.
For some reason the RPi docs say to use -j6.
The following user(s) said Thank You: behai
Please Log in or Create an account to join the conversation.
1 year 8 months ago #321206
by behai
Thank you Rob.
Replied by behai on topic Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
No always 4 cores.
For some reason the RPi docs say to use -j6.
Thank you Rob.
Please Log in or Create an account to join the conversation.
- gene_weber
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 19
1 year 8 months ago #322959
by gene_weber
Replied by gene_weber on topic Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
Yes, RPi suggests that parallel processing 1.5x that number of cores works well. I had also always used the number of cores.
The following user(s) said Thank You: behai
Please Log in or Create an account to join the conversation.
- gene_weber
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 19
1 year 7 months ago #323509
by gene_weber
Replied by gene_weber on topic Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds