Re: seeking best steps to go from Armbian 6.12.19 PREEMPT to PREEMPT_RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-03-21 12:03:10 [-0400], Gautam Thaker wrote:
> I am currently running Armbian on rk3318 TV box. Runs great.
> 
> rk3318-box> uname -a
> Linux rk3318-box 6.12.19-current-rockchip64 #2 SMP PREEMPT Thu Mar 13
> 12:02:20 UTC 2025 aarch64 GNU/Linux
> 
> My question: what is the quickest path to get FULL PREEMPT-RT kernel
> running on my box?

The easiest way should be simply enabling PREEMPT_RT on that kernel.

> I believe I have found the Armbian sources.
> (https://docs.armbian.com/Developer-Guide_Build-Preparation/)
> 
> Are there instructions to build a kernel w/ all the same parameters as
> a currently running kernel with only change to set FULL PREEMPT-RT ? I
> would like to make least changes to configuration so that I may
> continue to boot on my hardware.

It is enough to just enable PREEMPT_RT. I would recommend to enable 
at least CONFIG_PROVE_LOCKING and CONFIG_DEBUG_ATOMIC_SLEEP in the
beginning that there is nothing wrong in the kernel that nobody saw
before. Once nothing pops up in the kernel log, then it could be turned
off.

> I used to make many RT kernels in the past, but not in the last 10
> years. I can't find current instructions. It was my understanding that
> with 6.12+ linux kernel one needs NO RT patches, but still have  to
> config FULL PREEMPT-RT and build a new kernel.

That is correct.

> Or can I change some grub option and simply reboot my current kernel?

No, that does not work.

> Gautam
> 

Sebastian




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux