Forum Discussion
Agilex5 JOP Bitstream Configuration Hang
- 1 year ago
Hi @K606
We internally evaluated your issue with the https://www.intel.com/content/www/us/en/support/programmable/articles/000098223.html and concluded they are not related (this is more related with the use of the JTAG chain, that does not prevents the HPS from booting). Your u-boot should be going through...
So, please, program your board using the .sof and this would give you and indication of why the "rbf" load is hanging.
Sorry for the delay in checking this out.
~E.V.
Are you programming the JIC file to the QSPI as well? or are you using Quartus programmer to flash the "<name>_hps_auto.sof".
In Agilex devices, you need two phases of the bitstream in "HPS First". phase 1 is the (jic of hps_auto.sof), phase 2 is the RBF. You need to update and use both.
Please confirm either you are flashing your QSPI with the JIC (this has to be done at least once) or you are using the "<name>_hps_auto.sof" to program your device (using the Quartus programmer) to kick-off the booting process.
See this
"Write the QSPI image $TOP_FOLDER/ghrd_a5ed065bb32ae6sr0.hps.jic to flash."
- K6061 year ago
Contributor
Hi there @EstebanV_Altera,
So after compilation, I am doing the following to generate .hps.jic's:quartus_pfg -c golden_top.sof golden_top_hps.sof -o hps_path=u-boot-spl-dtb.hex -o compression=on
quartus_pfg -c golden_top_hps.sof golden_top_hps.jic -o device=MT25QU512 -o flash_loader=A5ED065BB32AR0 -o mode=ASX4 -o hps=1The names of the output binaries of this process are edited in the following.
No JOP IP integrated:
------------------------
Flash the QSPI on the board (in JTAG mode) with this command:quartus_pgm -c 1 -m jtag -o "pvi;golden_top_hps_no_JOP_hps_first.hps.jic"
And then switch to AS mode, and boot the board over TFTP - here the board boots without issue through u-boot into the Linux userspace.
JOP IP integrated:
--------------------
Flash the QSPI on the board (in JTAG mode) with this command:quartus_pgm -c 1 -m jtag -o "pvi;golden_top_hps_JOP_hps_first.hps.jic"
And then switch to AS mode, and boot the board over TFTP - here the hang occurred in u-boot once again with the error shared previously.
Note that the GHRD I am using requires Quartus-24.3, so I have been using this version.
I noticed that there is also this issue, maybe it is a source of the error? I don't think it should be, as it is for earlier versions of quartus.