你好!
样机之前是好的,无缘无故出现了以下问题,跑的是自带RDK的镜像,进去了usecase,但是跑步起来。麻烦帮忙分析。是不是DDR3坏了?
[host] ORG 0x46c00524: 0
[host] NEW 0x46c00524: 2
[host]
[host] Application Start Completed
[host] 0: SYSTEM: System Common Init in progress !!!
[host] 0: SYSTEM: IPC init in progress !!!
[host] 19: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
[host] 19: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
[host] 19: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
[host] 19: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
[host] 20: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[host] 21: SYSTEM: Creating MsgQ [HOST_MSGQ] …
[host] 23: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] …
[host] 25: SYSTEM: Opening MsgQ [DSP_MCMEMK Error: ioctl: failed to allocate heap buffer of size 0x3e00000
SGQ] …
[hCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
ost] 25: SYSTEMCMEMK Error: get_phys: get_user_pages() failed: -14
: Opening MsgQ [CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
VIDEO-M3_MSGQ] …
[host] 26: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] …
[host] 28: SYSTEM: Notify register to [DSP] line 0, event 12 …
[host] 29: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
[host] 29: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
[host] 30: SYSTEM: IPC init DONE !!!
[host] 34: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 …
[host] 36: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 …
[host] 38: SYSTEM: ListElem Shared Addr = 0x40e3bf80
[host] 39: SYSTEM: Creating ListMP [HOST_IPC_OUT_30] in region 0 …
[host] 41: SYSTEM: Creating ListMP [HOST_IPC_IN_30] in region 0 …
[host] 42: SYSTEM: ListElem Shared Addr = 0x40e55c00
[host] 45: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 …
[host] 47: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 …
[host] 49: SYSTEM: ListElem Shared Addr = 0x40e6f880
[host] 49: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 …
[host] 52: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 …
[host] 53: SYSTEM: ListElem Shared Addr = 0x40e8f280
[host] 54: SYSTEM: Creating ListMP [HOST_IPC_OUT_26] in region 0 …
[host] 57: SYSTEM: Creating ListMP [HOST_IPC_IN_26] in region 0 …
[host] 58: SYSTEM: ListElem Shared Addr = 0x40eaec80
[host] 59: SYSTEM: System Common Init Done !!!
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAP failed: -1
CMEM Error: getPhys: Failed to get physical address of 0
[host] Vsys_allocBuf – addr = 0x0,size = 65011712
##########pInfo->totalsize 63897600
Encode Error: Memory manager init fail
func:stream_init line:256
[host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:Entered…
[host] Vsys_allocBuf – addr = 0x40086000,size = 33603
[host] DCC buffer allocated for size 33603
[host] DCC Default File Intialization Done
[host] Before System_linkControl SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT
[host]********** FULL FEATURE USECASE ********
[host] ********* Entered Tri Streaming usecase – H264 1080p @60fps + H264 D1 @30fps + MJPEG 1080p @5fps ********
[m3vpss ] VPS_DCTRL_INST_0
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_DVO2
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_HDMI
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_SD
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_CLK_SRC VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
[host] 169: MCFW : CPU Revision [ES2.1] !!!
[host] 170: MCFW : Detected [UNKNOWN] Board !!!
[host] 170: MCFW : Base Board Revision [REV A] !!! [m3vpss ] 4735: CAMERA: Create in progress !!!
[m3vpss ] Channel Num Stream 0 Ch 0 ChannelNum 0
[m3vpss ] Channel Num Stream 1 Ch 0 ChannelNum 1
[m3vpss ] 4736: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!! [m3vpss ] 4938: Assertion @ Line: 292 in links_m3vpss/camera/cameraLink_drv.c: pInst->SensorHandle != NULL : failed !!!
inside autorunINIT: Entering runleve sbulla: unknown partition table
l: 5
Starting telnet daemon sbulla: unknown partition table
.
Starting syslogd/klogd: done
_____ _____ _ _| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___|
Arago Project http://arago-project.org DM8127_IPNC ttyO0
Arago 2011.09 DM8127_IPNC ttyO0
DM8127_IPNC login: root (automatic login)
root@DM8127_IPNC:~# mkdosfs 3.0.12 (29 Oct 2011)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is b104d7ef, no volume label.
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left – Front Right
Limits: Capture 0 – 119
Front Left: Capture 80 [67%] [40.00dB] [on]
Front Right: Capture 80 [67%] [40.00dB] [on]
queue id:0
./boa: /usr/lib/libssl.so.1.0.0: no version information available (required by ./boa)
./boa: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./boa)
ApproDrvInit: 3
queue id:163845
Error: Memory return Invalid
ApproDrvExit: 3
queue id:0
TimeOut occure in boot_proc.
Program exit.
TimeOut occure in boot_proc.
Program exit.
Chris Meng:
你好,
请运行flash_eraseall /dev/mtd5,把默认参数恢复一下看看?
Zhongneng Wen:
回复 Chris Meng:
谢谢回答,试了 flash_eraseall /dev/mtd5 ,重启还是一样的问题。
Chris Meng:
回复 Zhongneng Wen:
你好,
能否尝试在uboot下运行nand erase擦除nand上所有的数据,再重新从头烧写一次?
weijian:
4938: Assertion @ Line: 292 in links_m3vpss/camera/cameraLink_drv.c: pInst->SensorHandle != NULL : failed !!!
camera没被检测到 vpssM3在assert代码里循环了吧
Eason Wang:
回复 Zhongneng Wen:
1. flash_eraseall /dev/mtd5
2. nand scrub 全部重烧Binaries
3. Sensor通信有问题。建议拆装一下sensor,注意排线
4. 加打印看哪里问题或者直接操作sensor寄存器看是否能配置下去
5. 这个机器原来是好的吗? 你是否自己换过sensor板? 原来/现在 用的是什么sensor?
jihai huang:
回复 Eason Wang:
你好,我也碰到相同情况,出现4938: Assertion @ Line: 292 in links_m3vpss/camera/cameraLink_drv.c: pInst->SensorHandle != NULL : failed !!!
Sensor板是我按照TI提供的PCB文件自己重新做的,型号是MT9J003(和原装Sensor板一样),换上后,启动也出现这种情况,确认Sensor板上的电路和FPGA程序都正常的,不知道怎么处理这种情况,谢谢!