diff options
| author | Petter Mabäcker <petter@technux.se> | 2016-02-28 14:46:12 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-03-01 14:38:03 +0100 |
| commit | 0d5aff5161d0fb6f91bc9021f86065248cd8cd1b (patch) | |
| tree | 001df2131591ac7916acda8cebbb4646cb2e25a0 /README | |
| parent | 52671faf4fd26db008a77f9815fb29c088b29cea (diff) | |
| download | meta-raspberrypi-0d5aff5161d0fb6f91bc9021f86065248cd8cd1b.tar.gz | |
pitft: Add basic support for PiTFT
Add basic support for PiTFT display by using device-trees.
In order get it working below configurations must be active in
local.conf:
MACHINE_FEATURES += "pitft"
- This will enable SPI bus and i2c device-trees, it will also setup
framebuffer for console and x server on PiTFT.
[Support #70]
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -28,6 +28,7 @@ Contents: | |||
| 28 | 3.K. Device tree support | 28 | 3.K. Device tree support |
| 29 | 3.L. Enable SPI bus | 29 | 3.L. Enable SPI bus |
| 30 | 3.M. Enable I2C | 30 | 3.M. Enable I2C |
| 31 | 3.N. Enable PiTFT support | ||
| 31 | 4. Extra apps | 32 | 4. Extra apps |
| 32 | 4.A. omxplayer | 33 | 4.A. omxplayer |
| 33 | 5. Board Configuration | 34 | 5. Board Configuration |
| @@ -213,6 +214,18 @@ ENABLE_SPI_BUS = "1" | |||
| 213 | When using device tree kernels, set this variable to enable I2C | 214 | When using device tree kernels, set this variable to enable I2C |
| 214 | ENABLE_I2C = "1" | 215 | ENABLE_I2C = "1" |
| 215 | 216 | ||
| 217 | 3.N. Enable PiTFT support | ||
| 218 | ========================= | ||
| 219 | Basic support for using PiTFT screens can be enabled by adding | ||
| 220 | below in local.conf: | ||
| 221 | |||
| 222 | MACHINE_FEATURES += "pitft" | ||
| 223 | - This will enable SPI bus and i2c device-trees, it will also setup | ||
| 224 | framebuffer for console and x server on PiTFT. | ||
| 225 | |||
| 226 | NOTE: To get this working the overlay for the PiTFT model must be build, | ||
| 227 | added and specified as well (dtoverlay=<driver> in config.txt) | ||
| 228 | |||
| 216 | 229 | ||
| 217 | 4. Extra apps | 230 | 4. Extra apps |
| 218 | ============= | 231 | ============= |
