This is a read-only archive of an earlier blog posting. Reasons for the
change are at http://blog.sensicomm.com.
The permanent version of this post - with comments (if any) - is at
Lattic iCEcube2 on Debian
I recently started looking at Lattice chips
for a project that needs a fairly small FPGA. They have small
devices that are significantly lower in cost than the larger Xilinx
Spartan chips I've used in the past. To explore further, I ordered
the ICE40HX1K eval board ($22) and downloaded the free iCEcube2 IDE
for my Debian stable(Jessie) 64-bit PC.
The first try at
installing the IDE hit issues:
error while loading shared
libraries: libXext.so.6: cannot open shared object file: No such
file or directory
The library is installed,
so obviously the IDE wants the 32-bit version. I haven't tried to
work with 32-bit stuff since Debian went to the multiarch approach,
so that led to a new learning experience. Previously one would
install ia32 versions of the needed libraries. After a bit of
googling, I found that the current approach is (as root, or using
i386 # Include 32-bit stuff
update # Add in the lists of 32-bit
libXext.so.6 # Find out what package I need - libxext6
in this case.
install libxext6:i386 # Add the 32-bit version of
Now, the install fails because it's missing
repeat the apt-file search
and apt-get install
steps for that. In Total I ended up installing libpng12-0:i386, libsm6:i386,
libxi6:i386, libxrender1:i386, libxrandr2:i386, libxfixes3:i386,
libxcursor1:i386, libxinerama1:i386, libfreetype6:i386,
With that, iCEcube2 installs and runs.
Now I can start playing with the eval board when it shows
Pointed me in the right direction to complete the install. Their
Dipsy project uses the Lattice chip, and looks interesting.
Comments on blogspot.com
To make or view comments, see the original post at