Issues with using Arduino IDE version 2.3.2 with Intel Galileo Gen2

Hello! I am relatively new to Arduino, and I'm having an issue with the Intel Galileo Gen2 board. In theory it should be compatible with the Arduino IDE and could simply function as a microcontroller, but I can't seem to upload even the basic blink sketch. I am using a mac, which comes preinstalled with necessary drivers. I installed the firmware update tool from Intel and ran it on the board. I then installed the board manager (Intel i586 Boards) and loaded the blink sketch. Upon trying to compile, I get this error:

Compilation error: fork/exec /Users/andrewprocter/Library/Arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/i586/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++: no such file or directory

After some additional research, I found that I might need to install a different board manager. I pasted this link:

http://downloadmirror.intel.com/25028/eng/package_galileo_index.json 

into the "Additional Boards Manager URLs" section of IDE. When I hit "ok", I received this error message:

Some indexes could not be updated. Server responded with: 403 Forbidden: http://downloadmirror.intel.com/25028/eng/package_galileo_index.json

Does anyone know if there's a solution here? I know the Galileo is pretty antiquated, but I have a bunch of them and I would love to use it with Arduino IDE. Thank you so much for looking into this!

Hi @tonystark14.

The cause of the "no such file or directory" error is a bug in the "Intel i586 Boards" platform of the Galileo Gen2. The problem is that the file is actually at this path:

/Users/andrewprocter/Library/Arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++

(there is no /Users/andrewprocter/Library/Arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/i586/)

That bug is easily fixed, but unfortunately that only gets us to the next problem in the stack, which is that the compilation will fail with a "bad CPU type in executable" on any computer that is using a modern version of macOS:

Compilation error: fork/exec /Users/andrewprocter/Library/Arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++: bad CPU type in executable

The reason is that the Intel:i586-poky-linux-uclibc@1.6.2+1.0 tool is a 32-bit application and Apple dropped support for 32-bit applications starting from Catalina (10.15):

If you are using macOS Mojave or older, I can provide instructions for fixing the bug that causes the "no such file or directory" error. But if you are using a newer version of macOS then it won't do any good.

The only solution for using the platform with newer macOS versions would be to replace the 32-bit build of the Intel:i586-poky-linux-uclibc tool with a 64-bit build. I didn't check, but it might well be that other of the platform's tool dependencies have the same problem. You could look around to see if the community has created any 3rd party platforms for the board with the problem fixed. I am not aware of one and I do make an effort to be aware of the various boards platforms created by the community, but it might well be that there is one I don't know of.

An alternative solution would be to use a Linux or Windows machine. The problems are specific to using the platform on a macOS machine.

Ok, I'll look into using Linux. Thank you!

1 Like

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