summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodor Gherzan <theodor@resin.io>2016-04-21 20:42:37 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-21 22:25:41 +0200
commitc57a7295d721e70107e6f70223e54ef02f5a973b (patch)
tree43fee2147b20904dc4fefd15e77e62e333960d92
parentd997e2da17ac9c891d1887609eb20d5fffc4e568 (diff)
downloadmeta-raspberrypi-c57a7295d721e70107e6f70223e54ef02f5a973b.tar.gz
rpi-config: Add UART enabler
Signed-off-by: Theodor Gherzan <theodor@resin.io> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--recipes-bsp/bootfiles/rpi-config_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
index 2941982..4bc8eb7 100644
--- a/recipes-bsp/bootfiles/rpi-config_git.bb
+++ b/recipes-bsp/bootfiles/rpi-config_git.bb
@@ -96,6 +96,12 @@ do_deploy() {
96 echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt 96 echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
97 echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt 97 echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
98 fi 98 fi
99
100 # UART support
101 if [ "${ENABLE_UART}" = "1" ]; then
102 echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
103 echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
104 fi
99} 105}
100 106
101addtask deploy before do_package after do_install 107addtask deploy before do_package after do_install