Add a syscall to kernel and replace linux kernel of RPi. Prepare: Cross compiler Linux Kernel for RPi Reference: Official guide Firstly, get the latest kernel: git clone https://github.com/raspberrypi/linux Assume that the kernel directory is 'linux'…