From e4ed07b70aeb40925bc3fd2614a3bec59fb919b7 2018-12-12 01:55:42 From: Unknown Date: 2018-12-12 01:55:42 Subject: [PATCH] a --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 170c535..659b4f5 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -436,7 +436,7 @@ if [ "$ENABLE_UBOOT" = true ] ; then fi if [ "$ENABLE_USBBOOT" = true ] ; then - if ! [ "$RPI_MODEL" = 3 ] || ! [ "$RPI_MODEL" = 3P ] ; then + if [ "$RPI_MODEL" = 0 ] || [ "$RPI_MODEL" = 1P ] || [ "$RPI_MODEL" = 1 ] || [ "$RPI_MODEL" = 2 ]; then echo "error: Booting from USB alone is only supported by Raspberry Pi 3 and 3P" exit 1 fi