Issue with Linux 2.6.30 and LPM (and no APM)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I had a working build process for 2.6.29 using OpenEmbedded/bitbake and ti-gstreamer that would allow me to run the TI CodecEngine using ti-gstreamer.

I recently moved to 2.6.30 to incorporate a camera driver that support V4L2 as the next step in building up a system that supports video encoding from that camera.

However, I have run into some difficulties with this new build and I am hoping that someone might recognize the source of my error.

Below is the output from my attempt to run a simple gst-launch sequence, but the essence of the error appears to be from:
> 019490] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...
> @2,013,793us: [+2 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power...
> @2,013,915us: [+7 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power FAILED


During the boot process, the kernel reports that APM is not built into the system.  Is APM needed for LPM to work?  

Any suggestions on how to tackle figuring out what is not right about this configuration?

Thanks,

Charlie



> root at overo:~# CE_DEBUG=1 gst-launch --gst-debug=1 -v videotestsrc pattern=1 num-
> buffers=60 ! TIVidenc1 codecName=h264 engineName=codecServer ! filesink location
> =first.264
> @0,563,171us: [+6 T:0x40020310] CE - Engine_init> CE debugging on (CE_DEBUG=1; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
> Setting pipeline to PAUSED ...
> /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
> Pipeline is PREROLLING ...
> /GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
> @0,680,572us: [+7 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power FAILED
> @0,680,663us: [+6 T:0x41019490] OP - Processor_create_d> Power_on failed.
> @0,680,755us: [+6 T:0x42068490] CE - rserverOpen: can't start '/usr/share/ti/codec-combo/cs.x64P'; Processor_create failed
> ERROR: from element /GstPipeline:pipeline0/GstTIVidenc1:tividenc10: failed to open codec engine "codecServer"
> 
> Additional debug info:
> gsttividenc1.c(1446): gst_tividenc1_codec_start (): /GstPipeline:pipeline0/GstTIVidenc1:tividenc10
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> gst-launch-0.10: BufTab.c:440: BufTab_getNumBufs: Assertion `hBufTab' failed.
> Aborted
> root at overo:~# CE_DEBUG=2 gst-launch --gst-debug=1 -v videotestsrc pattern=1 num-
> buffers=60 ! TIVidenc1 codecName=h264 engineName=codecServer ! filesink location
> =first.264 
> @0,886,199us: [+4 T:0x40020310] OG - Global_init> This program was built with the following packages:
> @0,886,443us: [+4 T:0x40020310] OG -     package gnu.targets.arm.rtsv5T (/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/packages/gnu/targets/arm/rtsv5T/) [1, 0, 0, 0]
<snip>
> @0,886,657us: [+4 T:0x40020310] OG -     package ti.sdo.codecs.h264dec (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codecs/packages/ti/sdo/codecs/h264dec/) [1, 0, 0]
> @0,886,718us: [+4 T:0x40020310] OG -     package ti.sdo.codecs.h264enc (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codecs/packages/ti/sdo/codecs/h264enc/) [1, 0, 0]
> <snip>
> @0,886,993us: [+4 T:0x40020310] OG -     package ti.sdo.linuxutils.sdma (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-linuxutils/packages/ti/sdo/linuxutils/sdma/) [1, 0, 0]
> @0,887,023us: [+4 T:0x40020310] OG -     package ti.sdo.linuxutils.cmem (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-linuxutils/packages/ti/sdo/linuxutils/cmem/) [2, 2, 0]
> @0,887,084us: [+4 T:0x40020310] OG -     package ti.sdo.fc.global (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/global/) [1, 0, 0]
> @0,887,115us: [+4 T:0x40020310] OG -     package ti.sdo.fc.scpy (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/scpy/) [1, 0, 0]
> @0,887,176us: [+4 T:0x40020310] OG -     package ti.sdo.ce.global (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codec-engine/packages/ti/sdo/ce/global/) [1, 0, 0]
> @0,887,237us: [+4 T:0x40020310] OG -     package ti.xdais.dm (/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdais/packages/ti/xdais/dm/) [1, 0, 5]
> @0,887,267us: [+4 T:0x40020310] OG -     package ti.sdo.utils.trace (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/utils/trace/) [1, 0, 0]
> @0,887,328us: [+4 T:0x40020310] OG -     package ti.sdo.ce.utils.xdm (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codec-engine/packages/ti/sdo/ce/utils/xdm/) [1, 0, 2]
> @0,887,359us: [+4 T:0x40020310] OG -     package dsplink.gpp (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-dsplink-module/packages/dsplink/gpp/) [5, 0, 0]
> @0,887,420us: [+4 T:0x40020310] OG -     package ti.bios.power (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codec-engine/cetools/packages/ti/bios/power/) [1, 1, 1]
> @0,887,481us: [+4 T:0x40020310] OG -     package ti.xdais (/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdais/packages/ti/xdais/) [1, 2.0, 1]
> @1,222,564us: [+4 T:0x40020310] OG -     package ti.sdo.ce.node (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-codec-engine/packages/ti/sdo/ce/node/) [1, 0, 0]
> @1,222,625us: [+4 T:0x40020310] OG -     package ti.sdo.fc.memutils (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/memutils/) [1, 0, 0]
> @1,222,686us: [+4 T:0x40020310] OG -     package ti.sdo.fc.utils (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/utils/) [1, 0, 2]
> @1,222,717us: [+4 T:0x40020310] OG -     package ti.sdo.fc.dman3 (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/dman3/) [1, 0, 4]
> @1,222,778us: [+4 T:0x40020310] OG -     package ti.sdo.fc.acpy3 (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-framework-components/packages/ti/sdo/fc/acpy3/) [1, 0, 4]
> <snip>
> @1,559,326us: [+4 T:0x40020310] OG -     package ti.sdo.dmai (/home/charlie/pixhawk-oe-tmp/staging/overo-angstrom-linux-gnueabi/ti-dmai/packages/ti/sdo/dmai/) [1, 0, 0]
> @1,559,387us: [+4 T:0x40020310] OG -     package gstticodecplugin_omap3530 (/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/gstreamer-ti-svnr459-r37/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omap3530/) []
> @1,559,631us: [+0 T:0x40020310] ti.sdo.ce.osal.Sem - Sem_create> count: 0
> @1,559,692us: [+0 T:0x40020310] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0xd5288]
> @1,559,722us: [+0 T:0x40020310] ti.sdo.ce.osal.Sem - Sem_create> count: 0
> @1,559,783us: [+0 T:0x40020310] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0xd52a0]
> @1,559,814us: [+0 T:0x40020310] OT - Thread_create> Enter (fxn=0x4065aff0, attrs=0x0)
> @1,894,927us: [+1 T:0x41019490] OP - daemon> thread created.
> @1,894,988us: [+0 T:0x41019490] OP - getCmd_d> Enter (proc=0x41018dd8)
> @1,895,049us: [+0 T:0x41019490] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0xd5288] timeout[0xffffffff]
> @1,895,110us: [+0 T:0x40020310] OT - Thread_create> Exit (task=0xd52d8)
> @1,895,233us: [+0 T:0x40020310] ti.sdo.ce.alg - ALG_init> Enter
> @1,895,294us: [+0 T:0x40020310] ti.sdo.ce.alg - ALG_init> Exit
> @1,895,385us: [+6 T:0x40020310] CE - Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
> @1,895,446us: [+0 T:0x40020310] CS - Server_init()
> @1,895,507us: [+0 T:0x40020310] CS - Server_init> Global_useLinkArbiter = 0
> Setting pipeline to PAUSED ...
> /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
> Pipeline is PREROLLING ...
> /GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
> @2,012,969us: [+0 T:0x42068490] CE - Engine_open> Enter('codecServer', 0x0, 0x42067c8c)
> @2,013,091us: [+0 T:0x42068490] CE - rserverOpen('/usr/share/ti/codec-combo/cs.x64P'), count = 0
> @2,013,122us: [+0 T:0x42068490] OP - Processor_create> Enter(imageName='/usr/share/ti/codec-combo/cs.x64P', linkCfg='(null)', attrs=0x42067c70)
> @2,013,244us: [+0 T:0x42068490] OP - doCmd> Enter (cmdId=1, proc=0x17698)
> @2,013,305us: [+0 T:0x42068490] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0xd5288]
> @2,013,366us: [+0 T:0x42068490] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0xd5288]
> @2,013,427us: [+0 T:0x42068490] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0xd52a0] timeout[0xffffffff]
> @2,013,488us: [+0 T:0x41019490] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0xd5288] status[0]
> @2,013,549us: [+0 T:0x41019490] OP - getCmd_d> Exit (result=1)
> @2,013,580us: [+0 T:0x41019490] OP - Processor_create_d> Enter(proc=0x17698)
> @2,013,641us: [+0 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x176b4)
> @2,013,671us: [+2 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...
> @2,013,793us: [+2 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power...
> @2,013,915us: [+7 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power FAILED
> @2,013,976us: [+2 T:0x41019490] ti.sdo.ce.ipc.Power - Power_on> return (1)
> @2,014,037us: [+6 T:0x41019490] OP - Processor_create_d> Power_on failed.
> @2,014,068us: [+2 T:0x41019490] OP - Processor_create_d> return (0)
> @2,014,129us: [+0 T:0x41019490] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0xd52a0]
> @2,014,190us: [+0 T:0x42068490] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0xd52a0] status[0]
> @2,014,221us: [+0 T:0x42068490] OP - doCmd> Exit (result=2)
> @2,014,282us: [+0 T:0x42068490] OP - Processor_delete> Enter(proc=0x17698)
> @2,014,312us: [+1 T:0x42068490] OP - Processor_delete(0x17698) freeing object ...
> @2,014,373us: [+0 T:0x42068490] OP - Processor_delete> return.
> @2,014,404us: [+6 T:0x42068490] CE - rserverOpen: can't start '/usr/share/ti/codec-combo/cs.x64P'; Processor_create failed
> @2,014,465us: [+0 T:0x42068490] CE - rserverOpen('/usr/share/ti/codec-combo/cs.x64P'): 0x0 done.
> @2,014,495us: [+0 T:0x42068490] CE - Engine_close(0x38b00)
> @2,014,556us: [+0 T:0x42068490] CS - Server_disconnectTrace('0x38b00', 0x0)
> @2,014,587us: [+0 T:0x42068490] CS - Server_connectTrace> return(0)
> @2,014,648us: [+0 T:0x42068490] CE - Engine_open> return(0)
> ERROR: from element /GstPipeline:pipeline0/GstTIVidenc1:tividenc10: failed to open codec engine "codecServer"
> 
> Additional debug info:
> gsttividenc1.c(1446): gst_tividenc1_codec_start (): /GstPipeline:pipeline0/GstTIVidenc1:tividenc10
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> @2,016,937us: [+0 T:0x41019490] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0xd52a0]
> @2,017,028us: [+0 T:0x41019490] OP - getCmd_d> Enter (proc=0x41018dd8)
> @2,017,059us: [+0 T:0x41019490] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0xd5288] timeout[0xffffffff]
> gst-launch-0.10: BufTab.c:440: BufTab_getNumBufs: Assertion `hBufTab' failed.
> Aborted
> root at overo:~# 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20100307/7f5de503/attachment.htm>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux