Forums » Software Development »
realtime linux on am62x
Added by Nathan Wright 5 months ago
Hi guys,
With TI we can specify ARAGO_RT_ENABLE=1 and the layer will switch from preferring linux-ti-staging to linux-ti-staging-rt.
Is there something comparable for linux-cl-ti-staging?
If not, what would be the recommended path forward for getting PREEMPT_RT on am62x?
Thanks,
Nathan
Replies (7)
RE: realtime linux on am62x - Added by Jonathan Cormier 5 months ago
Hi Nathan, Sorry for the delayed response. I am working on created an -rt version of our kernel recipe. Just waiting on builds to finish and to confirm it actually built the rt kernel.
RE: realtime linux on am62x - Added by Jonathan Cormier 5 months ago
Pushed kernel branch: https://support.criticallink.com/gitweb/?p=linux-ti.git;a=shortlog;h=refs/heads/mitysom-rt-linux-6.6.y
Updated 62xx-build.sh script to include the ti_rt configs as well
root@mitysom-am62x:~# uname -a Linux mitysom-am62x 6.6.58-rt45-01858-g52ba4fa38e62 #20 SMP PREEMPT_RT Thu Mar 27 17:39:32 EDT 2025 aarch64 GNU/Linux root@mitysom-am62x:~# zcat /proc/config.gz | grep PREEMPT_RT CONFIG_PREEMPT_RT=y
Still working on the yocto recipe part. It built but the kernel was missing the RT configs. Probably missing something simple.
RE: realtime linux on am62x - Added by Jonathan Cormier 4 months ago
Hi sorry for the delay. I am a bit swamped. This is still on my TODO list.
RE: realtime linux on am62x - Added by Nathan Wright about 12 hours ago
Hi Jon,
Just checking in, we are rapidly approaching being able to know if we need this or not. I thought I would ping you and see if you made any progress on it.
Thanks,
Nathan
RE: realtime linux on am62x - Added by Jonathan Cormier about 11 hours ago
Hi Nathan, I never heard back from you so this dropped off my todo list. I can try to pick it back up next week to see what the status is.
RE: realtime linux on am62x - Added by Nathan Wright about 11 hours ago
Please do.
There is a chance we won't need it, but I would like to have it my back pocket in the case that we do need it.
On the am57x family we did need the RT patch to keep up.
RE: realtime linux on am62x - Added by Jonathan Cormier about 9 hours ago
Still working on the yocto recipe part. It built but the kernel was missing the RT configs. Probably missing something simple.
Confirmed that the yocto build is still not enabling the RT config options
Tested using processor-sdk-scarthgap-11.00.09.04-cl-config.txt
Edit 62x-build.sh and add ARAGO_RT_ENABLE
export MACHINE=mitysom-am62x export ARAGO_RT_ENABLE=1 ./docker.sh ./62x-setup.sh ./docker.sh ./62x-build.sh
Booted ti-base-image-rt and no RT extensions
root@mitysom-am62x:~# uname -a Linux mitysom-am62x 6.6.58-g-rt-g7a2fa4c23070 #1 SMP Tue Apr 29 13:30:39 UTC 2025 aarch64 GNU/Linux root@mitysom-am62x:~# zcat /proc/config.gz | grep CONFIG_PREEMPT_RT root@mitysom-am62x:~# cat /sys/kernel/realtime cat: can't open '/sys/kernel/realtime': No such file or directory
Will look into this more. Likely I'm selecting the wrong defconfig somehow