code:work:pi:rtpreempt:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:work:pi:rtpreempt:start [2017/03/08 20:23] – [Xenomai Pi 3 Compile HOWTO] david | code:work:pi:rtpreempt:start [2017/03/09 01:06] (current) – [Xenomai Pi 3 Compile HOWTO] david | ||
---|---|---|---|
Line 374: | Line 374: | ||
git clone https:// | git clone https:// | ||
cd linux | cd linux | ||
- | git checkout rpi-4.1.y | + | git checkout rpi-4.4.y |
</ | </ | ||
- | + | - Create a new Xenomai branch < | |
+ | git checkout -b xenomai-3.0.3 | ||
+ | </ | ||
+ | - Dry run the patch < | ||
+ | patch --dry-run -p1 < | ||
+ | </ | ||
+ | - Patch the kennel assuming you saw no FAILS in the dry run test < | ||
+ | cd .. | ||
+ | xenomai-3.0.3/ | ||
+ | </ | ||
+ | - Build the default configuration < | ||
+ | KERNEL=kernel7 | ||
+ | cd linux | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2835_defconfig | ||
+ | </ | ||
+ | - Configure the kernel < | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig | ||
+ | </ | ||
+ | - Make these changes | ||
+ | - Kernel Features | ||
+ | - Preemptible Kernel (Low-Latency Desktop) | ||
+ | - DISBLE Allow for memory compaction | ||
+ | - DISABLE Contiguous Memory Allocator | ||
+ | - CPU Power Management | ||
+ | - Kernel hacking | ||
+ | - DISABLE KGDB: kernel debugger | ||
+ | - Compile! < | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j 6 | ||
+ | </ | ||
+ | - Ran this with the 3.1.18 kernel... seems like that might work. |
code/work/pi/rtpreempt/start.1489004618.txt.gz · Last modified: 2017/03/08 20:23 by david