Dear TI contributors and engineers:
Recently I want to run the audio decode and audio encode example in omx .
I followed the userguide of omx and I got the following results:
root@dm816x-evm:/# modprobe syslink
root@dm816x-evm:/# firmware_loader 0 dm816x_c6xdsp.xe674 start
FIRMWARE: I2cInit will be done by M3
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
===Mandatory arguments===
<Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3
<Location of Firmware> firmware binary file
<start|stop> to start/stop the firmware
===Optional arguments===
-mmap input memory map bin file name
-i2c 0: i2c init not done by M3, 1(default): i2c init done by M3
FIRMWARE: isI2cInitRequiredOnM3: 1
FIRMWARE: Default memory configuration is used
Firmware Loader debugging not configured
Default FL_DEBUG: warning
Allowed FL_DEBUG levels: error, warning, info, debug, log
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
FIRMWARE: Ipc_CONTROLCMD_STARTCALLBACK Error: ProcMgr status 0xffffffff
FIRMWARE: Could not sta------------[ cut here ]------------
rt: -1
WARNING: at drivers/dsp/syslink/omap_notify/notify.c:769 notify_send_event+0xc0/0x26c()
Modules linked in: bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxfb vpss syslink ipv6
Backtrace:
[<c004abb8>] (dump_backtrace+0x0/0x110) from [<c039d8f4>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c02dbf80 r5:c04a7ab6 r4:00000301 [<c039d8dc>] (dump_stack+0x0/0x1c) from [<c006fbfc>] (warn_slowpath_common+0x54/0x6c)
[<c006fba8>] (warn_slowpath_common+0x0/0x6c) from [<c006fc38>] (warn_slowpath_null+0x24/0x2c)
r9:c6d50a00 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00000000 [<c006fc14>] (warn_slowpath_null+0x0/0x2c) from [<c02dbf80>] (notify_send_event+0xc0/0x26c)
[<c02dbec0>] (notify_send_event+0x0/0x26c) from [<bf084db4>] (Notify_sendEvent+0x64/0x94 [syslink])
[<bf084d50>] (Notify_sendEvent+0x0/0x94 [syslink]) from [<bf0d0f18>] (IpcDrv_drvclose+0xf0/0x274 [syslink])
[<bf0d0e28>] (IpcDrv_drvclose+0x0/0x274 [syslink]) from [<c00c985c>] (fput+0xb0/0x16c)
r8:c72b39c8 r7:00000014 r6:c6bb0e28 r5:c5f7f200 r4:c5f7f200 [<c00c97ac>] (fput+0x0/0x16c) from [<c00c6af4>] (filp_close+0x6c/0x78)
[<c00c6a88>] (filp_close+0x0/0x78) from [<c0071a48>] (put_files_struct+0x88/0xdc)
r7:00000014 r6:00000000 r5:0000ffff r4:c72b39c0 [<c00719c0>] (put_files_struct+0x0/0xdc) from [<c0071ac4>] (exit_files+0x28/0x2c)
r9:c5047fb0 r8:c680b440 r7:c5047f60 r6:c682c000 r5:c5047ee0 r4:0000ff00 [<c0071a9c>] (exit_files+0x0/0x2c) from [<c0072fc8>] (do_exit+0x1e0/0x5e4)
[<c0072de8>] (do_exit+0x0/0x5e4) from [<c0073450>] (do_group_exit+0x84/0xb4)
[<c00733cc>] (do_group_exit+0x0/0xb4) from [<c007e46c>] (get_signal_to_deliver+0x2bc/0x2ec)
r5:c5047ee0 r4:00000009 [<c007e1b0>] (get_signal_to_deliver+0x0/0x2ec) from [<c0049a3c>] (do_notify_resume+0x64/0x63c)
[<c00499d8>] (do_notify_resume+0x0/0x63c) from [<c0046e58>] (work_pending+0x24/0x28)
---[ end trace 7d5f47407f19cff2 ]---
notify_send_event failed! status = 0xffffffef
notify_shm_drv_sendevent failed! status = 0xfffffff2
notify_send_event failed! status = 0xfffffff2
In the beginning I ingored the results and continue to run the audio examples.
And I found that mp3 decode example runs normally but the aac encode example can't run normally.
And here is my boot args:
bootargs=console=ttyO2,115200n8 root=/dev/nfs nfsroot=192.168.1.254:/home/hv/targetfs mem=169M rw earlyprintk notifyk.vpssm3_sva=0xBF900000 ip=dhcp rootdelay=2
regards~~