Hello!
I try to load and run U-boot binary image to RAM by DS-5. I use Jtag connection to my Arm-board
I defined Debug Configuration to run uboot.ds script, which should load and run u-boot image (for Linux).
The U-boot image is binary file having 1024 x 1024 = 1,048,576 bytes
This script fails on a specific line.
1. The original edition of this line (that I get from Arm-board provider) is:
loadfile <path>/uboot.bin 0x0
The DS-5 Commands window, when running this line prints the following error:
+loadfile D:/Achilles/NfsFiles/uboot-socfpga/uboot.bin 0x0ERROR(CMD16-COR107): # in D:\Achilles\NfsFiles\uboot.ds:23 while executing: loadfile D:/Achilles/NfsFiles/uboot-socfpga/uboot.bin 0x0! Failed to load "uboot.bin"! Unable to detect image type of file "D:\Achilles\NfsFiles\uboot-socfpga\uboot.bin"ERROR(CMD656): The script D:\Achilles\NfsFiles\uboot.ds failed to complete due to an error during execution of the script
2. When I replaced this original line by more matching (by my opinion):
restore <path>/uboot.bin binary 0x0
I get the following error
+restore D:/Achilles/NfsFiles/uboot-socfpga/uboot_rls.bin binary 0x0Target Message: Memory access caused precise abort.Debug Precise Abort Registers : DFSR = 0x00001808, DFAR = 0x00000000ERROR(ITR205-TAD59-NAL18): # in D:\Achilles\NfsFiles\uboot.ds:24 while executing: restore D:/Achilles/NfsFiles/uboot-socfpga/uboot.bin binary 0x0! Unable to restore image! Download of 1,048,576 bytes to address S:0x00000000 failed while writing block of 4,096 bytes to address S:0x00000000! Bus error on memory operation.ERROR(CMD656): The script D:\Achilles\NfsFiles\uboot.ds failed to complete due to an error during execution of the script
Please help,
Yakov
Hi Stephen,
Thank you for the answer.
Regarding your question "are you sure you have RAM available at address 0x0"
Yes, I sure. I found ELF file and the line below works without error
loadfile <path>/uboot.elf 0x0
I can not upgrade DS-5 to the new version because I use Intel Development Kit for Altera FW design. DS-5 upgrade can cause to unpredictable behavior
Best Regars,