Installing Intel i586 doesnt work

I have a Intel Galileo gen 2 board and am trying to install the package from board manager for Intel i586. But it just returns a 403 forbidden:

Downloading packages
Intel:i586-poky-linux-uclibc@1.6.2+1.0
Failed to install platform: 'Intel:i586:1.6.7+1.0'.
Error: 13 INTERNAL: Server responded with: 403 Forbidden

I can see the package is "DEPRECATED" but is there a way i can develop on the board using arduino IDE or any other way possible?

Sad! The official package JSON https://downloads.arduino.cc/packages/package_index.json defines that tool to be

        {
          "name": "i586-poky-linux-uclibc",
          "version": "1.6.2+1.0",
          "systems": [
            {
              "host": "i386-apple-darwin11",
              "url": "https://downloadmirror.intel.com/24806/eng/galileo-toolchain-osx-1.6.2-1.0.tar.bz2",
              "archiveFileName": "galileo-toolchain-20150323-osx.tar.bz2",
              "checksum": "SHA-256:5b705d26dc1d8ca8953df6e0c08dcc8584d5be77b584d561f631360fd166677c",
              "size": "30587705"
            },
            {
              "host": "i686-linux-gnu",
              "url": "https://downloadmirror.intel.com/24806/eng/galileo-toolchain-linux32-1.6.2-1.0.tar.bz2",
              "archiveFileName": "galileo-toolchain-20150316-linux32.tar.bz2",
              "checksum": "SHA-256:1dab7f21e10d0208a6dd2897c36c6f5f55f9372b947225d2b59c3c4ab4777d03",
              "size": "55098166"
            },
            {
              "host": "i686-mingw32",
              "url": "https://downloadmirror.intel.com/24806/eng/galileo-toolchain-windows-1.6.2-1.0.zip",
              "archiveFileName": "galileo-toolchain-20150323-windows.zip",
              "checksum": "SHA-256:821eb290d7c668c1caa74da30903c13843edc746d41508b35161622ae6279b56",
              "size": "45948648"
            },
            {
              "host": "x86_64-linux-gnu",
              "url": "https://downloadmirror.intel.com/24806/eng/galileo-toolchain-linux64-1.6.2-1.0.tar.bz2",
              "archiveFileName": "galileo-toolchain-20150316-linux64.tar.bz2",
              "checksum": "SHA-256:935ccad3eaaec34f5de76eceb0f0ecd1372bdab0b7dc8f4241e8260c6f827b72",
              "size": "56227185"
            }
          ]
        },

But indeed the download URL for e.g. https://downloadmirror.intel.com/24806/eng/galileo-toolchain-windows-1.6.2-1.0.zip is just dead.

Maybe someone has a archive of it?

Ohh cool, the Internet Archive really has a mirror of it.

https://web.archive.org/web/20191119130210/https://downloadmirror.intel.com/24806/eng/galileo-toolchain-windows-1.6.2-1.0.zip

Mhm I guess you could either install the tool manually by unpacking the files in the right folders.. Or writing a new package JSON file that has the fixed URLs.

1 Like

I did find https://github.com/01org/corelibs-galileo/archive/1.6.7+1.0.tar.gz but I dont know how to install it. The README tell me to use some shady git repo which i dont even have access to.
bodonog1@magnum.ir.intel.com:/p/clanton/users/software/izmir_repos/izmir-rt.git

That's just the Arduino core source files, not the toolchain.

I downloaded and unzipped it. How do I actually use or install it?

i found Wayback Machine (since i am on linux). I tried running the install script (it needs python2) but it just fails without any useful logs.

I've now done the approach to create a fixed board manager URL that references an incremented version of the previously broken packages, linking to the wayback archive. This also forced me to fork the platform version because the platform.txt referenced the old version of the tool. Sadly we don't seem to be able to override the bad download URL for an existing tool version, otherwise this wouldn't have been necessary.

Now when you add, per https://github.com/maxgerhardt/arduino-Intel-i586-revive, the board manager URL

https://raw.githubusercontent.com/maxgerhardt/arduino-Intel-i586-revive/refs/heads/main/package_inteli586_index.json

You can install

And set your board to Intel Galileo Gen 2

And compile a sketch normally.

1 Like

You can do it by defining the replacement tool entry under a new "vendor":

--- a/package_inteli586_index.json
+++ b/package_inteli586_index.json
@@ -14,10 +14,10 @@
           "architecture": "i586",
           "version": "1.6.7+1.0",
           "category": "Contributed",
-          "url": "https://github.com/maxgerhardt/corelibs-galileo/archive/refs/heads/1.6.7+2.0.zip",
+          "url": "https://github.com/01org/corelibs-galileo/archive/1.6.7+1.0.tar.gz",
           "archiveFileName": "corelibs-galileo-1.6.7.tar.gz",
-          "checksum": "SHA-256:9D59C10E964CDD9395BE0295FBFC59EDA86CB5FC78CB230D1E8F1CED14D126A3",
-          "size": "482460",
+          "checksum": "SHA-256:4d161dde4c95ef8ebc264ca444ee6d1baaee70f9fd416e5f234f3f5cdd4ee028",
+          "size": "273392",
           "boards": [
             {
               "name": "Galileo"
@@ -25,22 +25,32 @@
           ],
           "toolsDependencies": [
             {
-              "packager": "Intel",
+              "packager": "maxgerhardt",
               "name": "i586-poky-linux-uclibc",
-              "version": "1.6.3+1.0"
+              "version": "1.6.2+1.0"
             },
             {
-              "packager": "Intel",
+              "packager": "maxgerhardt",
               "name": "sketchUploader",
-              "version": "1.6.3+1.0"
+              "version": "1.6.2+1.0"
             }
           ]
         }
       ],
+      "tools": []
+    },
+    {
+      "name": "maxgerhardt",
+      "maintainer": "Maximilian Gerhardt",
+      "websiteURL": "https://github.com/maxgerhardt",
+      "email": "",
+      "help": {
+        "online": "https://forum.arduino.cc"
+      },
       "tools": [
         {
           "name": "i586-poky-linux-uclibc",
-          "version": "1.6.3+1.0",
+          "version": "1.6.2+1.0",
           "systems": [
             {
               "host": "i386-apple-darwin11",
@@ -74,7 +84,7 @@
         },
         {
           "name": "sketchUploader",
-          "version": "1.6.3+1.0",
+          "version": "1.6.2+1.0",
           "systems": [
             {
               "host": "i386-apple-darwin11",

Note how the tools from the newly created maxgerhardt package are now referenced as tool dependencies of the Intel:i586@1.6.7+1.0 platform

I did that. When I verify the code:

fork/exec /home/<my_username>/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.3+1.0/i586/sysroots/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++: no such file or directory

Compilation error: fork/exec /home/<my_username>/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.3+1.0/i586/sysroots/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++: no such file or directory

The file exists but it cant be executed. I tried updating my LD_LIBRARY_PATH to include a whole bunch of locations but cant get it to work. I will try to do it on Windows since it looks like you are on it too.

It works on Linux too but only after some hard work.

I did this inside a Ubuntu 25 VM:

  1. Compile Python from source
  2. Fixup the install_script.sh script
  3. Execute the install_script.sh
  4. Copy some folders around (still not sure if this is a fault in my platform.txt modification or in the LInux package)

Essentially

sudo apt update
sudo apt install build-essential checkinstall
sudo apt install libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar -xvf Python-2.7.18.tgz
cd Python-2.7.18
./configure --enable-optimizations
make -j2 build_all
sudo make install
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
sudo python2.7 get-pip.py

Modification in ~/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.3+1.0/install_script.sh from

executable_files=$($SUDO_EXEC find "$native_sysroot" -type f -perm +111 -exec printf "\"%s\" " {} \; )

to

executable_files=$($SUDO_EXEC find "$native_sysroot" -type f -executable -exec printf "\"%s\" " {} \; )

Then execute the script

sudo ~/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.3+1.0/install_script.sh

Should end with

SDK has been successfully set up and is ready to be used.

finally

cd ~/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.3+1.0
mkdir i586
cd i586/
cp -r ../sysroots/ .

Then it actually compiles.

This is great and can simplify things. But can you push for the official https://downloads.arduino.cc/packages/package_index.json to be updated / corrected so that installation goes through again on modern Windows, Linux, Mac?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.