[#3917] up arrow key doesn't work for bf561 (in kernel or u-boot)

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

[#3917] up arrow key doesn't work for bf561 (in kernel or u-boot)

Submitted By: Mingquan Pan

Open Date

2008-02-20 02:19:07     Close Date

2008-07-17 23:30:41

Priority:

Medium     Assignee:

Mike Frysinger

Sonic Zhang

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: up arrow key doesn't work for bf561 (in kernel or u-boot)

Details:

 

up arrow key doesn't work for bf533 stamp(and bf561 stamp). It used to work by entering up arrow key in the direction kdypad to remember the last run command, which saves the trouble in inputting again.

 

But now, this feature is gone, this key doesn't work, while on bf537 stamp,bf548 ezkit and bf533 ezkit, this key still works right.

 

 

U-Boot 1.1.6-svn737 (ADI-2007R1) (Apr  4 2007 - 11:24:34)

 

CPU:   ADSP BF533 Rev.: 0.4

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

SDRAM: 128 MB

FLASH:   4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

I2C:   ready

Hit any key to stop autoboot:  0

bf533>

bf533> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

netmask=255.255.255.0

hostname=STAMP

loadaddr=0x01000000

ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600

nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) console=ttyBF0,57600

addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramboot=tftpboot $(loadaddr) linux; run ramargs;run addip;bootelf

nfsboot=tftpboot $(loadaddr) linux; run nfsargs;run addip;bootelf

flashboot=bootm 0x20100000

update=tftpboot $(loadaddr) u-boot.bin; protect off 0x20000000 0x2003FFFF; erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

gatewayip=10.100.4.174

bootdelay=2

ethaddr=00:E0:22:FE:04:8B

serverip=10.100.4.174

ipaddr=10.100.4.50

bootargs=root=mtd0 rootfstype=romfs ro

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 905/8188 bytes

bf533> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

netmask=255.255.255.0

hostname=STAMP

loadaddr=0x01000000

ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600

nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) console=ttyBF0,57600

addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramboot=tftpboot $(loadaddr) linux; run ramargs;run addip;bootelf

nfsboot=tftpboot $(loadaddr) linux; run nfsargs;run addip;bootelf

flashboot=bootm 0x20100000

update=tftpboot $(loadaddr) u-boot.bin; protect off 0x20000000 0x2003FFFF; erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

gatewayip=10.100.4.174

bootdelay=2

ethaddr=00:E0:22:FE:04:8B

serverip=10.100.4.174

ipaddr=10.100.4.50

bootargs=root=mtd0 rootfstype=romfs ro

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 905/8188 bytes

bf533>

 

Follow-ups

 

--- Mike Frysinger                                           2008-02-20 11:53:19

you're booting ADI-2007R1 ... please boot the latest version when testing

 

--- Mingquan Pan                                             2008-02-20 21:39:37

This is the u-boot that can use up arrow key to remember the recent command.

 

On the current u-boot,this key function fails.

 

U-Boot 1.1.6-svn1147 (ADI-2008R1) (Feb 15 2008 - 19:05:05)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:04:DA

I2C:   ready

Hit any key to stop autoboot:  0

bfin> print

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=STAMP

ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600

nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)

console=ttyBF0,57600

addip=setenv bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramboot=tftpboot $(loadaddr) linux; run ramargs;run addip;bootelf

nfsboot=tftpboot $(loadaddr) linux; run nfsargs;run addip;bootelf

flashboot=bootm 0x20100000

update=tftpboot $(loadaddr) u-boot.bin; protect off 0x20000000 0x2003FFFF;

erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

bootfile=linux

loadaddr=2000000

ethaddr=00:FFFFFFE0:22:FFFFFFFE:04:FFFFFFDA

filesize=20328

fileaddr=2000000

gatewayip=192.168.0.1

netmask=255.255.255.0

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

serverip=10.100.4.174

ipaddr=10.100.4.50

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 990/8188 bytes

bfin>

Unknown command '' - try 'help'

bfin>

bfin>

 

--- Mike Frysinger                                           2008-02-21 15:35:38

i hate to ask this, but you didnt disable support for command line editing in

the config file did you ?

 

can you verify the compiled u-boot images posted on the website work ?

 

--- Mingquan Pan                                             2008-02-21 22:04:33

I download the one on the website,try and still has this problem.

 

-Boot 1.1.6-svn1112 (ADI-2008R1) (Jan 22 2008 - 20:30:00)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=231c8

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin>

Unknown command '' - try 'help'

bfin>

Unknown command '' - try 'help'

bfin>

 

Entering up key(not enter key), it doesn't reecho the last commands at the

prompt.It used to remember serveral commands that has been input earlier.

 

You can't reproduce this on your side?

 

--- Mike Frysinger                                           2008-02-22 00:51:58

