liu417465778

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778  发布于  2017-02-07 14:22:39
采纳率 0%
7个问答
6421

加载海思提供的内核模块,出现超时信息提示和相关的数据找不到的问题

 
各位好,我在3516平台上面,加载mpp目录中的内核模块,调用:./load3516a -i -sensor bt1120 -osmem 128 -offline后出现下面的问题,请教大家是这个是什么原因造成的。我搞了一天了也没弄明白是啥原因,谢谢大家!!!


/mnt/mpp/ko # ./load3516a -i -sensor bt1120 -osmem 128 -offline
mmz_start: 0x88000000, mmz_size: 128M
pinmux_hi3516a.sh: line 89: himm: not found
pinmux_hi3516a.sh: line 89: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
Hisilicon Media Memory Zone Managerot found

pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 9Module himedia: init ok
2: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 5hi3516a_base: module license 'Proprietary' taints kernel.
2: himm: not found
clkcfg_hi3516a.sh: lDisabling lock debugging due to kernel taint
ine 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
clkcfg_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 42: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
sysctl_hi3516a.sh: line 52: himm: not found
load sys.ko for Hi3516A...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3516A...OK!
ISP Mod init!
load viu.ko for Hi3516A...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load hifb.ko OK!
load rc.ko for Hi3516A...OK!
load venc.ko for Hi3516A...OK!
load chnl.ko for Hi3516A...OK!
load h264e.ko for Hi3516A...OK!
load h265e.ko for Hi3516A...OK!
load jpege.ko for Hi3516A...OK!
load vda.ko ....OK!
load ive.ko for Hi3516A...OK!
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0205000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0208000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0209000

HDMI_1080P30
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020a000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020b000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020e000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0010000
我来回答
回答16个
时间排序
认可量排序

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-07 14:23:39
认可0
后面的超时提示信息,系统不停的打印出来。

falloutmx

1个粉丝

15

问答

0

专栏

0

资料

falloutmx 2017-02-07 15:31:55
认可0
himm: not found
你先把这个命令放到你的文件系统里啊

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-07 16:45:55
认可0
楼上的老兄您好,提示的信息
pinmux_hi3516a.sh: line 89: himm: not found
pinmux_hi3516a.sh: line 89: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 90: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found
pinmux_hi3516a.sh: line 92: himm: not found

我对照文件行号看了,这些都在脚本文件中。pinmux_hi3516a.sh: line 92: himm: not found对应的就是vo_bt1120_mode;但是在脚本文件中,vo_bt1120_mode;是已经定义好了的。这个不是命令。

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-02-07 17:04:35
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=44711&ptid=14079]liu417465778 发表于 2017-2-7 16:45[/url]
楼上的老兄您好,提示的信息
pinmux_hi3516a.sh: line 89: himm: not found
pinmux_hi3516a.sh: line 89: ...[/quote]

himm 是海思通用写寄存器的命令, 通常是个软连接

lrwxrwxrwx    1 500      500              6 Jan 20 07:03 himm -> btools

做文件系统时要把这个放进去, 不然脚本中就无法修改寄存器了

dazhazha

0个粉丝

6

问答

0

专栏

0

资料

dazhazha 2017-02-07 17:12:21
认可0
本帖最后由 dazhazha 于 2017-2-7 17:15 编辑

[quote][url=forum.php?mod=redirect&goto=findpost&pid=44716&ptid=14079]zhuangweiye 发表于 2017-2-7 17:04[/url]
himm 是海思通用写寄存器的命令, 通常是个软连接

lrwxrwxrwx    1 500      500              6 Jan 2 ...[/quote]

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0205000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0208000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0209000

HDMI_1080P30
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020a000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020b000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020e000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0010000

那这一段是I2C 没有通的打印吗?
我看了下 是加载sensor_i2c.ko 这个模块的时候保存,这里有什么需要注意的吗?

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-08 08:06:00
认可0
楼上的老兄您好,himm的确是少了这个命令,我已经加上去了,
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0208000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0209000

HDMI_1080P30
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020a000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020b000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020e000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0010000

目前板子上面的系统是空的,没有运行任何其他程序。我是测试加载海思内核模块,敲入加载命令时候终端打印提示的信息:./load3516a -i -sensor bt1120 -osmem 128 -offline
就出现了上述I2C的信息。系统配置都是海思默认。至修改了UBOOT里面的一个选项,让其支持256M的 SPI FLASH选项。您在加载内核模块的时候,出现过这种情况吗?

dazhazha

0个粉丝

6

问答

0

专栏

0

资料

dazhazha 2017-02-08 14:56:12
认可0
这个打印是加载sil9024.ko的时候打印的,就是这句insmod extdrv/sil9024.ko norm=12    #1080P@30fps
这个模块应该是与HDMI有关的,你把这个屏蔽掉了,就好了

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-08 17:02:34
认可0
好的,老兄非常感谢,我试试屏蔽掉看看。

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-08 17:15:51
认可0
已经没有I2C信息打印出来了。不过之前的段错误问题依旧,不知道是不是我这个SDK的问题,因为我并没有修改什么东西。老兄您出现这种问题吗:
/mnt/mpp/ko # ./load3516a -i -sensor ov4689 -osmem 128 -offline
mmz_start: 0x88000000, mmz_size: 128M
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3516a_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3516A...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3516A...OK!
ISP Mod init!
load viu.ko for Hi3516A...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load hifb.ko OK!
load rc.ko for Hi3516A...OK!
load venc.ko for Hi3516A...OK!
load chnl.ko for Hi3516A...OK!
load h264e.ko for Hi3516A...OK!
load h265e.ko for Hi3516A...OK!
load jpege.ko for Hi3516A...OK!
load vda.ko ....OK!
load ive.ko for Hi3516A...OK!
==== Your input Sensor type is ov4689 ====
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
[error]: memmap():open /dev/mem error!
Segmentation fault
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
[error]: memmap():open /dev/mem error!
Segmentation fault
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
[error]: memmap():open /dev/mem error!
Segmentation fault
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
[error]: memmap():open /dev/mem error!
Segmentation fault
acodec inited!
insert audio
==== Your input Sensor type is ov4689 ====
mipi_init
init phy power successful!
load hi_mipi driver successful!
/mnt/mpp/ko #

dazhazha

0个粉丝

6

问答

0

专栏

0

资料

dazhazha 2017-02-09 08:55:08
认可0
你前面是用的bt1120 现在用OV 到底是那个?

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-10 12:34:19
认可0
谢谢楼上的老兄,问题解决了,我用的文件系统是我重新编译的。缺少不少库。用海思提供的文件系统就可以了。多谢各位老兄的指点,特别是那个I2C信息一直打印出来的问题。屏蔽后就好了。。。

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-10 12:35:29
认可0
之前用bt1120主要用来测试的。发现有问题,采用海思默认的配置。结果发现问题依旧。

dazhazha

0个粉丝

6

问答

0

专栏

0

资料

dazhazha 2017-02-10 15:16:18
认可0
我用的sensor是mn34220 mipi 12bit 现在还是不出图像,sensor有时钟,用i2c写寄存器提示成功,可是读出来却都变成0了,不知道什么情况,有大兄弟出现过这个情况嘛?

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-13 15:16:19
认可0
我也是刚刚接触,好多地方不明白,之前同事走了。现在也是一头雾水。不过海思的文档不全是真的。给了那么多内核模块,就是不提供内核模块源代码。也没有个说明文档啥的。

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-02-13 15:55:52
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=44942&ptid=14079]liu417465778 发表于 2017-2-13 15:16[/url]
我也是刚刚接触,好多地方不明白,之前同事走了。现在也是一头雾水。不过海思的文档不全是真的。给了那么多 ...[/quote]

给了源代码, 您就更头大了;P

dalongxia_1226

0个粉丝

0

问答

0

专栏

0

资料

dalongxia_1226 2018-05-25 11:31:48
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=44888&ptid=14079]dazhazha 发表于 2017-2-10 15:16[/url]
我用的sensor是mn34220 mipi 12bit 现在还是不出图像,sensor有时钟,用i2c写寄存器提示成功,可是读出来却 ...[/quote]

我也遇到了这个问题 请问你最后解决了么?是怎么解决的啊?可以分享一下吗?谢谢!
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区