Hi,
I tried to run saLoopBack example. But, when I try to stop load-hd-firmware.sh, I have this :
root@dm814x-evm:/usr/share/ti/ti-media-controller-utils# ./load-hd-firmware.sh s
top
Unloading HDVICP2 Firmware
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Could not open ProcMgr: ProcMgr status 0xfffffffe
Unloading HDVPSS Firmware
------------[ cut here ]------------
WARNING: at kernel/irq/manage.c:904 __free_irq+0x88/0x15c()
Trying to free already-free IRQ 38
Modules linked in: ti81xxhdmi(-) ti81xxvin ti81xxvo tvp7002 ti81xxfb vpss syslink ipv6 [last unloaded: tlc59108]
Backtrace:
x6c) from [<c006f950>] (warn_slowpath_fmt+0x38/0x40)b74>] (dump_stack+0x18/0x1c)
r9:cc010000 r8:00000000 r7:00000026 r6:a0000013 r5:00000000
r4:c0543d7c
[<c006f918>] (warn_slowpath_fmt+0x0/0x40) from [<c009f564>] (__free_irq+0x88/0x15c)
r3:00000026 r2:c04b1f72
[<c009f4dc>] (__free_irq+0x0/0x15c) from [<c009f678>] (free_irq+0x40/0x60)
r9:cc010000 r8:c0046fa8 r7:00000880 r6:00000000 r5:00000026
r4:c0543d7c
[<c009f638>] (free_irq+0x0/0x60) from [<c0064278>] (hdmi_unregister_interrupt_cb+0xa8/0xcc)
r7:00000880 r6:bf435b9c r5:bf438a70 r4:c0571ea0
[<c00641d0>] (hdmi_unregister_interrupt_cb+0x0/0xcc) from [<bf436194>] (hdmi_disable_display+0x28/0x50 [ti81xxhdmi])
r7:00000880 r6:cc011f3c r5:bf4389a4 r4:bf438964
[<bf43616c>] (hdmi_disable_display+0x0/0x50 [ti81xxhdmi]) from [<bf436210>] (cleanup_module+0x1c/0x9c [ti81xxhdmi])
r5:bf438840 r4:00000000
[<bf4361f4>] (cleanup_module+0x0/0x9c [ti81xxhdmi]) from [<c009b9dc>] (sys_delete_module+0x1d0/0x23c)
r5:bf438840 r4:00000000
[<c009b80c>] (sys_delete_module+0x0/0x23c) from [<cERROR: Module vpss is in use by ti81xxvin,ti81xxvo
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Could not open ProcMgr: ProcMgr status 0xfffffrm: cannot remove '/tmp/firmware.2': No such file or directory
Removed syslink kernel module
I don't know what does it mean. And when I try to start load-hd-v4l2-firmware.sh I have this :
root@dm814x-evm:/usr/share/ti/ti-media-controller-utils# ./load-hd-v4l2-firmware
.sh start
Loading HDVICP2 Firmware
DM814X prcm_config_app version: 2.0.0.1
Doing PRCM settings...
PRCM for IVHD0 is in Progress, Please wait.....
BW Phy Addr : 0x48180600 Data : 0x00000102
AW Phy Addr : 0x48180600 Data : 0x00000102
Phy Addr : 0x48180c04 Data : 0x00000037
BW Phy Addr : 0x48180620 Data : 0x00000002
AW Phy Addr : 0x48180620 Data : 0x00000002
BW Phy Addr : 0x48180624 Data : 0x00000002
AW Phy Addr : 0x48180624 Data : 0x00000002
Phy Addr : 0x48180600 Data : 0x00000102
BW Phy Addr : 0x48180c10 Data : 0x00000000
AW Phy Addr : 0x48180c10 Data : 0x00000003
Phy Addr : 0x48180c14 Data : 0x00000007
BW Phy Addr : 0x58088000 Data : 0xeafffffe
AW Phy Addr : 0x58088000 Data : 0xeafffffe
BW Phy Addr : 0x58098000 Data : 0xeafffffe
Ax00000003
AW Phy Addr : 0x48180c10 Data : 0x00000000
Phy Addr : 0x48180c14 Data : 0x00000007
PRCM for IVHD0 is Done Successfully
PRCM Initialization completed
SysLink version : 2.20.02.20
SysLink module created on Date:Apr 21 2018 Time:08:53:28
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Could not open ProcMgr: ProcMgr status 0xfffffffe
Loading HDVPSS (V4L2) Firmware
FIRMWARE: Memory map bin file <-i2c> - not exists
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Could not open ProcMgr: ProcMgr status 0xfffffffe
Configuring fb0 to LCD
HDMI W1 rev 4.0
HDMI CEC Spec version 1.2
And then, when I run saLoopBack, I have this:
root@dm814x-evm:/usr/share/ti/ti-psp-examples# ./saLoopBack
Driver Name: ti81xxvin
Driver bus info: TI81xx Platform
Driver is capable of doing capture
VPSS_DCTRL: venc 1 already stop
saLoopBack:
Mode set is 0
Setting DV Preset failed
Is there a step I did not do before?
thanks in advence !