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