2008-05-02 06:05:27     problem loading u-boot via uart

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2008-05-02 06:05:27     problem loading u-boot via uart

Bastien Briec (FRANCE)

Message: 55366   

 

Hello, I try to load u-boot via uart on a tcm-bf537e, so i compile u-boot 1.1.3 because the tcm patch not support 1.1.6 and when i try to load it via uart it seems to download but once it's done I've no prompt on the board

 

$> bfin-uclinux-ldr -l u-boot.ldr /dev/ttyUSB0 && kermit -C connect

Loading LDR u-boot.ldr ... OK!

Opening /dev/ttyUSB0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... OK!

Autobaud result: 115200bps 49.766mhz (header:0xBF DLL:0x1B DLH:0x00 fin:0x00)

Sending blocks of DXE 1 ... [1/2] [2/2] OK!

Sending blocks of DXE 2 ... [1/5] [2/5] [3/5] [4/5] [5/5] OK!

You may want to run minicom or kermit now

Quick tip: run 'ldrviewer <ldr> <tty> && minicom'

Connecting to /dev/ttyUSB0, speed 115200

Escape character: Ctrl-\ (ASCII 28, FS): enabled

Type the escape character followed by C to get back,

or followed by ? to see other options.

----------------------------------------------------

 

Please can someone help me?

 

Bests regards,  Bastien

TranslateQuoteReplyEditDelete

 

 

2008-05-02 18:33:57     Re: problem loading u-boot via uart

Mike Frysinger (UNITED STATES)

Message: 55382   

 

only the latest u-boot source code is supported.  if you want to use u-boot-1.1.3, you'll need to talk to the bluetechnix guys.

 

the latest svn trunk of u-boot should support the cm-bf537e and you can find precompiled u-boot ldr images known to work over the uart on our file release page.

QuoteReplyEditDelete

 

 

2008-05-05 03:34:44     Re: problem loading u-boot via uart

Bastien Briec (FRANCE)

Message: 55475   

 

The fact is I use the tcm-bf537 which has 8mb flash and there is no patch for the lastest version of u-boot, there is no precompiled u-boot ldr images for the tcm, only bin and hex but I don't have any boot on the board.

TranslateQuoteReplyEditDelete

 

 

2008-05-05 03:53:10     Re: problem loading u-boot via uart

Mike Frysinger (UNITED STATES)

Message: 55477   

 

then you'll have to wait for someone to update the port or debug the old one yourself with jtag

QuoteReplyEditDelete

 

 

2008-09-11 07:59:10     Re: problem loading u-boot via uart

Laurent Thiry (LUXEMBOURG)

Message: 61982   

 

Hi Bastien,

 

I accidentaly erased the 1st sector of the flash of my tcm-bf537 board. Then the original boot loader was broken and not boot anymore.

 

I then tried to bootthe latest u-boot-tcm-bf537-uart.ldr available on blackfin.uclinux.org from the uart using the ldr tool provided with the toolchain but it didn't work. I got exactly the same behaviour as you. Then I tried the ldrviewer tool (www.dolomitics.com). Don't use the "Send DXE" command but  try to download block per block using the "Send block" command. It worked fine for me.

 

I  think that,since this tcm-bf537 board does not provide the HWAIT signal on the uart interface, there is some timing issues. Especially due to the fact that the uart is using a USB to uart converter on my board.

 

Regards,

 

Laurent

QuoteReplyEditDelete

 

 

2008-09-11 08:08:08     Re: problem loading u-boot via uart

Robin Getz (UNITED STATES)

Message: 61985   

 

Laurent:

 

when using the ldr-utils, there is an option to slow things down (--delay) did you try that? (check out bfin-elf-ldr --load --help)

 

-Robin

Attachments

    Outcomes