3748
- 收藏
- 点赞
- 分享
- 举报
Hi3536 新做的板子初始化程序执行不过去
本帖最后由 七星海棠 于 2017-5-23 15:54 编辑
大家好,
新做的Hi3536板子,烧写完内核,系统能起来,在跑demo程序的时候,卡在初始化这了
HI_MPI_SYS_Exit(); 函数都执行不过去,有哪位大神知道是咋回事吗?
看打印信息,驱动都加载成功了
Mon May 22 00:00:01 UTC 2017
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3536_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3536...OK!
load vdec.ko for dccm....OK
Load hi_tde.ko success. (SDK_VERSION:[SDK_VERSION] Build Time:[Jun 7 2015, 19:26:15])
load region.ko ....OK!
load vgs.ko for Hi3536...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load venc.ko for dccm....OK
load ive.ko ... OK!
HDMI_1080P60
0x63 = 0x40
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0)
acodec inited!
insert audio
HI_S32 SAMPLE_COMM_SYS_Init(VB_CONF_S *pstVbConf)
{
MPP_SYS_CONF_S stSysConf = {0};
HI_S32 s32Ret = HI_FAILURE;
HI_S32 i;
HI_MPI_SYS_Exit();
for(i=0;i
{
HI_MPI_VB_ExitModCommPool(i);
}
for(i=0; i
{
HI_MPI_VB_DestroyPool(i);
}
HI_MPI_VB_Exit();
if (NULL == pstVbConf)
{
SAMPLE_PRT("input parameter is null, it is invaild!\n");
return HI_FAILURE;
}
s32Ret = HI_MPI_VB_SetConf(pstVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_VB_SetConf failed %x!\n", s32Ret);
return HI_FAILURE;
}
s32Ret = HI_MPI_VB_Init();
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_VB_Init failed!\n");
return HI_FAILURE;
}
stSysConf.u32AlignWidth = SAMPLE_SYS_ALIGN_WIDTH;
s32Ret = HI_MPI_SYS_SetConf(&stSysConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_SYS_SetConf failed\n");
return HI_FAILURE;
}
s32Ret = HI_MPI_SYS_Init();
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_SYS_Init failed!\n");
return HI_FAILURE;
}
return HI_SUCCESS;
}
大家好,
新做的Hi3536板子,烧写完内核,系统能起来,在跑demo程序的时候,卡在初始化这了
HI_MPI_SYS_Exit(); 函数都执行不过去,有哪位大神知道是咋回事吗?
看打印信息,驱动都加载成功了
Mon May 22 00:00:01 UTC 2017
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3536_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3536...OK!
load vdec.ko for dccm....OK
Load hi_tde.ko success. (SDK_VERSION:[SDK_VERSION] Build Time:[Jun 7 2015, 19:26:15])
load region.ko ....OK!
load vgs.ko for Hi3536...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load venc.ko for dccm....OK
load ive.ko ... OK!
HDMI_1080P60
0x63 = 0x40
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0)
acodec inited!
insert audio
HI_S32 SAMPLE_COMM_SYS_Init(VB_CONF_S *pstVbConf)
{
MPP_SYS_CONF_S stSysConf = {0};
HI_S32 s32Ret = HI_FAILURE;
HI_S32 i;
HI_MPI_SYS_Exit();
for(i=0;i
HI_MPI_VB_ExitModCommPool(i);
}
for(i=0; i
HI_MPI_VB_DestroyPool(i);
}
HI_MPI_VB_Exit();
if (NULL == pstVbConf)
{
SAMPLE_PRT("input parameter is null, it is invaild!\n");
return HI_FAILURE;
}
s32Ret = HI_MPI_VB_SetConf(pstVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_VB_SetConf failed %x!\n", s32Ret);
return HI_FAILURE;
}
s32Ret = HI_MPI_VB_Init();
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_VB_Init failed!\n");
return HI_FAILURE;
}
stSysConf.u32AlignWidth = SAMPLE_SYS_ALIGN_WIDTH;
s32Ret = HI_MPI_SYS_SetConf(&stSysConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_SYS_SetConf failed\n");
return HI_FAILURE;
}
s32Ret = HI_MPI_SYS_Init();
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("HI_MPI_SYS_Init failed!\n");
return HI_FAILURE;
}
return HI_SUCCESS;
}
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
152018-12-01 13:39:54
-
2020-12-15 15:31:03
-
2016-03-19 15:34:10
-
2017-08-24 13:16:48
-
2008-07-15 17:40:19
-
2019-11-26 11:06:22
-
2015-06-16 10:53:32
-
2022-12-27 18:27:18
-
2017-06-21 15:59:45
-
2015-12-23 16:56:34
-
2017-01-12 19:58:05
-
2008-08-02 16:47:25
-
2015-11-26 22:22:56
-
2019-08-29 09:37:01
-
2015-03-03 20:39:16
-
2017-11-27 21:36:21
-
2022-08-09 11:07:00
-
2020-07-31 17:16:33
-
2021-03-18 19:48:30
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认