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 372: | Line 372: | ||
| </ | </ | ||
| - Grab the source code from the **git** repository < | - Grab the source code from the **git** repository < | ||
| - | git clone https:// | + | git clone https:// |
| - | git checkout rpi-4.1.y | + | cd linux |
| + | 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.1489004605.txt.gz · Last modified: by david
