when I was build the linux souce(R36.4.4) code according :
but a problem accuracy
./generic_rt_build.sh enable

I run this script ,and build the kernel, flash it .at las ,the kernel is not PREEMPT_RT。so I check the generic_rt_build.sh, and find the BSP(Linux) doesn’t exist rt-patched,so how can I apply/acquire the rt patches?
if [ -d "${SCRIPT_DIR}"/kernel/"${KERNEL_SRC_DIR}"/rt-patches ]; then
file_list=$(find "${SCRIPT_DIR}"/kernel/"${KERNEL_SRC_DIR}"/rt-patches -name \*.patch -type f | sort)
for p in $file_list; do
# set flag in case of failure and continue
patch -s -d .. -p1 < "$p" || any_failure=1
if [[ ${any_failure} -eq 1 ]] ; then
echo "failed patching $p"
return;
fi
done
echo "The PREEMPT RT patches have been successfully applied!"
fi
![]()
