Author Topic: Anyone running Lattice Diamond under Ubuntu  (Read 4535 times)

0 Members and 1 Guest are viewing this topic.

Offline arsenixTopic starter

  • Contributor
  • Posts: 35
Anyone running Lattice Diamond under Ubuntu
« on: October 02, 2014, 12:20:35 am »
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.
 

Offline arsenixTopic starter

  • Contributor
  • Posts: 35
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #1 on: October 02, 2014, 12:23:43 am »
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.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #2 on: October 02, 2014, 01:53:58 am »
I ran into the same problem on Mint, which is essentially Ubuntu. I gave up and kept using Altera parts.
Alex
 

Offline arsenixTopic starter

  • Contributor
  • Posts: 35
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #3 on: October 02, 2014, 02:42:56 am »
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.
 

Offline arsenixTopic starter

  • Contributor
  • Posts: 35
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #4 on: October 07, 2014, 11:24:38 pm »
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.
 

Offline davorin

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #5 on: October 08, 2014, 06:16:26 pm »
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;


 

Offline arsenixTopic starter

  • Contributor
  • Posts: 35
Re: Anyone running Lattice Diamond under Ubuntu
« Reply #6 on: October 16, 2014, 02:40:57 am »
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!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf