Anyone running Lattice Diamond under Ubuntu - Page 1
Forum section: electronics / general

author: arsenix
author_rank: Contributor
timestamp: October 02, 2014, 12:20:35 am
content: Wasn't sure where else to discuss this so I'll give it a shot here. Lattice technically doesn't support it (Fedora or Suse only) so they aren't going to be helpful.I am running Ubuntu 14.04 64-bit. Installed Lattice Diamond 3.2.0.134. I had a few minor hiccups with libraries and licensing, but got it running. The issue I am having is that diamond doesn't seem to have any supported devices. If I create a new project, when the dialog pops up to select a device it is blank. Likewise if I open an example project it always says that XXXX device is unsupported. So it seems to be failing to open some device list file.Anyone have any ideas here or hopefully have figured it out? The program doesn't seem to generate any debug output anywhere that I can find. I have been stracing it to try to figure out what is going on but haven't found any hints yet.I suppose I could run it in a VM but that is definitely less desirable. I am sure this is something fairly minor but so far I can't find any clues as to what it is.

author: arsenix
author_rank: Contributor
timestamp: October 02, 2014, 12:23:43 am
content: Another strange thing is that when I run it with strace it always seg faults when I hit "New project", so I can't see what is happening when it pops up the device dialog.

author: ataradov
author_rank: Super Contributor
timestamp: October 02, 2014, 01:53:58 am
content: I ran into the same problem on Mint, which is essentially Ubuntu. I gave up and kept using Altera parts.

author: arsenix
author_rank: Contributor
timestamp: October 02, 2014, 02:42:56 am
content: At least my problem isn't unique! I have enquired with Lattice but I don't expect much other than "Install redhat".I am interested in Lattice parts due to their free and flexible MIPI CSI-2 interfaces. Xilinx/Altera don't seem to do it as well.

author: arsenix
author_rank: Contributor
timestamp: October 07, 2014, 11:24:38 pm
content: I ended up just installing a chroot environment. Lattice support was not helpful.I wrote it up here if anyone is interested in replicating it:http://hardtechlife.com/installing-lattice-diamond-on-ubuntu-14-04/So far... seems to run fine. I am still learning to use the software so I haven't stressed it.

author: davorin
author_rank: Unknown
timestamp: October 08, 2014, 06:16:26 pm
content: Guess I will run into the same problem soon....had to install a bigger SSD on my Intel NUC running Ubuntu...tried once with diamond 3.0...but also crashed every time...Just waiting for my full diamond license together with ethernet/pcie cores to try out...Lots of Versa boards lying around to test some traffic generators...Wonder why Lattice closed their forum....maybe I just revive my fpga.ch domain name for that (o;

author: arsenix
author_rank: Contributor
timestamp: October 16, 2014, 02:40:57 am
content: To follow up on this... I FINALLY got this working properly. I tried and failed with fedora 6, fedora 14, a fedora 20 VM, and then even had issues under Windows XP (I had finally given up). In the end, a chroot environment based on OpenSuse11.1 works perfectly! No idea why... I assume some type of dependency issue that fails silently.I revised my instructions here:http://hardtechlife.com/installing-lattice-diamond-on-ubuntu-14-04/Hopefully this saves someone some time and aggravation... after WinXP didn't even work I was about to throw in the towel on the whole thing!