Skip to content

U-boot: Crash on usb reset command after usb start #14

Description

@zriqo
axon:> usb reset
resetting USB...
rockchip_usb2phy_power_off: Failed to set VBus supply
failed to power off usb phy
device_remove: Device 'usb@fc800000' failed to remove, but children are gone
rockchip_usb2phy_power_off: Failed to set VBus supply
failed to power off usb phy
device_remove: Device 'usb@fc840000' failed to remove, but children are gone
rockchip_usb2phy_power_off: Failed to set VBus supply
failed to power off usb phy
device_remove: Device 'usb@fc880000' failed to remove, but children are gone
rockchip_usb2phy_power_off: Failed to set VBus supply
failed to power off usb phy
device_remove: Device 'usb@fc8c0000' failed to remove, but children are gone
Bus usb@fc000000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fc800000: Bus usb@fc840000: Bus usb@fc880000: Bus usb@fc8c0000: Bus usb@fcd00000: usd
Failed to get USB PHY0 for usb@fcd00000
Port not available.
Bus usb@fc400000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fc000000 for devices... 1 USB Device(s) found
scanning bus usb@fc800000 for devices... "Synchronous Abort" handler, esr 0x96000010

* Reason:        Exception from a Data abort, from current exception level
* PC         =   000000000021ebd8
* LR         =   000000000021ebd8
* SP         =   00000000eb7f7960
* ESR_EL2    =   0000000096000010
* Reloc Off  =   00000000ed9ec000

x0 : 0000000000000000 x1 : 00000000eb7f7b9f
x2 : 00000000eb7f7b9e x3 : 0000000008000000
x4 : 0000000000000000 x5 : 0000000000000000
x6 : 0000000000000000 x7 : 00000000ebcd9000
x8 : 0000000000000100 x9 : 0000000000000008
x10: 0000000000000006 x11: 0000000000000080
x12: 0000000000000006 x13: 0000000000000001
x14: 00000000eb7f82a0 x15: 0000000000000002
x16: 00000000edc886f0 x17: 00000000ebc992b8
x18: 00000000eb7ffcd8 x19: 00000000eb7f8180
x20: 00000000ebbf5130 x21: 00000000eb7f7b9f
x22: 00000000eb7f7b9e x23: 0000000080000083
x24: 0000000000000001 x25: 00000000eb7f7d80
x26: 00000000ebcb8700 x27: 0000000000000100
x28: 00000000eb7f8180 x29: 00000000eb7f7b40


Call trace:
  PC:   [< 0021ebd8 >]
  LR:   [< 0021ebd8 >]

Stack:
        [< 0021ebd8 >]
        [< 0029a834 >]
        [< 0029b1f8 >]
        [< 00297e9c >]
        [< 0021ddd8 >]
        [< 0021de88 >]
        [< 0021decc >]
        [< 0021dfdc >]
        [< 0021eaec >]
        [< 00298154 >]
        [< 0029837c >]
        [< 00298518 >]
        [< 00214d64 >]
        [< 00214e04 >]
        [< 00231d0c >]
        [< 0021a238 >]
        [< 0021a3c4 >]
        [< 0021a910 >]
        [< 0023138c >]
        [< 00218910 >]
        [< 0021b114 >]
        [< 002a8afc >]
        [< 0021b49c >]
        [< 00201c38 >]

Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt

Resetting CPU ...

### ERROR ### Please RESET the board ###

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions