http://bugzilla.suse.com/show_bug.cgi?id=1140892
http://bugzilla.suse.com/show_bug.cgi?id=1140892#c17
--- Comment #17 from James Wang
Well, uBoot cannot be completely broken, or it wouldn't work in the cold boot case. The kernel does something to the device that brings it into a state uBoot cannot handle.
Please attach the output of "lsusb -v", "lsusb -t" and "dmesg" after booting.
Here is the info
lekkon@localhost:~> lsusb -v
Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s
bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x174c ASMedia Technology Inc.
idProduct 0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s
bridge, ASM1153 SATA 3Gb/s bridge
bcdDevice 1.00
iManufacturer 2
iProduct 3
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Command pipe (0x01)
Bus 001 Device 004: ID 152d:0578 JMicron Technology Corp. / JMicron USA
Technology Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x152d JMicron Technology Corp. / JMicron USA Technology
Corp.
idProduct 0x0578
bcdDevice 2.04
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Command pipe (0x01)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Data-out pipe (0x04)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast
Ethernet Adapter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0xec00 SMSC9512/9514 Fast Ethernet Adapter
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x9514 SMC9514 Hub
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.12
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
lekkon@localhost:~> lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx,
480M
|__ Port 3: Dev 4, If 0, Class=Mass Stlekkon@localhost:~> dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.12.14-lp151.28.7-default (geeko@buildhost) (gcc
version 7.4.0 (SUSE Linux) ) #1 SMP Mon Jun 17 16:36:38 UTC 2019 (f8a1872)
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: EFI v2.70 by Das U-Boot
[ 0.000000] efi: SMBIOS=0x32b3d000 MEMRESERVE=0x32a00040
[ 0.000000] cma: Reserved 300 MiB at 0x000000000e800000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem
0x0000000000000000-0x0000000033ffffff]
[ 0.000000] NUMA: Adding memblock [0x0 - 0xfff] on node 0
[ 0.000000] NUMA: Adding memblock [0x1000 - 0x7ef5fff] on node 0
[ 0.000000] NUMA: Adding memblock [0x7ef6000 - 0x7f09fff] on node 0
[ 0.000000] NUMA: Adding memblock [0x7f0a000 - 0x32b3afff] on node 0
[ 0.000000] NUMA: Adding memblock [0x32b3b000 - 0x32b45fff] on node 0
[ 0.000000] NUMA: Adding memblock [0x32b46000 - 0x33f4ffff] on node 0
[ 0.000000] NUMA: Adding memblock [0x33f50000 - 0x33f5ffff] on node 0
[ 0.000000] NUMA: Adding memblock [0x33f60000 - 0x33ffffff] on node 0
[ 0.000000] NUMA: Initmem setup node 0 [mem 0x00000000-0x33ffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x33fce600-0x33fcfdbf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000000033ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000000000fff]
[ 0.000000] node 0: [mem 0x0000000000001000-0x0000000007ef5fff]
[ 0.000000] node 0: [mem 0x0000000007ef6000-0x0000000007f09fff]
[ 0.000000] node 0: [mem 0x0000000007f0a000-0x0000000032b3afff]
[ 0.000000] node 0: [mem 0x0000000032b3b000-0x0000000032b45fff]
[ 0.000000] node 0: [mem 0x0000000032b46000-0x0000000033f4ffff]
[ 0.000000] node 0: [mem 0x0000000033f50000-0x0000000033f5ffff]
[ 0.000000] node 0: [mem 0x0000000033f60000-0x0000000033ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000033ffffff]
[ 0.000000] On node 0 totalpages: 212992
[ 0.000000] DMA zone: 3328 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 212992 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 28 pages/cpu @ffff800033ee0000 s75480 r8192
d31016 u114688
[ 0.000000] pcpu-alloc: s75480 r8192 d31016 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total
pages: 209664
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line:
BOOT_IMAGE=(hd1,msdos2)/boot/Image-4.12.14-lp151.28.7-default loglevel=3
splash=silent plymouth.enable=0 swiotlb=512 cma=300M console=ttyS0,115200n8
root=UUID=6416efdf-d0ba-4edc-a940-fb4b8b180ee1 rw
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 469692K/851968K available (9532K kernel code, 1630K
rwdata, 3864K rodata, 1728K init, 9400K bss, 75076K reserved, 307200K
cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128
MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022
GB)
[ 0.000000] .text : 0xffff000008080000 - 0xffff0000089d0000 ( 9536
KB)
[ 0.000000] .rodata : 0xffff0000089d0000 - 0xffff000008da0000 ( 3904
KB)
[ 0.000000] .init : 0xffff000008da0000 - 0xffff000008f50000 ( 1728
KB)
[ 0.000000] .data : 0xffff000008f50000 - 0xffff0000090e7a00 ( 1631
KB)
[ 0.000000] .bss : 0xffff0000090e7a00 - 0xffff000009a15bcc ( 9401
KB)
[ 0.000000] fixed : 0xffff7dfffe7f9000 - 0xffff7dfffec00000 ( 4124
KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16
MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048
GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0000d00000 ( 13
MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff800034000000 ( 832
MB)
[ 0.000000] ftrace: allocating 35720 entries in 140 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] arch_timer: WARNING: Invalid trigger for IRQ2, assuming level
low
[ 0.000000] arch_timer: WARNING: Please fix your firmware
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every
4398046511078ns
[ 0.000654] Console: colour dummy device 80x25
[ 0.000739] Calibrating delay loop (skipped), value calculated using timer
frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000752] pid_max: default: 32768 minimum: 301
[ 0.000966] Security Framework initialized
[ 0.001064] AppArmor: AppArmor initialized
[ 0.002359] Dentry cache hash table entries: 131072 (order: 8, 1048576
bytes)
[ 0.002919] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.002969] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.002995] Mountpoint-cache hash table entries: 2048 (order: 2, 16384
bytes)
[ 0.004641] ASID allocator initialised with 32768 entries
[ 0.007542] Remapping and enabling EFI services.
[ 0.007585] EFI remap 0x0000000007ef6000 => 0000000020006000
[ 0.007593] EFI remap 0x0000000032b3d000 => 000000002002d000
[ 0.007600] EFI remap 0x0000000032b45000 => 0000000020035000
[ 0.007608] EFI remap 0x0000000033f50000 => 0000000020040000
[ 0.007615] EFI remap 0x000000003f100000 => 0000000020050000
[ 0.008070] smp: Bringing up secondary CPUs ...
[ 0.008863] Detected VIPT I-cache on CPU1
[ 0.008922] arch_timer: WARNING: Invalid trigger for IRQ2, assuming level
low
[ 0.008925] arch_timer: WARNING: Please fix your firmware
[ 0.008941] CPU1: Booted secondary processor [410fd034]
[ 0.009758] Detected VIPT I-cache on CPU2
[ 0.009798] arch_timer: WARNING: Invalid trigger for IRQ2, assuming level
low
[ 0.009801] arch_timer: WARNING: Please fix your firmware
[ 0.009813] CPU2: Booted secondary processor [410fd034]
[ 0.010616] Detected VIPT I-cache on CPU3
[ 0.010649] arch_timer: WARNING: Invalid trigger for IRQ2, assuming level
low
[ 0.010652] arch_timer: WARNING: Please fix your firmware
[ 0.010663] CPU3: Booted secondary processor [410fd034]
[ 0.010755] smp: Brought up 1 node, 4 CPUs
[ 0.010762] SMP: Total of 4 processors activated.
[ 0.010771] CPU features: detected: 32-bit EL0 Support
[ 0.015538] CPU: All CPU(s) started at EL2
[ 0.015559] alternatives: patching kernel code
[ 0.017001] devtmpfs: initialized
[ 0.025648] evm: security.selinux
[ 0.025655] evm: security.ima
[ 0.025659] evm: security.capability
[ 0.026219] SMBIOS 3.0 present.
[ 0.026238] DMI: raspberrypi rpi/rpi, BIOS 2019.01 03/18/2019
[ 0.026258] Registered cp15_barrier emulation handler
[ 0.026269] Registered setend emulation handler
[ 0.026663] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604462750000 ns
[ 0.026698] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.043405] pinctrl core: initialized pinctrl subsystem
[ 0.045579] NET: Registered protocol family 16
[ 0.049487] cpuidle: using governor ladder
[ 0.049625] cpuidle: using governor menu
[ 0.050445] vdso: 2 pages (1 code @ ffff0000089d7000, 1 data @
ffff000008f55000)
[ 0.050466] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.052435] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.052770] Serial: AMBA PL011 UART driver
[ 0.055800] uart-pl011 3f201000.serial: could not find pctldev for node
/soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.070876] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.072476] ACPI: Interpreter disabled.
[ 0.073036] vgaarb: loaded
[ 0.073543] SCSI subsystem initialized
[ 0.073791] libata version 3.00 loaded.
[ 0.073990] Linux cec interface: v0.10
[ 0.074082] pps_core: LinuxPPS API ver. 1 registered
[ 0.074087] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti