Forum Discussion
Hi Richard_P,
Are you running Arria 10 SoC - Debugging U-Boot from the link below?
I think can check if your board got problem booting into the Uboot user space with UART logs without any armds involvement first.
Below are the necessary files to be flashed(refer document) into qspi flash at different addresses:
~/intelFPGA_pro/23.2/nios2eds/nios2_command_shell.sh \
quartus_hps -c 1 -o pv -a 0x0000000 u-boot-splx4.sfp
~/intelFPGA_pro/23.2/nios2eds/nios2_command_shell.sh \
quartus_hps -c 1 -o pv -a 0x0100000 fit_uboot.itb
~/intelFPGA_pro/23.2/nios2eds/nios2_command_shell.sh \
quartus_hps -c 1 -o pv -a 0x0300000 fit_spl_fpga.itb
*u-boot-splx4.sfp (FSBL)
*fit_uboot.itb (To enter Uboot user space)
*fit_spl_fpga.itb (Required to allow HPS DDRAM to be brought up, and must do be done in SPL)
Thanks.
Regards,
Aik Eu
Hi Aik,
Yes, I was following those instructions for debugging uboot with Arm DS. I did try flashing the spl and uboot images to the QSPI flash with the quartus_hps utility but that did not work either. I got the following error messages every time tried to flash anything:
Error: send_access_data() error while accessing DP Register
Error : Fail to power down the System and Debug power
This might be a separate problem. The original reason I was trying to load and run the preloader and uboot through the Arm DS debugger was because our QSPI Flash (Micron MT25QU02G) was not ready at the time. It's supposed to be ready to use now though, but maybe not after seeing these error messages. If this is a separate problem, I still need to resolve the debugger error because I will need debug capability for application development.
Since I am working with a custom FPGA and board design and not a dev kit design and board where everything is preset, are there security settings I need to check or set to enable JTAG debugging or flash programming for the Arria 10?
Thanks,
Richard