9b2bbe3422
Tested with RaspberryPi B+ and PiTFT Mini Kit - 320x240 2.8" TFT (see [1] and [2]) and the following target configuration changes: - cmdline.txt: add 'fbcon=map:10 fbcon=font:VGA8x8' - add /etc/modules-load.d/fbtft.conf with 'fbtft_device' - add /etc/modprobe.d/00-fbtft.conf with 'options fbtft_device name=adafruit28 rotate=90 gpios=dc:25' [1] http://h65951.serverkompetenz.net/PeterSeiderer/upload/PiTFT_2_8_ct/Image9893.jpg [2] http://h65951.serverkompetenz.net/PeterSeiderer/upload/PiTFT_2_8_ct/Image9897.jpg [Thomas: - Rename prompt of the Linux extension to "FB TFT drivers" - Remove the full name of the kernel config options in the help text. Giving their CONFIG_<foo> name is enough. - Remove the mention of CONFIG_SPI_BCM2708, since this makes the description RaspberryPi specific, while these drivers can work with any SPI controller. - Refactor the code in linux-ext-fbtft.mk to avoid duplication between the < 3.15 and >= 3.15 cases. - Make the fbtft package a promptless package, since there is no point in selecting only this package, without the kernel extension. - Change the license to GPLv2, since it's kernel code.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
menu "Linux Kernel Extensions"
|
|
|
|
# Xenomai
|
|
config BR2_LINUX_KERNEL_EXT_XENOMAI
|
|
bool "Adeos/Xenomai Real-time patch"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
|
|
BR2_bfin || BR2_powerpc || BR2_sh4
|
|
select BR2_PACKAGE_XENOMAI
|
|
help
|
|
Xenomai Kernel part.
|
|
|
|
In the current version of Xenomai, the following kernel
|
|
versions are supported: on Blackfin, 2.6.34 and 2.6.36.9, on
|
|
SH4, 2.6.32.10, on x86, 2.6.35.9, 2.6.37.6, 2.6.38.8, on
|
|
ARM, 2.6.35.9, 2.6.37.6, 2.6.38.8, on NIOS2, 2.6.35, on
|
|
PowerPC, 2.6.35.7, 2.6.36.4, 3.0.8.
|
|
|
|
comment "xenomai needs a toolchain w/ threads"
|
|
depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
|
|
BR2_bfin || BR2_powerpc || BR2_sh4
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
|
|
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
|
|
string "Path for Adeos patch file"
|
|
help
|
|
Optionally, explicitly specify the Adeos patch to use.
|
|
Download it at http://download.gna.org/adeos/patches/v2.6/$(ARCH)/
|
|
and verify that your kernel version in buildroot matches.
|
|
|
|
# RTAI
|
|
config BR2_LINUX_KERNEL_EXT_RTAI
|
|
bool "RTAI Real-time patch"
|
|
select BR2_PACKAGE_RTAI
|
|
help
|
|
RTAI Kernel part.
|
|
|
|
config BR2_LINUX_KERNEL_EXT_RTAI_PATCH
|
|
depends on BR2_LINUX_KERNEL_EXT_RTAI
|
|
string "Path for RTAI patch file"
|
|
help
|
|
Optionally, explicitly specify the RTAI patch to use.
|
|
|
|
# fbtft
|
|
config BR2_LINUX_KERNEL_EXT_FBTFT
|
|
bool "FB TFT drivers"
|
|
select BR2_PACKAGE_FBTFT
|
|
help
|
|
Linux Framebuffer drivers for small TFT LCD display modules,
|
|
e.g. Adafruit PiTFT displays for Raspberry Pi.
|
|
|
|
To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the
|
|
following kernel configurations:
|
|
- CONFIG_SPI
|
|
- CONFIG_GPIOLIB
|
|
- CONFIG_FB
|
|
- CONFIG_FB_TFT
|
|
- CONFIG_FB_TFT_ILI9341
|
|
|
|
https://github.com/notro/fbtft
|
|
|
|
endmenu
|