Make sure you exported symbols of your WNIC driver in the Kernel.
- cd linux-5.4.84-rt
- make menuconfig
- gerenral setup -> preemption module: real time; then save and exit the .config file
- make -j10
- make modules_install -j10
- make install -j10
- reboot and boot with linux5.4.84-rt as your kernel
You may try our script:
- sudo bash delete_rebuild_and_install.sh
Make sure you modified symbols in vpl.c according to the exported symbols of your WNIC driver.
- cd virtual_preemption_layer
- make
- sudo insmod vpl.ko
- Then you may use vpl.py in Predar directly.