Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSS_UPDATE fails due to wrong file name #3

Closed
antonbrauchle-microchip opened this issue May 31, 2024 · 6 comments
Closed

HSS_UPDATE fails due to wrong file name #3

antonbrauchle-microchip opened this issue May 31, 2024 · 6 comments

Comments

@antonbrauchle-microchip

The TCL setup file MPFS_DISCOVERY_KIT_REFERENCE_DESIGN.tcl points to a wrong file in the HSS GitHub repository.
The file "hss-envm-wrapper.mpfs-Discovery-kit-es.hex" is not available in the release folder. The correct file is "hss-envm-wrapper.mpfs-disco-kit.hex"

@hughbreslin
Copy link
Member

This will be updated for the next release :)

@ombhilare999
Copy link

Hey hi,

Even after renaming the HSS name in the .tcl file, are you able to program the board?

I am facing the following error:

The Execute Script command succeeded.
Error:  The command 'run_tool' failed.
Error:  Failure when executing Tcl script. [ Line 530 ]
Error:  The Execute Script command failed.
The MPFS_DISCOVERY_I2C_LOOPBACK project was closed.

The .tcl script I am using which contains right hex name: https://pastebin.com/nQ6pNQrs

The steps to reproduce:

git clone https://github.com/polarfire-soc/polarfire-soc-discovery-kit-reference-design.git
cd polarfire-soc-discovery-kit-reference-design
libero script:MPFS_DISCOVERY_KIT_REFERENCE_DESIGN.tcl SCRIPT_ARGS:I2C_LOOPBACK+HSS_UPDATE+PROGRAM logfile:MPFS_DISCOVERY_KIT_REFERENCE_DESIGN.log

My aim is to update the HSS on the board, cause the following HSS which is from the release of this repo seems not working with the Linux image.
image

Thank you.

@hughbreslin
Copy link
Member

@ombhilare999 it doesn't look like your script is failing to program the board - the log shows a failure on line 530 which appears to be when the HSS configuration is generated. Could you try opening the Libero project and seeing the state of the design flow? As a sanity check you could try doing this manually and seeing what happens.

I suspect the "GENERATEPROGRAMMINGDATA" stage is failing not the programming.

The HSS included in the release FPExpress job asset shouldn't have an issue booting Linux, could you add a bit more info on that issue?

@hughbreslin
Copy link
Member

@ombhilare999 I was actually able to reproduce your issue by total accident. The fix for the HSS link has been mirrored and I was testing on a PC that doesn't have wget set up, when I ran with HSS_UPDATE I got the same failure as you as the hex file was never downloaded and didn't exist at the path specified. When I manually downloaded the hex file and put it in the script_support/ directory HSS_UPDATE passed. I'd double check it is in script_support :) But from today the change was mirrored for the download link so cloning the latest scripts and running them should pass without an issue.

@ombhilare999
Copy link

Hi @hughbreslin ,
Thanks a lot for the follow up. I have created a new issue related the latest release. Kindly please check here: #5
Thank you, let me know if you need any information from my side.

@hughbreslin
Copy link
Member

The HSS file name has been updated in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants