micro-FPGA / riscv-contest-2018

RISCV SoftCPU Contest 2018
Apache License 2.0
14 stars 4 forks source link

Unable to install Libero on Ubuntu 16.04 #13

Closed raulbehl closed 6 years ago

raulbehl commented 6 years ago

Does Libero supports Ubuntu? I am unable to get the installer working on Ubuntu 16.04. My system is running an Intel i3 processor and has about 250 GB of free space. Any ideas would be appreciated!

Dolu1990 commented 6 years ago

I tried yesterday, was a paine in the ass, i gived up, will probably use the windows install XD

AnttiLukats commented 6 years ago

Sorry folks, I have also as ONLY suggestion to use Windows PC for the Libero as of today it is still easier and faster (usually) to install FPGA vendor tools on winPC than on Linux. Same goes for the JTAG drivers, they need usually some tricks in Linux and may not work from VM, but just work out the box on native Windows PC.

kprasadvnsi commented 6 years ago

I did install it on Debian 9 and its PITA to get it working. @raulbehl if you still want to install on ubuntu ? I will happily help.

raulbehl commented 6 years ago

@kprasadvnsi I would really appreciate if you could share the steps with me as well.

AnttiLukats commented 6 years ago

i could add in the wiki, tools install section.. sorry I myself really cant help with the linux,

kprasadvnsi commented 6 years ago

Sorry, I didn't keep track of package i have installed for Libero Soc. It take me 6 days of my spare time to do it. i remember the most difficult parts but not everything. @raulbehl perhaps we can arrange a Teamviewer Session and do installation on your machine and post the steps here ?

Martoni commented 6 years ago

I managed to install it on debian too. I followed (and adapted) the official tutorial from here . But I can't manage to download the bitstream, libero can't find the programmer ...

raulbehl commented 6 years ago

@Martoni Thank you so much for sharing the official tutorial here. I'll try to follow the steps today.

kprasadvnsi commented 6 years ago

@Martoni here is the udev rules file for Flashpro5 70-microsemi.rules.zip

kprasadvnsi commented 6 years ago

@raulbehl there is no complete guide exist for Ubuntu. let us know where you got stuck with some screenshots of error. and we can help this way.

raulbehl commented 6 years ago

@kprasadvnsi Last time when I tried installing, I wasn't even able to fire up the installer itself. I am planning to shift to CentOS and try out the installation there.

kprasadvnsi commented 6 years ago

you need Libero_SoC_v11.9_Linux.bin file. using Terminal make it executable "chmod +x Libero_SoC_v11.9_Linux.bin" then ./Libero_SoC_v11.9_Linux.bin to fire up the installer. let me know what error it show on Terminal

kprasadvnsi commented 6 years ago

don't go for CentOS its a mess.

raulbehl commented 6 years ago
screenshot 2018-10-30 at 1 20 44 pm

This is what I see. The file size is ~3.2 GB and I had made it executable as well.

kprasadvnsi commented 6 years ago

rename it to Libero_SoC_v11.9_Linux.bin and try again

raulbehl commented 6 years ago

Same

kprasadvnsi commented 6 years ago

check for checksum of this file by sha256sum Libero_SoC_v11.9_Linux.bin it should be: 1418c13081d5c9b12bc181217f6a4c107f6fb91d1d679d08edfdd598209df257

FrankBuss commented 6 years ago

I would recommend to install Windows 10, unless you are a masochist. I have done this in a Oracle Virtual Box installation. You can get a Windows 10 key from eBay for like EUR 5, worked great for me. Installation effort gets reduced to clicking the setup.exe files and all the licensing tools, drivers etc. work out of the box. Both Libero and Radiant are working with no problems.

It is not a problem of the software vendors alone, Linux has just too many variations, which results in either a lot of work for the software vendors, if it is not part of the OS package system or other package system, like Python pip, or as in this case, a lot of work on the user side, because nearly all commercial users are still using Windows, so it doesn't make sense for the vendors to spend much money for a perfect Linux installation.

CLappin commented 6 years ago

Hi Frank,

You may find an issue when using the FlashPro5 on Virtual Box when downloading the programming file. Please export as an STP file or FlashPro Express Project and download via the FlashPro or FlashPro Express software on a physical machine. This goes for both Libero and SoftConsole.

Hope this helps. Ciaran

Martoni commented 6 years ago

@kprasadvnsi Thanks ! That works now, I can program my board.

AnttiLukats commented 6 years ago

solved

FrankBuss commented 6 years ago

You may find an issue when using the FlashPro5 on Virtual Box when downloading the programming file. Please export as an STP file or FlashPro Express Project and download via the FlashPro or FlashPro Express software on a physical machine. This goes for both Libero and SoftConsole.

Works on my Oracle Virtual Box, version 5.2.18. Guest system: Windows 10, host system: latest Linux Debian. Well, at least most of the time. Maybe once out of 10 times the application just closes when I hit the "PROGRAM" button. But if it stays open, it programs the board.

Martoni commented 6 years ago

I wrote my story for Debian installation of libero on my blog (FPGA Liberation Front). If that can help.

kprasadvnsi commented 6 years ago

thanks for tutorial. you can do environment variable and license server in one go with using Terminal. The Libero file you run is a sh script. basically you can define all of thing in Libero script that free you from running license every time you need to start Libero Soc. here is my Libero file. libero.zip