WhyCan Forum(哇酷开发者社区)

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn

您尚未登录。

#1 2020-02-04 17:56:01

yytyu
会员
注册时间: 2018-11-01
累计积分: 28

v3s u-boot-2019.10 usb host 能识别u盘

在u-boot-2019.10 调试 usb host 功能,能读浏览u盘目录

U-Boot 2019.10 (Feb 04 2020 - 17:43:43 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
Loading Environment from FAT... Card did not respond to voltage select!
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
=> usb reset
resetting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 2 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
=> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.10
 - Prolific Technology Inc. USB SD Card Reader      ABCDEF0123456789AB
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x067b  Product 0x2731 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 500mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 Out Bulk MaxPacket 512
     - Endpoint 2 In Bulk MaxPacket 512

1: Hub,  USB Revision 1.10
 -  U-Boot Root Hub 
 - Class: Hub
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 0.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms

=> fatls usb 0
            System Volume Information/
       11   1.txt
            123/

1 file(s), 2 dir(s)

=> 

离线

#2 2020-02-04 18:07:50

yytyu
会员
注册时间: 2018-11-01
累计积分: 28

Re: v3s u-boot-2019.10 usb host 能识别u盘

离线

#3 2020-02-04 18:09:58

awfans
会员
注册时间: 2018-04-03
累计积分: 264

Re: v3s u-boot-2019.10 usb host 能识别u盘

真是没想到u-boot 这么强大了.

离线

#4 2020-02-04 18:38:44

nuvoton
会员
注册时间: 2019-06-17
累计积分: 59

Re: v3s u-boot-2019.10 usb host 能识别u盘

牛叉啊, 直接克隆编译就可以在 荔枝派zero 跑吗?

离线

#5 2020-02-04 18:49:32

zzm24
会员
注册时间: 2018-05-07
累计积分: 42

Re: v3s u-boot-2019.10 usb host 能识别u盘

f1c100s也可以不?

离线

#6 2020-02-04 19:05:43

gdfsli
会员
注册时间: 2018-07-11
累计积分: 26

Re: v3s u-boot-2019.10 usb host 能识别u盘

离线

#7 2020-09-26 14:31:05

wupaul2001
会员
注册时间: 2019-09-30
累计积分: 192

Re: v3s u-boot-2019.10 usb host 能识别u盘

谢谢分享,晚上试用一吓

离线

#8 2020-10-01 19:18:52

shawn.d
会员
注册时间: 2020-09-12
累计积分: 79

Re: v3s u-boot-2019.10 usb host 能识别u盘

收藏,不错!

离线

#9 2020-10-01 21:39:11

MrVW
会员
注册时间: 2020-10-01
累计积分: 1

Re: v3s u-boot-2019.10 usb host 能识别u盘

请教个问题。是不是需要接带额外供电的USB hub?

离线

#10 2020-10-01 21:51:03

我思故我在
会员
注册时间: 2019-09-03
累计积分: 238

Re: v3s u-boot-2019.10 usb host 能识别u盘

MrVW 说:

请教个问题。是不是需要接带额外供电的USB hub?

可以不用. 主板可以直接供电.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB