Appendix A: Real-Time Linux Defconfig
- 5.15-rt17 patch: 0001-patch-5.15-rt17.patch
- rt-for-dvk patch: 0002-rt-for-dvk
Note: You can contact your technical support to get the patches. Please
apply the patches in the above order.
To apply the patches, execute the following command:
- With git
repository:
git am (patch)
For example, execute the following command under Linux source code directory:Example output:git am 0001-patch-5.15-rt17.patch
- Without git
repository:
patch -p1 < (patch)
Verification
To verify the configuration, please follow the steps below:
- Execute the following command under SDK source code
path:
make linux-menuconfig
- Open Fully Preempt Kernel under Preemption Model.
- Confirm the CPU Frequency scaling policy has changed under Device Drivers.
- After compiling and burning the image, execute the following command to check if it is
an RT
kernel:
cat /proc/version
Result:
Result:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- Execute the following command to check if the corresponding configuration is opened
properly:
zcat /proc/config.gz | grep PREEMPT
Result:zcat /proc/config.gz | grep HZ
Result:
Result:zcat /proc/config.gz | grep GOV