Other Parts Discussed in Thread: TVP5158
HI,
I got a problem with RDK when I run ./load.sh after ./init.sh. The dm8168 board is designed by myself, 8 DDR3, 128MB,totally 1GB memory.
bootargs:
setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=172.20.21.96:/home/XX/dvrrdk/DVRRDK_04.01.00.02/target/rfs_816x ip=172.20.21.97:172.20.21.96:172.20.21.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M'
here is the log:
----------------------------------------------------------------------------------------------------------
root@dm816x:~/ti816x# ./init.sh
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
*** Kernel Base address validated ***
Kernel bootargs validated
numid=101,iface=MIXER,name='Left DAC Mux'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'DAC_L1'
; Item #1 'DAC_L3'
; Item #2 'DAC_L2'
: values=2
numid=99,iface=MIXER,name='Right DAC Mux'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'DAC_R1'
; Item #1 'DAC_R3'
; Item #2 'DAC_R2'
: values=2
[c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
[m3video] Remote Debug Shared Memory @ 0xbf010820
[m3vpss ] Remote Debug Shared Memory @ 0xbf021040
SysLink version : 2.20.02.20
SysLink module created on Date:Mar 17 2014 Time:17:27:16
Trace enabled
Trace SetFailureReason enabled
Setting DMM priority for [DUCATI ] to [0] ( 0x4e000624 = 0x08000000 )
Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )
*** TVP5158 probe : START ***
TI VS EVM : TVP5158 device address : 0x58, 0x5a, 0x5c, 0x5e
TI DVR : TVP5158 device address : 0x5c, 0x5d, 0x5e, 0x5f
Device found : I2C (0xXX): 0x08 = 0x51
I2C (0xXX): 0x09 = 0x58
Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x58): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5a): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5c): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5d): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5e): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5f): Read ERROR !!! (reg[0x08], count = 2)
*** TVP5158 probe : END ***
root@dm816x:~/ti816x# ./load.sh
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss_1024M_256M.xem3 on slave procId 2.
Started slave procId 2.
After Ipc_loadcallback status [0x00000000]
[m3vpss ] ***** VPSS Firmware build time 20:06:21 Mar 17 2014 EDG gcc 3.0 mode
[m3vpss ] ***** SYSTEM : Frequency <ORG> - 250000000, <NEW> - 274909088
[m3vpss ] notify_attach rtnVal 0
[m3vpss ] initProxyServer rtnVal 0
[m3vpss ]
[m3vpss ] *** UTILS: CPU KHz = 549818 Khz ***
[m3vpss ]
[m3vpss ] 35: SYSTEM : System Common Init in progress !!!
[m3vpss ] 35: SYSTEM: IPC init in progress !!!
[m3vpss ] 35: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 37: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
After Ipc_startcallback status [0x00000000]
Attached to slave procId 1.
Loaded file ../firmware/dvr_rdk_fw_m3video_1024M_256M.xem3 on slave procId 1.
Started slave proDMA: Module install successful, device major num = 251
cId 1.
After IpDRV: Module install successful
c_loadcallback sDRV: Module built on Mar 17 2014 17:28:37
tatus [0x00000000]
[m3video] ***** VIDEO Firmware build time 20:09:47 Mar 17 2014 EDG gcc 3.0 mode
[m3video] ***** SYSTEM : Frequency <ORG> - 250000000, <NEW> - 274909088
[m3video]
[m3video] *** UTILS: CPU KHz = 549818 Khz ***
[m3video]
[m3video] 538: SYSTEM : System Common Init in progress !!!
[m3video] 538: SYSTEM: IPC init in progress !!!
[m3video] 538: SYSTEM: Attaching to [HOST] ...
[m3video] 541: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
After Ipc_startcallback status [0x00000000]
Attached to slave procId 0.
[c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
[m3video] Remote Debug Shared Memory @ 0xbf010820
[m3vpss ] Remote Debug Shared Memory @ 0xbf021040
Loaded file ../firmware/dvr_rdk_fw_c6xdsp_1024M_256M.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
[c6xdsp ] ***** VIDEO Firmware build time 20:01:47 Mar 17 2014 EDG gcc 3.0 mode
[c6xdsp ] ***** SYSTEM : Frequency <ORG> - 800000000, <NEW> - 1000000000
[c6xdsp ]
[c6xdsp ] *** UTILS: CPU KHz = 1000000 Khz ***
[c6xdsp ]
[c6xdsp ] 5: SYSTEM : System Common Init in progress !!!
[c6xdsp ] 5: SYSTEM: IPC init in progress !!!
[c6xdsp ] 5: SYSTEM: Attaching to [HOST] ...
[c6xdsp ] 9: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
After Ipc_startcallback status [0x00000000]
[c6xdsp ] 10: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 737: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3vpss ] 738: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[c6xdsp ] 12: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3video] 741: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 741: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[c6xdsp ] 12: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
[m3video] 741: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...
[m3vpss ] 741: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
[c6xdsp ] 12: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
[m3video] 741: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[m3vpss ] 741: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[c6xdsp ] 12: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
[m3video] 741: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[m3vpss ] 741: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[c6xdsp ] 13: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[m3video] 743: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[m3vpss ] 743: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
[m3video] 743: SYSTEM: Notify register to [DSP] line 0, event 15 ...
[m3vpss ] 743: SYSTEM: Notify register to [DSP] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
[m3video] 743: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
[m3vpss ] 743: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: IPC init DONE !!!
[m3video] 743: SYSTEM: IPC init DONE !!!
[m3vpss ] 743: SYSTEM: IPC init DONE !!!
[c6xdsp ] 15: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (265 MB)
[c6xdsp ] 15: MEM: ERROR: SharedRegion_setEntry (2, 0x9ffba17c) FAILED !!! (status=-1)
[m3video] 749: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (265 MB)
[m3vpss ] 749: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (265 MB)
[m3video] 749: MEM: Shared Region 1: Base = 0x90000000, Length = 0x0c900000 (201 MB)
[m3vpss ] 749: MEM: Shared Region 1: Base = 0x90000000, Length = 0x0c900000 (201 MB)
[m3video] 751: SYSTEM : System Common Init Done !!!
[m3vpss ] 751: SYSTEM : System Common Init Done !!!
[m3video] 751: SYSTEM : System Video Init in progress !!!
[m3vpss ] 751: SYSTEM : System VPSS Init in progress !!!
[m3video] 751: SYSTEM : System Video Init Done !!!
[m3video] 752: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
[m3video] 752: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
[m3video] 752: SYSTEM: ListElem SharUnable to handle kernel paging request at virtual address 80808090
ed Addr = 0xbf27pgd = cc0d8000
3e00
[m3video][80808090] *pgd=00000000 754: SYSTEM: C
reating ListMP [Internal error: Oops: 5 [#1]
last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_HeapMemMP/uevent
Modules linked in: osa_kermod syslink
CPU: 0 Tainted: G W (2.6.37 #10)
PC is at radix_tree_lookup_element+0x70/0xac
LR is at radix_tree_lookup_slot+0x14/0x18
pc : [<c01cb2e4>] lr : [<c01cb334>] psr: a0000113
sp : cc07bd7c ip : 8080807e fp : cc07bd94
r10: cde63600 r9 : cdfc0420 r8 : cc0d9000
r7 : ce079954 r6 : ce075990 r5 : 00000000 r4 : 030302ee
r3 : 80808090 r2 : 00000001 r1 : 0000003f r0 : 80808080
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8c0d8019 DAC: 00000015
Process remote_debug_cl (pid: 746, stack limit = 0xcc07a2e8)
Stack: (0xcc07bd7c to 0xcc07c000)
bd60: ce079958
bd80: 0000003f 0000003f cc07bda4 cc07bd98 c01cb334 c01cb280 cc07bdcc cc07bda8
bda0: c00a5280 c01cb32c 00000122 cdca7d80 cdfc0420 0000003f ce079954 cc0d9000
----------------------------------------------------------------------------------------------------------
when I run load.sh I got a error like: Unable to handle kernel paging request at virtual address 80808090
my board works fine with ezsdk, but there occurs this trouble after I turn into RDK.
Did I miss something ? Could someone give me a hand to deal with this?
thanks very much
Regards,
woo