qn1546567414

qn1546567414

0个粉丝

2

问答

0

专栏

0

资料

qn1546567414  发布于  2019-04-12 14:44:49
采纳率 0%
2个问答
8017

Hi3519,KO驱动加载一直失败

   
[img]‪F:\zhuomian\QQ图片20190412144229.png[/img]
[img]‪F:\zhuomian\QQ图片20190412144232.png[/img]
/tmp/Hi3519V101_SDK_V1.0.2.0/mpp_big-little/ko # ./load3519v101 -a -sensor0 imx2
74 -osmem 64 -total 512 -offline
mmz_start: 0x84000000, mmz_size: 448M
rmmod: can't unload 'hi_acodec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_adec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_aenc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ao': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ai': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_aio': unknown symbol in module, or unknown parameter
remove audio
rmmod: can't unload 'hi_pwm': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_piris': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ive': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_rc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_jpege': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_h264e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_h265e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vedu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_chnl': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_venc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hifb': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vou': Device or resource busy
rmmod: can't unload 'hi_user': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vpss': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_isp': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_viu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_mipi': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_fisheye': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vgs': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_region': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_tde': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_sys': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_base': Resource temporarily unavailable
rmmod: can't unload 'hi_osal': Resource temporarily unavailable
insmod: can't insert 'hi_osal.ko': File exists
******* Error: There's something wrong, please check! *****
我来回答
回答5个
时间排序
认可量排序

qn1546567414

0个粉丝

2

问答

0

专栏

0

资料

qn1546567414 2019-04-12 14:45:51
认可0
使用的是Hi3519 V101R001C01SPC020的板子,是按## 烧写内核
        mw.b 82000000 ff 400000;tftp 82000000 uImage_hi3519v101;sf probe 0; sf erase 100000 400000;sf write 82000000 100000 400000
## 烧写文件系统
        mw.b 82000000 ff b00000;tftp 82000000 rootfs_hi3519v101_64k.jffs2;sf probe 0; sf erase 500000 b00000;  sf write 82000000 500000 b00000
## 设置启动参数
        setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)';setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x400000;bootm 0x82000000';sa
        这个烧的板子

艾编程的鲁小班

18个粉丝

25

问答

17

专栏

32

资料

艾编程的鲁小班 2019-04-12 15:03:33
认可0
本帖最后由 wfjdemmye 于 2019-4-12 15:04 编辑

rmmod: can't unload 'hi_osal': Resource temporarily unavailable
insmod: can't insert 'hi_osal.ko': File exists
******* Error: There's something wrong, please check! ****
这个看起来像驱动加载的问题,加载hi_osal.ko的时候,发现已经加载过了,就退出了。
建议解决办法:将后面,或者前面的hi_osal.ko加载删掉。

qn1546567414

0个粉丝

2

问答

0

专栏

0

资料

qn1546567414 2019-04-12 16:46:46
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=142104&ptid=74289]wfjdemmye 发表于 2019-4-12 15:03[/url]
rmmod: can't unload 'hi_osal': Resource temporarily unavailable
insmod: can't insert 'hi_osal.ko':  ...[/quote]

就是我看了下这个ko文件夹里的load3519v101文件里的内容,用ctrl+F查找了'hi_osal,好像只加载了一次insmod hi_osal.ko mmz=anonymous,0,$mmz_start,$mmz_size anony=1 || report_error    后面只有rmmod hi_osal这个了,好像并没有加载两次,是我查找地方不对吗

qn1546567414

0个粉丝

2

问答

0

专栏

0

资料

qn1546567414 2019-04-12 16:49:12
认可0
./load3519v101 -a -sensor0 imx2
74 -osmem 64
mmz_start: 0x84000000, mmz_size: 448M
unload acodec.ko for Hi3519V101...OK!
unload adec.ko OK!
unload aenc.ko OK!
unload ao.ko OK!
unload ai.ko OK!
remove audio
unload hi_sil9136.ko ...OK!
remove hi_pwm.ko OK!!
remove hi_piris.ko OK!!
unload ive.ko for Hi3519V101...OK!
unload rc.ko ...OK!
unload jpege.ko ...OK!
unload h264e.ko ...OK!
unload h265e.ko ...OK!
unload vedu.ko ...OK!
unload chnl.ko for Hi3519V101...OK!
unload venc.ko ...OK!
rmmod: can't unload 'hi3519v101_vou': Resource temporarily unavaunload hi_user.ko ...OK!
ilable
unload vpss.ko ....OK!
ISP Mod Exit!
unload viu.ko for Hi3519V101...OK!
unload hi_mipi driver successful!
Unload fisheye.ko for Hi3519V101...OK!
Unload vgs.ko for Hi3519V101...OK!
unload region.ko for Hi3519V101...OK!
remove hi_sensor_i2c.ko OK!!
rmmod: can't unload 'hi3519v101_base': Resource temporarily unavailable
rmmod: can't unload 'hi_osal': Resource temporarily unavailable
insmod: can't insert 'hi_osal.ko': File exists
******* Error: There's something wrong, please check! *****

qn1546567414

0个粉丝

2

问答

0

专栏

0

资料

qn1546567414 2019-04-12 16:54:06
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=142104&ptid=74289]wfjdemmye 发表于 2019-4-12 15:03[/url]
rmmod: can't unload 'hi_osal': Resource temporarily unavailable
insmod: can't insert 'hi_osal.ko':  ...[/quote]

我刚刚把insmod hi_osal.ko mmz=anonymous,0,$mmz_start,$mmz_size anony=1 || report_error删掉了在运行load文件,然后出现很多数据,最后出现了这个
==== Your input Sensor0 type is imx274 ====
==== Your input Sensor1 type is NULL ====
这样是正确了吗?
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区