aboutsummaryrefslogtreecommitdiff
path: root/linux/Config.ext.in
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2015-01-03 21:01:47 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-10 15:25:31 +0100
commit9b2bbe3422d1e96eaf1e7f09743c325b48023ac2 (patch)
treed89935f4c784df651ecb83f43e488c390a311015 /linux/Config.ext.in
parentce36c35c420dc9bff7d7f62490e4eb1e47d1a9dd (diff)
downloadbuildroot-9b2bbe3422d1e96eaf1e7f09743c325b48023ac2.tar.gz
buildroot-9b2bbe3422d1e96eaf1e7f09743c325b48023ac2.tar.bz2
linux: add fbtft kernel extension
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>
Diffstat (limited to 'linux/Config.ext.in')
-rw-r--r--linux/Config.ext.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/linux/Config.ext.in b/linux/Config.ext.in
index 40c468424a..8f156874f0 100644
--- a/linux/Config.ext.in
+++ b/linux/Config.ext.in
@@ -42,4 +42,22 @@ config BR2_LINUX_KERNEL_EXT_RTAI_PATCH
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