most likely this is a dupe of [#3798]

 

the BF533-STAMP works fine on my side with locales

C/en_US/en_US.UTF8/zh_CN.UTF8 and with minicom/kermit

 

please use the debug functionality discussed in [#3798] ... or try giving the

board to someone with jtag so they can see exactly what bytes the serial port is

receiving

 

--- Mingquan Pan                                             2008-02-22 01:32:44

I enable the debug feature in u-boot trunk.

Get the log as:

 

U-Boot 1.1.6-svn1148 (ADI-2008R2-pre) (Feb 22 2008 - 14:25:35)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin>    (up key here)

[SERIAL ERROR]

          2: RBR=0xab LSR=0x69

          1: RBR=0x1b LSR=0x61

          0: RBR=0x0d LSR=0x61

 

Unknown command '' - try 'help'

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin>   (up key here again)

[SERIAL ERROR]

          9: RBR=0xab LSR=0x69

          8: RBR=0x1b LSR=0x61

          7: RBR=0x0d LSR=0x61

          6: RBR=0x74 LSR=0x61

          5: RBR=0x6e LSR=0x61

          4: RBR=0x69 LSR=0x61

          3: RBR=0x72 LSR=0x61

          2: RBR=0x70 LSR=0x61

          1: RBR=0x0d LSR=0x61

          0: RBR=0xe8 LSR=0x61

 

--- Mike Frysinger                                           2008-02-22 01:49:34

0x69 = 0y1101001 = TEMT THRE ~BI FE ~PE ~OE DR

 

you should never be getting a framing error (FE).  please check your serial

console settings.

 

on the Blackfin side, the serial driver should only have WLS_8 set in the LCR:

bfin> md.w 0xffc0040c 1

ffc0040c: 0003    ..

please verify this is the same on your side

 

however, if your system is transmitting bytes incorrectly, the Blackfin UART

will still flag the errors in the LSR

 

--- Mingquan Pan                                             2008-02-22 02:52:09

I get:

 

U-Boot 1.1.6-svn1148 (ADI-2008R2-pre) (Feb 22 2008 - 14:25:35)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin>

Unknown command '' - try 'help'

bfin> md.w 0xffc0040c 1

ffc0040c: 0003    ..

bfin>

[SERIAL ERROR]

         24: RBR=0xab LSR=0x69

         23: RBR=0x1b LSR=0x61

         22: RBR=0x0d LSR=0x61

         21: RBR=0x31 LSR=0x61

         20: RBR=0x20 LSR=0x61

         19: RBR=0x63 LSR=0x61

         18: RBR=0x30 LSR=0x61

         17: RBR=0x34 LSR=0x61

         16: RBR=0x30 LSR=0x61

         15: RBR=0x30 LSR=0x61

         14: RBR=0x63 LSR=0x61

         13: RBR=0x66 LSR=0x61

         12: RBR=0x66 LSR=0x61

         11: RBR=0x78 LSR=0x61

         10: RBR=0x30 LSR=0x61

          9: RBR=0x20 LSR=0x61

          8: RBR=0x77 LSR=0x61

          7: RBR=0x2e LSR=0x61

          6: RBR=0x64 LSR=0x61

          5: RBR=0x6d LSR=0x61

          4: RBR=0x0d LSR=0x61

          3: RBR=0xd0 LSR=0x61

          2: RBR=0x5b LSR=0x61

          1: RBR=0x1b LSR=0x61

          0: RBR=0x0d LSR=0x61

 

Unknown command '' - try 'help'

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin> md.w 0xffc0040c 1

ffc0040c: 0003    ..

 

--- Mingquan Pan                                             2008-02-22 03:03:10

I try with kermit. It is better that the first up key could works by reecho the

'print' command, but the second and later up key still fails.

 

Here is the log:

 

test@linux:~/work/cruise/checkouts/uclinux-dist/testsuites/spiadc>

test@linux:~/work/cruise/checkouts/uclinux-dist/testsuites/spiadc> kermit

C-Kermit 8.0.211, 10 Apr 2004, for Linux

Copyright (C) 1985, 2004,

  Trustees of Columbia University in the City of New York.

Type ? or HELP for help.

(/home/test/work/cruise/checkouts/uclinux-dist/testsuites/spiadc/)

C-Kermit>connect

Connecting to /dev/ttyS0, speed 57600

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

Type the escape character followed by C to get back,

or followed by ? to see other options.

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

 

bfin> reset

 

 

U-Boot 1.1.6-svn1148 (ADI-2008R2-pre) (Feb 22 2008 - 14:25:35)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin>

nknown command ' - try 'help'

bfin>

nknown command ' - try 'help'

bfin>                                                                      

              

 

the kermit rc file is :

 

test@linux:~/work/cruise/checkouts/uclinux-dist/testsuites/spiadc> cat

~/.kermrc

set line /dev/ttyS0

set speed 57600

set carrier-watch off

set handshake none

set flow-control none

robust

set file type bin

set file name lit

set rec pack 1000

set send pack 1000

SET RETRY 10

set window 5

 

--- Mingquan Pan                                             2008-02-22 03:13:18

When using kermit,hit up key at u-boot prompt doesn't output debug info, just

says "nknown command ' - try 'help'",but if set bootargs and then use

mouse to paste the string, the debug info prints:

est@linux:~/work/cruise/checkouts/uclinux-dist/testsuites/spiadc> kermit

C-Kermit 8.0.211, 10 Apr 2004, for Linux

Copyright (C) 1985, 2004,

  Trustees of Columbia University in the City of New York.

Type ? or HELP for help.

(/home/test/work/cruise/checkouts/uclinux-dist/testsuites/spiadc/)

C-Kermit>connect

Connecting to /dev/ttyS0, speed 57600

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

Type the escape character followed by C to get back,

or followed by ? to see other options.

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

 

bfin>

bfin>reset

 

 

U-Boot 1.1.6-svn1148 (ADI-2008R2-pre) (Feb 22 2008 - 14:25:35)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin>                                                                      

                                                                             

bfin>

nknown command ' - try 'help'

bfin> set bootargs rooWz"晇┭d

[SERIAL ERROR]

         47: RBR=0x2c LSR=0x69

         46: RBR=0x64 LSR=0x61

         45: RBR=0xd1 LSR=0x61

         44: RBR=0xa9 LSR=0x61

         43: RBR=0x76 LSR=0x61

         42: RBR=0x95 LSR=0x61

         41: RBR=0x22 LSR=0x61

         40: RBR=0x7a LSR=0x61

         39: RBR=0x57 LSR=0x61

         38: RBR=0x6f LSR=0x61

         37: RBR=0x6f LSR=0x61

         36: RBR=0x72 LSR=0x61

         35: RBR=0x20 LSR=0x61

         34: RBR=0x73 LSR=0x61

         33: RBR=0x67 LSR=0x61

         32: RBR=0x72 LSR=0x61

         31: RBR=0x61 LSR=0x61

         30: RBR=0x74 LSR=0x61

         29: RBR=0x6f LSR=0x61

         28: RBR=0x6f LSR=0x61

         27: RBR=0x62 LSR=0x61

         26: RBR=0x20 LSR=0x61

         25: RBR=0x74 LSR=0x61

         24: RBR=0x65 LSR=0x61

         23: RBR=0x73 LSR=0x61

         22: RBR=0x0d LSR=0x61

         21: RBR=0x41 LSR=0x61

         20: RBR=0x5b LSR=0x61

         19: RBR=0x1b LSR=0x61

         18: RBR=0x0d LSR=0x61

         17: RBR=0xd0 LSR=0x61

         16: RBR=0x5b LSR=0x61

         15: RBR=0x1b LSR=0x61

         14: RBR=0x0d LSR=0x61

         13: RBR=0x41 LSR=0x61

         12: RBR=0x5b LSR=0x61

         11: RBR=0x1b LSR=0x61

         10: RBR=0x0d LSR=0x61

          9: RBR=0x41 LSR=0x61

          8: RBR=0x5b LSR=0x61

          7: RBR=0x1b LSR=0x61

          6: RBR=0x0d LSR=0x61

          5: RBR=0x74 LSR=0x61

          4: RBR=0x6e LSR=0x61

          3: RBR=0x69 LSR=0x61

          2: RBR=0x72 LSR=0x61

          1: RBR=0x70 LSR=0x61

          0: RBR=0x0d LSR=0x61

 

 

--- Mike Frysinger                                           2008-02-25 22:21:22

please retest with current trunk ... both with the debug option turned on as

well as off

 

--- Mingquan Pan                                             2008-02-26 01:52:07

It seems what you have changed on trunk has fixed the problem on bf533 stamp

board.I can continously hit up key 20 times and no error. But bf561-ezkit still

has this issue.

 

On bf533-stamp:

 

U-Boot 1.1.6-svn1150 (ADI-2008R2-pre) (Feb 26 2008 - 13:59:50)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:07:59

I2C:   ready

Hit any key to stop autoboot:  0

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin> print

baudrate=57600

loads_echo=1

autoload=no

rootpath=/checkout/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:07:59

bootdelay=2

nfsboot=tftp $(loadaddr) linux;run nfsargs;run addip;boote

bootcmd=run ramboot

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=23290

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 953/8188 bytes

bfin> set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

bfin>

 

 

On bf561-ezkit,with debug option on(in kermit):

est@uclinux47-bf561ezkit:~/work/cruise/checkouts/uclinux-dist/testsuites/module>

kermit

C-Kermit 8.0.211, 10 Apr 2004, for Linux

Copyright (C) 1985, 2004,

  Trustees of Columbia University in the City of New York.

Type ? or HELP for help.

(/home/test/work/cruise/checkouts/uclinux-dist/testsuites/module/)

C-Kermit>

(/home/test/work/cruise/checkouts/uclinux-dist/testsuites/module/)

C-Kermit>connect

Connecting to /dev/ttyS0, speed 57600

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

Type the escape character followed by C to get back,

or followed by ? to see other options.

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

 

bfin>

bfin>

bfin> reset

 

 

U-Boot 1.1.6-svn1150 (ADI-2008R2-pre) (Feb 26 2008 - 14:31:28)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x2C010300

MAC:   00:E0:22:FE:B2:01

Hit any key to stop autoboot:  0

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b9e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b9e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes                                             

                                                                          

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b9e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> set bootargs ro

[SERIAL ERROR]

        193: RBR=0xf5 LSR=0x68

        192: RBR=0x8b LSR=0x60

        191: RBR=0x6f LSR=0x60

        190: RBR=0x72 LSR=0x60

        189: RBR=0x20 LSR=0x60

        188: RBR=0x73 LSR=0x60

        187: RBR=0x7f LSR=0x60

        186: RBR=0x61 LSR=0x60

        185: RBR=0x67 LSR=0x60

        184: RBR=0x72 LSR=0x60

        183: RBR=0x61 LSR=0x60

        182: RBR=0x74 LSR=0x60

        181: RBR=0x6f LSR=0x60

        180: RBR=0x6f LSR=0x60

        179: RBR=0x62 LSR=0x60

        178: RBR=0x20 LSR=0x60

        177: RBR=0x74 LSR=0x60

        176: RBR=0x65 LSR=0x60

        175: RBR=0x73 LSR=0x60

        174: RBR=0x0d LSR=0x60

        173: RBR=0x74 LSR=0x60

        172: RBR=0x6e LSR=0x60

        171: RBR=0x69 LSR=0x60

        170: RBR=0x72 LSR=0x60

        169: RBR=0x70 LSR=0x60

        168: RBR=0x0d LSR=0x60

        167: RBR=0x41 LSR=0x60

        166: RBR=0x5b LSR=0x60

        165: RBR=0x1b LSR=0x60

        164: RBR=0x0d LSR=0x60

        163: RBR=0x41 LSR=0x60

        162: RBR=0x5b LSR=0x60

        161: RBR=0x1b LSR=0x60

        160: RBR=0x0d LSR=0x60

        159: RBR=0xd0 LSR=0x60

        158: RBR=0x5b LSR=0x60

        157: RBR=0x1b LSR=0x60

        156: RBR=0x0d LSR=0x60

        155: RBR=0x41 LSR=0x60

        154: RBR=0x5b LSR=0x60

        153: RBR=0x1b LSR=0x60

        152: RBR=0x0d LSR=0x60

        151: RBR=0x41 LSR=0x60

        150: RBR=0x5b LSR=0x60

        149: RBR=0x1b LSR=0x60

        148: RBR=0x0d LSR=0x60

        147: RBR=0xd0 LSR=0x60

        146: RBR=0x5b LSR=0x60

        145: RBR=0x1b LSR=0x60

        144: RBR=0x0d LSR=0x60

        143: RBR=0xd0 LSR=0x60

        142: RBR=0x5b LSR=0x60

        141: RBR=0x1b LSR=0x60

        140: RBR=0x0d LSR=0x60

        139: RBR=0x41 LSR=0x60

        138: RBR=0x5b LSR=0x60

        137: RBR=0x1b LSR=0x60

        136: RBR=0x0d LSR=0x60

        135: RBR=0x41 LSR=0x60

        134: RBR=0x5b LSR=0x60

        133: RBR=0x1b LSR=0x60

        132: RBR=0x0d LSR=0x60

        131: RBR=0x41 LSR=0x60

        130: RBR=0x5b LSR=0x60

        129: RBR=0x1b LSR=0x60

        128: RBR=0x0d LSR=0x60

        127: RBR=0x41 LSR=0x60

        126: RBR=0x5b LSR=0x60

        125: RBR=0x1b LSR=0x60

        124: RBR=0x0d LSR=0x60

        123: RBR=0x70 LSR=0x60

        122: RBR=0x6c LSR=0x60

        121: RBR=0x65 LSR=0x60

        120: RBR=0x68 LSR=0x60

        119: RBR=0x0d LSR=0x60

        118: RBR=0x74 LSR=0x60

        117: RBR=0x6e LSR=0x60

        116: RBR=0x69 LSR=0x60

        115: RBR=0x72 LSR=0x60

        114: RBR=0x70 LSR=0x60

        113: RBR=0x0d LSR=0x60

        112: RBR=0x73 LSR=0x60

        111: RBR=0x6c LSR=0x60

        110: RBR=0x0d LSR=0x60

        109: RBR=0x41 LSR=0x60

        108: RBR=0x5b LSR=0x60

        107: RBR=0x1b LSR=0x60

        106: RBR=0x0d LSR=0x60

        105: RBR=0x41 LSR=0x60

        104: RBR=0x5b LSR=0x60

        103: RBR=0x1b LSR=0x60

        102: RBR=0x0d LSR=0x60

        101: RBR=0x41 LSR=0x60

        100: RBR=0x5b LSR=0x60

         99: RBR=0x1b LSR=0x60

         98: RBR=0x0d LSR=0x60

         97: RBR=0x41 LSR=0x60

         96: RBR=0x5b LSR=0x60

         95: RBR=0x1b LSR=0x60

         94: RBR=0x0d LSR=0x60

         93: RBR=0x41 LSR=0x60

         92: RBR=0x5b LSR=0x60

         91: RBR=0x1b LSR=0x60

         90: RBR=0x0d LSR=0x60

         89: RBR=0x41 LSR=0x60

         88: RBR=0x5b LSR=0x60

         87: RBR=0x1b LSR=0x60

         86: RBR=0x0d LSR=0x60

         85: RBR=0x41 LSR=0x60

         84: RBR=0x5b LSR=0x60

         83: RBR=0x1b LSR=0x60

         82: RBR=0x0d LSR=0x60

         81: RBR=0x41 LSR=0x60

         80: RBR=0x5b LSR=0x60

         79: RBR=0x1b LSR=0x60

         78: RBR=0x0d LSR=0x60

         77: RBR=0x41 LSR=0x60

         76: RBR=0x5b LSR=0x60

         75: RBR=0x1b LSR=0x60

         74: RBR=0x0d LSR=0x60

         73: RBR=0x41 LSR=0x60

         72: RBR=0x5b LSR=0x60

         71: RBR=0x1b LSR=0x60

         70: RBR=0x0d LSR=0x60

         69: RBR=0xd0 LSR=0x60

         68: RBR=0x5b LSR=0x60

         67: RBR=0x1b LSR=0x60

         66: RBR=0x0d LSR=0x60

         65: RBR=0x41 LSR=0x60

         64: RBR=0x5b LSR=0x60

         63: RBR=0x1b LSR=0x60

         62: RBR=0x0d LSR=0x60

         61: RBR=0x41 LSR=0x60

         60: RBR=0x5b LSR=0x60

         59: RBR=0x1b LSR=0x60

         58: RBR=0x0d LSR=0x60

         57: RBR=0xd0 LSR=0x60

         56: RBR=0x5b LSR=0x60

         55: RBR=0x1b LSR=0x60

         54: RBR=0x0d LSR=0x60

         53: RBR=0xd0 LSR=0x60

         52: RBR=0x5b LSR=0x60

         51: RBR=0x1b LSR=0x60

         50: RBR=0x0d LSR=0x60

         49: RBR=0x41 LSR=0x60

         48: RBR=0x5b LSR=0x60

         47: RBR=0x1b LSR=0x60

         46: RBR=0x0d LSR=0x60

         45: RBR=0x41 LSR=0x60

         44: RBR=0x5b LSR=0x60

         43: RBR=0x1b LSR=0x60

         42: RBR=0x0d LSR=0x60

         41: RBR=0x41 LSR=0x60

         40: RBR=0x5b LSR=0x60

         39: RBR=0x1b LSR=0x60

         38: RBR=0x0d LSR=0x60

         37: RBR=0x41 LSR=0x60

         36: RBR=0x5b LSR=0x60

         35: RBR=0x1b LSR=0x60

         34: RBR=0x0d LSR=0x60

         33: RBR=0x41 LSR=0x60

         32: RBR=0x5b LSR=0x60

         31: RBR=0x1b LSR=0x60

         30: RBR=0x0d LSR=0x60

         29: RBR=0x41 LSR=0x60

         28: RBR=0x5b LSR=0x60

         27: RBR=0x1b LSR=0x60

         26: RBR=0x0d LSR=0x60

         25: RBR=0x41 LSR=0x60

         24: RBR=0x5b LSR=0x60

         23: RBR=0x1b LSR=0x60

         22: RBR=0x0d LSR=0x60

         21: RBR=0x41 LSR=0x60

         20: RBR=0x5b LSR=0x60

         19: RBR=0x1b LSR=0x60

         18: RBR=0x0d LSR=0x60

         17: RBR=0x41 LSR=0x60

         16: RBR=0x5b LSR=0x60

         15: RBR=0x1b LSR=0x60

         14: RBR=0x0d LSR=0x60

         13: RBR=0x41 LSR=0x60

         12: RBR=0x5b LSR=0x60

         11: RBR=0x1b LSR=0x60

         10: RBR=0x0d LSR=0x60

          9: RBR=0x41 LSR=0x60

          8: RBR=0x5b LSR=0x60

          7: RBR=0x1b LSR=0x60

          6: RBR=0x0d LSR=0x60

          5: RBR=0x74 LSR=0x60

          4: RBR=0x6e LSR=0x60

          3: RBR=0x69 LSR=0x60

          2: RBR=0x72 LSR=0x60

          1: RBR=0x70 LSR=0x60

          0: RBR=0x0d LSR=0x60

 

[SERIAL ERROR]

          0: RBR=0x30 LSR=0x6a

                                                                          

 

And with debug info off(in kermit):

test@uclinux47-bf561ezkit:~/work/cruise/checkouts/uclinux-dist/testsuites/module>

kermit

C-Kermit 8.0.211, 10 Apr 2004, for Linux

Copyright (C) 1985, 2004,

  Trustees of Columbia University in the City of New York.

Type ? or HELP for help.

(/home/test/work/cruise/checkouts/uclinux-dist/testsuites/module/)

C-Kermit>connect

Connecting to /dev/ttyS0, speed 57600

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

Type the escape character followed by C to get back,

or followed by ? to see other options.

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

 

bfin>

bfin> reset

 

 

U-Boot 1.1.6-svn1150 (ADI-2008R2-pre) (Feb 26 2008 - 14:42:20)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x2C010300

MAC:   00:E0:22:FE:B2:01

Hit any key to stop autoboot:  0

bfin>

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin>

nknown command ' - try 'help'

bfin>

nknown command ' - try 'help'

bfin>

nknown command ' - try 'help'

bfin>

nknown command ' - try 'help'

bfin>

nknown command ' - try 'help'

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> set bootargs rootO壂私mtd,雿乺w

YX.+羠in譜殨蒳al,]X..&┖矀

bfin> set bootargs rootO壂私mtd,雿乺w

YX.+羠in譜殨蒳al,]X..&┖矀

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

bootargs=rootO壂私mtd,雿乺w YX.+羠in譜殨蒳al,]X..&┖矀

 

Environment size: 963/65532 bytes                                             

                                                                          

 

the kermit config is as that posted in the previous comment.

 

--- Mike Frysinger                                           2008-02-27 03:43:00

the latest u-boot debug will dump DLL/DLH when you get an error ... verify those

values match the settings under the kernel

 

to get the kernel values, do this (from a telnet session as it will screw up

the serial console temporarily):

cd /sys/kernel/debug/blackfin/UART

cat UART_DLL UART_DLH UART_LCR

echo 0x93 > UART_LCR

cat UART_DLL UART_DLH UART_LCR

echo 0x13 > UART_LCR

cat UART_DLL UART_DLH UART_LCR

 

the first two lines of the second cat will be the DLL/DLH values and they

should match the values in u-boot.  i only have a 0.5 silicon bf561-ezkit board

here, so i'll have to rummage around for a 0.3 at work.  the issue we're

attempting to solve is to workaround one of the silicon anomalies that has to do

with back-to-back characters.

 

if u-boot and the kernel have the same DLL/DLH settings, then you should be

able to set the serial driver in the kernel to PIO mode and see the same

problems.

 

--- Mingquan Pan                                             2008-02-27 06:16:55

Yeah,I can see the DLL/DLH value in debug info is  the same as that from the

second cat command.

 

 

U-Boot 1.1.6-svn1152 (ADI-2008R2-pre) (Feb 27 2008 - 18:35:44)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x2C010300

MAC:   00:E0:22:FE:B2:01

Hit any key to stop autoboot:  0

bfin> print

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

serverip=10.100.4.174

ipaddr=10.100.4.50

stdin=serial

stdout=serial

stderr=serial

Environment size: 968/65532 bytes

bfiprint

bootcmd=run ramboot

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:01

ramboot=tftp $(loadaddr) linux;run ramargs;run addip;boote

bootdelay=2

filesize=1b8e4

fileaddr=1000000

gatewayip=10.100.4.174

netmask=255.255.255.0

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

serverip=10.100.4.174

ipaddr=10.100.4.50

stdin=serial

stdout=serial

stderr=serial

Environment size: 968/65532 bytes

bfin>

Unknown command '' - try 'help'

bfin>

Unknown command '' - try 'help'

bfin>

Unknown command '' - try 'help'

bfin>

bfin>

Unknown command '' - try 'help'

bfin>

Unknown command '' - try 'help'

bfin>

Unknown command '' - try 'help'

bfin>

[SERIAL ERROR]

        DLL=0x6d DLH=0x0

         43: RBR=0xab LSR=0x68

         42: RBR=0x1b LSR=0x60

         41: RBR=0x0d LSR=0x60

         40: RBR=0x41 LSR=0x60

         39: RBR=0x5b LSR=0x60

         38: RBR=0x1b LSR=0x60

         37: RBR=0x0d LSR=0x60

         36: RBR=0x41 LSR=0x60

         35: RBR=0x5b LSR=0x60

         34: RBR=0x1b LSR=0x60

         33: RBR=0x0d LSR=0x60

         32: RBR=0x41 LSR=0x60

         31: RBR=0x5b LSR=0x60

         30: RBR=0x1b LSR=0x60

         29: RBR=0x0d LSR=0x60

         28: RBR=0xff LSR=0x60

         27: RBR=0xab LSR=0x60

         26: RBR=0x1b LSR=0x60

         25: RBR=0x0d LSR=0x60

         24: RBR=0x41 LSR=0x60

         23: RBR=0x5b LSR=0x60

         22: RBR=0x1b LSR=0x60

         21: RBR=0x0d LSR=0x60

         20: RBR=0x41 LSR=0x60

         19: RBR=0x5b LSR=0x60

         18: RBR=0x1b LSR=0x60

         17: RBR=0x0d LSR=0x60

         16: RBR=0xd0 LSR=0x60

         15: RBR=0x5b LSR=0x60

         14: RBR=0x1b LSR=0x60

         13: RBR=0x0d LSR=0x60

         12: RBR=0x41 LSR=0x60

         11: RBR=0x5b LSR=0x60

         10: RBR=0x1b LSR=0x60

          9: RBR=0xd0 LSR=0x60

          8: RBR=0x5b LSR=0x60

          7: RBR=0x1b LSR=0x60

          6: RBR=0x0d LSR=0x60

          5: RBR=0x74 LSR=0x60

          4: RBR=0x6e LSR=0x60

          3: RBR=0x69 LSR=0x60

          2: RBR=0x72 LSR=0x60

          1: RBR=0x70 LSR=0x60

          0: RBR=0x0d LSR=0x60

 

