@@ -255,32 +255,31 set +x | |||
|
255 | 255 | |
|
256 | 256 | # Set Raspberry Pi model specific configuration |
|
257 | 257 | if [ "$RPI_MODEL" = 0 ] ; then |
|
258 |
DTB_FILE=${RPI |
|
|
259 |
UBOOT_CONFIG=${RPI |
|
|
258 | DTB_FILE=${RPI0_DTB_FILE} | |
|
259 | UBOOT_CONFIG=${RPI0_UBOOT_CONFIG} | |
|
260 | 260 | elif [ "$RPI_MODEL" = 1 ] ; then |
|
261 |
DTB_FILE=${RPI |
|
|
262 |
UBOOT_CONFIG=${RPI |
|
|
261 | DTB_FILE=${RPI1_DTB_FILE} | |
|
262 | UBOOT_CONFIG=${RPI1_UBOOT_CONFIG} | |
|
263 | 263 | elif [ "$RPI_MODEL" = 1P ] ; then |
|
264 |
DTB_FILE=${RPI |
|
|
265 |
UBOOT_CONFIG=${RPI |
|
|
264 | DTB_FILE=${RPI1P_DTB_FILE} | |
|
265 | UBOOT_CONFIG=${RPI1P_UBOOT_CONFIG} | |
|
266 | 266 | elif [ "$RPI_MODEL" = 2 ] ; then |
|
267 | 267 | DTB_FILE=${RPI2_DTB_FILE} |
|
268 | 268 | UBOOT_CONFIG=${RPI2_UBOOT_CONFIG} |
|
269 | 269 | elif [ "$RPI_MODEL" = 3 ] ; then |
|
270 | 270 | DTB_FILE=${RPI3_DTB_FILE} |
|
271 | 271 | UBOOT_CONFIG=${RPI3_UBOOT_CONFIG} |
|
272 | BUILD_KERNEL=true | |
|
273 | 272 | elif [ "$RPI_MODEL" = 3P ] ; then |
|
274 | 273 | DTB_FILE=${RPI3P_DTB_FILE} |
|
275 | 274 | UBOOT_CONFIG=${RPI3P_UBOOT_CONFIG} |
|
276 | BUILD_KERNEL=true | |
|
277 | 275 | else |
|
278 | 276 | echo "error: Raspberry Pi model ${RPI_MODEL} is not supported!" |
|
279 | 277 | exit 1 |
|
280 | 278 | fi |
|
281 | 279 | |
|
282 | 280 | # Check if the internal wireless interface is supported by the RPi model |
|
283 | if [ "$ENABLE_WIRELESS" = true ] && [ "$RPI_MODEL" = 2 ]; then | |
|
281 | if [ "$ENABLE_WIRELESS" = true ] && ([ "$RPI_MODEL" = 1 ] || [ "$RPI_MODEL" = 1P ] || [ "$RPI_MODEL" = 2 ]); then | |
|
282 | ||
|
284 | 283 | echo "error: The selected Raspberry Pi model has no internal wireless interface" |
|
285 | 284 | exit 1 |
|
286 | 285 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant