Cannot open bsp-editor with SoC EDS Pro 19.1 on Linux
Hello all,
After having struggled for too long, I had to come here to seek for help.
I want to work on SoC-FPGA projects with Intel Arria 10 board: Terasic HAN Pilot , which for information, and in my case, requires to switch on Linux, while I always worked on windows with Cylcone V devices (I guess it's time !).
So I use Ubuntu OS 18.04 and downloaded the following :
- Intel Quartus Prime Pro Edition Design Software 22.4 for Linux:
- - Intel SoC FPGA Embedded Developpement Suite (SoC EDS) Pro Edition Software 19.1 for Linux:
- - Arria 10 Device Support (for Quartus Pro version 22.4) than you can find here :
I properly installed Quartus and Arria 10 device, and I'm able to compile project using a qsys design which includes Arria 10 HPS IP.
My problem is now, that I want to use the bsp-editor to generate uboot file (I want to boot from FPGA) as explained here :
https://www.rocketboards.org/foswiki/Documentation/UBootA10FPGABoot
When I open bsp-editor from prompt, I have the 2 following errors in the GUI that prevents me to create a new HPS BSP :
SEVERE: Error initializing BSP Components. Ensure the QUARTUS_ROOTDIR environment variable is set properly: "Problem getting the aliases for all known families com.altera.infrastructure.devices.DeviceDBException: Could not execute query: SELECT fam_alias.alias, fam.display_name FROM family_alias fam_alias JOIN family fam ON fam.id == fam_alias.family_id union all select name, display_name from family union all select display_name, display_name from family; com.altera.jdbcsqlite.Exception: no such table: family" SEVERE: Error initializing BSP Components. Ensure the QUARTUS_ROOTDIR environment variable is set properly: "Librarian is 'null'"
Also I can see the following statement after these errors in the prompt :
Caused by: com.altera.infrastructure.devices.DeviceDBEnvironmentException: /home/siame/intelFPGA_pro/22.4/quartus/common/devinfo/device.db does not exist
So we can see an issue related to the QUARTUS_ROOTDIR environment variable while it is exactly set to my "/path/to/quartus" , so I don't understand why they assume it is not set properly. Secondly, there is no device.db file in the devinfo folder.
I did already read topics on this forum about the missing device.db and installing all the devices would not help, and some fixes that seem very wobbly.
I believe this may be related with the innumerable quantity of Quartus and SoC EDS versions, for instance I had to take SoC EDS 19.1 and not more recent because 19.3 doesn't include bsp-editor command, and the latest 20.1 doesn't include DS-5 anymore which is required !! So which combination of Quartus/SoCEDS would work ? Is Quartus 22.4 stable or maybe I should go with earlier versions like 21, 20 or 19, and match it with SoC EDS version ?
Hope I can get some help !