On 05/17/2015 05:38 PM, Joshua Kramer wrote: > Hello All, > > Has anyone set up an environment on EL7 (desktop or laptop) where one > can cross-compile a kernel for ARM- specifically, Raspberry Pi?
Sorry, not me. I build everything on arm :) > I am very impressed with how well the EL7 images work- especially with > how the kernel is integrated into the rest of the OS. However, I want > to have a realtime/low latency kernel. The shortest path to get there > from here is to download Emlid's Raspbian image, burn it to SD card, > wipe out the root filesystem, and copy the EL7 root filesystem in its > place. > > This works, to an extent, but hardware isn't working properly > (keyboard and other USB devices). What does work is if I just use the > Emlid image as-is. Stupid question, did you keep /lib/modules/* from Emlid ? > So, I would like to compile a custom kernel, the same kernel used with > the EL7 images, with the PREEMPT_RT patch applied. What's the easiest > way to do this? I get the (precompiled) kernel from the official github (https://github.com/raspberrypi/). So I guess that it would be easiest to start with a RSEL7 image, download the raspberry patched kernel source (the linux tree under aforementioned github), apply patches as needed/wanted and build&install the kernel. I also used to think that the pi is to slow to build kernels, but it actually is not that bad (especially with a usb external disk). I think that it won't take more than 2-3 hours. For a once-off, that'll beat setting up a cross-compile environment. Jacco _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users
