Can't find Chibios_2.6.9.zip anywhere online


#1

Hi guys, just got my Axoloti and am trying to set it up, but I've run into the issue that Chibios_2.6.9.zip is no longer on sourceforge and as far as I can tell, OSDN only contains the 2 latest releases.

I'm running Kali Linux 4.9.0 64bit which is essentially Debian. The build.sh ran fine after I modified the OS detection code but failed to unzip the Chibios file. This happens because the link used in the script is now dead and redirects to a "file not found" webpage, which is then downloaded by the build script and named "Chibios_2.6.9.zip". Obviously this will cause unzip to fail.

I've tried searching extensively on google for a mirror, tried the wayback machine, but I can't find this file anywhere. Maybe I'm dumb and have missed something but it seems to be gone.

If any existing users would be so kind as to upload Chibios_2.6.9.zip to a file sharing site or share it with me privately, I would be very grateful.

If someone can get it to me, I would gladly host it on my dedicated server for other users.


#2

I had a similar problem yesterday on Arch Linux, here you go:
https://github.com/ChibiOS/ChibiOS/archive/ver2.6.9.zip

If i remember correctly i had to rename the main folder inside the archive to "Chibios_2.6.9" and the archive to "Chibios_2.6.9.zip".


#3

Brilliant, this worked after the suggested renaming! Thank you very much.

I still have some issues getting the script to complete but I think they are more distro specific because of the difference in repo contents between Kali and Debian.


#4

This patch for build.sh fixes this problem:

diff --git a/platform_linux/build.sh b/platform_linux/build.sh
index 62166ea1..79b64616 100755
--- a/platform_linux/build.sh
+++ b/platform_linux/build.sh
@@ -90,12 +90,12 @@ if [ ! -d "${PLATFORM_ROOT}/../chibios" ];
 then
     cd "${PLATFORM_ROOT}/src"
     CH_VERSION=2.6.9
-    ARDIR=ChibiOS_${CH_VERSION}
+    ARDIR=ChibiOS-ver${CH_VERSION}
     ARCHIVE=${ARDIR}.zip
     if [ ! -f ${ARCHIVE} ];
     then
         echo "##### downloading ${ARCHIVE} #####"
-        curl -L https://sourceforge.net/projects/chibios/files/ChibiOS%20GPL3/Version%20${CH_VERSION}/${ARCHIVE} > ${ARCHIVE}
+        curl -L https://github.com/ChibiOS/ChibiOS/archive/ver${CH_VERSION}/${ARCHIVE} > ${ARCHIVE}
     else
         echo "##### ${ARCHIVE} already downloaded #####"
     fi