This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omap3530的类beagleboard,内核升级后无法使用USB

Other Parts Discussed in Thread: OMAP3530, ADS7846, SYSCONFIG

请大牛们指点有关升级内核后usb无法使用的问题,非常感谢!

使用天漠科技的开源项目产品K7作为开发板(基于beagleboard修改的),omap3530,256M DDR SDRAM,256M nand flash。开发板自带了uboot,linux内核2.6.29和android 2.1系统,将一个usb接口的华为modem EC121插到板子上,配置内核支持usb-serial,运行没有问题,可以看到在/dev下有三个设备节点ttyUSB0、ttyUSB1、ttyUSB2。在android的ril层也可以正常打开此设备节点,执行AT命令。

现在将针对beagleboard-xm的linux2.6.37内核及android4.0移植到开发板上(但仍然使用K7自带的uboot),LCD、触摸屏和按键都已经可以使用了,但插上modem再启动时就会使内核崩溃(系统启动后再插入modem,/dev下也会正常创建出三个设备节点,但android ril层无法打开)。

K7与beagleboard-xm关于USB接口的连接基本相同,都是使用一个usb收发器接到cpu的usb模块上,usb收发器再通过一个hub接出2个usb主口。区别是k7使用的是HSUSB1,xm使用的是HSUSB2;另外,外接的usb收发器及hub的复位引脚两个板子使用的不同。

插modem启动时的LOG如下:

Texas Instruments X-Loader 1.51 (Aug 21 2012 - 18:48:12)
Beagle Rev Ax/Bx
Starting X-loader on MMC
Reading boot sector

170384 Bytes Read from MMC
Starting OS Bootloader from MMC...
Starting OS Bootloader...


U-Boot 1.3.3-dirty-svn505 (Aug 22 2012 - 14:18:42)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 MID7030 Board + LPDDR/NAND
DRAM:  256 MB
NAND:  256 MiB
Display-bmp: 800 x 480  with 256 colors
In:    serial
Out:   serial
Err:   serial
Serial #03aa0004000000000401403b0901a01e
rtc : ctrl = 0x00 ; data = 0x00 0x00 0x00 0x01 0x01 0x00 0x00
rtc : ctrl = 0x00 ; data = 0x00 0x00 0x00 0x01 0x01 0x00 0x00
Hit space key to stop autoboot:  1 ... 0

mmc is available
reading uImage

3308024 bytes read
## Booting kernel from Legacy Image at 83600000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3307960 Bytes =  3.2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (android@ubuntu) (gcc version 4.4.3 (GCC) ) #29 Thu Nov 1 18:41:48 CST 2012
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Ignoring unrecognised tag 0x54410008
Reserving 4194304 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64000
Kernel command line: console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=5 init=/init
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 252MB = 252MB total
Memory: 248228k/248228k available, 13916k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc003f000   ( 220 kB)
      .text : 0xc003f000 - 0xc0644000   (6164 kB)
      .data : 0xc0644000 - 0xc0693bc0   ( 319 kB)
NR_IRQS:409
Clocking rate (Crystal/Core/MPU): 26.0/331/600 MHz
Reprogramming SDRC clock to 331882352 Hz
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
GPMC revision 5.0
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install interrupt handler for IRQ407
Trying to install interrupt handler for IRQ408
Trying to install type control for IRQ409
Trying to set irq flags for IRQ409
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
OMAP GPIO hardware version 2.5
omap_mux_init: Add partition: #1: core, flags: 0
OMAP3 Beagle Rev: Ax/Bx
@@@@@@@@@@@@@ omap3_beagle_init()
can't get ads7846 charge_det GPIO, ret=-16
Found NAND on CS0
Registering NAND on CS0
Unable to get DVI reset GPIO
hw-breakpoint: debug architecture 0x4 unsupported.
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
regulator: VAUX3: 1800 mV normal standby
regulator: VAUX4: 1800 mV normal standby
omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource 32k_counter
musb-hdrc: version 6.0, otg (peripheral+host), debug=0
musb-hdrc musb-hdrc.0: dma type: dma-inventra
musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
omap-iommu omap-iommu.0: isp registered
OMAP35x  Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 484
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
@@@@@@@@@@ Set physical address of GPIO for lcd
@@@@@@@@@@ omap_readl(0x49058034) = 0xfffffbff
Generic Backlight Driver Initialized.
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
@@@@@@@@@@@@@ generic_panel_drv_init
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
brd: module loaded
loop: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "X-Loader"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000680000 : "Kernel"
0x000000680000-0x000010000000 : "File System"
OneNAND driver initializing
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
@@@@ ehci_hcd_omap_probe() @ ehci-omap.c@@@@ omap->uhh_base = fa064000 @ probe()
ehci-omap.0 supply hsusb0 not found, using dummy regulator
ehci-omap.0 supply hsusb1 not found, using dummy regulator
@@@@@@@@ starting TI EHCI USB Controller
@@@@ omap_start_ehc() @ ehci-omap.c: OMAP3 ES version > ES2.1
@@@@ omap_start_ehc() @ ehci-omap.c: OMAP_UHH_HOSTCONFIG=796
@@@@ omap_readl(OMAP_UHH_HOSTCONFIG) = 0x     31c
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
@@@@ ehci_hcd_omap_probe() end @ ehci-omap.c
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
@@@@@@@@@@@@ usb_serial_init() @ usb-serial.c
@@@@@@@@ omap_readl(CONTROL_PADCONF_MMC2_DAT6) = 0x   c0004
@@@@@@@@ omap_readl(CONTROL_PADCONF_MCBSP1_DX) = 0x 10f0104
@@@@@@@@ omap_readl(CONTROL_PADCONF_MCBSP1_CLKX) = 0x   4000c
@@@@@@@@ omap_readl(CONTROL_PADCONF_ETK_CLK) = 0x   30003
@@@@@@@@ omap_readl(CONTROL_PADCONF_ETK_D0) = 0x 10b010b
@@@@@@@@ omap_readl(CONTROL_PADCONF_ETK_D2) = 0x 10b010b
@@@@@@@@ omap_readl(GPIO5_OE) = 0x f9f0bff
@@@@@@@@ omap_readl(GPIO5_DATAOUT) = 0xf060f400
@@@@@@@@ omap_readl(CONTROL_PADCONF_MCBSP1_CLKX) = 0x   4000c
@@@@@@@@ omap_readl(GPIO6_OE) = 0x       0
@@@@@@@@ omap_readl(GPIO6_DATAOUT) = 0x    2408
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
android init
android_probe pdata: c065412c
android_bind
android_usb gadget: android_usb ready
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
f_adb init
android_register_function adb
f_mass_storage init
fsg_probe pdev: c0653df8, pdata: c065416c
android_register_function usb_mass_storage
adb_bind_config
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
 lun0: LUN: removable file: (no medium)
mice: PS/2 mouse device common for all mice
input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
spi2.0 supply vcc not found, using dummy regulator
ads7846 spi2.0: touchscreen, irq 187
input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.2/spi2.0/input/input1
input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input2
using rtc device, twl_rtc, for alarms
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
Linux media interface: v0.10
Linux video capture interface: v2.00
omap3isp supply VDD_CSIPHY1 not found, using dummy regulator
omap3isp supply VDD_CSIPHY2 not found, using dummy regulator
omap3isp omap3isp: Revision 2.0 found
omap-iommu omap-iommu.0: isp: version 1.1
usb 1-1: new high speed USB device using ehci-omap and address 2
usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB 2.0 Hub [MTT]
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new full speed USB device using ehci-omap and address 3
usb 1-1.1: New USB device found, idVendor=12d1, idProduct=1411
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.1: Product: Huawei Technologies
usb 1-1.1: Manufacturer: Huawei, Incorporated
scsi0 : usb-storage 1-1.1:1.0
usb 1-1.3: new high speed USB device using ehci-omap and address 4
omap_i2c omap_i2c.2: controller timed out
mt9v113 2-003c: chip id mismatch read 0x0, expecting 0x2280
isp_register_subdev_group: Unable to register subdev mt9v113
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
twl4030_wdt twl4030_wdt: Failed to register misc device
twl4030_wdt: probe of twl4030_wdt failed with error -16
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
usbcore: registered new interface driver snd-usb-audio
OMAP3 Beagle/Devkit8000 SoC init
asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
ALSA device list:
  #0: omap3beagle
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
ThumbEE CPU extension supported.
Power Management for TI OMAP3.
smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
SmartReflex Class3 initialized
clock: disabling unused clocks to save power
platform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000
platform iva.0: omap_voltage_scale: Already at the requestedrate 430000000
platform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000
generic_panel_enable generic_panel_power_on()ok
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
generic_panel_enable generic_panel_power_on()ok
generic_panel_enable generic_panel_power_on()ok
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 15
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 16
Waiting 5sec before mounting root device...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
 mmcblk0: p1 p2
scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
ehci-omap ehci-omap.0: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-1: USB disconnect, address 2
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 220K
init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/sgx/rc.pvr', disabling 'pvr'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
enabling adb
adb_open
root@android:/ # warning: `rild' uses 32-bit capabilities (legacy support in use)
twl: i2c_write failed to transfer all messages
hub 1-1:1.0: cannot reset port 3 (err = -19)
hub 1-1:1.0: cannot disable port 3 (err = -19)
hub 1-1:1.0: cannot reset port 3 (err = -19)
hub 1-1:1.0: cannot disable port 3 (err = -19)
hub 1-1:1.0: cannot reset port 3 (err = -19)
hub 1-1:1.0: cannot disable port 3 (err = -19)
hub 1-1:1.0: cannot reset port 3 (err = -19)
hub 1-1:1.0: cannot disable port 3 (err = -19)
hub 1-1:1.0: unable to enumerate USB device on port 3
hub 1-1:1.0: cannot disable port 3 (err = -19)
usb 1-1.1: USB disconnect, address 3
ehci-omap ehci-omap.0: USB bus 1 deregistered
@@@@@@@@ stopping TI EHCI USB Controller
@@@@@@@@ stopping TI EHCI USB Controller 1
@@@@ omap->uhh_base = fa064000
Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa064014
Internal error: : 1028 [#1]
last sysfs file: /sys/power/wait_for_fb_sleep
Modules linked in:
CPU: 0    Not tainted  (2.6.37 #29)
PC is at omap_stop_ehc+0x80/0x1d8
LR is at release_console_sem+0x174/0x1b4
pc : [<c030e604>]    lr : [<c0076e1c>]    psr: 60000013
sp : cf571e48  ip : cf571d60  fp : cf571e64
r10: 00000001  r9 : cf526750  r8 : cf6554f4
r7 : 00000000  r6 : c0657550  r5 : ffff719e  r4 : cf664840
r3 : fa064000  r2 : 60000013  r1 : c0656498  r0 : 00000022
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 8f794019  DAC: 00000017

PC: 0xc030e584:
e584  e1a0c00d e92dd8f0 e24cb004 e59f31a0 e1a04000 e3a00064 e1a06003 e5935000
e5a4  ebf5b0ff e0805005 e59f0188 eb06e6c1 e594303c e3a02002 e59f017c e5832010
e5c4  eb06e6bc e594103c e59f0170 eb06e6b9 ea000009 e59f0168 eb06e6b6 e59f0164
e5e4  eb06e6b4 e5963000 e0633005 e3530000 aa000001 e59f0150 eb06e6ae e594303c
e604  e5933014 e3130001 0afffff1 e59f013c eb06e6a8 e59f3118 ea000000 e5932000
e624  e594203c e5922014 e3120002 0afffffa ea000001 e5932000 ea000000 e59f30f0
e644  e594203c e5922014 e3120004 0afffff8 e5943040 e3a02002 e59f10d4 e5832010
e664  ea000000 e5913000 e5943040 e5933014 e3130001 0afffffa e1a00004 e3a01000

LR: 0xc0076d9c:
6d9c  e0041003 e2844001 e7d21001 e351000a 1a00000c e595304c e1a01004 e3530000
6dbc  b595300c b585304c e595204c ebfffe84 e1540006 e585904c 1affffd2 ea000004
6ddc  e895000c e2433001 e1540006 1affffeb e1a04000 e1a00004 e1a01006 e595204c
6dfc  ebfffe77 e121f007 eaffffb6 e59f3038 e3a02000 e59f0034 e583201c eb007d98
6e1c  e121f007 e35a0000 089daff8 e59f3020 e283201c e593301c e1530002 13a02001
6e3c  159f3014 15832000 e89daff8 c06950a8 c0656494 c0656454 c05bbf07 c06564b8
6e5c  e1a0c00d e92dd800 e24cb004 e59fc028 e59c3000 e3530000 089da800 e3a0e000
6e7c  e3a01001 e1a0300e e59f0010 e1a02001 e58ce000 ebffdec2 e89da800 c06564b8

SP: 0xcf571dc8:
1dc8  00000000 00000000 cf571dec cf571de0 cf664640 cf664640 ffffffff cf571e34
1de8  c0657550 00000000 cf571e64 cf571e00 c04ca12c c003f274 00000022 c0656498
1e08  60000013 fa064000 cf664840 ffff719e c0657550 00000000 cf6554f4 cf526750
1e28  00000001 cf571e64 cf571d60 cf571e48 c0076e1c c030e604 60000013 ffffffff
1e48  cf664840 cf664840 cf655400 00000000 cf571e8c cf571e68 c030e7f8 c030e590
1e68  c0654eb8 c0673d28 c0654eec 00000000 cf65549c cf526750 cf571e9c cf571e90
1e88  c02a301c c030e768 cf571eb4 cf571ea0 c02a1b18 c02a3008 c0654eb8 c0673d28
1ea8  cf571ed4 cf571eb8 c02a1bcc c02a1a98 c0673d28 cf426c00 c066d370 00000000

IP: 0xcf571ce0:
1ce0  0000000d 00000010 cf571d24 cf571cf8 c029c270 c0295cd4 c029c208 c066d208
1d00  c0656454 00001028 c064867c fa064014 cf571e00 cf6554f4 20000113 00001028
1d20  c064867c fa064014 cf571e00 cf6554f4 20000113 00000001 cf571d54 cf571d48
1d40  c004eb48 c004e778 cf571dfc cf571d58 c003f2f4 c004eafc 00000000 c009648c
1d60  00000007 00000000 00000000 fa064014 c0656454 c05ef579 cf526750 00000000
1d80  cf571e1c cf571d90 c007747c c0076cb4 c0150804 00000022 00000000 cf6654b8
1da0  c05c4472 cf6554f4 00000034 60000013 c014f3e4 c01515dc cf46a5d8 00000000
1dc0  00000004 cf664640 00000000 00000000 cf571dec cf571de0 cf664640 cf664640

FP: 0xcf571de4:
1de4  cf571e34 c0657550 00000000 cf571e64 cf571e00 c04ca12c c003f274 00000022
1e04  c0656498 60000013 fa064000 cf664840 ffff719e c0657550 00000000 cf6554f4
1e24  cf526750 00000001 cf571e64 cf571d60 cf571e48 c0076e1c c030e604 60000013
1e44  ffffffff cf664840 cf664840 cf655400 00000000 cf571e8c cf571e68 c030e7f8
1e64  c030e590 c0654eb8 c0673d28 c0654eec 00000000 cf65549c cf526750 cf571e9c
1e84  cf571e90 c02a301c c030e768 cf571eb4 cf571ea0 c02a1b18 c02a3008 c0654eb8
1ea4  c0673d28 cf571ed4 cf571eb8 c02a1bcc c02a1a98 c0673d28 cf426c00 c066d370
1ec4  00000000 cf571ef4 cf571ed8 c02a0cd0 c02a1b70 c0673d28 cf426c00 00000000

R1: 0xc0656418:
6418  00000011 00000012 00000013 00000014 00000015 00000016 00000017 00000018
6438  00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f c0695560
6458  00010000 0000000f 00000004 00000001 00000007 00000001 c0656470 c0656470
6478  c0656478 c0656478 00000280 0000000a 00000000 00000000 00000000 00000001
6498  c0656498 c0656498 00000004 ffffffff 00000000 00000000 00000000 ffffffff
64b8  00000000 00000000 c05e65ea c05bc2f9 c05bc2ce c05bc2d5 c05e4f40 c05bc2dc
64d8  c05bc2e9 c05bc2f1 c05bc2f7 c05bc2ff c05ea356 c007bbcc c007b9ec c00c0228
64f8  c007b804 00000000 cf4d9140 cf4d9140 c00c02b4 c05ea356 c007bb38 c007b960

R3: 0xfa063f80:
3f80  ******** ******** ******** ******** ******** ******** ******** ********
3fa0  ******** ******** ******** ******** ******** ******** ******** ********
3fc0  ******** ******** ******** ******** ******** ******** ******** ********
3fe0  ******** ******** ******** ******** ******** ******** ******** ********
4000  ******** ******** ******** ******** ******** ******** ******** ********
4020  ******** ******** ******** ******** ******** ******** ******** ********
4040  ******** ******** ******** ******** ******** ******** ******** ********
4060  ******** ******** ******** ******** ******** ******** ******** ********

R4: 0xcf6647c0:
47c0  cf6647c0 cf6647c0 00000020 c0654eb8 00001000 00001000 66667562 332d7265
47e0  00800032 80011080 00012000 08000008 00880000 00800080 cf6647f8 cf6647f8
4800  00100100 00200200 ff80007f ff0000ff fb0000ef ff0001ff f70030f7 024010ff
4820  7e4020ff ff00007f ff4106db bf0811ff f30800ff ff00b0ff f74000bb ff4000ff
4840  cf6554f4 c0654eb8 c06508c4 c065080c c0650868 c064ec04 c064f7e0 00000000
4860  0000008a 000000a3 ffffffea 00000001 00000001 00000001 00000000 fa064000
4880  fa062000 fa064800 cf620280 cf620240 00000000 00000000 00000000 00000000
48a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

R5: 0xffff711e:
711c  ******** ******** ******** ******** ******** ******** ******** ********
713c  ******** ******** ******** ******** ******** ******** ******** ********
715c  ******** ******** ******** ******** ******** ******** ******** ********
717c  ******** ******** ******** ******** ******** ******** ******** ********
719c  ******** ******** ******** ******** ******** ******** ******** ********
71bc  ******** ******** ******** ******** ******** ******** ******** ********
71dc  ******** ******** ******** ******** ******** ******** ******** ********
71fc  ******** ******** ******** ******** ******** ******** ******** ********
721c  ******** ******** ******** ******** ******** ******** ******** ********

R6: 0xc06574d0:
74d0  c00bb74c c00813e8 c00bb74c c00bb74c c00bb74c c0081304 c00bb74c c00bb74c
74f0  c00bb74c c008120c c00bb74c c00bb74c c00bb74c c008110c c00bb74c c00bb74c
7510  c00bb74c c0081050 c00bb74c c00bb74c c00bb74c c0080f80 c00bb74c c00bb74c
7530  c00bb74c c0080ea4 c00bb74c c00bb74c c00bb74c 00000000 c06a57c0 00000000
7550  ffff7193 00000000 00000002 c065799c 00000000 00000000 00000000 00000000
7570  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7590  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
75b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

R8: 0xcf655474:
5474  ffff6c14 c06a57c0 c02fc084 cf655400 ffffffff 00000000 00000200 cf655490
5494  cf655490 c02fafe8 cf426c05 cf6fd1b8 c0657d68 c031265c c04fa4cc 0000000b
54b4  00000014 0000004d fa064800 48064800 00000000 00000400 00000000 00000000
54d4  00000001 cf6554d8 cf6554d8 00000000 00000000 00000000 00000000 00000000
54f4  fa064800 fa064810 00000000 00001313 00000000 00000000 00000000 00000000
5514  00000200 00000000 8f669000 00000003 00000000 ffffffff 00000000 cf655530
5534  cf655530 cf655538 cf655538 00000101 00000000 00000000 00000000 00000000
5554  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

R9: 0xcf5266d0:
66d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 cf4d1e00
66f0  00000000 00000000 00000000 00000000 00000000 cf4cc220 cf4cc220 00000000
6710  00000000 00000000 00000000 00000000 00000000 00000000 00000000 cf4cc200
6730  00000000 00000000 00000000 00000000 00000000 c0657e00 cf65549c cf426c00
6750  cf526750 cf526750 cf53d8c0 c0657d68 ffff6f03 00000001 00000001 00000200
6770  cf526770 cf526770 c008a7d4 00000000 480bd400 480bd4ff cf561b40 00000200
6790  cf404870 c0649e08 cf5617c0 00000018 00000018 cf561b40 00000400 00000000
67b0  00000000 00000000 00000000 00000000 c068ddac cf5264c4 cf526804 00000000
Process kworker/0:1 (pid: 432, stack limit = 0xcf5702f0)
Stack: (0xcf571e48 to 0xcf572000)
1e40:                   cf664840 cf664840 cf655400 00000000 cf571e8c cf571e68
1e60: c030e7f8 c030e590 c0654eb8 c0673d28 c0654eec 00000000 cf65549c cf526750
1e80: cf571e9c cf571e90 c02a301c c030e768 cf571eb4 cf571ea0 c02a1b18 c02a3008
1ea0: c0654eb8 c0673d28 cf571ed4 cf571eb8 c02a1bcc c02a1a98 c0673d28 cf426c00
1ec0: c066d370 00000000 cf571ef4 cf571ed8 c02a0cd0 c02a1b70 c0673d28 cf426c00
1ee0: 00000000 00000000 cf571f14 cf571ef8 c02a21a4 c02a0c44 cf526740 cf426c00
1f00: c031265c 00000000 cf571f24 cf571f18 c02a3424 c02a2148 cf571f34 cf571f28
1f20: c0312634 c02a341c cf571f44 cf571f38 c031266c c031262c cf571f7c cf571f48
1f40: c008bea8 c0312668 00000003 cf426c05 cf571f6c cf526740 c0657d68 cf570000
1f60: c06a6874 c0657d64 cf526750 00000001 cf571fbc cf571f80 c008dcb8 c008bc3c
1f80: c008daa0 00000000 00000000 cf526750 cf571fbc cf42fec0 cf526740 cf571fcc
1fa0: c008daa0 00000000 00000000 00000000 cf571ff4 cf571fc0 c009153c c008daac
1fc0: cf42fec0 00000000 cf526740 00000000 cf571fd0 cf571fd0 cf42fec0 c00914b0
1fe0: c0079874 00000013 00000000 cf571ff8 c0079874 c00914bc ff4910f7 ff4111ff
Backtrace:
[<c030e584>] (omap_stop_ehc+0x0/0x1d8) from [<c030e7f8>] (ehci_hcd_omap_remove+0x9c/0x100)
 r7:00000000 r6:cf655400 r5:cf664840 r4:cf664840
[<c030e75c>] (ehci_hcd_omap_remove+0x0/0x100) from [<c02a301c>] (platform_drv_remove+0x20/0x24)
 r9:cf526750 r8:cf65549c r7:00000000 r6:c0654eec r5:c0673d28
r4:c0654eb8
[<c02a2ffc>] (platform_drv_remove+0x0/0x24) from [<c02a1b18>] (__device_release_driver+0x8c/0xd8)
[<c02a1a8c>] (__device_release_driver+0x0/0xd8) from [<c02a1bcc>] (driver_detach+0x68/0x90)
 r5:c0673d28 r4:c0654eb8
[<c02a1b64>] (driver_detach+0x0/0x90) from [<c02a0cd0>] (bus_remove_driver+0x98/0xc0)
 r7:00000000 r6:c066d370 r5:cf426c00 r4:c0673d28
[<c02a0c38>] (bus_remove_driver+0x0/0xc0) from [<c02a21a4>] (driver_unregister+0x68/0x74)
 r7:00000000 r6:00000000 r5:cf426c00 r4:c0673d28
[<c02a213c>] (driver_unregister+0x0/0x74) from [<c02a3424>] (platform_driver_unregister+0x14/0x18)
 r7:00000000 r6:c031265c r5:cf426c00 r4:cf526740
[<c02a3410>] (platform_driver_unregister+0x0/0x18) from [<c0312634>] (ehci_hcd_cleanup+0x14/0x3c)
[<c0312620>] (ehci_hcd_cleanup+0x0/0x3c) from [<c031266c>] (ehci_omap_recover_work+0x10/0x18)
[<c031265c>] (ehci_omap_recover_work+0x0/0x18) from [<c008bea8>] (process_one_work+0x278/0x3f8)
[<c008bc30>] (process_one_work+0x0/0x3f8) from [<c008dcb8>] (worker_thread+0x218/0x410)
[<c008daa0>] (worker_thread+0x0/0x410) from [<c009153c>] (kthread+0x8c/0x94)
[<c00914b0>] (kthread+0x0/0x94) from [<c0079874>] (do_exit+0x0/0x638)
 r7:00000013 r6:c0079874 r5:c00914b0 r4:cf42fec0
Code: aa000001 e59f0150 eb06e6ae e594303c (e5933014)
---[ end trace 9fc5a37d847cbdab ]---
Kernel panic - not syncing: Fatal exception
Backtrace:
[<c004e65c>] (dump_backtrace+0x0/0x110) from [<c04c7f38>] (dump_stack+0x18/0x1c)
 r7:00000001 r6:c030e606 r5:c0694c68 r4:c0694c68
[<c04c7f20>] (dump_stack+0x0/0x1c) from [<c04c7fa0>] (panic+0x64/0x180)
[<c04c7f3c>] (panic+0x0/0x180) from [<c004ea38>] (die+0x2cc/0x320)
 r3:00000001 r2:c061a672 r1:cf571cc8 r0:c05b31cd
[<c004e76c>] (die+0x0/0x320) from [<c004eb48>] (arm_notify_die+0x58/0x5c)
[<c004eaf0>] (arm_notify_die+0x0/0x5c) from [<c003f2f4>] (do_DataAbort+0x8c/0xa0)
[<c003f268>] (do_DataAbort+0x0/0xa0) from [<c04ca12c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xcf571e00 to 0xcf571e48)
1e00: 00000022 c0656498 60000013 fa064000 cf664840 ffff719e c0657550 00000000
1e20: cf6554f4 cf526750 00000001 cf571e64 cf571d60 cf571e48 c0076e1c c030e604
1e40: 60000013 ffffffff
 r7:00000000 r6:c0657550 r5:cf571e34 r4:ffffffff
[<c030e584>] (omap_stop_ehc+0x0/0x1d8) from [<c030e7f8>] (ehci_hcd_omap_remove+0x9c/0x100)
 r7:00000000 r6:cf655400 r5:cf664840 r4:cf664840
[<c030e75c>] (ehci_hcd_omap_remove+0x0/0x100) from [<c02a301c>] (platform_drv_remove+0x20/0x24)
 r9:cf526750 r8:cf65549c r7:00000000 r6:c0654eec r5:c0673d28
r4:c0654eb8
[<c02a2ffc>] (platform_drv_remove+0x0/0x24) from [<c02a1b18>] (__device_release_driver+0x8c/0xd8)
[<c02a1a8c>] (__device_release_driver+0x0/0xd8) from [<c02a1bcc>] (driver_detach+0x68/0x90)
 r5:c0673d28 r4:c0654eb8
[<c02a1b64>] (driver_detach+0x0/0x90) from [<c02a0cd0>] (bus_remove_driver+0x98/0xc0)
 r7:00000000 r6:c066d370 r5:cf426c00 r4:c0673d28
[<c02a0c38>] (bus_remove_driver+0x0/0xc0) from [<c02a21a4>] (driver_unregister+0x68/0x74)
 r7:00000000 r6:00000000 r5:cf426c00 r4:c0673d28
[<c02a213c>] (driver_unregister+0x0/0x74) from [<c02a3424>] (platform_driver_unregister+0x14/0x18)
 r7:00000000 r6:c031265c r5:cf426c00 r4:cf526740
[<c02a3410>] (platform_driver_unregister+0x0/0x18) from [<c0312634>] (ehci_hcd_cleanup+0x14/0x3c)
[<c0312620>] (ehci_hcd_cleanup+0x0/0x3c) from [<c031266c>] (ehci_omap_recover_work+0x10/0x18)
[<c031265c>] (ehci_omap_recover_work+0x0/0x18) from [<c008bea8>] (process_one_work+0x278/0x3f8)
[<c008bc30>] (process_one_work+0x0/0x3f8) from [<c008dcb8>] (worker_thread+0x218/0x410)
[<c008daa0>] (worker_thread+0x0/0x410) from [<c009153c>] (kthread+0x8c/0x94)
[<c00914b0>] (kthread+0x0/0x94) from [<c0079874>] (do_exit+0x0/0x638)
 r7:00000013 r6:c0079874 r5:c00914b0 r4:cf42fec0

  • 另,出现错误的位置

    ehci-omap ehci-omap.0: USB bus 1 deregistered

    @@@@@@@@ stopping TI EHCI USB Controller

    @@@@@@@@ stopping TI EHCI USB Controller 1

    @@@@ omap->uhh_base = fa064000

    Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa064014

    在drivers/usb/host/ehci-omap.c的omap_stop_ehc()函数中(标红部分):

    ehci_omap_writel(omap->uhh_base, OMAP_UHH_SYSCONFIG, OMAP_UHH_SYSCONFIG_SOFTRESET);

    while(!(ehci_omap_readl(omap->uhh_base, OMAP_UHH_SYSSTATUS) & (1 << 0))) {

       ……

    }

    从错误信息看,应该是读取OMAP_UHH_SYSSTATUS寄存器出错了,这个错误让我很费解。

  • 写完寄存器加个延时看看.

  • 好像跟我是否连接华为的modem关系不大,即使不接modem也会出现崩溃问题。

    写什么寄存器后加延时啊?

  • abort on non-linefetch

    该异常通常是由于某种原因相应的硬件寄存器通过虚拟地址访问失败

    所以试试在操作寄存器之前加延时,如果不行,通常是由于某些patch没有合