2008-10-29 11:28:59     UART boot debugging

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

2008-10-29 11:28:59     UART boot debugging

Kyle Schlansker (UNITED STATES)

Message: 64353   

 

I'm trying to load u-boot over the UART of a bf548.  The autobaud seems to work, but then I get a whole bunch of junk messages and when I don't seem to be able to connect with kermit or minicom afterwords.  Any ideas on what may be happening?  Perhaps things aren't being written to SDRAM correctly?  Debugging tips would be appreciated.

 

Here's my console output:

 

kyle@poseidon:~/wa/uClinux/u-boot$ bfin-uclinux-ldr -l /tftpboot/u-boot.ldr /dev/ttyS0

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

Removing stale lock '//var/lock/LCK..ttyS0'

Opening /dev/ttyS0 ... 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 ... [11/[board said: 怘€æ€˜€ffž€æžþž`˜à††x˜ž˜ø†~øžxx†`†˜æ†˜f†f˜˜]

[board said: †þ˜~]

11] (100%)[board said: x]

[board said: ~˜]

[board said: ˜ææøæàžàž†žææfx†xþž~f†øf†æž†žàžàžf†ø††æžæžþ†æ€˜€žþžææ†~]

[board said: ˜æxf˜˜˜†]

[board said: ææf˜˜æžæžf~€ž†žøž~àfx]

[board said: ˜†~怘€]

[board said: ˜~f†˜†˜æ€ffff†~]

[board said: x]

[board said: æx~˜à˜€f˜þ˜fffæx†žxx†ž˜f]

[board said: ˜þ˜fffæx†žxx†ž˜f]

[board said: †àfx]

[board said: žøž`fxæfþ†æ€˜€]

[board said: à˜`ff]

[board said: à˜`ff]

[board said: ˜æ˜f˜˜fff†~怘€]

[board said: ˜à˜æx]

[board said: àx`˜€x`]

[board said: fx]

[board said: æ~]

[board said: †àf˜f]

[board said: ˜`fà~]

[board said: ˜~]

[board said: ˜~]

[board said: ˜~]

[board said: €]

[board said: ˜ø˜€f`x˜€f€˜€†~†~]

[board said: ˜xxx˜]

[board said: €˜†øx~f†øfx]

[board said: ˜þf€˜€]

[board said: ˜€]

[board said: ]

[board said: ˜þ˜f~fæfà˜f]

[board said: ˜f]

[board said: ˜˜æžf†øæàfx]

[board said: ˜€]

[board said: ˜€]

[board said: ˜æf†øæxf~]

[board said: ˜æžf†øæàfx]

[board said: †øæxf~]

[board said: ˜æžf†øæàfx]

[board said: †øæxf~]

[board said: ~]

[board said: ˜xxf`ø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ˜xxf`˜€˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ˜xxf`˜øø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ˜xxf`˜ø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ˜xxf`ø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: €˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: øø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: ø˜þ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: àžæøžþfžfææfxþfàfž`˜f]

[board said: ˜fxàžæøžþfžfææfxþfàfž`˜f]

[board said: àžæøžþfžfææfxþfàfž`˜f]

[board said: žfææfxþfàfž`˜f]

[board said: žfææfxþfàfž`˜f]

[board said: þfàfž`˜f]

[board said: àfž`˜f]

[board said: žffæøfx]                                                                                                                                                                                                         OK!         

You may want to run minicom or kermit now

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

QuoteReplyEditDelete

 

 

2008-10-29 11:39:50     Re: UART boot debugging

Mike Frysinger (UNITED STATES)

Message: 64357   

 

it probably crashed.  the "garbage" is just u-boot output at a different baud rate.  so just adjust your default baud rate accordingly:

#ifndef CONFIG_BAUDRATE 115200

QuoteReplyEditDelete

 

 

2008-10-29 12:19:05     Re: UART boot debugging

Kyle Schlansker (UNITED STATES)

Message: 64364   

 

That did the trick to enable the trace output  which led me to realize I needed to disable flash detection (that's what was crashing).  I now have a u-boot prompt!

Attachments

    Outcomes