diff options
-rw-r--r-- | conf/machine/include/rpi-base.inc | 1 | ||||
-rw-r--r-- | docs/extra-build-config.md | 1 | ||||
-rw-r--r-- | recipes-bsp/bootfiles/rpi-config_git.bb | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 36a8daf..9772fd9 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc | |||
@@ -30,6 +30,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ | |||
30 | overlays/pi3-miniuart-bt.dtbo \ | 30 | overlays/pi3-miniuart-bt.dtbo \ |
31 | overlays/pitft22.dtbo \ | 31 | overlays/pitft22.dtbo \ |
32 | overlays/pitft28-resistive.dtbo \ | 32 | overlays/pitft28-resistive.dtbo \ |
33 | overlays/pitft28-capacitive.dtbo \ | ||
33 | overlays/pitft35-resistive.dtbo \ | 34 | overlays/pitft35-resistive.dtbo \ |
34 | overlays/pps-gpio.dtbo \ | 35 | overlays/pps-gpio.dtbo \ |
35 | overlays/rpi-ft5406.dtbo \ | 36 | overlays/rpi-ft5406.dtbo \ |
diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 1f7ef68..a2b68d8 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md | |||
@@ -204,6 +204,7 @@ modelname should be added as a MACHINE_FEATURES in local.conf like below: | |||
204 | List of currently supported models: | 204 | List of currently supported models: |
205 | * pitft22 | 205 | * pitft22 |
206 | * pitft28r | 206 | * pitft28r |
207 | * pitft28c | ||
207 | * pitft35r | 208 | * pitft35r |
208 | 209 | ||
209 | ## Misc. display | 210 | ## Misc. display |
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 160bc16..5315676 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb | |||
@@ -20,6 +20,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
20 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 20 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
21 | PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" | 21 | PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" |
22 | PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" | 22 | PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" |
23 | PITFT28c="${@bb.utils.contains("MACHINE_FEATURES", "pitft28c", "1", "0", d)}" | ||
23 | PITFT35r="${@bb.utils.contains("MACHINE_FEATURES", "pitft35r", "1", "0", d)}" | 24 | PITFT35r="${@bb.utils.contains("MACHINE_FEATURES", "pitft35r", "1", "0", d)}" |
24 | 25 | ||
25 | VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" | 26 | VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" |
@@ -144,6 +145,11 @@ do_deploy() { | |||
144 | echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 145 | echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
145 | echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 146 | echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
146 | fi | 147 | fi |
148 | if [ "${PITFT28c}" = "1" ]; then | ||
149 | echo "# Enable PITFT28c display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
150 | echo "dtoverlay=pitft28-capacitive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
151 | echo "dtoverlay=pitft28-capacitive,touch-swapxy,touch-invx" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
152 | fi | ||
147 | if [ "${PITFT35r}" = "1" ]; then | 153 | if [ "${PITFT35r}" = "1" ]; then |
148 | echo "# Enable PITFT35r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 154 | echo "# Enable PITFT35r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
149 | echo "dtoverlay=pitft35-resistive,rotate=90,speed=42000000,fps=20" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 155 | echo "dtoverlay=pitft35-resistive,rotate=90,speed=42000000,fps=20" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |