- 收藏
- 点赞
- 分享
- 举报
T31N芯片运行样例出错
根据SDK和手册,移植了uboot,kenel,rootfs,运行起来了,加载了sc2335驱动,都成功,SDK例子里没有SC2335,我在sample_common.h添加了如下参数:
define SENSOR_NAME “sc2335”
define SENSOR_CUBS_TYPE TX_SENSOR_CONTROL_INTERFACE_I2C
define SENSOR_I2C_ADDR 0x30
define SENSOR_WIDTH 1920
define SENSOR_HEIGHT 1080
define CHN0_EN 1
define CHN1_EN 0
define CHN2_EN 0
define CHN3_EN 1
define CROP_EN 1
之后在板子上运行出错了I2C transfer error, 是内核问题?要如何修改,有没有人有完整的T31X+SC2335的SDK。
[root@Ingenic-g11:tmp]# ./sample-Encoder-jpeg
[ 1278.409969] probe ok ———->sc2335
[ 1278.466004] i2c i2c-0: i2cjz_irq 441, I2C transfer error, ABORT interrupt
[ 1278.473108] i2c i2c-0: —I2C txabrt:
[ 1278.476811] i2c i2c-0: —I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[ 1278.483380] ——-sc2335_detect: 594 ret = -5, v = 0x00
[ 1278.488688] chip found @ 0x30 (i2c0) is not an sc2335 chip.
[ 1278.494440] CPU: 0 PID: 106 Comm: sample-Encoder- Tainted: G D O 3.10.14__isvp_swan_1.0 #5
[ 1278.503870] Stack : 00000000 00000000 00000000 00000000 804f314a 00000058 82481900 00000000
8067dcd8 804961c7 8043dd78 0000006a 804f28e4 00000000 80629000 c0270000
00000000 80397d88 00000000 800388b8 00000000 00000000 8043f6d8 82067c74
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 82067c00
…
[ 1278.540765] Call Trace:
[ 1278.543293] [<80020d90>] show_stack+0x48/0x70
[ 1278.547958] [
[ 1278.553772] [
[ 1278.561210] [
[ 1278.568514] [
[ 1278.575713] [
[ 1278.582783] [<800e58f8>] vfs_ioctl+0x28/0x48
[ 1278.587204] [<800e6588>] do_vfs_ioctl+0x5b4/0x67c
[ 1278.592058] [<800e66a4>] SyS_ioctl+0x54/0x90
[ 1278.596473] [<800239bc>] stack_done+0x20/0x44
[ 1278.600963]
[root@Ingenic-g1_1:tmp]#
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2014-01-04 10:15:36
-
2019-05-13 14:23:49
-
2023-11-13 16:19:14
-
442017-07-29 01:33:47
-
2023-07-08 08:52:04
-
142020-01-09 20:29:12
-
2019-05-27 16:48:17
-
2020-09-13 09:33:16
-
2021-12-11 15:42:24
-
12023-08-04 11:49:45
-
2023-08-07 14:15:05
-
2022-05-26 15:57:39
-
2020-04-14 11:48:37
-
2024-03-27 21:27:02
-
2018-01-22 13:44:52
-
2024-03-14 23:56:44
-
2023-08-07 16:44:01
-
2020-02-15 19:05:27
-
2023-06-10 10:37:29
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明