How to get the HEX file of A10 U-boot SPL which is used for HPS boot from FPGA?
Hi,
My platform: 10AS016E4/Quartus prime pro 23.3. we are working on a solution that boot the HPS from FPGA so that we can upgrade the SPL by upgrading the FPGA image if needed.
I have 2 questions when i tried to get the HEX format file of SPL image.
1. which file is the raw file that we need to transfer to HEX format from? i attached the SPL folder as below, pls tell me.
2. how to transfer the raw file to HEX?
per steps on link A10 17.1 FPGA Boot | Documentation | RocketBoards.org, we need to run the command as below:
arm-altera-eabi-objcopy -I binary -O ihex --adjust-vma -0x00000000 u-boot_w_dtb.bin hpsBootTarget.hex
but the bash shell told me "command not found". i doubt if some script need to be run firstly, then i run the nios2_command_shell.sh and try again, it still echo the same error. So, how to run the transfer command correctly on Quartus Prime Pro 23.3?
thanks and best regards,