[#5180] directFB case failed on BF537-STAMP

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

[#5180] directFB case failed on BF537-STAMP

Submitted By: Vivi Li

Open Date

2009-05-31 23:11:00     Close Date

2009-12-23 02:20:45

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

Category:

Tests     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

N/A     

Summary: directFB case failed on BF537-STAMP

Details:

 

Run directFB case failed on BF537-STAMP. It passed on BF548 and BF527. This bug happen for both trunk and 09r1 branch.

 

Config file is attached and below is the log:

--

Linux version 2.6.28.10-ADI-2009R1-svn6495 (test@uclinux52-ad73311-lcd) (gcc version 4.1.2 (ADI svn)) #12 Fri May 29 22:56:01 CST 2009^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0013e8f0^M

  rodata    = 0x0013e8f0-0x001a1140^M

  bss       = 0x001a2000-0x001b7a54^M

  data      = 0x001b7a54-0x001ce000^M

    stack   = 0x001cc000-0x001ce000^M

  init      = 0x001ce000-0x00a97000^M

  available = 0x00a97000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

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

Compiled for ADSP-BF537 Rev 0.2^M

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

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

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

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

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

Configuring Blackfin Priority Driven Interrupts^M

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

Console: colour dummy device 80x25^M

console [tty0] enabled^M

Linux version 2.6.28.10-ADI-2009R1-svn6495 (test@uclinux52-ad73311-lcd) (gcc version 4.1.2 (ADI svn)) #12 Fri May 29 22:56:01 CST 2009^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0013e8f0^M

  rodata    = 0x0013e8f0-0x001a1140^M

  bss       = 0x001a2000-0x001b7a54^M

  data      = 0x001b7a54-0x001ce000^M

    stack   = 0x001cc000-0x001ce000^M

  init      = 0x001ce000-0x00a97000^M

  available = 0x00a97000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

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

Compiled for ADSP-BF537 Rev 0.2^M

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

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

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

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

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

Configuring Blackfin Priority Driven Interrupts^M

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

Console: colour dummy device 80x25^M

console [tty0] enabled^M

console handover: boot [early_BFuart0] -> real [ttyBF0]^M

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

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

Memory available: 45924k/65536k RAM, (8996k init code, 1270k kernel code, 574k data, 1024k dma, 7748k reserved)^M

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

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

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

Blackfin L1 Instruction SRAM: 48 KB (37 KB free)^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

usbcore: registered new interface driver usbfs^M

usbcore: registered new interface driver hub^M

usbcore: registered new device driver usb^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 89^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

bf537-lq035: FrameBuffer initializing...<6>dma_alloc_init: dma_page @ 0x00e39000 - 256 pages at 0x03f00000^M

Console: switching to colour frame buffer device 53x21^M

Done.^M

Serial: Blackfin serial driver^M

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

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)^M

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

driver isp1362-hcd, 2005-04-04^M

isp1362-hcd isp1362-hcd.0: ISP1362 Host Controller^M

isp1362-hcd isp1362-hcd.0: new USB bus registered, assigned bus number 1^M

isp1362_hc_reset:^M

Software reset timeout^M

Clock not ready after 100ms^M

isp1362-hcd isp1362-hcd.0: can't setup^M

isp1362-hcd isp1362-hcd.0: USB bus 1 deregistered^M

init error, -19^M

sl811: driver sl811-hcd, 19 May 2005^M

mice: PS/2 mouse device common for all mice^M

usbcore: registered new interface driver appletouch^M

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

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400^M

usbcore: registered new interface driver i2c-tiny-usb^M

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

usbcore: registered new interface driver usbhid^M

usbhid: v2.6:USB HID core driver^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 1972-09-10 16:48:33 UTC (84991713)^M

IP-Config: Complete:^M

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

     host=bf537-stamp, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

Freeing unused kernel memory: 8996k freed^M

                           _____________________________________^M

        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

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

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

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

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

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

     dP   .    Y8b.       \   For embedded processors including   |^M

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

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

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

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

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

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

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

Have a lot of fun...^M

PHY: 0:01 - Link is Up - 100/Full^M

^M

^M

BusyBox v1.13.4 (2009-05-29 22:50:13 CST) built-in shell (msh)^M

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

^M

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn6495, build #12 Fri May 29 22:56:01 CST 2009^M

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)^M

user-dist: release svn-8160, build #204 Fri May 29 22:54:30 CST 2009^M

root:/>

root:/> dmesg |grep -i "tty0"^M

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

console [tty0] enabled^M

root:/> dmesg |grep -i frame

Security Framework initialized^M

bf537-lq035: FrameBuffer initializing...<6>dma_alloc_init: dma_page @ 0x00e39000 - 256 pages at 0x03f00000^M

Console: switching to colour frame buffer device 53x21^M

root:/> df_dok --noresults

^M

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~^M

        (c) 2001-2008  The world wide DirectFB Open Source Community^M

        (c) 2000-2004  Convergence (integrated media) GmbH^M

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

^M

(*) DirectFB/Core: Single Application Core. (2009-05-29 14:47) ^M

(*) Direct/Thread: Started 'VT Switcher' (330) [CRITICAL OTHER/OTHER 0/0] <12288>...Illegal use of supervisor resource^M

- Attempted to use a Supervisor register or instruction from User mode.^M

   Supervisor resources are registers and instructions that are reserved^M

   for Supervisor use: Supervisor only registers, all MMRs, and Supervisor^M

   only instructions.^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=df_dok PID=324^M

CPU = 0^M

TEXT = 0x008a0000-0x008a9ed0        DATA = 0x008b0ed0-0x008bb904^M

BSS = 0x008bb904-0x008c0000  USER-STACK = 0x008dfea0^M

^M

return address: [0x009c3002]; contents of:^M

0x009c2fe0:  0000  0000  0000  0000  0000  0000  0000  0000 ^M

0x009c2ff0:  0000  0000  0000  0000  0000  0000  0000  0000 ^M

0x009c3000:  3084 [009c] 308f  009c  30b1  009c  30be  009c ^M

0x009c3010:  30c6  009c  30d0  009c  30db  009c  30e2  009c ^M

^M

ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)^M

Linux version 2.6.28.10-ADI-2009R1-svn6495^M

Built with gcc version 4.1.2 (ADI svn)^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 0006202e  IPEND: 0030  SYSCFG: 0006^M

  EXCAUSE   : 0x2e^M

  interrupts disabled^M

  physical IVG5 asserted : <0xffa00c14> { _evt_ivhw + 0x0 }^M

RETE: <0x00000000> /* Maybe null pointer? */^M

RETN: <0x0088a000> /* kernel dynamic memory */^M

RETX: <0x00000480> /* Maybe fixed code section */^M

RETS: <0x009d6812> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x6812 ]^M

PC  : <0x009c3002> /* kernel dynamic memory */^M

DCPLB_FAULT_ADDR: <0x00890534> [ df_dok + 0x534 ]^M

ICPLB_FAULT_ADDR: <0x009c3002> /* kernel dynamic memory */^M

^M

PROCESSOR STATE:^M

R0 : 00000000    R1 : 00025800    R2 : 009c7930    R3 : 009c7940^M

R4 : 009c7938    R5 : 00996004    R6 : 00890af0    R7 : 009c7938^M

P0 : 008903d0    P1 : 009c20c8    P2 : 00997bb0    P3 : 0088a890^M

P4 : 009c792c    P5 : 009c78c0    FP : 008df79c    SP : 00889f24^M

LB0: 00edf865    LT0: 00edf864    LC0: 00000000^M

LB1: 009d608d    LT1: 009d608c    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000000^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: fffffd7f   A0.x: ffffffff   A1.w: 00004f6a   A1.x: 00000000^M

USP : 008df78c  ASTAT: 02002000^M

^M

Hardware Trace:^M

   0 Target : <0x00004c8c> { _trap_c + 0x0 }^M

     Source : <0xffa0065a> { _exception_to_level5 + 0x9e } CALL pcrel^M

   1 Target : <0xffa005bc> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa0049c> { _bfin_return_from_exception + 0x20 } RTX^M

   2 Target : <0xffa0047c> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa00512> { _ex_trap_c + 0x46 } JUMP.S^M

   3 Target : <0xffa004cc> { _ex_trap_c + 0x0 }^M

     Source : <0xffa00732> { _trap + 0x66 } JUMP (P4)^M

   4 Target : <0xffa006ec> { _trap + 0x20 }^M

     Source : <0xffa006e8> { _trap + 0x1c } IF !CC JUMP^M

   5 Target : <0xffa006cc> { _trap + 0x0 }^M

     Source : <0x009c3000> /* kernel dynamic memory */ 0x3084^M

   6 Target : <0x009c20c8> /* kernel dynamic memory */^M

     Source : <0x009d299a> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x299a ] JUMP (P1)^M

   7 Target : <0x009d2992> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x2992 ]^M

     Source : <0x009d680e> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x680e ] CALL pcrel^M

   8 Target : <0x009d67ec> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x67ec ]^M

     Source : <0x0094ce24> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4ce24 ] CALL (P1)^M

   9 Target : <0x0094ce0c> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4ce0c ]^M

     Source : <0x0094dd1e> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4dd1e ] RTS^M

  10 Target : <0x0094dd10> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4dd10 ]^M

     Source : <0x0090fa30> [ /usr/lib/libdirectfb-1.2.so.0 + 0xfa30 ] JUMP (P1)^M

  11 Target : <0x0090fa28> [ /usr/lib/libdirectfb-1.2.so.0 + 0xfa28 ]^M

     Source : <0x0094ce08> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4ce08 ] CALL pcrel^M

  12 Target : <0x0094cdec> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4cdec ]^M

     Source : <0x008f53ae> [ /usr/lib/libfusion-1.2.so.0 + 0x53ae ] RTS^M

  13 Target : <0x008f5390> [ /usr/lib/libfusion-1.2.so.0 + 0x5390 ]^M

     Source : <0x0090f3e6> [ /usr/lib/libdirectfb-1.2.so.0 + 0xf3e6 ] JUMP (P1)^M

  14 Target : <0x0090f3de> [ /usr/lib/libdirectfb-1.2.so.0 + 0xf3de ]^M

     Source : <0x0094cde8> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4cde8 ] CALL pcrel^M

  15 Target : <0x0094cdc8> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4cdc8 ]^M

     Source : <0x00eef3d4> [ /lib/libc.so.0 + 0x2f3d4 ] RTS^M

Userspace Stack^M

Stack info:^M

SP: [0x008df78c] <0x008df78c> [ df_dok + 0x1f78c ]^M

FP: (0x008df79c)^M

Memory from 0x008df780 to 008e0000^M

008df780:<00eef3bc> 0089dc60  0089c468 [00000008] 00000008  009998f0  008907c0 (008df7fc)^M

008df7a0:<0094ce26> 0089dc60  0089c468  009c7938  00997df4  009c7890  00996004  008df7d0 ^M

008df7c0:<00ecd484> 008df7fc  009c7938  00000000  009c78c0  008903d0  00000000  0089dc64 ^M

008df7e0: 00958f78  0089dc48  00959208 <00959224> 00996950  009c792c  00000003 (008dfa5c)^M

008df800:<009d62e4> 00997d94  008907c0  00997bb0  00890af0  00000000  00996004  00996004 ^M

008df820: 008df838  00997d94  00996050  00000800  00000000  0089d890  009d8978  009d8050 ^M

008df840: 00000013  00000000  00000000  00996950  00000000  00000000  00000000  00000000 ^M

008df860: 00000000  ffffffff  00000000  00000000  00000000  00000008  00000008  00000008 ^M

008df880: 00000008  00000008  00000008  00000008  00000008  00000008  008dfa08  00000000 ^M

008df8a0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

008df8c0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

008df8e0: 00000000  00999230  009998f0 <00e3a740> 00000034  00999220  008df9d4  009998f0 ^M

008df900: 008df9d4  00000000 <00ecca26> 008dfa70 <00edd27e> 009d84e5  00000005  008df950 ^M

008df920:<009864da> 00999230  009998f0  008df950 <009860f0> 00999230  00999570  008df954 ^M

008df940: 008df958  008df954  00000005  00000003  008df9bc <00edb8fa> 008df9c4 <00edb8fa>^M

008df960: 0089c468  0089c468  008df9d4 <00edb8fa> 0089dc60  0089c468  00000028  00996d6c ^M

008df980: 00996f34  00996004  008df994  00996ec0  00996ee8  009900d0  fffffffe  00996f74 ^M

008df9a0: 00996f9c  00996f87  00996f74  00996f74  00996f9c  00000000  00000000  008df9dc ^M

008df9c0:<00edb798> 008df9cc  008df9e0 <009ad21c> 008df9fc  008df9f4 <00edb798> 00000001 ^M

008df9e0: 008dfa00 <008f3df2> 0089dc60  008dfa00  008dfa24 <009864da> 00999230  009998f0 ^M

008dfa00: 008dfa24 <009860f0> 00999230  00999570  00999570  00999570  009998f0  00000000 ^M

008dfa20: 00000000  008dfa58 <00eef304> 00997050  00999570  00958f78  0089dc48  00959208 ^M

008dfa40:<00959224> 00996950  00000000  008dfa54  008dfa7c  ffffffff  ffffffff (008dfa88)^M

008dfa60:<0094dc9c> 00997054  00996fd0  00996004  009969a8  00996950  00997054  008dfab4 ^M

008dfa80: 0089dca0  008dfab4 (008dfab4)<0093cd1c> 0089c468  00899b60 <0094ee56> 0089c468 ^M

008dfaa0: 008924c4  009574cc  00000001  00000140  00996fd0 (008dfaf8)<0093c964> 0089c468 ^M

008dfac0: 0089981c  00996004  009969a8  00000000  00957314 <009860f0> 008964d0  008f8a80 ^M

008dfae0: 00000000  009969f0  0000004c  00957174  00899834  00996950 (008dfb24)<008f2c8c>^M

008dfb00: 008dfb50  00996014  008dfb90  0089dba4  0089dba0  0089518c  00000000 <0093c70c>^M

008dfb20: 008dfb90 (008dfb54)<0093c72e> 0089c468  00957120  00000101  009592cc  0089a0c0 ^M

008dfb40: 00996004  00996014  008dfb50  0089d890  00000000 (008dfb94)<00910278> 0089d890 ^M

008dfb60: 0089c468  00000000  0089d88c  008bb8ac  0089518c  00000000  00000000  00000000 ^M

008dfb80: 00000000  00000000  00000000  00000000  00000000 (008dfdc0)<008a1400> 008bb8ac ^M

008dfba0: 008bb458  00000002  008dff9f  000000a4  000000a4  008dfde0  008dfde4  00000000 ^M

008dfbc0: 00000000  00000000  0000029c  00000010  0000096c  00007ba0  00000000  00000000 ^M

008dfbe0: 00000000  008a82aa  008b9dbc  008a821c  008b9eac  00000000  00000000  008a08c4 ^M

008dfc00: 00000000  00000000  00000000  00000000  00000000  008dfea4  00000000  00000000 ^M

008dfc20: 00000000  00000000  00000000  008b9eac  00000000  00000000  008a81b8  008bb8ac ^M

008dfc40: 00000000  00000000  00000000  00000001  000000d7  000181ed  00000000  00000000 ^M

008dfc60: 00007688  00001000  00000040  00000002  00000000  4a1ff747  00000004  008bb5b8 ^M

008dfc80: 00000000  00000000  00000000  0090ddf0  0089c468  00000000  00000000  00000000 ^M

008dfca0: 00000000  00b49c30  008dfe60 <00e6e1da> 008dff50  000005c0  0000b020  00000002 ^M

008dfcc0: 00000512  00e8b178  008dfcf8  008dff50  00e8b178  008dfde8  008dfeb0  008dfea4 ^M

008dfce0: 008dff70  00e8b178  008dff50  00e8b178  008dfea4  008dfeb0  008dff50  00e8b178 ^M

008dfd00: 008a0114  00e8b0a8  00000000  00000000  00000000  00000000  00000000  00000000 ^M

008dfd20: 00000000  00000000  00000000  00000000  00000000  008dfd68 <009864da> 00995758 ^M

008dfd40: 00995608  00995748  008dff50  0099badc  008dfea4  00e68304  00000000  00000000 ^M

008dfd60: 00000000  008dfd88 <009860f0> 00995758  008dff96  00995748  00000000  00000000 ^M

008dfd80: 00e68ba0  008dfda8  008dfda8 <001d9f40> 008bb5b8  008dff96  00000000  00000001 ^M

008dfda0: 00000000  00000000  008dfdbc  008dfdd8 <00e6a994> 008dff3c  009998f0  00000000 ^M

008dfdc0:(008dfe64)<00ef36cc> 008dff3c  009998f0  008dff96  008dff50  0099badc  008dfea4 ^M

008dfde0: 00000002  008dfea4  00000000  00000000  00000000  00000000  00000000  00000000 ^M

008dfe00: 00000000  00000003  008a0034  00000004  00000020  00000005  00000007  00000006 ^M

008dfe20: 00001000  00000007  00e68000  00000008  00000000  00000009  008a0ae4  00000000 ^M

008dfe40: 00000000  0000000b  00000000  0000000c  00000000  0000000d  00000000  0000000e ^M

008dfe60: 00000000 (00000000)<008a0b12> 00e8b178  008a0ae4  00e8b170  008dff50  008dff70 ^M

008dfe80:<008a0ae8> 00b49f3c  00000002  008dff70  00b49f34  00b49f44  00e8b170  008dff7c ^M

008dfea0: 00000002  008dff96  008dff9d  00000000  008dffa9  008dffb0  008dffbe  008dffe1 ^M

008dfec0: 00000000  00000010  00000000  00000006  00001000  00000011  00000064  00000003 ^M

008dfee0: 008a0034  00000004  00000020  00000005  00000007  00000007  00e68000  00000008 ^M

008dff00: 00000000  00000009  008a0ae4  0000000b  00000000  0000000c  00000000  0000000d ^M

008dff20: 00000000  0000000e  00000000  00000017  00000000  0000001f <0001ffec> 00000000 ^M

008dff40: 00000000  00000000  00000000  00000000  00020000  00e68000  00000000  0000701c ^M

008dff60: 00e8b01c  0000b01c  00000450  00000000  00020000 <008a0000> 00000000  00009ed0 ^M

008dff80: 008b0ed0  0000ded0  0000aa34  00000000  00000000  66640000  6b6f645f  6e2d2d00 ^M

008dffa0: 7365726f  73746c75  4d4f4800  002f3d45  4c454853  622f3d4c  732f6e69  41500068 ^M

008dffc0: 2f3d4854  3a6e6962  7273752f  6e69622f  62732f3a  2f3a6e69  2f727375  6e696273 ^M

008dffe0: 52455400  696c3d4d  0078756e  7273752f  6e69622f  5f66642f  006b6f64  00000000 ^M

008e0000: 464c457f ^M

Return addresses in stack:^M

    address : <0x00eef3bc> [ /lib/libc.so.0 + 0x2f3bc ]^M

   frame  1 : <0x0094ce26> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4ce26 ]^M

    address : <0x00ecd484> [ /lib/libc.so.0 + 0xd484 ]^M

    address : <0x00959224> [ /usr/lib/libdirectfb-1.2.so.0 + 0x59224 ]^M

   frame  2 : <0x009d62e4> [ /usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so + 0x62e4 ]^M

    address : <0x00e3a740> [ df_dok + 0x740 ]^M

    address : <0x00ecca26> [ /lib/libc.so.0 + 0xca26 ]^M

    address : <0x00edd27e> [ /lib/libc.so.0 + 0x1d27e ]^M

    address : <0x009864da> [ /lib/libpthread.so.0 + 0x64da ]^M

    address : <0x009860f0> [ /lib/libpthread.so.0 + 0x60f0 ]^M

    address : <0x00edb8fa> [ /lib/libc.so.0 + 0x1b8fa ]^M

    address : <0x00edb8fa> [ /lib/libc.so.0 + 0x1b8fa ]^M

    address : <0x00edb8fa> [ /lib/libc.so.0 + 0x1b8fa ]^M

    address : <0x00edb798> [ /lib/libc.so.0 + 0x1b798 ]^M

    address : <0x009ad21c> [ /usr/lib/libdirect-1.2.so.0 + 0xd21c ]^M

    address : <0x00edb798> [ /lib/libc.so.0 + 0x1b798 ]^M

    address : <0x008f3df2> [ /usr/lib/libfusion-1.2.so.0 + 0x3df2 ]^M

    address : <0x009864da> [ /lib/libpthread.so.0 + 0x64da ]^M

    address : <0x009860f0> [ /lib/libpthread.so.0 + 0x60f0 ]^M

    address : <0x00eef304> [ /lib/libc.so.0 + 0x2f304 ]^M

    address : <0x00959224> [ /usr/lib/libdirectfb-1.2.so.0 + 0x59224 ]^M

   frame  3 : <0x0094dc9c> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4dc9c ]^M

   frame  4 : <0x0093cd1c> [ /usr/lib/libdirectfb-1.2.so.0 + 0x3cd1c ]^M

    address : <0x0094ee56> [ /usr/lib/libdirectfb-1.2.so.0 + 0x4ee56 ]^M

   frame  5 : <0x0093c964> [ /usr/lib/libdirectfb-1.2.so.0 + 0x3c964 ]^M

    address : <0x009860f0> [ /lib/libpthread.so.0 + 0x60f0 ]^M

   frame  6 : <0x008f2c8c> [ /usr/lib/libfusion-1.2.so.0 + 0x2c8c ]^M

    address : <0x0093c70c> [ /usr/lib/libdirectfb-1.2.so.0 + 0x3c70c ]^M

   frame  7 : <0x0093c72e> [ /usr/lib/libdirectfb-1.2.so.0 + 0x3c72e ]^M

   frame  8 : <0x00910278> [ /usr/lib/libdirectfb-1.2.so.0 + 0x10278 ]^M

   frame  9 : <0x008a1400> [ /usr/bin/df_dok + 0x1400 ]^M

    address : <0x00e6e1da> [ /lib/ld-uClibc.so.0 + 0x61da ]^M

    address : <0x009864da> [ /lib/libpthread.so.0 + 0x64da ]^M

    address : <0x009860f0> [ /lib/libpthread.so.0 + 0x60f0 ]^M

    address : <0x001d9f40> { _bfin_debug_mmrs_init + 0x4fd4 }^M

    address : <0x00e6a994> [ /lib/ld-uClibc.so.0 + 0x2994 ]^M

   frame 10 : <0x00ef36cc> [ /lib/libc.so.0 + 0x336cc ]^M

   frame 11 : <0x008a0b12> [ /usr/bin/df_dok + 0xb12 ]^M

    address : <0x008a0ae8> [ /usr/bin/df_dok + 0xae8 ]^M

    address : <0x0001ffec> { _kthread_create + 0x48 }^M

    address : <0x008a0000> [ /usr/bin/df_dok + 0x0 ]^M

^M

[  324:    0.000] --> Caught signal 4 (at 0x9c3002, privileged opcode) <--^M

Illegal instruction^M

root:/>

Last passed test result is not found!!

--

 

Follow-ups

 

--- Robin Getz                                               2009-06-12 08:36:06

Vivi:

 

Can you look at the trace - and provide the failing function?

 

bfin-linux-uclibc-addr2line -f -e

./staging/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so 0x299a

 

In mine (which is going to be wrong):

 

bfin-linux-uclibc-addr2line -f -e

./lib/DirectFB/build-DirectFB-1.2.7/systems/fbdev/.libs/libdirectfb_fbdev.so

0x299a

??

??:0

 

Which means it is in the PLT - and I need to back up one more...

 

bfin-linux-uclibc-addr2line -f -e

staging//usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so 0x680e

dfb_surfacemanager_deallocate

../../../DirectFB-1.2.7/systems/fbdev/surfacemanager.c:478

 

What is it on your system (I'm using a different compiler - so my values are

meaningless for this issue). Getting the values from the machine that caused the

bug could save Mike hours of figuring things out (trying to reproduce the

problem).

 

Thanks

 

--- Vivi Li                                                  2009-06-17 05:57:39

My result is as bellow:

--

bfin-linux-uclibc-addr2line -f -e

../../staging/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so 0x299a

??

??:0

--

 

--

bfin-linux-uclibc-addr2line -f -e

../../staging/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so 0x680e

fbdevInitPool

../../../DirectFB-1.2.7/systems/fbdev/fbdev_surface_pool.c:99

--

 

--- Mike Frysinger                                           2009-06-29 21:03:02

seems to work fine in trunk with BF548-EZKIT ...

 

--- Mike Frysinger                                           2009-06-29 21:43:40

works in trunk with BF537-STAMP ...

 

--- Mike Frysinger                                           2009-06-29 22:11:37

works in 2009R1 branch on BF537-stamp with DirectFB 1.2.7 and 1.4.0 ...

 

root:/> df_dok --noresults

 

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~

        (c) 2001-2008  The world wide DirectFB Open Source Community

        (c) 2000-2004  Convergence (integrated media) GmbH

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

 

(*) DirectFB/Core: Single Application Core. (2009-06-30 02:04)

(*) Direct/Thread: Started 'VT Switcher' (309) [CRITICAL OTHER/OTHER 0/0]

<12288>...

(*) Direct/Thread: Started 'Keyboard Input' (310) [INPUT OTHER/OTHER 0/0]

