diff --git a/nano-env b/nano-env index 3f91f4b932f78106e423d8a8da42786f09db7d90..872f8533bc2fce9a28b227c04dfbf9cb9b2e6e75 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