From 63453e0a3fe07e029e63aa1335bad78a6ac7e821 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 11 Jun 2018 15:51:06 +0000 Subject: [PATCH] Add 64bit flag to config for rpi Signed-off-by: Pascal Vizeli --- buildroot-external/board/raspberrypi/post-image.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildroot-external/board/raspberrypi/post-image.sh b/buildroot-external/board/raspberrypi/post-image.sh index 074a0adec..6eb2497ae 100755 --- a/buildroot-external/board/raspberrypi/post-image.sh +++ b/buildroot-external/board/raspberrypi/post-image.sh @@ -42,6 +42,11 @@ cp -r ${BINARIES_DIR}/rpi-firmware/overlays ${BOOT_DATA}/ echo "dwc_otg.lpm_enable=0 console=tty1" > ${BOOT_DATA}/cmdline.txt +# Enable 64bit support +if [ "$BOARD_ID" == "rpi3-64" ]; then + echo "arm_64bit=1" >> ${BOOT_DATA}/config.txt +fi + # Create other layers create_boot_image ${BINARIES_DIR} create_overlay_image ${BINARIES_DIR}