This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Failed to load U-boot binary image

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 0x0
ERROR(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 0x0
Target Message: Memory access caused precise abort.
Debug Precise Abort Registers : DFSR = 0x00001808, DFAR = 0x00000000
ERROR(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