In kernel:

BusyBox v1.4.1 (2008-02-27 17:29:54 CST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

root:/> cd /sys/kernel/debug/blackfin/UART

root:/sys/kernel/debug/blackfin/UART> cat UART_DLL UART_DLH UART_LCR

0x000d

0x0001

0x0013

root:/sys/kernel/debug/blackfin/UART> echo 0x93 > UART_LCR

root:/sys/kernel/debug/blackfin/UART> cat UART_DLL UART_DLH UART_LCR

0x006d

0x0000

0x0093

root:/sys/kernel/debug/blackfin/UART> uname -a

Linux blackfin 2.6.22.18-ADI-2008R1-svn4361 #170 Wed Feb 27 19:18:53 CST 2008

blackfin unknown

root:/sys/kernel/debug/blackfin/UART>

 

but it looks even the serial driver in kernel set to DMA mode also can get the

same problems.

 

root:/> dmesg

Linux version 2.6.22.18-ADI-2008R1-svn4361 (test@uclinux47-bf561ezkit) (gcc

version 4.1.2 (ADI svn)) #170 Wed Feb 27 19:18:53 CST 2008

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.3

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 600 MHz core clock and 100 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x00112f20

  rodata    = 0x00113000-0x00161c84

  data      = 0x00162000-0x00174000

    stack   = 0x00162000-0x00164000

  init      = 0x00174000-0x003d4000

  bss       = 0x003d4000-0x003e7284

  available = 0x003e7284-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

On node 0 totalpages: 14335

  DMA zone: 111 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 14224 pages, LIFO batch:3

  Normal zone: 0 pages used for memmap

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:1:eth0:off

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Kernel managed physical pages: 14335

Memory available: 52764k/65536k RAM, (2432k init code, 1095k kernel code, 465k

data, 1024k dma, 7756k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 16 KB (8 KB free)

Calibrating delay loop... 1196.03 BogoMIPS (lpj=2392064)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

BF561 Core B driver v0.1 initialized.

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>

eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]

eth0: Ethernet addr: 00:e0:22:fe:b2:01

eth0: PHY LAN83C183 (LAN91C111 Internal)

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0,

regs_base@ffc00500, dma channel@16

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

Setting up Blackfin MMR debugfs

eth0: link down

IP-Config: Complete:

      device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=1, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 2432k freed

eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1

root:/>

root:/> date

Mon Jan  1 00:00:12 UTC 2007

root:/> date

Mon Jan  1 00:00:13 UTC 2007

root:/> date

Mon Jan  1 00:00:14 UTC 2007

root:/> date

Mon Jan  1 00:00:14 UTC 2007

root:/> date

Mon Jan  1 00:00:15 UTC 2007

root:/> date

Mon Jan  1 00:00:15 UTC 2007

root:/>

h: not found

root:/>

root:/>

h: not found

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/>

root:/>

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> (up key)

h: not found

root:/> (up key)

h: not found

root:/>

 

 

--- Mike Frysinger                                           2008-02-27 13:11:37

the bf533 stamp part is fixed.  i dont have a bf561-ezkit 0.3 kit here, so

perhaps sonic can take a look at the kernel serial driver on the failing kit you

have.

 

--- Sonic Zhang                                              2008-02-28 02:07:24

Just have a try on 2 other bf561 boards than the one used by Grace. I can't

replicate this bug on them. This looks like a board failure. Grace needs to

replace current bf561 board with a new one.

 

--- Mingquan Pan                                             2008-03-10 05:21:23

Mike, would you also check in the fix to 08r1 branch? so that I can use this

feature in 08r1 u-boot.

 

--- Mike Frysinger                                           2008-03-10 11:11:35

i havent checked anything into the branch as i've been waiting for you to verify

things on trunk first

 

what's the status of trunk ?

 

--- Mingquan Pan                                             2008-03-10 23:48:44

I verify with bf561-ezkit 2.0 board(Detected Rev: 0.5),though it has no obvious

random letter, it still omit one or two letter frequently. I used both trunk and

branch head u-boot.

 

U-Boot 1.1.6-svn1161 (ADI-2008R2-pre) (Mar 11 2008 - 11:30:32)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x2C010300

MAC:   00:E0:22:FE:B1:3B

Hit any key to stop autoboot:  0

bfin> print

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

autoload=no

rootpath=/arm-cross-build/BF561/uClinux-dist/romfs

hostname=1

loadaddr=0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase

0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B1:3B

filesize=1bac0

fileaddr=1000000

gatewayip=192.168.0.1

netmask=255.255.255.0

ipaddr=10.100.4.50

serverip=10.100.4.174

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 968/65532 bytes

bfin> set bootargs root=/dev/nfs rw

nfsroot=$(serveri):$(rootpath),tcp,nfsvers=3 #(here skip the 'p' in serverip.)

bfin> set bootargs root=/dev/mtdblock0 rw earlyprintkseri

[SERIAL ERROR]

        DLL=0x6d DLH=0x0

        133: RBR=0x61 LSR=0x62

        132: RBR=0x69 LSR=0x60

        131: RBR=0x72 LSR=0x60

        130: RBR=0x65 LSR=0x60

        129: RBR=0x73 LSR=0x60

        128: RBR=0x6b LSR=0x60

        127: RBR=0x74 LSR=0x60

        126: RBR=0x6e LSR=0x60

        125: RBR=0x69 LSR=0x60

        124: RBR=0x72 LSR=0x60

        123: RBR=0x70 LSR=0x60

        122: RBR=0x79 LSR=0x60

        121: RBR=0x6c LSR=0x60

        120: RBR=0x72 LSR=0x60

        119: RBR=0x61 LSR=0x60

        118: RBR=0x65 LSR=0x60

        117: RBR=0x20 LSR=0x60

        116: RBR=0x77 LSR=0x60

        115: RBR=0x72 LSR=0x60

        114: RBR=0x20 LSR=0x60

        113: RBR=0x30 LSR=0x60

        112: RBR=0x6b LSR=0x60

        111: RBR=0x63 LSR=0x60

        110: RBR=0x6f LSR=0x60

        109: RBR=0x6c LSR=0x60

        108: RBR=0x62 LSR=0x60

        107: RBR=0x64 LSR=0x60

        106: RBR=0x74 LSR=0x60

        105: RBR=0x6d LSR=0x60

        104: RBR=0x2f LSR=0x60

        103: RBR=0x76 LSR=0x60

        102: RBR=0x65 LSR=0x60

        101: RBR=0x64 LSR=0x60

        100: RBR=0x2f LSR=0x60

         99: RBR=0x3d LSR=0x60

         98: RBR=0x74 LSR=0x60

         97: RBR=0x6f LSR=0x60

         96: RBR=0x6f LSR=0x60

         95: RBR=0x72 LSR=0x60

         94: RBR=0x20 LSR=0x60

         93: RBR=0x73 LSR=0x60

         92: RBR=0x67 LSR=0x60

         91: RBR=0x72 LSR=0x60

         90: RBR=0x61 LSR=0x60

         89: RBR=0x74 LSR=0x60

         88: RBR=0x6f LSR=0x60

         87: RBR=0x6f LSR=0x60

         86: RBR=0x62 LSR=0x60

         85: RBR=0x20 LSR=0x60

         84: RBR=0x74 LSR=0x60

         83: RBR=0x65 LSR=0x60

         82: RBR=0x73 LSR=0x60

         81: RBR=0x0d LSR=0x60

         80: RBR=0x33 LSR=0x60

         79: RBR=0x3d LSR=0x60

         78: RBR=0x73 LSR=0x60

         77: RBR=0x72 LSR=0x60

         76: RBR=0x65 LSR=0x60

         75: RBR=0x76 LSR=0x60

         74: RBR=0x73 LSR=0x60

         73: RBR=0x66 LSR=0x60

         72: RBR=0x6e LSR=0x60

         71: RBR=0x2c LSR=0x60

         70: RBR=0x70 LSR=0x60

         69: RBR=0x63 LSR=0x60

         68: RBR=0x74 LSR=0x60

         67: RBR=0x2c LSR=0x60

         66: RBR=0x29 LSR=0x60

         65: RBR=0x68 LSR=0x60

         64: RBR=0x74 LSR=0x60

         63: RBR=0x61 LSR=0x60

         62: RBR=0x70 LSR=0x60

         61: RBR=0x74 LSR=0x60

         60: RBR=0x6f LSR=0x60

         59: RBR=0x6f LSR=0x60

         58: RBR=0x72 LSR=0x60

         57: RBR=0x28 LSR=0x60

         56: RBR=0x24 LSR=0x60

         55: RBR=0x3a LSR=0x60

         54: RBR=0x29 LSR=0x60

         53: RBR=0x69 LSR=0x60

         52: RBR=0x72 LSR=0x60

         51: RBR=0x65 LSR=0x60

         50: RBR=0x76 LSR=0x60

         49: RBR=0x72 LSR=0x60

         48: RBR=0x65 LSR=0x60

         47: RBR=0x73 LSR=0x60

         46: RBR=0x28 LSR=0x60

         45: RBR=0x24 LSR=0x60

         44: RBR=0x3d LSR=0x60

         43: RBR=0x74 LSR=0x60

         42: RBR=0x6f LSR=0x60

         41: RBR=0x6f LSR=0x60

         40: RBR=0x72 LSR=0x60

         39: RBR=0x73 LSR=0x60

         38: RBR=0x66 LSR=0x60

         37: RBR=0x6e LSR=0x60

         36: RBR=0x20 LSR=0x60

         35: RBR=0x77 LSR=0x60

         34: RBR=0x72 LSR=0x60

         33: RBR=0x20 LSR=0x60

         32: RBR=0x73 LSR=0x60

         31: RBR=0x66 LSR=0x60

         30: RBR=0x6e LSR=0x60

         29: RBR=0x2f LSR=0x60

         28: RBR=0x76 LSR=0x60

         27: RBR=0x65 LSR=0x60

         26: RBR=0x64 LSR=0x60

         25: RBR=0x2f LSR=0x60

         24: RBR=0x3d LSR=0x60

         23: RBR=0x74 LSR=0x60

         22: RBR=0x6f LSR=0x60

         21: RBR=0x6f LSR=0x60

         20: RBR=0x72 LSR=0x60

         19: RBR=0x20 LSR=0x60

         18: RBR=0x73 LSR=0x60

         17: RBR=0x67 LSR=0x60

         16: RBR=0x72 LSR=0x60

         15: RBR=0x61 LSR=0x60

         14: RBR=0x74 LSR=0x60

         13: RBR=0x6f LSR=0x60

         12: RBR=0x6f LSR=0x60

         11: RBR=0x62 LSR=0x60

         10: RBR=0x20 LSR=0x60

          9: RBR=0x74 LSR=0x60

          8: RBR=0x65 LSR=0x60

          7: RBR=0x73 LSR=0x60

          6: RBR=0x0d LSR=0x60

          5: RBR=0x74 LSR=0x60

          4: RBR=0x6e LSR=0x60

          3: RBR=0x69 LSR=0x60

          2: RBR=0x72 LSR=0x60

          1: RBR=0x70 LSR=0x60

          0: RBR=0x0d LSR=0x60

 

[SERIAL ERROR]

        DLL=0x6d DLH=0x0

          0: RBR=0x30 LSR=0x62

 

bfin>                                                                      

                                                                             

 

--- Sonic Zhang                                              2008-03-11 22:12:40

This looks like the UART RX operation is not called frenquent enough when there

is a lot of chars to transfer in UART TX operation.

 

--- Mike Frysinger                                           2008-06-24 21:26:41

please retest current u-boot trunk ... i found a random board in a random box in

a random office that seems to exhibit this problem

 

--- Mike Frysinger                                           2008-07-17 23:30:38

closed per [#3798]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes