[#5823] ffmpeg fails to run in trunk due to libswscale.so

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

[#5823] ffmpeg fails to run in trunk due to libswscale.so

Submitted By: Vivi Li

Open Date

2010-01-12 03:29:33     Close Date

2010-02-23 03:57:38

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3_trunk3771

App binary format:

N/A     

Summary: ffmpeg fails to run in trunk due to libswscale.so

Details:

 

In adv7183 test on bf561-ezkit, ffmpeg fails to run due to libswscale.so.

But in vs6624 test on bf537-stamp, ffmpeg run successfully.

 

Last passed version:

--

kernel:    Linux release 2.6.31.6-ADI-2010R1-pre-svn7910, build #130 Thu Dec 3 22:03:28 CST 2009

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3679)

user-dist: release svn-9212, build #2061 Thu Dec 3 22:02:17 CST 2009

--

 

First failed version:

--

kernel:    Linux release 2.6.32.3-ADI-2010R1-pre-svn8130, build #4 Fri Jan 8 04:55:06 GMT 2010

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9349, build #53 Fri Jan 8 04:53:03 GMT 2010

--

 

--

Linux version 2.6.32.3-ADI-2010R1-pre-svn8139 (test@uclinux66-561ezkit) (gcc version 4.3.4 (ADI-trunk/svn-3771) ) #20 Mon Jan 11 22:10:04 GMT 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00100000-0x00208950

  rodata    = 0x00208950-0x002626cc

  bss       = 0x00263000-0x0027436c

  data      = 0x0027436c-0x00286000

    stack   = 0x00284000-0x00286000

  init      = 0x00286000-0x00b21000

  available = 0x00b21000-0x03e00000

  DMA Zone  = 0x03e00000-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

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

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

  L2 SRAM        : cacheable (write-back) in data cache

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

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:bf561-ezkit:eth0:off

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

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

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

Memory available: 51524k/65536k RAM, (8812k init code, 1058k kernel code, 502k data, 2048k dma, 1592k reserved)

Hierarchical RCU implementation.

NR_IRQS:121

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

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

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 16 KB (4 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

Switching to clocksource bfin_cs_cycles

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 100

io scheduler noop registered

io scheduler anticipatory registered (default)

bfin-uart: Blackfin serial driver

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

brd: module loaded

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

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>

eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]

eth0: Ethernet addr: 00:e0:22:fe:b1:3c

i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)

Linux video capture interface: v2.00

driver for ADV7183B init

ADV7183B: detected client on address 0x20

ADV7183B: V4L driver Blackfin CMOS Camera now ready

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: 8812k freed

dma_alloc_init: dma_page @ 0x02c69000 - 512 pages at 0x03e00000

                           _____________________________________

        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.3 (2010-01-11 22:08:01 GMT) hush - the humble shell

 

root:/> version

kernel:    Linux release 2.6.32.3-ADI-2010R1-pre-svn8139, build #20 Mon Jan 11 22:10:04 GMT 2010

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9367, build #308 Mon Jan 11 22:08:04 GMT 2010

root:/> dmesg |grep video

Linux video capture interface: v2.00

root:/> dmesg |grep 7183

driver for ADV7183B init

ADV7183B: detected client on address 0x20

ADV7183B: V4L driver Blackfin CMOS Camera now ready

root:/> ffmpeg -f video4linux -r 10.0 -s 720x288 -i /dev/video0 -qscale 6 -f mjp

eg udp:10.100.4.174:1234

ffmpeg:582: can't map '/usr/lib/libswscale.so.0'

ffmpeg:582: can't map '/usr/lib/libswscale.so.0'

ffmpeg: can't load library 'libswscale.so.0'

root:/>

--

 

Follow-ups

 

--- Barry Song                                               2010-01-13 01:51:24

Should be duplicated with bug[#5805]. Failure mapping can happen to any library

in fact according to test. For example, libc, libgcc, libosipparser2,

libosip...

 

 

--- Vivi Li                                                  2010-02-23 03:56:49

Duplicate with bug 5805, so close this one.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.camera_adv7183    application/octet-stream    30688    Vivi Li

Attachments

Outcomes