polarfire-soc / polarfire-soc-discovery-kit-reference-design

PolarFire SoC Discovery Kit Product Page
https://www.microchip.com/en-us/development-tool/mpfs-disco-kit
Other
6 stars 4 forks source link

"MPFS_DISCOVERY_KIT_REFERENCE_DESIGN.tcl" DMA_CONTROLLER fail #4

Closed mitoneko closed 4 months ago

mitoneko commented 4 months ago

Running this script will result in the following error.

[OK] Error: Could not configure component 'DMA_CONTROLLER'. Error: The command 'create_and_configure_core' failed. Error: Failure when executing Tcl script. [ Line 103 ] Error: The Execute Script command failed.



* OS
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy

* Libero
Version: 2024.1.0.3
Release: v2024.1

* Script Arguments:
HSS_UPDATE 
hughbreslin commented 4 months ago

Hi @mitoneko can you check the the COREAXI4DMACONTROLLER is in your vault and downloaded successfully? When you installed Libero did you have to install any packages from the check_requirements script?

mitoneko commented 4 months ago

Thank you for your reply.

As for CorAIX4DMAController, I believe it has been downloaded correctly. For your reference, I am attaching a view of the corresponding IP in the Catalog tab. ipcatalog

It seems that some additional packages were added in the post-installation process with the sudo command being requested, but we are not aware of what was added.

hughbreslin commented 4 months ago

Hmm so the script is looking for an older version (there was an issue generating a version of the core on Linux the version being used is known to be good, this actually could be taken out) - can you check if the old one is there by:

image

image

Hopefully then you see something like this: image

Can you try double clicking on the 2.0.100 version to configure that and see if the configurator opens?

mitoneko commented 4 months ago

I was able to display the Configurator screen after displaying and executing Version 2.0.100 using the instructions provided. According to the title field, it seems to be the 2.0.100 version. In this state, I tried re-running MPFS_DISCOVERY_KIT_REFERENCE_DESIGN.tcl, but unfortunately, the error message remains the same.

hughbreslin commented 4 months ago

There is no space in the path to the project by any chance?

mitoneko commented 4 months ago

The project path does not include spaces or symbols (except "_"). The path to the directory where the MPFS_DISCOVERY_KIT_REFFERENCE_DESIGN.tcl file resides is "/home/mito/develop/polarfire/test/ref".

With the project generated halfway through, I tried to generate it with the COREAXI4DMACONTROLLER GUI. Both versions failed with the message "Unable to generate disign "COREAXI4DMACONTROLLER_CO" due to errors".

Translated with DeepL.com (free version)

mitoneko commented 4 months ago

I found a strange phenomenon during my experiments. The directory structure of this machine has a symbolic link named develop directly under /home/mito. This link is /home/data/mito/develop and is mounted on a different physical disk than /home/mito. Now, when I generate a test project to /home/mito/develop/polarfire/test/test_soc and try to generate a DMA IP, I get an error. Next, create a directory named develop2 directly under /home/mito and copy the same project under a directory with almost the same name /home/mito/develop2/polarfire/test/test_soc. If I generate the DMA IP here, the generation succeed. Why ????

hughbreslin commented 4 months ago

Unfortunately I'm not sure :/ The best way to get help with this, as it looks like a Libero issue, is through tech support as this problem isn't related to the design itself.

mitoneko commented 4 months ago

It seems so. Thank you for your response. This issue is closed.