Hi,
I am trying to run a but project on Arria 10 but I received a different error in Commands and also in Terminal.
I built a Arria 10 Soc boot from QSPI based on https://rocketboards.org/ and based on this page I tried to debug with Arm DS-5 but during a my .ds file running I received :
"+restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000Restoring Binary file F:\repository\yazdandoust\sc50cont\u-boot.qspi\a10_soc_devkit_ghrd\software\bootloader\u-boot-socfpga\spl\u-boot-spl-dtb.bin into memory Restoring section S:0x00000000 to S:0x00012A00 into memory S:0xFFE00000 to S:0xFFE12A00+symbol-file u-boot-socfpga/spl/u-boot-spl+set $PC = $ENTRYPOINT+thbreak *0x0Hardware breakpoint 1 at S:0x00000000+continue+wait 20sExecution stopped in SVC mode at breakpoint 1: S:0x00000000S:0x00000000 LDR pc,[pc,#24] ; [0x20] = 0xB8Deleted temporary breakpoint: 1+restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000Restoring Binary file F:\repository\yazdandoust\sc50cont\u-boot.qspi\a10_soc_devkit_ghrd\software\bootloader\u-boot-socfpga\spl\u-boot-spl-dtb.bin into memory Restoring section S:0x00000000 to S:0x00012A00 into memory S:0xFFE00000 to S:0xFFE12A00+symbol-file u-boot-socfpga/spl/u-boot-spl+set $PC = $ENTRYPOINT+thbreak spl_boot_deviceHardware breakpoint 2 at S:0xFFE01060 on file spl_a10.c, line 77 on file spl_a10.c, line 78 on file spl_a10.c, line 78+continue+wait 60sExecution stopped in SVC mode at breakpoint 2: S:0xFFE01060In spl_a10.cS:0xFFE01060 77,1 {Deleted temporary breakpoint: 2+deleteAll user breakpoints deleted+loadfile u-boot-socfpga/u-bootTarget Message: Memory access caused precise abort.Debug Precise Abort Registers : DFSR = 0x00000808, DFAR = 0x01000040ERROR(CMD16-TAD59-NAL18): # in ...........u-boot.qspi\a10_soc_devkit_ghrd\software\preloader.ds:32 while executing: loadfile u-boot-socfpga/u-boot! Failed to load "u-boot"! Download of 311.088 bytes to address S:0x01000040 failed while writing block of 4.096 bytes to address S:0x01000040! Bus error on memory operation.ERROR(CMD656): The script ..........u-boot.qspi\a10_soc_devkit_ghrd\software\preloader.ds failed to complete due to an error during execution of the script "
and also in Terminal the other error is printed :
"
U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)
U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)Error: Could Not Calibrate SDRAMDDRCAL: FailedWDT: Started with servicing (10s timeout)"
I already read most of answers in forums but most of them is for the last version of Quartus which is generate a preloader with BSP editor but in my case I built all with script.
Is there any solution in this case?
Hello, to echo my colleague Stephen's comments, you need to investigate why the boot loader has failed to initialize the memory at 0x01000000
Reading through the log above, I see uboot being loaded to (the on-chip RAM at) 0xffe00000 - it is this code that would perform the necessary remapping (see for example fig 173 in this manual), but it reports that it 'Could not calibrate SDRAM'.
U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100) Error: Could Not Calibrate SDRAM DDRCAL: Failed WDT: Started with servicing (10s timeout)
If you cannot decipher the reason, I recommend you post to rocketboards or Intel forums, where you will likely get a more appropriate audience for your question.
Thanks a lot Stephen for helpful comments and I appreciate you taking the time to find out the solution.
Thank you Ronan for giving me this information.