2715
- 收藏
- 点赞
- 分享
- 举报
hi3559av100 异构双系统(linux+liteos)运行MPP业务
芯片:hi3559av100
系统:linux+liteos异构框架
由于海思并没有哪一个文档指明异构系统运行MPP业务的方法步骤,就暂且按照文档《Hi3559A╱C V100 SDK 安装及升级使用说明.pdf》上的操作,在完成编译烧写然后启动后,开始执行5.4运行MPP业务。
如下:
在执行了./load3559av100_multicore -i -sensor0 imx334 -sensor1 imx334这一步后,内核崩溃:
[code]/mnt/ko # ./load3559av100_multicore -i -sensor0 imx334 -sensor1 imx334
sys_config: loading out-of-tree module taints kernel.
Module himedia: init ok
Hisilicon Media Memory Zone Manager
ERROR: Conflict MMZ:
PHYS(0x64000000, 0x13FFFFFFF), GFP=0, nBYTES=3604480KB, NAME="anonymous"
MMZ conflict to kernel memory (0x40000000, 0x6FFFFFFF)
Add MMZ failed: PHYS(0x64000000, 0x13FFFFFFF), GFP=0, nBYTES=3604480KB, NAME="anonymous"
hi_osal 1.0 init success!
hi3559av100_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
malloc buffer for SYS sclcoeffset fail!
load sys.ko for Hi3559AV100...FAILURE!
hi35xx_sys: probe of 12010000.sys failed with error -1
load tde.ko for Hi3559AV100...FAILED!
hi35xx_tde: probe of 11230000.tde failed with error -1
Unable to handle kernel NULL pointer dereference at virtual address 00000018
Mem abort info:
ESR = 0x96000006
Exception class = DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
Data abort info:
ISV = 0, ISS = 0x00000006
CM = 0, WnR = 0
pgd = ffffffc02d3b8000
[00000018] *pgd=000000006d3b9003, *pud=000000006d3b9003
, *pmd=0000000000000000
Internal error: Oops: 96000006 [#1] SMP
Modules linked in: hi3559av100_rgn(PO+) hi3559av100_tde(PO) hi3559av100_sys(PO) hi3559av100_base(PO) hi_osal(O) sys_config(O)
CPU: 1 PID: 1204 Comm: insmod Tainted: P O 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc02d884800 task.stack: ffffffc02cdf4000
PC is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
LR is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
pc : [] lr : [] pstate: 60000005
sp : ffffffc02cdf7b80
x29: ffffffc02cdf7b80 x28: ffffff8008105ce0
x27: ffffff8008e31000 x26: 0000000000000001
x25: ffffffc02ddb1348 x24: ffffff8008877000
x23: ffffff8000736dd0 x22: ffffff8000736ad0
x21: ffffff8000736ba8 x20: ffffff8000736ba8
x19: 0000000000000000 x18: ffffffc02d74991c
x17: 00000000004e3af8 x16: ffffff8008109508
x15: 00000000fffffff8 x14: 0000000000000003 [/code]
个人理解:
1.文档中的5.4中运行MPP业务的操作步骤应该还是芯片跑一个Linux系统的操作步骤,并不是异构双系统的步骤。因为异构系统的mpp是在a53端的liteos上面。在Linux端的驱动ko文件也应该是mpp/out/linux/big-little/ko目录下的,而不是文档中指的mpp/out/linux/multi-core/ko下面的。
2.如果是上述的理解,在执行完ko文件的插入后,liteos端游如何启动运行MPP的vio业务呢?是否是通过sharefs将sample_vio传入到liteos端在执行./sample_vio 0 0。本人试过,也是不行的。请哪位用过的老铁指教指教,不胜感激
系统:linux+liteos异构框架
由于海思并没有哪一个文档指明异构系统运行MPP业务的方法步骤,就暂且按照文档《Hi3559A╱C V100 SDK 安装及升级使用说明.pdf》上的操作,在完成编译烧写然后启动后,开始执行5.4运行MPP业务。
如下:
在执行了./load3559av100_multicore -i -sensor0 imx334 -sensor1 imx334这一步后,内核崩溃:
[code]/mnt/ko # ./load3559av100_multicore -i -sensor0 imx334 -sensor1 imx334
sys_config: loading out-of-tree module taints kernel.
Module himedia: init ok
Hisilicon Media Memory Zone Manager
ERROR: Conflict MMZ:
PHYS(0x64000000, 0x13FFFFFFF), GFP=0, nBYTES=3604480KB, NAME="anonymous"
MMZ conflict to kernel memory (0x40000000, 0x6FFFFFFF)
Add MMZ failed: PHYS(0x64000000, 0x13FFFFFFF), GFP=0, nBYTES=3604480KB, NAME="anonymous"
hi_osal 1.0 init success!
hi3559av100_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
malloc buffer for SYS sclcoeffset fail!
load sys.ko for Hi3559AV100...FAILURE!
hi35xx_sys: probe of 12010000.sys failed with error -1
load tde.ko for Hi3559AV100...FAILED!
hi35xx_tde: probe of 11230000.tde failed with error -1
Unable to handle kernel NULL pointer dereference at virtual address 00000018
Mem abort info:
ESR = 0x96000006
Exception class = DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
Data abort info:
ISV = 0, ISS = 0x00000006
CM = 0, WnR = 0
pgd = ffffffc02d3b8000
[00000018] *pgd=000000006d3b9003, *pud=000000006d3b9003
, *pmd=0000000000000000
Internal error: Oops: 96000006 [#1] SMP
Modules linked in: hi3559av100_rgn(PO+) hi3559av100_tde(PO) hi3559av100_sys(PO) hi3559av100_base(PO) hi_osal(O) sys_config(O)
CPU: 1 PID: 1204 Comm: insmod Tainted: P O 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc02d884800 task.stack: ffffffc02cdf4000
PC is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
LR is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
pc : [
sp : ffffffc02cdf7b80
x29: ffffffc02cdf7b80 x28: ffffff8008105ce0
x27: ffffff8008e31000 x26: 0000000000000001
x25: ffffffc02ddb1348 x24: ffffff8008877000
x23: ffffff8000736dd0 x22: ffffff8000736ad0
x21: ffffff8000736ba8 x20: ffffff8000736ba8
x19: 0000000000000000 x18: ffffffc02d74991c
x17: 00000000004e3af8 x16: ffffff8008109508
x15: 00000000fffffff8 x14: 0000000000000003 [/code]
个人理解:
1.文档中的5.4中运行MPP业务的操作步骤应该还是芯片跑一个Linux系统的操作步骤,并不是异构双系统的步骤。因为异构系统的mpp是在a53端的liteos上面。在Linux端的驱动ko文件也应该是mpp/out/linux/big-little/ko目录下的,而不是文档中指的mpp/out/linux/multi-core/ko下面的。
2.如果是上述的理解,在执行完ko文件的插入后,liteos端游如何启动运行MPP的vio业务呢?是否是通过sharefs将sample_vio传入到liteos端在执行./sample_vio 0 0。本人试过,也是不行的。请哪位用过的老铁指教指教,不胜感激
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-09-06 10:02:09
-
2020-06-03 16:32:31
-
2018-09-17 13:30:44
-
2018-12-05 21:14:41
-
2021-01-21 14:05:01
-
2020-10-19 15:59:32
-
2020-06-04 10:56:39
-
2019-01-04 15:21:05
-
2020-08-18 14:00:33
-
2020-09-24 15:47:04
-
2020-03-20 15:20:56
-
2019-12-23 15:58:16
-
2023-04-25 14:05:31
-
2019-09-29 15:36:47
-
2019-10-10 20:13:30
-
2019-10-12 18:00:36
-
2019-09-29 13:57:27
-
2019-09-29 13:55:54
-
2020-10-15 09:47:50
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认