houyongnan

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan  发布于  2017-09-11 11:52:22
采纳率 0%
32个问答
4614

安装nvp6124.ko遇到下面这些问题怎么办,求助,在线等。

 
/mnt # insmod nvp6124.ko
NVP6124&NVP6114A Test Driver 2015.7.28
hi_i2c_wait_txfifo_notfull->246:
wait timeout, auto_satatus: 0x80010000!

hi_i2c_wait_txfifo_notfull->246:
wait timeout, auto_satatus: 0xc0010000!

hi_i2c_wait_txfifo_notfull->246:
wait timeout, auto_satatus: 0x80010000!

hi_i2c_wait_txfifo_notfull->246:
wait timeout, auto_satatus: 0xc0010000!

nvp6124/6114a Device ID Error... ff
hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

nvp6124/6114a Device ID Error... ff
hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

nvp6124/6114a Device ID Error... ff
hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

hi_i2c_wait_idle->195:
wait i2c idle timeout!auto_satatus: 0xc0010000, work_satatus: 0x2

hi_i2c_set_dev_addr_and_mode->321:
wait i2c idle time out.

nvp6124/6114a Device ID Error... ff
NVP6124 Count = 0
我来回答
回答9个
时间排序
认可量排序

kenneth197

0个粉丝

16

问答

0

专栏

17

资料

kenneth197 2017-09-11 14:38:45
认可0
I2C 不通,硬件问题,都有可能,先一个一个排查吧

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan 2017-09-11 15:40:58
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=63801&ptid=23458]kenneth197 发表于 2017-9-11 14:38[/url]
I2C 不通,硬件问题,都有可能,先一个一个排查吧[/quote]

我直接编译的整个osrv,需不需要重新配置一内核呢,勾选一些i2c的选项

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan 2017-09-12 18:25:06
认可0
需要先安装gpio的驱动

hero

0个粉丝

1

问答

0

专栏

0

资料

hero 2017-09-13 08:26:57
认可0
gpio的驱动

fengzheng822

0个粉丝

5

问答

0

专栏

0

资料

fengzheng822 2017-09-20 10:22:17
认可0
问下这个GPIO驱动是哪个地方编译出来的,在什么地方能找到。我是新手,求助。

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan 2017-09-20 13:34:36
认可0
我也是新手客户给的,我不知在那编译

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan 2017-09-20 13:35:17
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=64354&ptid=23458]fengzheng822 发表于 2017-9-20 10:22[/url]
问下这个GPIO驱动是哪个地方编译出来的,在什么地方能找到。我是新手,求助。[/quote]

我也是新手客户给的,我不知在那编译

yang1372073

0个粉丝

19

问答

0

专栏

2

资料

yang1372073 2017-10-14 21:15:21
认可0
很明显,I2C不通。
1、检查硬件;
2、查看ls /dev下边有好几个i2c,实际用的是哪一个?修改nvp6124驱动下边的    i2c_adap = i2c_get_adapter(0);
i2c-0,i2c-1,i2c-2???具体是哪一个
static int i2c_client_init(void)
{
    struct i2c_adapter* i2c_adap;

    #ifdef HI_CHIP_HI3521A
        printk("HI_CHIP_HI3521A\n");
    i2c_adap = i2c_get_adapter(0);
    #else
        printk("HI_CHIP_HI3516A\n"); //printk("HI_CHIP_HI3531A\n");  //
    i2c_adap = i2c_get_adapter(2); //i2c_adap = i2c_get_adapter(1);
    #endif
    nvp6124_client = i2c_new_device(i2c_adap, &hi_info);
    i2c_put_adapter(i2c_adap);

    return 0;
}

wuqr

0个粉丝

14

问答

0

专栏

1

资料

wuqr 2018-10-08 15:49:22
认可0
解决了吗。到底怎么搞啊
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区