<12288>...

(*) DirectFB/Input: Keyboard 0.9 (directfb.org)

(*) Direct/Thread: Started 'PS/2 Input' (311) [INPUT OTHER/OTHER 0/0]

<12288>...

(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)

(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)

(*) DirectFB/Core/WM: Default 0.3 (directfb.org)

(*) FBDev/Surface: Allocated 320x240 16 bit RGB16 buffer (index 0) at offset 0

and pitch 640.

(*) FBDev/Mode: Setting 320x240 RGB16

(*) FBDev/Mode: Switched to 320x240 (virtual 320x240) at 16 bit (RGB16), pitch

640

(*) FBDev/Surface: Allocated 320x240 16 bit RGB16 buffer (index 0) at offset 0

and pitch 640.

(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.

(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.

(*) Direct/Interface: Loaded 'GIF' implementation of 'IDirectFBImageProvider'.

 

Benchmarking 256x221 on 320x231 RGB16 (16bit)...

 

Anti-aliased Text                              3.000 secs ( 1128.000

KChars/sec) [100.0%]

 

--- Vivi Li                                                  2009-06-30 22:49:58

This case still fail in test machine. What's your config?

 

--- Mike Frysinger                                           2009-06-30 22:52:25

i used the config you posted to this bug report

 

--- Vivi Li                                                  2009-07-01 03:04:23

I manually run this case on 537 with lcd and usb, and it still fails with the

same error info.

The config you are using is the same with mine.

I list my hardware configuration bellow:

BF537-STAMP:

SW2: all on

SW3: all off

SW4: off/on/on/on

sw5: all off

SW6: on/on/on/off

 

usb add-on board:

JP3: Pin15 & 16 are populated

JP5: Pin17 & 18 are populated

 

--- Mike Frysinger                                           2009-07-01 09:55:02

does it fail when you disconnect the usb card ?  i dont have one to test with.

 

also, the wiki says SW4 should be off/on/off/on ...

 

--- Vivi Li                                                  2009-07-02 03:59:47

It fails when I disconnect the usb card and SW4 is off/on/off/on.

 

--- Sonic Zhang                                              2009-07-02 04:04:10

Mike,

 

Could you send your kernel binary to Vivi?

 

 

--- Vivi Li                                                  2009-07-02 04:07:07

I attach my image here. Please have a try.

 

--- Mike Frysinger                                           2009-07-02 22:00:52

here is my uImage and uclinux-dist/kernel configs.  i built things with the

2009R1-rc7 toolchain.

 

--- Vivi Li                                                  2009-07-03 02:19:54

The image you gave me works perfect in my board!

I'm trying to rebuild kernel with your config.

 

--- Vivi Li                                                  2009-07-06 06:35:51

I built a kernel on a machine with Suse 10.2 version, and it finally works.

 

On the test machine running case directFB, I still failed to build a good

kernel.

 

I used the exactly the same ucdist version, kernel version and toolchain.

Config is also the same. The only difference is that the latter one is Suse

10.0, which is quite old.

 

--- Mike Frysinger                                           2009-07-07 15:42:05

in the DirectFB build dir, there should be a config.log.  post both as

attachments to see if there is a difference in how they are compiled.

 

--- Vivi Li                                                  2009-07-08 04:41:52

config.log are attached.

 

--- Mike Frysinger                                           2009-07-08 17:22:49

unfortunately, those config.logs show no difference at all.  the diff shows only

hostname changes.

 

perhaps you could compare the libpng config.log ...

 

either way, i think someone local will have to debug the system

 

--- Barry Song                                               2009-12-15 03:31:35

duplicate with [#5522]. Directfb compiled on special host can cause crash.

 

--- Vivi Li                                                  2009-12-23 02:20:48

Fixed by Jie's patch to bug 5522.

So close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

uImage.directf.vivi    application/octet-stream    5852496    Vivi Li

config.directfb    application/octet-stream    37850    Vivi Li

uImage.directfb.vapier    application/octet-stream    4508804    Mike Frysinger

linux.config.vapier    application/octet-stream    37850    Mike Frysinger

uclinux-dist.config.vapier    application/octet-stream    3670    Mike Frysinger

config.log_suse10.0_fail    application/octet-stream    25594    Vivi Li

config.log_suse10.2_pass    application/octet-stream    25617    Vivi Li

Outcomes