[#5579] console output abnormal on bf537 stamp

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

[#5579] console output abnormal on bf537 stamp

Submitted By: Mingquan Pan

Open Date

2009-09-29 06:26:56     Close Date

2009-10-15 22:30:38

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: console output abnormal on bf537 stamp

Details:

 

console output abnormal on bf537 stamp now.

 

bfin> bootm

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

   Image Name:   bf537-2.6.31.1-ADI-2010R1-pre-sv

   Created:      2009-09-29   9:37:47 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4701510 Bytes =  4.5 MB

   Load Address: 00001000

   Entry Point:  00191874

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00191874

Linux version 2.6.31.1-ADI-2010R1-pre-svn7501 (test@uclinux55-bf537-cf) (gcc version 4.1.2 (ADI svn)) #4 Tue Sep 29 17:37:38 CST 2009

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010b2c0

  rodata    = 0x0010b2c0-0x001644a8

  bss       = 0x00165000-0x00175b2c

  data      = 0x00175b2c-0x00186000

    stack   = 0x00184000-0x00186000

  init      = 0x00186000-0x008b9000

  available = 0x008b9000-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF537 Rev 0.2

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

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

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

Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off

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: 47840k/65536k RAM, (7372k init code, 1064k kernel code, 492k data, 1024k dma, 7744k reserved)

NR_IRQS:98

Configuring Blackfin Priority Driven Interrupts

c

9nsole [ttyBF0] enabled, bootconsole disabled

S

 

B

N

B

b

N

I

T

 

N

m

 

b

 

b

b

b

b

b

r

b

T

脗)I

F

d

脨                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.15.1 (2009-09-29 17:04:27 CST) hush - the humble shell

 

root:/> versionPHY: 0:01 - Link is Up - 100/Full

 

 

Follow-ups

 

--- Sonic Zhang                                              2009-10-10 06:34:47

Fixed. Restore spinlock in earlyprintk operation.

 

--- Mingquan Pan                                             2009-10-11 22:38:11

when checking the testing log of linux revision svn7580, this bug still shows up

from time to time.

 

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

   Image Name:   bf537-2.6.31.3-ADI-2010R1-pre-sv

   Created:      2009-10-11  22:48:46 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4700790 Bytes =  4.5 MB

   Load Address: 00001000

   Entry Point:  0019185c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0019185c

Linux version 2.6.31.3-ADI-2010R1-pre-svn7580

(test@uclinux50-bf537-ad9960-ad1836) (gcc version 4.1.2 (ADI svn)) #46 Mon Oct

12 06:48:09 CST 2009

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010b7b0

  rodata    = 0x0010b7b0-0x00164a70

  bss       = 0x00165000-0x00175b2c

  data      = 0x00175b2c-0x00186000

    stack   = 0x00184000-0x00186000

  init      = 0x00186000-0x008c0000

  available = 0x008c0000-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF537 Rev 0.2

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

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

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

Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off

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: 47812k/65536k RAM, (7400k init code, 1065k kernel code, 491k

data, 1024k dma, 7744k reserved)

NR_IRQS:98

Configuring Blackfin Priority Driven Interrupts

c

9nsole [ttyBF0] enabled, bootconsole disabled

e

 

B

N

B

b

N

I

T

 

N

m

 

b

 

b

b

b

b

b

r

b

T

expect: spawn id exp4 not open

 

--- Sonic Zhang                                              2009-10-12 22:57:09

Done this time. Should zero bfin_serial_port after switch to dynamical

allocation.

 

--- Mingquan Pan                                             2009-10-15 22:30:38

Yes, fixed,close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes