[#3920] ttyBF0 device can't receive whole string from host ttyS0

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

[#3920] ttyBF0 device can't receive whole string from host ttyS0

Submitted By: Mingquan Pan

Open Date

2008-02-20 05:28:45     Close Date

2008-02-26 05:51:17

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: ttyBF0 device can't receive whole string from host ttyS0

Details:

 

ttyBF0 device can't receive whole string from host ttyS0 especatially at the begining of the transmission.

 

steps:

1) Start kernel and do ifconfig on target.

2) Close minicom.

3) telnet to target.run cat /dev/ttyBF0.

4) echo

aabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb56789333444 > /dev/ttyS0.

 

5) On the target,it would get:

root:/> cat /dev/ttyBF0

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb56789333444.

Always one 'a' disappeared.

Actually this 'a' is been left at target console.If open minicom now, you can see this 'a'.

 

Next, echo more lines through serial cable, the cat  /dev/ttyBF0 info may be right.

 

Follow-ups

 

--- Sonic Zhang                                              2008-02-25 02:22:24

This bug can't be reproduced when io through console. The serial driver inserts

all chars into UART/tty layer properly. This may relate to the common code in

UART/tty layer.

 

--- Sonic Zhang                                              2008-02-25 02:44:40

OK. This is not a bug. You should disable console in uboot bootargs before run

your test case.

 

set bootargs console=/dev/null

 

 

--- Mingquan Pan                                             2008-02-26 05:51:14

All right.Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes