[#5936] Jtag console can not handle input correctly

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

[#5936] Jtag console can not handle input correctly

Submitted By: Vivi Li

Open Date

2010-03-01 03:01:02     Close Date

2010-09-10 00:11:17

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: Jtag console can not handle input correctly

Details:

 

Jtag console can not handle input correctly on bf537-stamp.

Toolchain is gcc4.3 svn-3815 on 2010_Jan_22.

 

When stdin is jtag and stdout is serial, console output is not correct.

In serial console, type command "set stdin jtag; set stdout serial", then try type on jtag console:

--

echo test

 

ls

 

--

 

bellow is the result on serial console:

--

bfin> Äcû<INTERRUPT>

bfin> echotses

bfin>

bfin> <INTERRUPT>

bfin>

--

 

 

When stdin is serial and stdout is jtag, console output is correct.

In serial console, type command "set stdin serial; set stdout jtag", then try type command on serial console. Bellow is the output on jtag console and it's correct.

--

bfin> echo test

test

bfin> ls

Scanning JFFS2 FS: . done.

drwxr-xr-x        0 Thu May 12 01:54:58 2005 bin

drwxr-xr-x        0 Thu May 12 01:54:55 2005 dev

drwxr-xr-x        0 Thu May 12 01:54:58 2005 etc

drwxr-xr-x        0 Thu May 12 01:54:55 2005 home

drwxr-xr-x        0 Thu May 12 01:54:55 2005 lib

drwxr-xr-x        0 Thu May 12 01:54:55 2005 mnt

drwxr-xr-x        0 Thu May 12 01:54:55 2005 proc

drwxr-xr-x        0 Thu May 12 01:54:55 2005 root

lrwxrwxrwx        3 Thu May 12 01:54:55 2005 sbin -> bin

drwxr-xr-x        0 Thu May 12 01:54:55 2005 tmp

-rw-r--r--  2261906 Thu May 12 02:34:01 2005 uImage

bfin>

--

 

Follow-ups

 

--- Sonic Zhang                                              2010-04-14 06:01:37

This bug was found after uboot is bumped to 2009.11.1 on Jan. 26.

 

--- Mike Frysinger                                           2010-07-23 10:52:24

u-boot version most likely doesnt matter.  the jtag console is pretty sensitive

to desyncs and doesnt have an automatic way of recovering.

 

i made trunk u-boot a bit more robust to people not doing the exact steps as

documented in the wiki.  might want to retest with it now.

 

--- Vivi Li                                                  2010-09-09 23:24:06

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes