Re: [U-Boot] u-boot jumps to some location

On 21/12/2011 12:36, siddharth baisane wrote:
Hi, I have generated u-boot-spl.bin but when I am trying to load it using code composer studio it is giving me error saying "could not determine target type of file".
Please send your answer always to the ML.
Sorry, I cannot help - I do not know why you are loading with Composer Studio, and if the tool has some check and do not allow to load any kind of binaries. You report you have a JTAG debugger, check into its manual to see how you can load a binary - a JTAG debugger has often a console with a set of commands.
Best regards, Stefano Babic

On Wednesday 21 December 2011 05:14 PM, Stefano Babic wrote:
On 21/12/2011 12:36, siddharth baisane wrote:
Hi, I have generated u-boot-spl.bin but when I am trying to load it using code composer studio it is giving me error saying "could not determine target type of file".
Please try loading u-boot-spl(ELF format) instead of u-boot-spl.bin, that may work.
br, Aneesh
Please send your answer always to the ML.
Sorry, I cannot help - I do not know why you are loading with Composer Studio, and if the tool has some check and do not allow to load any kind of binaries. You report you have a JTAG debugger, check into its manual to see how you can load a binary - a JTAG debugger has often a console with a set of commands.
Best regards, Stefano Babic

Hi, so I am now trying to load u-boot-spl.bin using teraterm as per process given in following link "http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#UART" *1)I kept uart mode and throug teraterm transfered u-boot-spl.bin.*2)As per document "After image is successfully downloaded, the ROM code will boot it" I did not get display of character on teraterm.
3)Then I transfered u-boot.img and this time also did not get display of any character on teraterm.
Am I doing anything wrong while transfering files or is there any specific way to do this ?? What ouput I should get after loading both files ?? I am trying to load these files on am3517 crane board.
Boot Over UART
*Note*
- The release package does not contain the binary for UART boot. Please follow the steps mentioned herehttp://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Building_U-Bootfor compiling u-boot and use the *spl/u-boot-spl.bin* file that is produced.
1. Switch ON EVM with switch settings for UART boothttp://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#UART. When “CCCC” characters appear on TeraTerm window, from the File Menu select Transfer --> XMODEM --> Send (1K mode) 2. Select “u-boot-spl.bin” for the transfer 3. After image is successfully downloaded, the ROM code will boot it. 4. When “CCCC” characters appear on TeraTerm window, from the File Menu select Transfer --> YMODEM --> Send (1K mode) 5. Select “u-boot.img” for the transfer 6. After image is successfully downloaded, U-Boot will boot it. 7. Hit enter and get to u-boot prompt “U-Boot# ”

Siddharth,
On Thu, Dec 22, 2011 at 15:46:21, siddharth baisane wrote:
Hi, so I am now trying to load u-boot-spl.bin using teraterm as per process given in following link "http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#UART" *1)I kept uart mode and throug teraterm transfered u-boot-spl.bin.*2)As per document "After image is successfully downloaded, the ROM code will boot
[snip] [snip]
I am trying to load these files on am3517 crane board.
The wiki page only speaks about AM335x Board and the steps are tested on AM335x Board.
Also, just for info 1. Make sure while loading the u-boot-spl.bin, the Teraterm is using X-Modem protocol to send the Image
2. For sending u-boot.img, Teraterm should be using y-modem protocol.
Also, can you try with the latest Version of Teraterm. Old version had some issues with x & y modem protocol.
Boot Over UART
*Note*
- The release package does not contain the binary for UART boot. Please
follow the steps mentioned herehttp://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Building_U-Bootfor compiling u-boot and use the *spl/u-boot-spl.bin* file that is produced.
- Switch ON EVM with switch settings for UART
boothttp://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#UART. When "CCCC" characters appear on TeraTerm window, from the File Menu select Transfer --> XMODEM --> Send (1K mode) 2. Select "u-boot-spl.bin" for the transfer 3. After image is successfully downloaded, the ROM code will boot it. 4. When "CCCC" characters appear on TeraTerm window, from the File Menu select Transfer --> YMODEM --> Send (1K mode) 5. Select "u-boot.img" for the transfer 6. After image is successfully downloaded, U-Boot will boot it. 7. Hit enter and get to u-boot prompt "U-Boot# "
Regards, Gururaja
participants (4)
-
Aneesh V
-
Hebbar, Gururaja
-
siddharth baisane
-
Stefano Babic