編譯核心和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以後是否還需要打什麼指令或是什麼辦法可以解決
回复
我要赚赏金打赏帖 |
|
|---|---|
| 基于MCP23S17的输入输出功能模块控制被打赏¥20元 | |
| 【S32K3XX】SPD 软件包使用Link文件修改被打赏¥22元 | |
| Switch-Case局部变量定义问题被打赏¥23元 | |
| 基于米尔TIAM62L开发板的串口通信及应用被打赏¥20元 | |
| PCF8574功能模块及其使用被打赏¥20元 | |
| 传感器LSM6DSO及LIS3MDL的功能检测被打赏¥18元 | |
| LPS25HB气压传感器及其检测被打赏¥18元 | |
| HTS221温湿度传感器及其检测被打赏¥18元 | |
| 【S32K3XX】HSE FW 版本更新被打赏¥21元 | |
| 基于ArduinoUNO开发板的AT24C02读写测试被打赏¥16元 | |
我要赚赏金
