linux: add fbtft kernel extension
PATCH v3 1/1 linux: add fbtft kernel extension
Hello Thomas,
Quoted 12 lines · Thomas Petazzoni
Dear Peter Seiderer,
Quoted 9 lines · Peter Seiderer
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.confwith 'fbtft_device'
- add/etc/modprobe.d/00-fbtft.confwith 'optionsfbtft_devicename=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
Quoted 6 lines
Quoted 1 line
Signed-off-by Peter Seiderer <[email protected]>Thanks, applied, after doing a bunch of (hopefully) improvements:
[Thomas:
- Rename prompt of the Linux extension to "FB TFT drivers"
Looks much better...
Quoted 2 lines
- Remove the full name of the kernel config options in the help text. Giving their CONFIG_<foo> name is enough.
O.k.
Quoted 3 lines
- Remove the mention of
CONFIG_SPI_BCM2708, since this makes the description RaspberryPi specific, while these drivers can work with any SPI controller.
Maybe add some hint to not forget to enable platform specific spi driver would be helpful?
Quoted 2 lines
- Refactor the code in linux-ext-fbtft.mk to avoid duplication between the < 3.15 and >= 3.15 cases.
Thanks, your solution is a lot better...
Quoted 3 lines
- Make the fbtft package a promptless package, since there is no point in selecting only this package, without the kernel extension.
O.k.
Quoted 1 line
- Change the license to GPLv2, since it's kernel code.]
Mhhh, in some way your are right, but it seems wrong for me that the buildroot license entry does not reflect what the package author stated in his own files....what would be the right buildroot entry in case of dual-license files?
Thanks for committing...
Regards,
Peter
Quoted 8 lines
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 1/1 linux: add fbtft kernel extension
Dear Peter Seiderer,
Quoted 6 lines · Peter Seiderer
Quoted 3 lines
- Remove the mention of
CONFIG_SPI_BCM2708, since this makes the description RaspberryPi specific, while these drivers can work with any SPI controller.Maybe add some hint to not forget to enable platform specific spi driver would be helpful?
Sure, feel free to send some follow-up patch.
Quoted 6 lines
Quoted 1 line
- Change the license to GPLv2, since it's kernel code.]
Mhhh, in some way your are right, but it seems wrong for me that the buildroot license entry does not reflect what the package author stated in his own files....what would be the right buildroot entry in case of dual-license files?
That's a good question. I really wonder how the original author can license those files under GPLv2+, while the kernel license is GPLv2 only. I think the original author is wrong on this.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com