@@ -207,7 +207,7 if [ -n "$SET_ARCH" ] ; then | |||
|
207 | 207 | ################################## |
|
208 | 208 | # 64 bit config |
|
209 | 209 | ################################## |
|
210 | if [ "$SET_ARCH" = 64 ] && ([ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ]); then | |
|
210 | if [ "$SET_ARCH" = 64 ] ; then | |
|
211 | 211 | echo "64 bit mode selected - Setting up enviroment" |
|
212 | 212 | # 64 bit depended settings |
|
213 | 213 | QEMU_BINARY=${QEMU_BINARY:=/usr/bin/qemu-aarch64-static} |
@@ -217,15 +217,17 if [ -n "$SET_ARCH" ] ; then | |||
|
217 | 217 | CROSS_COMPILE=${CROSS_COMPILE:=aarch64-linux-gnu-} |
|
218 | 218 | REQUIRED_PACKAGES="${REQUIRED_PACKAGES} crossbuild-essential-arm64" |
|
219 | 219 | |
|
220 | # RPI 3 serie specific settings | |
|
221 | DTB_FILE=${DTB_FILE:=bcm2710-rpi-3-b.dtb} | |
|
222 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_3_defconfig} | |
|
220 | if ([ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ]) ; then | |
|
221 | # RPI 3 serie specific settings | |
|
222 | DTB_FILE=${DTB_FILE:=bcm2710-rpi-3-b.dtb} | |
|
223 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_3_defconfig} | |
|
223 | 224 | |
|
224 | KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcmrpi3_defconfig} | |
|
225 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel8.img} | |
|
226 |
|
|
|
227 |
echo "error: |
|
|
228 | exit 1 | |
|
225 | KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcmrpi3_defconfig} | |
|
226 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel8.img} | |
|
227 | else | |
|
228 | echo "error: At the moment Raspberry PI 3 and 3B+ are the only Models which support 64bit" | |
|
229 | exit 1 | |
|
230 | fi | |
|
229 | 231 | fi |
|
230 | 232 | |
|
231 | 233 | ################################## |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant