[#5304] On bf561-ezkit, run coreb test with C language, sometimes warning shows up

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

[#5304] On bf561-ezkit, run coreb test with C language, sometimes warning shows up

Submitted By: Vivi Li

Open Date

2009-07-01 05:24:23     Close Date

2009-07-06 00:31:09

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

EZKIT Lite

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1-rc7

App binary format:

N/A     

Summary: On bf561-ezkit, run coreb test with C language, sometimes warning shows up

Details:

 

On bf561-ezkit, run coreb test with C language, sometimes warning shows up.

 

--

Linux version 2.6.28.10-ADI-2009R1-svn6864 (test@uclinux66-561ezkit) (gcc version 4.1.2 (ADI svn)) #51 Wed Jul 1 00:49:10 CST 209

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000f19e0

  rodata    = 0x000f19e0-0x0013cf48

  bss       = 0x0013d000-0x0014e768

  data      = 0x0014e768-0x0015e000

    stack   = 0x0015c000-0x0015e000

  init      = 0x0015e000-0x00724000

  available = 0x00724000-0x03eff000

  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-BF561 Rev 0.5

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

Processor Speed: 600 MHz core clock and 100 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 clkin_hz=30000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

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)

Memory available: 56628k/65536k RAM, (5912k init code, 962k kernel code, 434k data, 1024k dma, 572k reserved)

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

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: 16 KB (5 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

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 110

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

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:b1:3c

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

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

TCP cubic registered

NET: Registered protocol family 17

eth0: link down

IP-Config: Complete:

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

     host=bf561-ezkit, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 5912k freed

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

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

                           _____________________________________

        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.13.4 (2009-07-01 00:46:49 CST) built-in shell (msh)

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

 

root:/> modprobe dualcore_test

dualcore_test: module license 'unspecified' taints kernel.

Dual core test module inserted: set testarg = [1]

@ [feb1fffc]

root:/> corebld /usr/coreb/test_c

writing to 0xff400000, 0x89c     bytes: OK

wri-ing to 0xff600000, 0xea4     bytes: OK

root:/> -----------[ cut here ]------------

WARNING: at lib/vsprintf.c:663 _vsnprintf+0x54e/0x550()

Modules linked in: dualcore_test(P)

Hardware Trace:

Stack info:

SP: [0xff700d94] <0xff700d94> /* kernel dynamic memory */

 

cfs_rq[0]:

  .exec_clock                    : 0.000000

  .MIN_vruntime                  : 0.000001

  .min_vruntime                  : 1874.164573

  .max_vruntime                  : 0.000001

  .spread                        : 0.000000

  .spread0                       : 0.000000

  .nr_running                    : 1

  .load                          : 1024

  .nr_spread_over                : 0

 

rt_rq[0]:

  .rt_nr_running                 : 0

  .rt_throttled                  : 0

  .rt_time                       : 0.000000

  .rt_runtime                    : 950.000000

              sh   132      1874.164573         8   120               0               0               0.000000               0.00

R        corebld   139      1840.746084         0   120               0               0               0.000000               0.00

 

---[ end trace 6d4770408fb5a9f5 ]---

 

root:/> modprobe -r dualcore_test

Dual core test module removed: testarg = [1]

root:/>

--

 

Follow-ups

 

--- Graf Yang                                                2009-07-02 22:57:05

Use the original uImage can not see this problem.

 

--- Vivi Li                                                  2009-07-06 00:31:08

I also can not reproduce this bug now.

So close it...

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes