Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Steps to integrate RT support in Vanilla AMD-Xilinx linux kernel

Code Block
themeMidnight
git clone https://github.com/Xilinx/linux-xlnx.git
cd linux-xlnx
git remote add rt_origin https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git remote update
git checkout xilinx-v2023.1
git merge v6.1-rc7-rt5 
git checkout --ours drivers/net/ethernet/xilinx/xilinx_axienet_main.c
git add drivers/net/ethernet/xilinx/xilinx_axienet_main.c
git merge --continue (Commit and exit)

Run kernel menuconfig and select fully preemptible kernel and (General Setup → Preemption Model → Fully Preemptible Kernel) and build the kernel.  Please note that this option may not show up until you have run the defconfig for your target of choice - Eg. make xilinx_defconfig

When linux Linux boots up we should see SMP PREEMPT_RT in the kernel boot log and legacy/RT applications can be run on this kernel.


...