[#5272] serial uart0 still would fail to get data file from host on some machines

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

[#5272] serial uart0 still would fail to get data file from host on some machines

Submitted By: Mingquan Pan

Open Date

2009-06-18 05:52:09     Close Date

2009-06-29 04:00:24

Priority:

Medium High     Assignee:

Mingquan Pan

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

09r1-r7

App binary format:

N/A     

Summary: serial uart0 still would fail to get data file from host on some machines

Details:

 

serial uart0 still would fail to get data file from host on some machines.

 

On bf548 log:

 

asoc: AC97 <-> bf5xx-ac97 mapping ok^M

ALSA device list:^M

  #0: bf5xx-board (AD1980)^M

TCP cubic registered^M

NET: Registered protocol family 17^M

turn off boot console early_BFuart0^M

^M

(Back at uclinux61-bf548-std.analog.com)^M

----------------------------------------------------^M

^MLinux Kermit>q^M

Closing /dev/ttyS0...OK^M

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> telnet 10.100.4.50^M

Trying 10.100.4.50...^M^M

Connected to 10.100.4.50.^M^M

Escape character is '^]'.^M^M

^M

^M

BusyBox v1.13.2 (2009-02-04 19:36:50 GMT) built-in shell (msh)^M

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

^M

root:/> cat /proc/kallsyms > ccc ^M

root:/> stty -F /dev/ttyBF0 ispeed 57600 ospeed 57600 -icrnl -ixon igncr -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoke -hupcl -echoctl mi

^M^M

n 1 time 0^M

root:/> cat /dev/ttyBF0 > aaa ^M

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> rcp root@10.100.4.50:/ccc . ^M

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> stty -F /dev/ttyS0 ispeed 57600 ospeed 57600  -icrnl igncr min 1 time 0^M

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial>  cat ccc > /dev/ttyS0  ^M

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> ^Croot:/> Catted file is got on target.

diff -u ccc aaa ^M

--- ccc Mon May 31 19:32:27 2004^M

+++ aaa Mon May 31 19:32:46 2004^M

@@ -1,9912 +0,0 @@^M

-00001000 T _do_one_initcall^M

-00001000 T __stext^M

-00001000 T _text^M

-00001000 T __text^M

-00001168 t _run_init_process^M

-00001180 t _init_post^M

-00001254 T _name_to_dev_t^M

-00001460 t _kernel_thread_helper^M

-0000146c T _dump_fpu^M

-00001478 T _flush_thread^M

 

Follow-ups

 

--- Sonic Zhang                                              2009-06-22 04:32:54

This is a test cript bug in reboot_kernel.exp.

Grace will handle it.

 

--- Mingquan Pan                                             2009-06-29 04:00:24

In the reboot_kernel.exp, it would send "version" command after kernel

boot up. But here, it close the console on early_BFuart0, keep sending

"version" commnad to the spawn kermit looks confuse the console and

fails to get chars next. Move the command to the place where the shell prompt

shows up and this bug disappear. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes