3789
- 收藏
- 点赞
- 分享
- 举报
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
-
2017-08-24 13:16:48
-
2016-03-19 15:34:10
-
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
-
2017-01-12 19:58:05
-
2008-08-02 16:47:25
-
2015-12-23 16:56:34
-
2015-11-26 22:22:56
-
2019-08-29 09:37:01
-
2015-03-03 20:39:16
-
2022-08-09 11:07:00
-
2017-11-27 21:36:21
-
2020-07-31 17:16:33
-
2021-03-18 19:48:30
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认