by mrtux » Thu Oct 08, 2020 5:12 am
You can use a PKGBUILD as suggested, and they are compatible with Arch on any architecture, your makepkg.conf file depicts what to build it for, for the most part anyway. The commands I listed earlier will still be needed in your package build though. Are you running mkinitcpio as root or a regular user? And also, is your /boot in the fstab file? If it is mounted read only you won't be able to write to it. If you build your own RT kernel you will definitely need the patch I linked, after applying it too will see the RT options listed in the preemption options configuring the kernel. As I mentioned a PKGBUILD would be the most ideal but if you have never built kernels or packages for the matter, it may be easier to test build them before trying to work out compiling them as a well as a PKGBUILD to package and install them. There were some nice changes for Pi's in the 5.8 kernels, I would recommend modifying the PKGBUILD to use the newer kernels opposed to the 4.19 kernels. I can build an RT kernel for you so you can get your stuff going but I will not be able to update it weekly and you'd need to sort out how exactly you want to keep it up to date. If you would like me to do that send me your kernel config file or I can use the default Arch config. The config file I use is trimmed of all other devices and only supports the Pi 4, not certain it would have all needed modules for what you are trying to accomplish.