This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

autoload C6Accel-app @ boottime

Other Parts Discussed in Thread: OMAP3530

Hy 

I try to autostart my C6Accel application on a Angstom Linux at boottime which i do by importing a script file into the folder /etc/init.d which contains
#! /bin/sh

/path/to/files/load-app.sh 


In the folder rc5.d i created a link to this file which is named S99kli-boot
The file load-app.sh contains:
#! /bin/sh
#

PATH=$PATH:/path/to/files/
export PATH

/path/to/files/loadmodules_omap3530_c6accel.sh

export CE_DEBUG=3

nohup /path/to/files/c6accel_app | tee /path/to/files/log.txt &
sleep 1


With this scripts i get, after i reboot the system, the logfile which shows that the there is an ERROR in accessing the c6accel_omap3530.x64P file which is situated in the folder /path/to/files/
I am out of ideas how to get this to run and it would be really nice if one could help me.
The complete logfile with CE_DEBUG=3:
@0,878,448us: [+4 T:0x4001f390 S:0xbe9e6bac] OG - Global_init> This program was built with the following packages:
@0,881,439us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package gnu.targets.arm.rtsv5T (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/arm/rtsv5T/) [1, 0, 0, 0]
@0,881,683us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.c6accel (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/ti-c6accel-1_01_00_03-r100c/c6accel_1_01_00_03/soc/packages/ti/c6accel/) [1, 0, 0]
@0,881,805us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.linuxutils.sdma (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/sdma/) [1, 0, 0]
@0,881,927us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.linuxutils.cmem (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/) [2, 2, 0]
@0,881,988us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.global (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/global/) [1, 0, 0]
@0,882,080us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.scpy (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/scpy/) [1, 0, 0]
@0,882,354us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.global (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/global/) [1, 0, 0]
@0,882,476us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package dsplink.gpp (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree/dsplink/gpp/) [5, 0, 0]
@0,882,568us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.bios.power (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-local-power-manager-tree/packages/ti/bios/power/) [1, 1, 1]
@0,884,521us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.xdais.dm (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages/ti/xdais/dm/) [1, 0, 5]
@0,886,779us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.xdais (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages/ti/xdais/) [1, 2.0, 1]
@0,886,993us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.node (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/node/) [1, 0, 0]
@0,887,329us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.utils.trace (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/utils/trace/) [1, 0, 0]
@0,887,451us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.utils.xdm (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/utils/xdm/) [1, 0, 2]
@0,887,542us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.memutils (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/memutils/) [1, 0, 0]
@0,887,634us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.utils (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/) [1, 0, 2]
@0,887,817us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.dman3 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/dman3/) [1, 0, 4]
@0,888,427us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.fc.acpy3 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/acpy3/) [1, 0, 4]
@0,888,458us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package gnu.targets (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/) [1, 0, 1]
@0,888,488us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package gnu.targets.arm (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/arm/) [1, 0, 0, 0]
@0,888,519us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog.arm.cortexa8 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/arm/cortexa8/) [1, 0, 0]
@0,888,519us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog.peripherals.hdvicp2 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/peripherals/hdvicp2/) []
@0,888,549us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/) [1, 0, 0]
@0,888,580us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog.c6000 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/c6000/) [1, 0, 0, 0]
@0,888,580us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog.arm.peripherals.timers (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/arm/peripherals/timers/) []
@0,888,610us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.catalog.arm (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/catalog/arm/) [1, 0, 1]
@0,888,641us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.platforms.evm3530 (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/ti/platforms/evm3530/) [1, 0, 0]
@0,888,641us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.osal (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/osal/) [2, 0, 2]
@0,888,671us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.ipc (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/ipc/) [2, 0, 1]
@0,888,671us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.osal.linux (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/osal/linux/) [2, 0, 1]
@0,888,732us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.ipc.dsplink (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/ipc/dsplink/) [2, 0, 1]
@0,888,763us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.alg (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/alg/) [1, 0, 1]
@0,888,763us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/) [1, 0, 6]
@0,888,793us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.sdo.ce.universal (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/universal/) [1, 0, 0]
@0,888,824us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package ti.c6accel.ce (/home/kli/OE/setup-scripts/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/ti-c6accel-1_01_00_03-r100c/c6accel_1_01_00_03/soc/packages/ti/c6accel/ce/) [1, 0, 0]
@0,888,854us: [+4 T:0x4001f390 S:0xbe9e6bac] OG -     package c6accel_app_kli_config (/home/kli/TI/EQ-/BsC-EQ+C6Accel/c6accel_app_kli_config/) []
@0,888,885us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x30850)
@0,888,916us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x2fc9c)
@0,888,946us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> Enter(0x18)
@0,889,007us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> return (0x5d0f0)
@0,889,160us: [+0 T:0x4001f390 S:0xbe9e6ba4] OG - Global_atexit> enter (fxn=0x2db24)
@0,892,974us: [+0 T:0x4001f390 S:0xbe9e6b7c] OM - Memory_alloc> Enter(0x18)
@0,893,005us: [+0 T:0x4001f390 S:0xbe9e6b7c] OM - Memory_alloc> return (0x5d140)
@0,893,035us: [+0 T:0x4001f390 S:0xbe9e6b9c] OG - Global_atexit> enter (fxn=0x2c950)
@0,893,096us: [+0 T:0x4001f390 S:0xbe9e6ba4] OG - Global_atexit> enter (fxn=0x2f300)
@0,893,157us: [+0 T:0x4001f390 S:0xbe9e6b9c] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,893,157us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> Enter(0x14)
@0,893,188us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> return (0x5d1c0)
@0,893,218us: [+0 T:0x4001f390 S:0xbe9e6b9c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x5d1c0]
@0,893,218us: [+0 T:0x4001f390 S:0xbe9e6b9c] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,893,249us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> Enter(0x14)
@0,893,280us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> return (0x5d1d8)
@0,893,280us: [+0 T:0x4001f390 S:0xbe9e6b9c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x5d1d8]
@0,893,310us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> Enter(0x18)
@0,893,310us: [+0 T:0x4001f390 S:0xbe9e6b84] OM - Memory_alloc> return (0x5d1f0)
@0,893,341us: [+0 T:0x4001f390 S:0xbe9e6b7c] OT - Thread_create> Enter (fxn=0x2ab94, attrs=0x0)
@0,893,371us: [+0 T:0x4001f390 S:0xbe9e6b64] OM - Memory_alloc> Enter(0x64)
@0,893,371us: [+0 T:0x4001f390 S:0xbe9e6b64] OM - Memory_alloc> return (0x5d210)
@0,893,676us: [+0 T:0x4001f390 S:0xbe9e6b7c] OT - Thread_create> Exit (task=0x5d210)
@0,893,737us: [+0 T:0x4001f390 S:0xbe9e6ba4] OG - Global_atexit> enter (fxn=0x2c054)
@0,893,768us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x2a5ac)
@0,893,798us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x2ce9c)
@0,893,859us: [+0 T:0x4001f390 S:0xbe9e6b9c] ti.sdo.ce.alg - ALG_init> Enter
@0,893,890us: [+0 T:0x4001f390 S:0xbe9e6bbc] ti.sdo.ce.alg - ALG_init> Exit
@0,893,890us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x26c30)
@0,893,920us: [+0 T:0x4001f390 S:0xbe9e6b8c] OM - Memory_alloc> Enter(0x18)
@0,893,951us: [+0 T:0x4001f390 S:0xbe9e6b8c] OM - Memory_alloc> return (0x5d418)
@0,893,951us: [+0 T:0x4001f390 S:0xbe9e6bb4] OG - Global_atexit> enter (fxn=0x2f7f0)
@0,894,226us: [+6 T:0x4001f390 S:0xbe9e6ba4] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
@0,894,256us: [+0 T:0x4001f390 S:0xbe9e6b94] OG - Global_atexit> enter (fxn=0x23128)
@0,894,287us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> Enter(0x18)
@0,894,317us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> return (0x5d458)
@0,894,317us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> Enter(0x18)
@0,894,348us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> return (0x5d478)
@0,894,378us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> Enter(0x18)
@0,894,378us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_alloc> return (0x5d498)
@0,894,409us: [+0 T:0x4001f390 S:0xbe9e6bc4] CS - Server_init()
@0,894,439us: [+0 T:0x4001f390 S:0xbe9e6bc4] CS - Server_init> Global_useLinkArbiter = 0
@0,894,470us: [+0 T:0x4001f390 S:0xbe9e6bc4] OG - Global_atexit> enter (fxn=0x20998)
@0,894,470us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> Enter(0xd)
@0,894,500us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> Enter(size=13, align=-1, cached=TRUE, heap=TRUE)
@0,894,592us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_alloc(13) = 0x40021000.
@0,894,653us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_getPhys(0x40021000) = 0x86300000.
@0,894,653us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> Enter(virtAddr=0x40021000, size=13, physAddr=0x86300000)
@0,894,683us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> creating new contigBuf object
@0,894,714us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> Enter(0x10)
@0,894,714us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> return (0x5d4e8)
@0,894,744us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> returning: cb->phys=0x86300000, cb->size=13, cb->virt=0x40021000
@0,894,775us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> return (0x40021000)
@0,894,775us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> return (0x40021000)
@0,894,805us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> Enter(0x60)
@0,894,836us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> Enter(size=96, align=-1, cached=TRUE, heap=TRUE)
@0,894,866us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_alloc(96) = 0x40022000.
@0,894,897us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_getPhys(0x40022000) = 0x86301000.
@0,894,927us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> Enter(virtAddr=0x40022000, size=96, physAddr=0x86301000)
@0,894,927us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> creating new contigBuf object
@0,894,958us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> Enter(0x10)
@0,894,989us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> return (0x5d500)
@0,894,989us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> returning: cb->phys=0x86301000, cb->size=96, cb->virt=0x40022000
@0,895,019us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> return (0x40022000)
@0,895,050us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> return (0x40022000)
@0,895,050us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> Enter(0xc0)
@0,895,080us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> Enter(size=192, align=-1, cached=TRUE, heap=TRUE)
@0,895,141us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_alloc(192) = 0x40023000.
@0,895,172us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_getPhys(0x40023000) = 0x86302000.
@0,895,172us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> Enter(virtAddr=0x40023000, size=192, physAddr=0x86302000)
@0,895,202us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> creating new contigBuf object
@0,895,202us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> Enter(0x10)
@0,895,233us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> return (0x5d518)
@0,895,263us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> returning: cb->phys=0x86302000, cb->size=192, cb->virt=0x40023000
@0,895,263us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> return (0x40023000)
@0,895,294us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> return (0x40023000)
@0,895,324us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> Enter(0xf0)
@0,895,324us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> Enter(size=240, align=-1, cached=TRUE, heap=TRUE)
@0,895,385us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_alloc(240) = 0x40aef000.
@0,895,385us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_getPhys(0x40aef000) = 0x86303000.
@0,895,416us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> Enter(virtAddr=0x40aef000, size=240, physAddr=0x86303000)
@0,895,446us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> creating new contigBuf object
@0,895,446us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> Enter(0x10)
@0,895,477us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> return (0x5d530)
@0,895,507us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> returning: cb->phys=0x86303000, cb->size=240, cb->virt=0x40aef000
@0,895,507us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> return (0x40aef000)
@0,895,538us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> return (0x40aef000)
@0,895,568us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> Enter(0x190)
@0,895,568us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> Enter(size=400, align=-1, cached=TRUE, heap=TRUE)
@0,895,629us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_alloc(400) = 0x40af0000.
@0,895,660us: [+4 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> CMEM_getPhys(0x40af0000) = 0x86304000.
@0,895,690us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> Enter(virtAddr=0x40af0000, size=400, physAddr=0x86304000)
@0,895,721us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> creating new contigBuf object
@0,895,721us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> Enter(0x10)
@0,895,751us: [+0 T:0x4001f390 S:0xbe9e6b14] OM - Memory_alloc> return (0x5d548)
@0,895,751us: [+1 T:0x4001f390 S:0xbe9e6b2c] OM - Memory__addContigBuf> returning: cb->phys=0x86304000, cb->size=400, cb->virt=0x40af0000
@0,895,782us: [+0 T:0x4001f390 S:0xbe9e6b74] OM - Memory_contigAlloc> return (0x40af0000)
@0,895,812us: [+0 T:0x4001f390 S:0xbe9e6bbc] OM - Memory_alloc> return (0x40af0000)
@0,904,907us: [+1 T:0x40aee490 S:0x40aedd64] OP - daemon> thread created.
@0,904,998us: [+0 T:0x40aee490 S:0x40aedd64] OP - getCmd_d> Enter (proc=0x40aeddd8)
@0,905,029us: [+0 T:0x40aee490 S:0x40aedd44] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x5d1c0] timeout[0xffffffff]
spi mode: 0
bits per word: 8
max speed: 1000000 Hz (1000 KHz)
@0,917,999us: [+0 T:0x412f0490 S:0x412efd6c] OG - Global_atexit> enter (fxn=0x2f7f0)
spi mode: 0
bits per word: 8
max speed: 1000000 Hz (1000 KHz)
@0,918,395us: [+0 T:0x422f0490 S:0x422efdbc] OG - Global_atexit> enter (fxn=0x2f7f0)
@0,918,487us: [+0 T:0x422f0490 S:0x422efd7c] CE - Engine_open> Enter('omap3530', 0x0, 0x422efdec)
@0,918,518us: [+0 T:0x422f0490 S:0x422efd64] OM - Memory_alloc> Enter(0x34)
@0,918,518us: [+0 T:0x422f0490 S:0x422efd64] OM - Memory_alloc> return (0x5d7c0)
@0,918,548us: [+0 T:0x422f0490 S:0x422efd7c] CE - rserverOpen('c6accel_omap3530.x64P'), count = 0
@0,918,579us: [+0 T:0x422f0490 S:0x422efd44] OP - Processor_create> Enter(imageName='c6accel_omap3530.x64P', linkCfg='(null)', attrs=0x422efdd0)
@0,918,731us: [+7 T:0x422f0490 S:0x422efd44] OP - Processor_create> ERROR: cannot access file c6accel_omap3530.x64P
@0,918,762us: [+6 T:0x422f0490 S:0x422efd7c] CE - rserverOpen: can't start 'c6accel_omap3530.x64P'; Processor_create failed
@0,918,762us: [+0 T:0x422f0490 S:0x422efd7c] CE - rserverOpen('c6accel_omap3530.x64P'): 0x0 done.
@0,918,792us: [+0 T:0x422f0490 S:0x422efd5c] CE - Engine_close(0x5d7c0)
@0,918,823us: [+0 T:0x422f0490 S:0x422efd3c] CS - Server_disconnectTrace('0x5d7c0', 0x0)
@0,918,853us: [+0 T:0x422f0490 S:0x422efd3c] CS - Server_disconnectTrace> return(0)
@0,918,884us: [+0 T:0x422f0490 S:0x422efd3c] OM - Memory_free> Enter(0x5d7c0, 0x34)
@0,918,914us: [+0 T:0x422f0490 S:0x422efd3c] OM - Memory_free> return (0x1)
@0,918,945us: [+0 T:0x422f0490 S:0x422efd7c] CE - Engine_close exit
  • I am able to run the scriptfile manually when i delete the line "export CE_DEBUG=3", but the app is still not starting at boottime.

    PATH=$PATH:/path/to/files/
    export PATH

    /path/to/files/loadmodules_omap3530_c6accel.sh

    export CE_DEBUG=3

    nohup /path/to/files/c6accel_app | tee /path/to/files/log.txt &
    sleep 1


    Is there a way to debug in a different way?

    Thanks

  • wendelin klimann said:
    #! /bin/sh
    #

    PATH=$PATH:/path/to/files/
    export PATH

    /path/to/files/loadmodules_omap3530_c6accel.sh

    export CE_DEBUG=3

    nohup /path/to/files/c6accel_app | tee /path/to/files/log.txt &
    sleep 1

    Wendelin,

    The codec server name being passed to Codec Engine is probably just the unadorned name (i.e., no path) "c6accel_omap3530.x64P".  For this name to be found, one would need to run the application from the directory in which c6accel_omap3530.x64P exists.  The file quoted above runs c6accel_app with a full path specification, so the "cwd()" (current working dir) is probably not the dir with the server executable.  Can you change the above script to "cd" before running:
        cd /path/to/files
        nohup ./c6accel_app | tee log.txt &

    Regards,

    - Rob

     

  • Thanks for the fast answer


    Regards 
    Wendelin
  • wendelin klimann said:

    Thanks for the fast answer


    Regards 
    Wendelin

    You're welcome.

    But I'm a bit confused at this point.  I received your latest post via email and that email copy had some text from you saying that you tried my suggestion but still had the problem.  When I clicked the link to get to the post on the Forum web site I saw just the content I quote above, which led me to wonder if you had since found the solution and edited the post to remove the problem report.

    Can you let me know where you stand currently?  I'll try to help if further help is needed.

    In the meantime, here's some casual reading for you containing a tip for locating or linking to your server executable: http://processors.wiki.ti.com/index.php/Codec_Engine_FAQ#Can_I_change_where_the_server_executable_is_located.3F

    Regards,

    - Rob

     

  • Hy 

    I am sorry, but i posted the first respond and discovered that i forgot to uncomment a line for this reason i changed the question to a simple thank you.

    Actually i can load the kernel-driver and the c6accel-app at boot-time with the script:

    -----------------------------------------------------------------------
    #! /bin/sh
    #

    cd /path/to/files/

    ./loadmodules_omap3530_c6accel.sh
    ./c6accel_app

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


    Thanks for the link it will be quiete useful in future 


    Best regard 

    Wendelin