[#4962] serial port has error characters transferred frequently

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

[#4962] serial port has error characters transferred frequently

Submitted By: Mingquan Pan

Open Date

2009-03-04 23:28:32     Close Date

2010-06-11 04:22:18

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

Jan 17,2009

App binary format:

N/A     

Summary: serial port has error characters transferred frequently

Details:

 

serial port has error characters transferred frequently. (ttyBF0 is directly connected to host ttyS0.)

 

Failed time: 2009_Mar_03_19_59, ucdist ver: 7817, kernel ver: 6148

 

Last passed time: 2009_Mar_01_14_41, ucdist ver: 7805, kernel ver: 6137

 

 

## Booting kernel from Legacy Image at 02000000 ...

   Image Name:   Linux-2.6.28.7-ADI-2009R1-pre-sv

   Created:      2009-03-03  12:59:45 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3674014 Bytes =  3.5 MB

   Load Address: 00001000

   Entry Point:  0018d50c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0018d50c

Linux version 2.6.28.7-ADI-2009R1-pre-svn6148 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #42 Tue Mar 3 20:59:33 CST 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010c580

  rodata    = 0x0010c580-0x0015fa80

  bss       = 0x0015fa80-0x0016e52c

  data      = 0x0016e52c-0x00180000

    stack   = 0x0017e000-0x00180000

  init      = 0x00180000-0x006ec000

  available = 0x006ec000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF527 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=null ip=10.100.4.50 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

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

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

Memory available: 56840k/65536k RAM, (5552k init code, 1069k kernel code, 463k data, 1024k dma, 584k reserved)

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

PDA for CPU0 reserved at 001609b0

net_namespace: 288 bytes

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

NET: Registered protocol family 1

msgmni has been set to 111

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x03b9c000 - 256 pages at 0x03f00000

bfin-otp: initialized

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x00000000-0x00040000 : "bootloader(spi)"

0x00040000-0x00200000 : "linux kernel(spi)"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

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

TCP cubic registered

NET: Registered protocol family 17

turn off boot console early_BFuart0

 

(Back at uclinux60-bf527-std.analog.com)

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

Linux Kermit>q

Closing /dev/ttyS0...OK

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> telnet 10.100.4.50

Trying 10.100.4.50...

Connected to 10.100.4.50.

Escape character is '^]'.

 

 

BusyBox v1.13.2 (2009-03-03 20:10:27 CST) built-in shell (msh)

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

 

root:/> cat /proc/kallsyms > ccc

root:/> stty -F /dev/ttyBF0 ispeed 57600 ospeed 57600 -icrnl igncr min 1 time 0

root:/> cat /dev/ttyBF0 > aaa

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> rcp root@10.100.4.50:/ccc .

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> stty -F /dev/ttyS0 ispeed 57600 ospeed 57600

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial>  cat ccc > /dev/ttyS0

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

diff -u ccc aaa

root:/> Success case.

 

Case 8 ...PASS

 

Case 8 ...PASS

stty -F /dev/ttyBF0 ispeed 57600 ospeed 57600

root:/> ls

bbb                      build_serial_kernel_log       build_sport_uart_kernel.exp  serial_test.exp  serial_uart_test.exp

build_serial_kernel.exp  build_serial_uart_kernel.exp  ccc                          serial_test_log  sport_uart_test.exp

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

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> ls

bbb                      build_serial_kernel_log       build_sport_uart_kernel.exp  serial_test.exp  serial_uart_test.exp

build_serial_kernel.exp  build_serial_uart_kernel.exp  ccc                          serial_test_log  sport_uart_test.exp

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> cat /dev/ttyS0 > bbb

cat ccc > /dev/ttyBF0

root:/>

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> Catted file is got on host.

diff -u bbb ccc

--- bbb 2009-03-03 21:07:14.000000000 +0800

+++ ccc 2009-03-03 21:02:21.000000000 +0800

@@ -5902,7 +5902,7 @@

000c61f8 t _neigh_suspect

000c6224 t _neigh_connect

000c6250 t _neigh_get_first

-000c62dc t _niigh_get_next

+000c62dc t _neigh_get_next

000c638c t _pneigh_get_first

000c63b4 t _pneigh_get_next

000c641c t _neigh_stat_seq_start

@@ -6850,7 +6850,7 @@

000fb4c8 t _sockstat_seq_show

000fb5c0 T _cookie_check_timestamp

000fb630 t _cookie_hash

-000fb6a0 T _cookie_init_timestamp0

+000fb6a0 T _cookie_init_timestamp

000fb6ec T _cookie_v4_init_sequence

000fb7dc T _cookie_v4_check

000fbbf8 t _xfrm4_beet_make_header

test@uclinux60-bf527-std:~/work/cruise/checkouts/uclinux-dist/testsuites/serial>

Two files diffs.

 

Last passed time: 2009_Mar_01_14_41, ucdist ver: 7805, kernel ver: 6137

 

 

Follow-ups

 

--- Sonic Zhang                                              2009-03-25 00:08:44

Can't replicated by uClinux-dist rev. 7888, kernel rev. 6173 and toolchain

09r1-rc3 on bf527-ezkit v0.0.

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes