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.
沈老师:
你好,如下是我上次深圳培训上问你的问题,这个问题现在我这边还没有解决,我这个产品等着出货,想请你帮忙解决!
我用IPNC RDK4.1 做一款视频报警产品,硬件采集芯片及主芯片是TVP5146+DM368,单码流没有问题,当打开双码流(H264 D1+JPG D1)的时候 ,就会出现如下错误信息:
Starting kernel ...
INIT: version 2.86 booting
Starting mounting local filesystems: mount Creat queue id:0
queue id:0
Creat queue id:32769
queue id:32769
FileMngThread created
Creat queue id:65538
queue id:65538
queue id:65538
AlramThread created
Share memory init success
Creat queue id:98307
queue id:98307
--- Coson Thread
IPNC_DM365_4.1.0 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Mon Jul 2
queue id:98307
mount: mounting /dev/root on / failed: No such file or directory
failed (1: ).
net_search_gateway:eth0, 2EA8C0, 0, 1
CPU is DM368
Check_device_version : DEVICE VER = 1 !!
Starting internet superserver: inetdDEMOCFG Value : 0
Videocodecmode : 3
Videocodecres : 1
*****************************************************************
IPNC BUILD VERSION: DM368 IPNC RDK V4.10.00.02
*****************************************************************
./av_server.out DM368 NTSC AUDIO 8000 G711 64000 TI2A AEWB D1_D1 INTERLACE 720 480 H264 80000 VBR AUTO MJPEG 80 MENUOFF &
.
CPU CurrentStatus is = 1
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
DM365MM Init Successful
AVSERVER UI: Initializing.
ApproDrvInit: 9
queue id:131076
ApproDrvInit: 2
ApproDrvInit: 8
queue id:131076
queue id:131076
ApproDrvInit: 6
queue id:131076
ApproDrvInit: 10
queue id:131076
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011
CONFIGURING AVSERVER FOR DM368 .....
queue id:98307
SENSOR FPS VALUE = 30
-----DRV_captureOpen() success
0 - DEI create successful = 0x456198, wxh = 736x480
queue id:131076
DM365MM Init Successful
FR : 0 users registered from exsiting face album
IPNC_DM365_4.1.0 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Mon Jul 2
IPNC AUTO_IRIS = 1
Initializing...
Initializing...
Initializing...
Initializing...
Initializing...
WaitStreamReady begin.
...done initializing
...done initializing
...done initializing
...done initializing
Play this stream using the URL:
...done initializing
Play this stream using the URL:
rtsp://192.168.46.168:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8304 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.46.168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8301 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.46.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8303 for optional RTSP-over-HTTP tunneling.)
rtsp://192.168.46.168:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
(We use port 8302 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.46.168:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8300 for optional RTSP-over-HTTP tunneling.)
DRV_i2cWrite8()22
VIDEO_encodeTskMain
[ 4.505273] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
[ 4.512276] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.518276] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
CMEM Error: getP[ 4.526350] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
hys: Failed to g[ 4.534601] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.541857] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ess of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
stream ok
[ 4.580428] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 4.587366] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.593418] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 4.601406] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 4.609551] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.616950] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
[ 4.654352] CMEMK Error: get_phys: Unable to find phys addr for 0x5241e504
[ 4.661381] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.667365] CMEMK Error: GETPHYS: Failed to convert virtual 0x5241e504 to physical.
CMEM Error: getP[ 4.675364] CMEMK Error: get_phys: Unable to find phys addr for 0x50d74ec4
hys: Failed to g[ 4.683627] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.690919] CMEMK Error: GETPHYS: Failed to convert virtual 0x50d74ec4 to physical.
ess of 0x5241e504
CMEM Error: getPhys: Failed to get physical address of 0x50d74ec4
[ 4.728289] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
[ 4.735352] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.741392] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
CMEM Error: getP[ 4.749320] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
hys: Failed to g[ 4.757615] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.764857] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ess of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
[ 4.802430] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 4.809337] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.815422] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 4.823420] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 4.831681] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.838920] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
[ 4.876517] CMEMK Error: get_phys: Unable to find phys addr for 0x5241e504
[ 4.883645] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.889628] CMEMK Error: GETPHYS: Failed to convert virtual 0x5241e504 to physical.
CMEM Error: getP[ 4.897666] CMEMK Error: get_phys: Unable to find phys addr for 0x50d74ec4
hys: Failed to g[ 4.905899] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.913165] CMEMK Error: GETPHYS: Failed to convert virtual 0x50d74ec4 to physical.
ess of 0x5241e504
CMEM Error: getPhys: Failed to get physical address of 0x50d74ec4
[ 4.950771] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
[ 4.957719] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 4.963820] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
CMEM Error: getP[ 4.971809] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
hys: Failed to g[ 4.979965] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 4.987336] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ess of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
[ 5.024787] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 5.031869] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.037839] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 5.045838] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 5.054106] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.061371] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
[ 5.098905] CMEMK Error: get_phys: Unable to find phys addr for 0x5241e504
[ 5.105960] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.111999] CMEMK Error: GETPHYS: Failed to convert virtual 0x5241e504 to physical.
CMEM Error: getP[ 5.119970] CMEMK Error: get_phys: Unable to find phys addr for 0x50d74ec4
hys: Failed to g[ 5.128193] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.135490] CMEMK Error: GETPHYS: Failed to convert virtual 0x50d74ec4 to physical.
ess of 0x5241e504
CMEM Error: getPhys: Failed to get physical address of 0x50d74ec4
[ 5.173044] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
[ 5.179980] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.186054] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
CMEM Error: getP[ 5.194048] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
hys: Failed to g[ 5.202298] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.209502] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ess of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
[ 5.247475] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 5.254555] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.260639] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 5.268643] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 5.276905] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.284228] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
mkdosfs 2.11 (12 Mar 2005)
[ 5.321957] CMEMK Error: get_phys: Unable to find phys addr for 0x5241e504
[ 5.328867] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.334949] CMEMK Error: GETPHYS: Failed to convert virtual 0x5241e504 to physical.
CMEM Error: getP[ 5.342961] CMEMK Error: get_phys: Unable to find phys addr for 0x50d74ec4
hys: Failed to g[ 5.351223] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.358463] CMEMK Error: GETPHYS: Failed to convert virtual 0x50d74ec4 to physical.
ess of 0x5241e504
CMEM Error: getPhys: Failed to get physical address of 0x50d74ec4
unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 8192 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT[ 5.396282] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
size is 6 secto[ 5.403520] CMEMK Error: get_phys: get_user_pages() failed: -14
rs, and provides[ 5.410760] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
[ 5.419912] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
Root directory [ 5.428078] CMEMK Error: get_phys: get_user_pages() failed: -14
contains 512 slo[ 5.435364] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ts.
Volume ID is 522d4658, no volume label.
CMEM Error: getPhys: Failed to get physical address of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
[ 5.473091] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 5.479998] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.486156] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 5.494186] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 5.502433] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.509631] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
queue id:32769
[ 5.547658] CMEMK Error: get_phys: Unable to find phys addr for 0x5241e504
[ 5.554749] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.560804] CMEMK Error: GETPHYS: Failed to convert virtual 0x5241e504 to physical.
CMEM Error: getP[ 5.568743] CMEMK Error: get_phys: Unable to find phys addr for 0x50d74ec4
hys: Failed to g[ 5.576976] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.584299] CMEMK Error: GETPHYS: Failed to convert virtual 0x50d74ec4 to physical.
ess of 0x5241e504
CMEM Error: getPhys: Failed to get physical address of 0x50d74ec4
[ 5.621910] CMEMK Error: get_phys: Unable to find phys addr for 0x5226c504
[ 5.628818] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.634902] CMEMK Error: GETPHYS: Failed to convert virtual 0x5226c504 to physical.
CMEM Error: getP[ 5.642926] CMEMK Error: get_phys: Unable to find phys addr for 0x50bc2ec4
hys: Failed to g[ 5.651239] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.658427] CMEMK Error: GETPHYS: Failed to convert virtual 0x50bc2ec4 to physical.
ess of 0x5226c504
CMEM Error: getPhys: Failed to get physical address of 0x50bc2ec4
[ 5.695657] CMEMK Error: get_phys: Unable to find phys addr for 0x5235e504
[ 5.702715] CMEMK Error: get_phys: get_user_pages() failed: -14
[ 5.708660] CMEMK Error: GETPHYS: Failed to convert virtual 0x5235e504 to physical.
CMEM Error: getP[ 5.716686] CMEMK Error: get_phys: Unable to find phys addr for 0x50cb4ec4
hys: Failed to g[ 5.724922] CMEMK Error: get_phys: get_user_pages() failed: -14
et physical addr[ 5.732251] CMEMK Error: GETPHYS: Failed to convert virtual 0x50cb4ec4 to physical.
ess of 0x5235e504
CMEM Error: getPhys: Failed to get physical address of 0x50cb4ec4
另外我的rules.make 内容如下:
# ============================================================================
# Copyright (c) Texas Instruments Inc 2012
#
# Use of this software is controlled by the terms and conditions found in the
# license agreement under which this software has been supplied or provided.
# ============================================================================
IPNC_INSTALL_DIR := $(shell pwd)/..
#SYSTEM := EVM
SYSTEM := IPNC
#IPNC_PLATFORM := DM365
IPNC_PLATFORM := DM368
#FILESYS_MODE := NFS
FILESYS_MODE := NAND
CONFIG :=
DVSDK_BASE_DIR := $(IPNC_INSTALL_DIR)/dvsdk_ipnctools
IPNC_BASE_DIR := $(IPNC_INSTALL_DIR)/ipnc_rdk
BUILD_TOOL_DIR := $(DVSDK_BASE_DIR)/linux-devkit
include $(DVSDK_BASE_DIR)/Rules.make
BASE_DIR := $(IPNC_BASE_DIR)/av_capture/build
FILESYS_BASE_DIR := $(IPNC_BASE_DIR)/target
PSP_BASE_DIR := $(DVSDK_BASE_DIR)/ipnc_psp_03_21_00_04
# The directory that points to the Linux Support Package
KERNELDIR := $(PSP_BASE_DIR)/ti-davinci
KERNEL_CFGDIR := $(KERNELDIR)/arch/arm/configs
# The directory that points to the u-boot Package
UBOOTDIR := $(PSP_BASE_DIR)/u-boot
# The directory that points to where filesystem is mounted
TARGET_FS := $(FILESYS_BASE_DIR)/filesys
UBIFS_PATH := $(FILESYS_BASE_DIR)/mtd-utils
# Where to copy the resulting executables and data to (when executing 'make
# install') in a proper file structure. This EXEC_DIR should either be visible
# from the target, or you will have to copy this (whole) directory onto the
# target filesystem.
EXEC_DIR=$(TARGET_FS)/opt/ipnc
# The directory that points to the IPNC Application package
IPNC_DIR=$(IPNC_BASE_DIR)/ipnc_app
# The directory to application interface
IPNC_INTERFACE_DIR=$(IPNC_DIR)/interface
# The directory to application interface include files
PUBLIC_INCLUDE_DIR=$(IPNC_INTERFACE_DIR)/inc
# The directory to application interface library files
APP_LIB_DIR=$(IPNC_INTERFACE_DIR)/lib
# The directory to root file system
ROOT_FILE_SYS = $(TARGET_FS)
AEWB_LIBS :=
ifeq ($(SYSTEM), IPNC)
BOARD_ID := BOARD_AP_IPNC
#IMGS_ID := IMGS_MICRON_MT9P031_5MP
#IMGS_ID := IMGS_MICRON_MT9D131_2MP
IMGS_ID := IMGS_TVP514X
#IMGS_ID := IMGS_OV10630_1MP
#IMGS_ID := IMGS_MICRON_MT9M034_1.2MP
#IMGS_ID := IMGS_MICRON_MT9M031_1.2MP
#IMGS_ID := IMGS_OV2715_2MP
#IMGS_ID := IMGS_SONY_IMX035_1_3MP
#IMGS_ID := IMGS_SONY_IMX036_3MP
#IMGS_ID := IMGS_SONY_IMX104_1_3MP
#IMGS_ID := IMGS_SONY_IMX136_2_3MP
#IMGS_ID := IMGS_SONY_IMX122_2_3MP
#IMGS_ID := IMGS_AR0130_1.2MP
#IMGS_ID := IMGS_AR0330_3.1MP
#IMGS_ID := IMGS_AR0331_3.1MP
#IMGS_ID := IMGS_AR0331_3.1MP_WDR
#IMGS_ID := IMGS_PANASONIC_MN34041_2.1MP
AEWB_ID := AEWB_ENABLE
endif
ifeq ($(SYSTEM), EVM)
BOARD_ID := BOARD_TI_EVM
#IMGS_ID := IMGS_MICRON_MT9P031_5MP
#IMGS_ID := IMGS_MICRON_MT9D131_2MP
IMGS_ID := IMGS_TVP514X
AEWB_ID := AEWB_ENABLE
endif
ifeq ($(IPNC_PLATFORM), DM368)
HARDWARE := dm368
else
HARDWARE := dm365
endif
ifeq ($(FILESYS_MODE), NAND)
BUILD_CONFIG := nand
else
BUILD_CONFIG := nfs
endif
#Build warnings will be treated as errors for av_capture folder
TREAT_WARNINGS_AS_ERROR := no
TARGET_FS_DIR := $(TARGET_FS)/opt/ipnc
TFTP_HOME := $(IPNC_BASE_DIR)/tftp/$(HARDWARE)
export BUILD_TOOL_DIR
export IPNC_DIR
export PUBLIC_INCLUDE_DIR
export APP_LIB_DIR
export TARGET_FS
export SYSTEM
export LINUXKERNEL_INSTALL_DIR
export EXEC_DIR
export TARGET_FS_DIR
export SQUASHFS_PATH
export KERNELDIR
export UBOOTDIR
export BASE_DIR
export CONFIG
export DVSDK_BASE_DIR
export CMEM_INSTALL_DIR
export MVTOOL_PREFIX
export IMGS_ID
export BOARD_ID
export DVSDK_DEMOS_DIR
export AEWB_ID
export AEWB_LIBS
export FILESYS_MODE
export TFTP_HOME
export TREAT_WARNINGS_AS_ERROR
上述内容我打包在附件里!