From 658432a0e624797d764191f197208c9b2ca77e66 Mon Sep 17 00:00:00 2001
From: Daniel Gachet <daniel.gachet@hefr.ch>
Date: Wed, 3 Nov 2021 17:54:58 +0100
Subject: [PATCH] nanopi environment back to compiler version 9

---
 nano-env | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/nano-env b/nano-env
index 3f91f4b..872f853 100755
--- a/nano-env
+++ b/nano-env
@@ -3,13 +3,18 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 echo "${SCRIPTDIR}"
 
 #install development environment
-${SCRIPTDIR}/install-environment.sh ${SCRIPTDIR}
+#${SCRIPTDIR}/install-environment.sh ${SCRIPTDIR}
 
 #install buildroot repository to generate the U-Boot, the Linux kernel and the rootfs
-mkdir -p ~/workspace/nano
+#mkdir -p ~/workspace/nano
 cd ~/workspace/nano
-git clone git://git.buildroot.net/buildroot
+#git clone git://git.buildroot.net/buildroot
 cd buildroot
-git checkout -b nano 2021.08
+git checkout -b nano 2021.08.1
+
+cd toolchain/toolchain-external/toolchain-external-arm-aarch64
+git checkout 2020.05.3 -- .
+cd ~/workspace/nano/buildroot
+
 patch -p1 < ${SCRIPTDIR}/config/buildroot_nano.patch
 make friendlyarm_nanopi_neo_plus2_defconfig
-- 
GitLab