[X]关闭

zynq usb如何配置?

文档创建者:Snail
浏览次数:7353
最后更新:2019-12-03
本帖最后由 Snail 于 2019-11-29 15:30 编辑

开发板跑Linux一直无法识别USB, 驱动和设备树查了一圈没找到问题。
驱动识别中保存信息如下:
usb 1-1: device descriptor read/64, error -71

请问:
zynq的USB需要哪些配置才能正常使用?
vivado中USB端口和Reset等需要注意哪些?

开发板:MZ7XB

Linux kernel 4.19


-----------------------
补充1:
1. 板子跑出厂系统可以识别出USB设备。
2. 用我的dtb替换原厂系统中的dtb也能顺利跑起来,所以暂时认为dtb不是问题。
3. 原厂内核版本4.14和我的不一致,内核中驱动哪里有差异,暂时没有找到好的办法确认。

补充2:
1. error -71 查了文档,内核错误宏为-EPROTO,这个错误的解释有:
  • bitstuff error
  • no response packet received within the prescribed bus turn-around time
  • unknown USB error
Error codes like -EPROTO, -EILSEQ and -EOVERFLOW normally indicate hardware problems such as bad devices (including firmware) or cables.

This is also one of several codes that different kinds of host controller use to indicate a transfer has failed because of device disconnect. In the interval before the hub driver starts disconnect processing, devices may receive such fault reports for every request.

2. 所以猜测是否是VIVADO配置哪里没有注意到。
3. 亦或是需要在uboot这一段做什么操作?





发表评论已发布 1

Snail

发表于 2019-12-3 14:25:43 | 显示全部楼层

暂时将内核切换回4.14。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则