@@ -95,7 +95,7 if [ "$ENABLE_INITRAMFS" = true ] ; then | |||
|
95 | 95 | fi |
|
96 | 96 | |
|
97 | 97 | # Disable RPi3 Bluetooth and restore ttyAMA0 serial device |
|
98 | if [ "$RPI_MODEL" = 3 ] ; then | |
|
98 | if [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ]; then | |
|
99 | 99 | if [ "$ENABLE_CONSOLE" = true ] && [ "$ENABLE_UBOOT" = false ] ; then |
|
100 | 100 | echo "dtoverlay=pi3-disable-bt" >> "${BOOT_DIR}/config.txt" |
|
101 | 101 | echo "enable_uart=1" >> "${BOOT_DIR}/config.txt" |
@@ -133,7 +133,7 fi | |||
|
133 | 133 | if [ "$ENABLE_SPI" = true ] ; then |
|
134 | 134 | echo "dtparam=spi=on" >> "${BOOT_DIR}/config.txt" |
|
135 | 135 | echo "spi-bcm2708" >> "${R}/lib/modules-load.d/rpi2.conf" |
|
136 | if [ "$RPI_MODEL" = 3 ] ; then | |
|
136 | if [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ]; then | |
|
137 | 137 | sed -i "s/spi-bcm2708/spi-bcm2835/" "${R}/lib/modules-load.d/rpi2.conf" |
|
138 | 138 | fi |
|
139 | 139 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant