@@ -182,7 +182,7 if [ "$ENABLE_CONSOLE" = true ] ; then | |||
|
182 | 182 | CMDLINE="${CMDLINE} console=serial0,115200" |
|
183 | 183 | |
|
184 | 184 | # Enable serial console systemd style |
|
185 |
chroot_exec systemctl enable serial-getty |
|
|
185 | chroot_exec systemctl enable serial-getty@serial0.service | |
|
186 | 186 | else |
|
187 | 187 | echo "enable_uart=0" >> "${BOOT_DIR}/config.txt" |
|
188 | 188 | fi |
@@ -436,7 +436,7 if [ "$ENABLE_UBOOT" = true ] ; then | |||
|
436 | 436 | fi |
|
437 | 437 | |
|
438 | 438 | if [ "$ENABLE_USBBOOT" = true ] ; then |
|
439 |
if ["$RPI_MODEL" |
|
|
439 | if ! ["$RPI_MODEL" = 3 ] || ! ["$RPI_MODEL" = 3P ] ; then | |
|
440 | 440 | echo "error: Booting from USB alone is only supported by Raspberry Pi 3 and 3P" |
|
441 | 441 | exit 1 |
|
442 | 442 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant