Thomas De Schampheleire | 3011d23 | 2011-09-17 22:22:51 +0200 | [diff] [blame] | 1 | menu "Linux Kernel Extensions" |
| 2 | |
Thomas De Schampheleire | 956d4ab | 2011-09-17 22:22:52 +0200 | [diff] [blame] | 3 | # Xenomai |
| 4 | config BR2_LINUX_KERNEL_EXT_XENOMAI |
| 5 | bool "Adeos/Xenomai Real-time patch" |
Thomas Petazzoni | 4e0ddff | 2013-07-18 23:56:23 +0200 | [diff] [blame] | 6 | depends on BR2_TOOLCHAIN_HAS_THREADS |
Thomas Petazzoni | 8d472bb | 2012-01-03 21:48:47 +0100 | [diff] [blame] | 7 | depends on BR2_i386 || BR2_x86_64 || BR2_arm || \ |
| 8 | BR2_bfin || BR2_powerpc || BR2_sh4 |
Thomas De Schampheleire | 956d4ab | 2011-09-17 22:22:52 +0200 | [diff] [blame] | 9 | select BR2_PACKAGE_XENOMAI |
| 10 | help |
Romain Naour | 88f80b3 | 2015-03-26 23:45:15 +0100 | [diff] [blame] | 11 | Xenomai is split in two parts: a kernel part and a userspace |
| 12 | part. Enabling this option automatically selects the Xenomai |
| 13 | package and helps in patching the Linux kernel built by |
| 14 | Buildroot with the Xenomai kernel part (ie Adeos/Ipipe). |
Thomas De Schampheleire | 956d4ab | 2011-09-17 22:22:52 +0200 | [diff] [blame] | 15 | |
Romain Naour | 88f80b3 | 2015-03-26 23:45:15 +0100 | [diff] [blame] | 16 | You can find the currently supported kernel versions by |
| 17 | looking at the available patches in the Xenomai sources |
| 18 | tree: ksrc/arch/$(ARCH)/patches |
| 19 | |
| 20 | However, it is recommended to use the latest version of the |
| 21 | Adeos/Ipipe patch available at |
| 22 | http://download.gna.org/adeos/patches |
| 23 | |
| 24 | Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2 |
| 25 | and PowerPC architectures. |
Thomas Petazzoni | c2c06aa | 2012-01-03 21:48:48 +0100 | [diff] [blame] | 26 | |
Thomas De Schampheleire | 66bb10b | 2013-10-13 16:55:32 +0200 | [diff] [blame] | 27 | comment "xenomai needs a toolchain w/ threads" |
Thomas De Schampheleire | be08420 | 2013-11-07 09:24:37 +0100 | [diff] [blame] | 28 | depends on BR2_i386 || BR2_x86_64 || BR2_arm || \ |
| 29 | BR2_bfin || BR2_powerpc || BR2_sh4 |
Thomas Petazzoni | 4e0ddff | 2013-07-18 23:56:23 +0200 | [diff] [blame] | 30 | depends on !BR2_TOOLCHAIN_HAS_THREADS |
| 31 | |
Thomas De Schampheleire | 956d4ab | 2011-09-17 22:22:52 +0200 | [diff] [blame] | 32 | config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH |
| 33 | depends on BR2_LINUX_KERNEL_EXT_XENOMAI |
| 34 | string "Path for Adeos patch file" |
| 35 | help |
| 36 | Optionally, explicitly specify the Adeos patch to use. |
Romain Naour | 88f80b3 | 2015-03-26 23:45:15 +0100 | [diff] [blame] | 37 | Download it at http://download.gna.org/adeos/patches |
Thomas De Schampheleire | 956d4ab | 2011-09-17 22:22:52 +0200 | [diff] [blame] | 38 | and verify that your kernel version in buildroot matches. |
| 39 | |
Thomas Petazzoni | 8797a9c | 2011-09-17 22:22:58 +0200 | [diff] [blame] | 40 | # RTAI |
| 41 | config BR2_LINUX_KERNEL_EXT_RTAI |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 42 | bool "RTAI Real-time patch" |
| 43 | select BR2_PACKAGE_RTAI |
| 44 | help |
| 45 | RTAI Kernel part. |
Thomas Petazzoni | 8797a9c | 2011-09-17 22:22:58 +0200 | [diff] [blame] | 46 | |
Peter Seiderer | 9b2bbe3 | 2015-01-03 21:01:47 +0100 | [diff] [blame] | 47 | # fbtft |
| 48 | config BR2_LINUX_KERNEL_EXT_FBTFT |
| 49 | bool "FB TFT drivers" |
| 50 | select BR2_PACKAGE_FBTFT |
| 51 | help |
| 52 | Linux Framebuffer drivers for small TFT LCD display modules, |
Peter Seiderer | 0b4ac9b | 2015-09-25 22:30:46 +0200 | [diff] [blame] | 53 | e.g. Adafruit PiTFT displays for Raspberry Pi (this extra |
| 54 | package is only needed for linux kernels until v3.19, since |
| 55 | v4.0 the drivers are included in the staging area). |
Peter Seiderer | 9b2bbe3 | 2015-01-03 21:01:47 +0100 | [diff] [blame] | 56 | |
| 57 | To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the |
| 58 | following kernel configurations: |
| 59 | - CONFIG_SPI |
| 60 | - CONFIG_GPIOLIB |
| 61 | - CONFIG_FB |
| 62 | - CONFIG_FB_TFT |
| 63 | - CONFIG_FB_TFT_ILI9341 |
| 64 | |
| 65 | https://github.com/notro/fbtft |
| 66 | |
Thomas De Schampheleire | 3011d23 | 2011-09-17 22:22:51 +0200 | [diff] [blame] | 67 | endmenu |