2010-09-08 22:15:51     ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

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

2010-09-08 22:15:51     ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Rui Guo (CHINA)

Message: 93270   

 

Hi, all

 

(1) Does 2009r1.1-rc1 have AD1836 driver?In 2009r1.1-rc1  "menuconfig", it says "AD1836 Audio support for BF53x", but in 2007R1 release-notes, it says "Enable AD1836 driver on BF561". I am confused that wether 2009r1.1-rc1.1 support AD1836.

 

If not, what modification should be made?

 

(2)In 2009r1.1-rc1 menuconfig, I choose "kernel support for FDPIC ELF binaries" and "ffmpeg and ffserver" and then make.When compile ffmpeg, some error appears:

 

find ffmpeg-svn-11114 -type f -print0 | xargs -0 touch -r ffmpeg-svn-11114/configure

set -e ; \

    rm -rf build ; \

    mkdir build ; \

    cd build ; \

    SDL_CONFIG=/home/user/mnt/mnt_sdb1/blackfin_root/uClinux-dist-org/uClinux-dist/staging/usr/bin/sdl-config \

    ../ffmpeg-svn-11114/configure \

        --prefix=/usr \

        --source-path=$PWD/../ffmpeg-svn-11114 \

        --target-os=Linux \

        --cpu=bfin \

        --arch=bfin \

        --extra-ldflags=" -Wl,-elf2flt    -mcpu=bf561-0.3" \

        --enable-static \

        --enable-shared \

        --enable-gpl \

        --enable-pp \

        --disable-strip \

        --cross-prefix=bfin-uclinux-

bfin-uclinux-gcc is unable to create an executable file.

C compiler test failed.

If you think configure made a mistake, make sure you are using the latest

version from SVN.  If the latest version fails, report the problem to the

ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "config.err" produced by configure as this will help

solving the problem.

 

and config.err shows below:

 

# ../ffmpeg-svn-11114/configure --prefix=/usr --source-path=/home/user/mnt/mnt_sdb1/blackfin_root/uClinux-dist-org/uClinux-dist/lib/ffmpeg/build/../ffmpeg-svn-11114 --target-os=Linux --cpu=bfin --arch=bfin --extra-ldflags= -Wl,-elf2flt    -mcpu=bf561-0.3 --enable-static --enable-shared --enable-gpl --enable-pp --disable-strip --cross-prefix=bfin-uclinux-

AR='bfin-uclinux-ar'

ARCH='blackfin'

ARCH_CONFIG='/home/user/mnt/mnt_sdb1/blackfin_root/uClinux-dist-org/uClinux-dist/config.arch'

ARCH_EXT_LIST='

    altivec

    armv5te

    armv6

    iwmmxt

    mmi

    mmx

    ssse3

    vis

'

ARCH_LIST='

    alpha

    armv4l

    bfin

    ia64

    m68k

    mips

    parisc

    powerpc

    s390

    sh4

    sparc

    sparc64

    x86

    x86_32

    x86_64

'

AS='bfin-uclinux-as'

BSF_LIST='dump_extradata_bsf

h264_mp4toannexb_bsf

imx_dump_header_bsf

mjpega_dump_header_bsf

mp3_header_compress_bsf

mp3_header_decompress_bsf

noise_bsf

remove_extradata_bsf'

BUILD_START_STRING='四, 09  9月 2010 09:51:16 +0800'

CC='bfin-uclinux-gcc'

CC_FOR_BUILD='gcc'

CFLAGS='-pipe -Wall -g -O2      -mcpu=bf561-0.3'

CMDLINE_SELECT='

  

    altivec

    armv5te

    armv6

    iwmmxt

    mmi

    mmx

    ssse3

    vis

 

  

  

    bsfs

    decoders

    demuxers

    encoders

    muxers

    parsers

    protocols

 

    avisynth

    beos_netserver

    ffmpeg

    ffplay

    ffserver

    gpl

    gprof

    gray

    ipv6

    liba52

    liba52bin

    libamr

    libamr_nb

    libamr_wb

    libdc1394

    libfaac

    libfaad

    libfaadbin

    libgsm

    libmp3lame

    libnut

    libtheora

    libvorbis

    libx264

    libxvid

    memalign_hack

    mpegaudio_hp

    network

    powerpc_perf

    pp

    small

    swscaler

    vhook

    x11grab

    zlib

 

  

    beosthreads

    pthreads

    w32threads

 

    debug

    extra_warnings

    optimizations

    shared

    static

'

COLORTERM='gnome-terminal'

COMPONENT_LIST='

    bsfs

    decoders

    demuxers

    encoders

    muxers

    parsers

    protocols

'

CONFIGURE_BUILD='i686-pc-linux-gnu'

CONFIGURE_HOST='bfin-uclinux'

CONFIGURE_OPTS='--host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install'

 

......

 

bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf561-0.3 -fomit-frame-pointer -mfdpic -c -o /tmp/ffmpeg-conf--24092-.o /tmp/ffmpeg-conf--24092-.c

/tmp/ffmpeg-conf--24092-.c:1: error: -mfdpic is not supported, please use a bfin-linux-uclibc target

C compiler test failed.

QuoteReplyEditDelete

 

 

2010-09-08 23:32:41     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Rui Guo (CHINA)

Message: 93273   

 

The second problem was resovled just now. I should config "app" build option but not "kernel" to support FDPIC format.

 

Please help to cut  first one, thanks.

QuoteReplyEditDelete

 

 

2010-09-08 23:56:11     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Aaron Wu (CHINA)

Message: 93275   

 

AD1836 is working fine on my side with 2009 release, have you done the test and what's your test result?

QuoteReplyEditDelete

 

 

2010-09-09 00:19:39     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Sonic Zhang (CHINA)

Message: 93277   

 

AD1836 on bf561-ezkit board is enabled only on SVN trunk. If you want to use the driver in former release, don't use the bf561-ezkit onboard ad1836.

QuoteReplyEditDelete

 

 

2010-09-09 01:45:00     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Rui Guo (CHINA)

Message: 93279   

 

AD1836 is working fine on my side with 2009 release, have you done the test and what's your test result?

 

---

 

Thanks.

 

I havnt't done any test yet because I want to resolve this "name" problem first.

QuoteReplyEditDelete

 

 

2010-09-09 01:55:57     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Rui Guo (CHINA)

Message: 93280   

 

AD1836 on bf561-ezkit board is enabled only on SVN trunk. If you want to use the driver in former release, don't use the bf561-ezkit onboard ad1836.

 

---

 

Thanks.

 

But...I don't understand you very well.

 

I work on 2009r1.1-rc1 now(I believe it must not be the "former release" you mentioned).

 

Can you just tell me the AD1836 driver in 2009r1.1-rc1 release "can" or "can not" be used to drive AD1836 chip on bf561-ezkit board without any modification.

QuoteReplyEditDelete

 

 

2010-09-09 02:33:41     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Aaron Wu (CHINA)

Message: 93283   

 

Pls use the SVN trunk, 2009r1.1-rc1 is one of the "former releases"

QuoteReplyEditDelete

 

 

2010-09-09 03:08:15     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Rui Guo (CHINA)

Message: 93284   

 

Pls use the SVN trunk, 2009r1.1-rc1 is one of the "former releases"

 

---

 

Hi, Wu

 

I browse the repository at  svn://sources.blackfin.uclinux.org/uclinux-dist/trunk, but I cannot find any linux kernel dictionary named like "linux-2.6.x",  can you tell me  where is the kernel tree placed?

 

Thanks a lot.

QuoteReplyEditDelete

 

 

2010-09-09 03:18:09     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Aaron Wu (CHINA)

Message: 93291   

 

Please follow the few lines at the top of this link to check out the code you want    blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn

QuoteReplyEditDelete

 

 

2010-09-09 12:36:06     Re: ad1836 driver and ffmpeg on bf561-ezkit in 2009r1.1-rc1

Mike Frysinger (UNITED STATES)

Message: 93304   

 

it's in the linux-kernel project, not uclinux-dist project

Attachments

    Outcomes