編譯核心和USB問題

usb 1-1: new full speed USB device using s3c2410-ohci and address 6
usb 1-1: device descriptor read/64, error -62
usb 1-1: device descriptor read/64, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 7
usb 1-1: device descriptor read/64, error -62
usb 1-1: device descriptor read/64, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 8
usb 1-1: device not accepting address 8, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 9
usb 1-1: device not accepting address 9, error -62
hub 1-0:1.0: unable to enumerate USB device on port 1
关键词: 編譯 核心 問題 device


這個部份已經解決,下面是解決方法
修改driver/usb/host/ohci-s3c2410.c
加入
#include <asm/arch-s3c2410/regs-clock.h>
#include <asm-arm/io.h>
unsigned long upllvalue = (0x78<<12)|(0x02<<4)|(0x03); //add
static void s3c2410_start_hc函數中加入
while (upllvalue !=__raw_readl(S3C2410_UPLLCON))
{
__raw_writel(upllvalue, S3C2410_UPLLCON);
mdelay(1);
}
現在我出現的問題:就是插上usb後沒有自己偵測掛載到的dev上,下面是我插上usb出現的情形:
usb 1-1: New USB device found, idVendor=058f, idProduct=6387
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: JetFlash
usb 1-1: SerialNumber: 673WWM0P
現在的問題是要如何讓他自己掛載到/dev/sda上,現在我的核心在usb device 與scsi還有File system幾乎都選了,但是他就是沒辦法偵測到usb,所以請各位幫幫我,進入arm以後是否還需要打什麼指令或是什麼辦法可以解決
回复
打赏帖 | |
---|---|
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 | |
【换取手持数字示波器】树莓派PICO调试器官方固件本地化部署实践被打赏24分 | |
【换取手持数字示波器】分享一个KEIL无法识别CMSIS-DAP调试器的解决办法被打赏20分 | |
【换取手持数字示波器】分享一个自制的ArduinoNano扩展板底板被打赏23分 | |
【换取手持示波器】树莓派PICOW网页烟花被打赏18分 |