We intend to run test cases via the cyclictest app against both the standard and the newly minted RTL kernel. This implies, of course, that we must first obtain the cyclictest sources and build it on the device (note that the work here is being carried out on the Raspberry Pi).
Here's an article that does this very thing: Latency of Raspberry Pi 3 on Standard and Real-Time Linux 4.9 Kernel: https://metebalci.com/blog/latency-of-raspberry-pi-3-on-standard-and-real-time-linux-4.9-kernel/.
It mentions an issue faced running the RTL kernel on the Raspberry Pi 3 as well as a workaround (important!): (in addition to the usual ones) pass along these two kernel parameters: dwc_otg.fiq_enable=0 and dwc_otg.fiq_fsm_enable=0. You can put these in the /boot/cmdline.txt file on the device.
It mentions an issue faced running the RTL kernel on the Raspberry Pi 3 as well as a workaround (important!): (in addition to the usual ones) pass along these two kernel parameters: dwc_otg.fiq_enable=0 and dwc_otg.fiq_fsm_enable=0. You can put these in the /boot/cmdline.txt file on the device.
First, do ensure that all required packages are installed onto your Raspberry Pi:
sudo apt install coreutils...