3273
- 收藏
- 点赞
- 分享
- 举报
NUC972 DEMO板调试音频部分 加载8822失败
管理好,最近在调试DEMO板的音频部分,首先根据说明书操作,在内核开启I2C 与I2S,默认选择NUC970 I2C1 pin selection (Port G) ,8822挂载在I2C-0总线,编译通过,烧写进flash后,在加载8822驱动时失败,错误信息如下:
i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
nau8822 0-001a: Failed to issue reset: -6
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
No soundcards found.
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
Freeing unused kernel memory: 7036K (c03ca000 - c0aa9000)
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
后来看原理图,8822 SCK SDA是在PB0 ,PB1, 于是修改内核部分代码,
i2c_register_board_info(1, nuc970_i2c_clients0, sizeof(nuc970_i2c_clients0)/sizeof(struct i2c_board_info));
在I2C-1上添加8822,然后通过kernel menu 修改I2C NUC970 I2C1 pin selection (Port B) 。
编译通过,烧写flash后启动仍然有问题,错误信息如下:
i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nau8822 1-001a: Failed to issue reset: -121
nau8822: probe of 1-001a failed with error -121
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 7036K (c03c2000 - c0aa1000)
请管理帮忙看下该如何解决这个问题。万分感谢。
i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
nau8822 0-001a: Failed to issue reset: -6
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
No soundcards found.
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
Freeing unused kernel memory: 7036K (c03ca000 - c0aa9000)
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
后来看原理图,8822 SCK SDA是在PB0 ,PB1, 于是修改内核部分代码,
i2c_register_board_info(1, nuc970_i2c_clients0, sizeof(nuc970_i2c_clients0)/sizeof(struct i2c_board_info));
在I2C-1上添加8822,然后通过kernel menu 修改I2C NUC970 I2C1 pin selection (Port B) 。
编译通过,烧写flash后启动仍然有问题,错误信息如下:
i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nau8822 1-001a: Failed to issue reset: -121
nau8822: probe of 1-001a failed with error -121
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 7036K (c03c2000 - c0aa1000)
请管理帮忙看下该如何解决这个问题。万分感谢。
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-03-06 15:07:59
-
2017-07-01 13:09:45
-
2020-11-13 14:18:01
-
2020-03-03 22:41:23
-
2018-01-20 15:11:19
-
2017-10-30 09:59:24
-
2020-12-02 08:28:20
-
2021-01-05 16:26:38
-
2020-11-12 18:09:59
-
2017-11-26 10:30:15
-
2018-11-26 21:28:30
-
2018-03-16 12:07:19
-
1292017-11-11 20:55:58
-
2018-07-12 14:19:30
-
2018-05-17 12:03:04
-
2017-09-11 20:39:08
-
2020-11-12 18:07:47
-
2021-01-05 16:23:59
-
2017-12-20 00:32:33
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认