* [U-Boot] u-boot jumps to some location
@ 2011-12-20 11:59 siddharth baisane
2011-12-20 13:18 ` Stefano Babic
0 siblings, 1 reply; 6+ messages in thread
From: siddharth baisane @ 2011-12-20 11:59 UTC (permalink / raw)
To: u-boot
hi,
I am new to u-boot and have few doubts.
I am trying to run uboot on custom board.
I am using jtag(XDS 510 USB) to debug board.
I have am3517 processor from ti.
I have MT29C4G48MAZAPAKQ-5 IT chip which contains nand flash and lpddr.
While making hardware I have not connected chip select 0 to this chip so I
am not able to boot code from nand.
So I am loading x-loader on internal sram at 0x40208800 and its running
and I am getting message "x-loader hangs" on terminal
Then I am loading uboot on ddr at 0x80e80000.
When I run the code in step mode the code is running upto start_armboot()
function (u-boot/lib_arm/board.c) and goes into a for loop where it cheks
for init_sequence.
While code reaches upto this point some times it jumps to unkown location
like 0x0000000C and then stops working and the same thing happens when it
is in init_sequence when i reach to that point
I am not understanding why is it happenig??
Is there any relation of CS0 to be connected to nand in order to run u-boot
because I have seen lot places CS0 being used in code.
I am using am3517_craneboard files.
thank you
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] u-boot jumps to some location
2011-12-20 11:59 [U-Boot] u-boot jumps to some location siddharth baisane
@ 2011-12-20 13:18 ` Stefano Babic
[not found] ` <CAK=rUWRzP3pqDz-4PD=R-39nJDtkGK7y34ZMgVp=HxLx3ZVDYg@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Babic @ 2011-12-20 13:18 UTC (permalink / raw)
To: u-boot
On 20/12/2011 12:59, siddharth baisane wrote:
> hi,
Hi,
> I am new to u-boot and have few doubts.
> I am trying to run uboot on custom board.
> I am using jtag(XDS 510 USB) to debug board.
> I have am3517 processor from ti.
> I have MT29C4G48MAZAPAKQ-5 IT chip which contains nand flash and lpddr.
> While making hardware I have not connected chip select 0 to this chip so I
> am not able to boot code from nand.
Forget it ?
> So I am loading x-loader on internal sram at 0x40208800 and its running
> and I am getting message "x-loader hangs" on terminal
U-Boot does not need x-loader anymore. The SPL substitutes the x-loader.
You can load u-boot-spl.bin at 0x40200000.
> Then I am loading uboot on ddr at 0x80e80000.
U-Boot for am3517_crane is linked 0x80100000, as I can see. You must
load at this address.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] u-boot jumps to some location
[not found] ` <CAK=rUWRzP3pqDz-4PD=R-39nJDtkGK7y34ZMgVp=HxLx3ZVDYg@mail.gmail.com>
@ 2011-12-21 11:44 ` Stefano Babic
2011-12-21 15:45 ` Aneesh V
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Babic @ 2011-12-21 11:44 UTC (permalink / raw)
To: u-boot
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
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] u-boot jumps to some location
2011-12-21 11:44 ` Stefano Babic
@ 2011-12-21 15:45 ` Aneesh V
2011-12-22 10:16 ` siddharth baisane
0 siblings, 1 reply; 6+ messages in thread
From: Aneesh V @ 2011-12-21 15:45 UTC (permalink / raw)
To: u-boot
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] u-boot jumps to some location
2011-12-21 15:45 ` Aneesh V
@ 2011-12-22 10:16 ` siddharth baisane
2011-12-22 11:03 ` Hebbar, Gururaja
0 siblings, 1 reply; 6+ messages in thread
From: siddharth baisane @ 2011-12-22 10:16 UTC (permalink / raw)
To: u-boot
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
here<http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Building_U-Boot>for
compiling u-boot and use the
*spl/u-boot-spl.bin* file that is produced.
1. Switch ON EVM with switch settings for UART
boot<http://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# ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] u-boot jumps to some location
2011-12-22 10:16 ` siddharth baisane
@ 2011-12-22 11:03 ` Hebbar, Gururaja
0 siblings, 0 replies; 6+ messages in thread
From: Hebbar, Gururaja @ 2011-12-22 11:03 UTC (permalink / raw)
To: 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
> here<http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Building_U-Boot>for
> compiling u-boot and use the
> *spl/u-boot-spl.bin* file that is produced.
>
>
> 1. Switch ON EVM with switch settings for UART
> boot<http://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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-22 11:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 11:59 [U-Boot] u-boot jumps to some location siddharth baisane
2011-12-20 13:18 ` Stefano Babic
[not found] ` <CAK=rUWRzP3pqDz-4PD=R-39nJDtkGK7y34ZMgVp=HxLx3ZVDYg@mail.gmail.com>
2011-12-21 11:44 ` Stefano Babic
2011-12-21 15:45 ` Aneesh V
2011-12-22 10:16 ` siddharth baisane
2011-12-22 11:03 ` Hebbar, Gururaja
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox