shenjun0818 发表于 2020-1-1 23:22:38

Disable USB1 导致启动卡死的问题

在使用ROC-RK3399-PC 板子调试的时候,我想去掉FUSB302 这颗CC检测芯片的控制,于是我修改了"rk3399-roc-pc.dtsi" 文件:

&i2c4 {
      status = "okay";
      i2c-scl-rising-time-ns = <475>;
      i2c-scl-falling-time-ns = <26>;

      gsl3680: gsl3680@40 {
                ..................................................
      };

      fusb1: fusb30x@22 {
                compatible = "fairchild,fusb302";
                reg = <0x22>;
                pinctrl-names = "default";
                pinctrl-0 = <&fusb1_int &typec1_vbus_drv>;
                int-n-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
                vbus-5v-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
                -status = "okay";
                +status = "disabled"         (okay 修改成 disabled)
      };
};


结果,kernel log卡死:
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.167 (shenjun1@shenjun1-Lenovo-Product) (temp_test: 8826b375519d4af5072ded04729f7a5a3b86f4cf) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #31 SMP Wed Jan 1 23:09:30 CST 2020
[    0.000000] Boot CPU: AArch64 Processor
[    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[    0.000000] bootconsole enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0f7ec9000 s46120 r8192 d31704 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pages: 991752
[    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno=838049825e715a33rw rootwait earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 systemd.gpt_auto=0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB (0MB) mapped at
[    0.000000] Memory: 3937412K/4030464K available (10238K kernel code, 1544K rwdata, 4168K rodata, 1088K init, 1955K bss, 93052K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]   modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]   vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008ea0000 - 0xffffff8008fb0000   (1088 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008a80000   ( 10240 KB)
[    0.000000]   .rodata : 0xffffff8008a80000 - 0xffffff8008ea0000   (4224 KB)
[    0.000000]       .data : 0xffffff8008fb0000 - 0xffffff8009132008   (1545 KB)
[    0.000000]   vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (   8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc3e00000   (    61 MB actual)
[    0.000000]   fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (4116 KB)
[    0.000000]   PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]   memory: 0xffffffc000200000 - 0xffffffc0f8000000   (3966 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]         Build-time adjustment of leaf fanout to 64.
[    0.000000]         RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
[    0.000000] ITS: allocated 65536 Devices @a280000 (psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x000000000a210000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x000000000a220000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GIC: PPI partition interrupt-partition-0 { /cpus/cpu@0 /cpus/cpu@1 /cpus/cpu@2 /cpus/cpu@3 }
[    0.000000] GIC: PPI partition interrupt-partition-1 { /cpus/cpu@100 /cpus/cpu@101 }
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.010327] Console: colour dummy device 80x25
[    0.015226] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.026507] pid_max: default: 32768 minimum: 301
[    0.031662] Security Framework initialized
[    0.036225] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.043590] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.052206] Initializing cgroup subsys devices
[    0.057101] Initializing cgroup subsys freezer
[    0.062005] ftrace: allocating 39096 entries in 153 pages
[    0.168640] sched-energy: Sched-energy-costs installed from DT
[    0.175063] CPU0: update cpu_capacity 401
[    0.179543] ASID allocator initialised with 32768 entries
[    0.188670] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.198902] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.210442] Detected VIPT I-cache on CPU1
[    0.210476] CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.210506] CPU1: using LPI pending table @0x00000000f2ca0000
[    0.210550] CPU1: update cpu_capacity 401
[    0.210555] CPU1: Booted secondary processor
[    0.211107] Detected VIPT I-cache on CPU2
[    0.211127] CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.211154] CPU2: using LPI pending table @0x00000000f2cd0000
[    0.211182] CPU2: update cpu_capacity 401
[    0.211185] CPU2: Booted secondary processor
[    0.211711] Detected VIPT I-cache on CPU3
[    0.211731] CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.211758] CPU3: using LPI pending table @0x00000000f2d20000
[    0.211784] CPU3: update cpu_capacity 401
[    0.211788] CPU3: Booted secondary processor
[    0.212342] Detected PIPT I-cache on CPU4
[    0.212368] CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.212407] CPU4: using LPI pending table @0x00000000f2d50000
[    0.212445] CPU4: update cpu_capacity 1024
[    0.212449] CPU4: Booted secondary processor
[    0.213008] Detected PIPT I-cache on CPU5
[    0.213026] CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.213064] CPU5: using LPI pending table @0x00000000f2d80000
[    0.213090] CPU5: update cpu_capacity 1024
[    0.213094] CPU5: Booted secondary processor
[    0.213182] Brought up 6 CPUs
[    0.355574] SMP: Total of 6 processors activated.
[    0.360741] CPU features: detected feature: GIC system register CPU interface
[    0.368578] CPU features: detected feature: 32-bit EL0 Support
[    0.374988] CPU: All CPU(s) started at EL2
[    0.379525] alternatives: patching kernel code
[    0.385783] devtmpfs: initialized
[    0.407427] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.418147] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.425499] pinctrl core: initialized pinctrl subsystem
[    0.432014] NET: Registered protocol family 16
[    0.441941] cpuidle: using governor ladder
[    0.450467] cpuidle: using governor menu
[    0.454813] Registered FIQ tty driver
[    0.459082] vdso: 2 pages (1 code @ ffffff8008a86000, 1 data @ ffffff8008fb4000)
[    0.467228] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.474840] DMA: preallocated 256 KiB pool for atomic allocations
[    0.507594] console enabled
[    0.507594] console enabled
[    0.515276] bootconsole disabled
[    0.515276] bootconsole disabled
[    0.523713] Registered fiq debugger ttyFIQ0
[    0.544284] rockchip-pinctrl pinctrl: pin gpio1-17 already requested by vcc-pcie; cannot claim for dvdd-1v2
[    0.554028] rockchip-pinctrl pinctrl: pin-49 (dvdd-1v2) status -22
[    0.560214] rockchip-pinctrl pinctrl: could not request pin 49 (gpio1-17) from group cif-pwron device rockchip-pinctrl
[    0.571075] reg-fixed-voltage dvdd-1v2: Error applying setting, reverse things back
[    0.579635] iommu: Adding device ff650000.vpu_service to group 0
[    0.585725] iommu: Adding device ff660000.rkvdec to group 1
[    0.591420] iommu: Adding device ff8f0000.vop to group 2
[    0.596828] iommu: Adding device ff900000.vop to group 3
[    0.602233] iommu: Adding device ff910000.rkisp1 to group 4
[    0.607902] iommu: Adding device ff920000.rkisp1 to group 5
[    0.613967] rk_iommu ff650800.iommu: can't get sclk
[    0.619101] rk_iommu ff660480.iommu: can't get sclk
[    0.624193] rk_iommu ff8f3f00.iommu: can't get sclk
[    0.629249] rk_iommu ff903f00.iommu: can't get sclk
[    0.634309] rk_iommu ff914000.iommu: can't get sclk
[    0.639370] rk_iommu ff924000.iommu: can't get sclk
[    0.644613] SCSI subsystem initialized
[    0.648720] usbcore: registered new interface driver usbfs
[    0.654248] usbcore: registered new interface driver hub
[    0.659649] usbcore: registered new device driver usb
[    0.664769] media: Linux media interface: v0.10
[    0.669338] Linux video capture interface: v2.00
[    0.674032] pps_core: LinuxPPS API ver. 1 registered
[    0.679000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.688142] PTP clock support registered
[    0.693229] Advanced Linux Sound Architecture Driver Initialized.
[    0.699803] Bluetooth: Core ver 2.21
[    0.703410] NET: Registered protocol family 31
[    0.707858] Bluetooth: HCI device and connection manager initialized
[    0.714215] Bluetooth: HCI socket layer initialized
[    0.719099] Bluetooth: L2CAP socket layer initialized
[    0.724167] Bluetooth: SCO socket layer initialized
[    0.729670] rockchip-cpuinfo cpuinfo: Serial                : 838049825e715a33
[    0.736235] clocksource: Switched to clocksource arch_sys_counter
[    0.791958] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.800177] NET: Registered protocol family 2
[    0.804975] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.812469] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)
[    0.820117] TCP: Hash tables configured (established 32768 bind 32768)
[    0.826775] UDP hash table entries: 2048 (order: 5, 196608 bytes)
[    0.833098] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes)
[    0.840005] NET: Registered protocol family 1
[    0.844678] RPC: Registered named UNIX socket transport module.
[    0.850613] RPC: Registered udp transport module.
[    0.855328] RPC: Registered tcp transport module.
[    0.860044] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.867621] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.875886] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.887202] Initialise system trusted keyring
[    0.899547] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.906164] NFS: Registering the id_resolver key type
[    0.911262] Key type id_resolver registered
[    0.915448] Key type id_legacy registered
[    0.919671] fuse init (API version 7.23)
[    0.923940] SGI XFS with security attributes, no debug enabled
[    0.934730] NET: Registered protocol family 38
[    0.939210] Key type asymmetric registered
[    0.943317] Asymmetric key parser 'x509' registered
[    0.948363] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.955763] io scheduler noop registered
[    0.959697] io scheduler deadline registered
[    0.964095] io scheduler cfq registered (default)
[    0.971042] rockchip-mipi-dphy-rx ff770000.syscon:mipi-dphy-rx0: invalid resource
[    0.983409] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.989828] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.989853] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.989859] rockchip-pcie f8000000.pcie: missing "memory-region" property
[    0.989871] PCI host bridge /pcie@f8000000 ranges:
[    0.989889]   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[    0.989895]    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[    1.531295] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    1.538111] rockchip-pcie f8000000.pcie: deferred probe failed
[    1.544091] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    1.551690] backlight supply power not found, using dummy regulator
[    1.558813] rk-vcodec ff650000.vpu_service: no regulator for vcodec
[    1.565478] rk-vcodec ff650000.vpu_service: probe device
[    1.571127] rk-vcodec ff650000.vpu_service: drm allocator with mmu enabled
[    1.578761] rk-vcodec ff650000.vpu_service: could not find power_model node
[    1.585742] rk-vcodec ff650000.vpu_service: init success
[    1.591486] rk-vcodec ff660000.rkvdec: no regulator for vcodec
[    1.597799] rk-vcodec ff660000.rkvdec: probe device
[    1.602934] rk-vcodec ff660000.rkvdec: drm allocator with mmu enabled
[    1.609780] rk-vcodec ff660000.rkvdec: could not find power_model node
[    1.616318] rk-vcodec ff660000.rkvdec: init success
[    1.622698] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.630281] dma-pl330 ff6d0000.dma-controller:         DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    1.640930] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.648512] dma-pl330 ff6e0000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.659861] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.666846] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[    1.676049] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.serial
[    1.686759] rockchip-pinctrl pinctrl: pin-147 (ff1a0000.serial) status -22
[    1.693640] rockchip-pinctrl pinctrl: could not request pin 147 (gpio4-19) from group uart2c-xferon device rockchip-pinctrl
[    1.704938] dw-apb-uart ff1a0000.serial: Error applying setting, reverse things back
[    1.712845] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 39, base_baud = 1500000) is a 16550A
[    1.722861] Initialized drm 1.1.0 20060810
[    1.731532] Rockchip DRM driver version: v1.0.1
[    1.738790] mali ff9a0000.gpu: Failed to get regulator
[    1.743944] mali ff9a0000.gpu: Power control initialization failed
[    1.750506] Unable to detect cache hierarchy for CPU 0
[    1.756435] brd: module loaded
[    1.764723] loop: module loaded
[    1.768437] zram: Added device: zram0
[    1.772440] lkdtm: No crash points registered, enable through debugfs
[    1.780397] rockchip-spi ff1d0000.spi: Failed to request TX DMA channel
[    1.787025] rockchip-spi ff1d0000.spi: Failed to request RX DMA channel
[    1.793646] rockchip-spi ff1d0000.spi: no high_speed pinctrl state
[    1.800691] register spi return v = :0
[    1.805386] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.812449] rk_gmac-dwmac fe300000.ethernet: TX delay(0x2e).
[    1.818119] rk_gmac-dwmac fe300000.ethernet: RX delay(0x13).
[    1.823803] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.830154] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    1.837115] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.848236] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    1.853937] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    1.858991]Ring mode enabled
[    1.862053]DMA HW capability register supported
[    1.866584]Normal descriptors
[    1.869921]RX Checksum Offload Engine supported (type 2)
[    1.875404]TX Checksum insertion supported
[    1.879681]Wake-Up On Lan supported
[    1.883376]Enable RX Mitigation via HW Watchdog Timer
[    1.953431] libphy: stmmac: probed
[    1.956848] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.963287] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.970473] usbcore: registered new interface driver rndis_wlan
[    1.976579] Rockchip WiFi SYS interface (V1.00) ...
[    1.981621] usbcore: registered new interface driver rtl8150
[    1.987322] usbcore: registered new interface driver r8152
[    1.992855] usbcore: registered new interface driver asix
[    1.998346] usbcore: registered new interface driver ax88179_178a
[    2.004494] usbcore: registered new interface driver cdc_ether
[    2.010365] usbcore: registered new interface driver dm9601
[    2.015984] usbcore: registered new interface driver sr9700
[    2.021602] usbcore: registered new interface driver rndis_host
[    2.027583] usbcore: registered new interface driver cdc_ncm
[    2.033290] usbcore: registered new interface driver qmi_wwan
[    2.039079] usbcore: registered new interface driver cdc_mbim
[    2.046196] rockchip-dwc3 usb0: failed to get drvdata dwc3
[    2.052679] rockchip-dwc3 usb1: failed to get drvdata dwc3
[    2.059242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.065781] ehci-pci: EHCI PCI platform driver
[    2.070281] ehci-platform: EHCI generic platform driver
[    2.076172] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.082382] ohci-platform: OHCI generic platform driver
[    2.088597] usbcore: registered new interface driver cdc_acm
[    2.094267] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.102308] usbcore: registered new interface driver cdc_wdm
[    2.108010] usbcore: registered new interface driver uas
[    2.113378] usbcore: registered new interface driver usb-storage
[    2.119464] usbcore: registered new interface driver usbserial
[    2.125328] usbcore: registered new interface driver usbserial_generic
[    2.131886] usbserial: USB Serial support registered for generic
[    2.137922] usbcore: registered new interface driver ch341
[    2.143430] usbserial: USB Serial support registered for ch341-uart
[    2.149733] usbcore: registered new interface driver cp210x
[    2.155337] usbserial: USB Serial support registered for cp210x
[    2.161291] usbcore: registered new interface driver ftdi_sio
[    2.167068] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.174409] usbcore: registered new interface driver keyspan
[    2.180097] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    2.187947] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    2.195277] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    2.202606] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    2.209945] usbcore: registered new interface driver option
[    2.215558] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.222550] usbcore: registered new interface driver oti6858
[    2.228246] usbserial: USB Serial support registered for oti6858
[    2.234281] usbcore: registered new interface driver pl2303
[    2.239884] usbserial: USB Serial support registered for pl2303
[    2.245835] usbcore: registered new interface driver qcserial
[    2.251608] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.258601] usbcore: registered new interface driver sierra
[    2.264204] usbserial: USB Serial support registered for Sierra USB modem
[    2.272034] usbcore: registered new interface driver usbtouchscreen
[    2.278557] .. rk pwm remotectl v1.1 init
[    2.282816] input: ff420030.pwm as /devices/platform/ff420030.pwm/input/input0
[    2.290482] sensor_register_slave:mma8452,id=17
[    2.295030] sensor_register_slave:lis3dh,id=7
[    2.299400] sensor_register_slave:mma7660,id=18
[    2.303942] sensor_register_slave:lsm303d,id=22
[    2.308481] sensor_register_slave:gs_mc3230,id=23
[    2.313193]    gsensor_init
[    2.316780] sensor_register_slave:mpu6880_acc,id=24
[    2.321669] sensor_register_slave:mpu6500_acc,id=25
[    2.326557] sensor_register_slave:lsm330_acc,id=26
[    2.331361] sensor_register_slave:akm8975,id=30
[    2.335902] sensor_register_slave:akm8963,id=31
[    2.340442] sensor_register_slave:l3g4200d,id=45
[    2.345072] sensor_register_slave:l3g20d,id=46
[    2.349530] sensor_register_slave:ewtsa,id=47
[    2.353899] sensor_register_slave:lsm330_gyro,id=51
[    2.358787] sensor_register_slave:cm3217,id=53
[    2.363242] sensor_register_slave:cm3218,id=54
[    2.368177] i2c /dev entries driver
[    2.372941] fan53555-regulator 0-0040: FAN53555 Option Rev Detected!
[    2.379896] fan53555-reg: supplied by vcc5v0_sys
[    2.386907] fan53555-regulator 0-0041: FAN53555 Option Rev Detected!
[    2.393843] fan53555-reg: supplied by vcc5v0_sys
[    2.400888] rk808 0-001b: Pmic Chip id: 0x0
[    2.408596] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    2.414835] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    2.421113] DCDC_REG1: supplied by vcc3v3_sys
[    2.426283] DCDC_REG2: supplied by vcc3v3_sys
[    2.431274] DCDC_REG3: supplied by vcc3v3_sys
[    2.435959] DCDC_REG4: supplied by vcc3v3_sys
[    2.440825] LDO_REG1: supplied by vcc3v3_sys
[    2.446290] LDO_REG2: supplied by vcc3v3_sys
[    2.451577] LDO_REG3: supplied by vcc3v3_sys
[    2.456889] LDO_REG4: supplied by vcc3v3_sys
[    2.462203] LDO_REG5: supplied by vcc3v3_sys
[    2.467537] LDO_REG6: supplied by vcc3v3_sys
[    2.472846] LDO_REG7: supplied by vcc3v3_sys
[    2.478163] LDO_REG8: supplied by vcc3v3_sys
[    2.483486] SWITCH_REG1: supplied by vcc3v3_sys
[    2.488381] SWITCH_REG2: supplied by vcc3v3_sys
[    2.496360] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0
[    2.503471] rk808 0-001b: Can not read property pmic,stby-gpio
[    2.509344] rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at ffffff80093f6000
[    2.517539] rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at ffffff80093f8000
[    2.525569] rk3x-i2c ff120000.i2c: Initialized RK3xxx I2C bus at ffffff80093fa000
[    2.534139] fusb302 7-0022: Can't get property of role, set role to default DRP
[    2.541618] fusb302 7-0022: fusb302 send extcon to disable vbus 5v
[    2.550542] fusb302 7-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    2.560520] mp8859 7-0066: set mp8859 out 12v ok
[    2.565147] mp8859 7-0066: register ext0 dev0
[    2.569631] mp8859 7-0066: mp8859 probe successful
[    2.574462] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff80093fc000
[    2.582530] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff80093fe000
[    2.591085] IR NEC protocol handler initialized
[    2.596437] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.00
[    2.602814] rkisp1 ff910000.rkisp1: Missing rockchip,grf property
[    2.610457] rkisp1 ff920000.rkisp1: rkisp1 driver version: v00.01.00
[    2.616833] rkisp1 ff920000.rkisp1: Missing rockchip,grf property
[    2.624385] usbcore: registered new interface driver uvcvideo
[    2.630142] USB Video Class driver (1.1.1)
[    2.634312] cw201x 2-0062: design_capacity missing!
[    2.639371] cw_bat_probe cw_init error
[    2.646136] rk_tsadcv2_temp_to_code: Invalid conversion table: code=1023, temperature=2147483647
[    2.655076] rockchip-thermal ff260000.tsadc: tsadc is probed successfully!
[    2.662791] Bluetooth: Virtual HCI driver ver 1.5
[    2.667623] Bluetooth: HCI UART driver ver 2.3
[    2.672081] Bluetooth: HCI UART protocol H4 registered
[    2.677235] Bluetooth: HCI UART protocol LL registered
[    2.682384] Bluetooth: HCI UART protocol ATH3K registered
[    2.684616] fusb302 7-0022: CC connected in CC1 as UFP
[    2.692989] usbcore: registered new interface driver bfusb
[    2.698521] usbcore: registered new interface driver btusb
[    2.704478] cpu cpu0: bin=1
[    2.707331] cpu cpu0: leakage=17
[    2.722681] cpu cpu0: temp=46875, pvtm=145010 (144680 + 330)
[    2.728594] cpu cpu0: pvtm-volt-sel=1
[    2.732322] cpu cpu0: bin-scale=34
[    2.736046] cpu cpu4: bin=1
[    2.738900] cpu cpu4: leakage=30
[    2.754411] cpu cpu4: temp=46250, pvtm=150847 (150672 + 175)
[    2.760247] cpu cpu4: pvtm-volt-sel=1
[    2.763959] cpu cpu4: bin-scale=17
[    2.768546] cpu cpu0: avs=0, target-scale=34
[    2.772904] cpu cpu0: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
[    2.780612] cpu cpu4: avs=0, target-scale=17
[    2.784977] cpu cpu4: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
[    2.785269] mp8859 7-0066: mp8859 get notify
[    2.785276] mp8859 7-0066: mp8859 get ufp 1 dp 0
[    2.785878] mp8859 7-0066: set mp8859 out 12v ok
[    2.807006] sdhci: Secure Digital Host Controller Interface driver
[    2.813206] sdhci: Copyright(c) Pierre Ossman
[    2.817579] Synopsys Designware Multimedia Card Interface Driver
[    2.824516] dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
[    2.831792] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
[    2.838594] dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
[    2.844374] dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    2.854208] dwmmc_rockchip fe310000.dwmmc: No vmmc regulator found
[    2.860391] dwmmc_rockchip fe310000.dwmmc: No vqmmc regulator found
[    2.867397] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[    2.874655] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[    2.881456] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[    2.887229] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
[    2.896973] dwmmc_rockchip fe320000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    2.905368] vccio_sd: unsupportable voltage range: 3300000-3000000uV
[    2.911732] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done
[    2.919215] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done
[    2.937257] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.957451] dwmmc_rockchip fe320000.dwmmc: 1 slots initialized
[    2.963532] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.970807] sdhci-arasan fe330000.sdhci: No vmmc regulator found
[    2.976820] sdhci-arasan fe330000.sdhci: No vqmmc regulator found
[    3.009314] mmc1: SDHCI controller on fe330000.sdhci using ADMA
[    3.018276] hidraw: raw HID events driver (C) Jiri Kosina
[    3.024276] usbcore: registered new interface driver usbhid
[    3.029861] usbhid: USB HID core driver
[    3.033902] inv_mpu_iio: inv_mpu_init:746
[    3.039837] rockchip-dmc dmc: unable to get devfreq-event device : dfi
[    3.049293] usbcore: registered new interface driver snd-usb-audio
[    3.062298] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[    3.065355] mmc1: MAN_BKOPS_EN bit is not set
[    3.074414] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[    3.079651] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    3.080586] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB
[    3.082134] mmcblk1boot0: mmc1:0001 AJTD4R partition 1 4.00 MiB
[    3.083262] mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB
[    3.084752] mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB
[    3.088418]mmcblk1: p1 p2 p3 p4 p5 p6 p7
[    3.115997] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.122911] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.128370] Initializing XFRM netlink socket
[    3.133462] NET: Registered protocol family 10
[    3.139087] NET: Registered protocol family 17
[    3.143568] NET: Registered protocol family 15
[    3.148605] Bluetooth: RFCOMM socket layer initialized
[    3.153834] Bluetooth: RFCOMM ver 1.11
[    3.157638] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.163581] Bluetooth: HIDP socket layer initialized
[    3.168621] : Enter rfkill_wlan_init
[    3.173661] : Enter rfkill_rk_init
[    3.178343] Key type dns_resolver registered
[    3.183157] sensor_register_slave:mpu6880_gyro,id=50
[    3.187284] vendor storage:20160801 ret = 0
[    3.195423] ov13850 1-0036: write SCCB_ID failed
[    3.200173] ov13850: probe of 1-0036 failed with error -5
[    3.208417] ov13850 1-0046: write SCCB_ID failed
[    3.213153] ov13850: probe of 1-0046 failed with error -5
[    3.219031] Registered cp15_barrier emulation handler
[    3.224367] Registered setend emulation handler
[    3.229714] Loading compiled-in X.509 certificates
[    3.234928] rga2: Module initialized.
[    3.240283] phy phy-ff770000.syscon:usb2-phy@e450.3: Failed to get VBUS supply regulator
[    3.250582] mali ff9a0000.gpu: leakage=23
[    3.269195] mali ff9a0000.gpu: temp=46250, pvtm=121070 (121010 + 60)
[    3.278201] mali ff9a0000.gpu: pvtm-volt-sel=1
[    3.283970] mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0
[    3.290959] mali ff9a0000.gpu: Protected mode not available
[    3.298688] mali ff9a0000.gpu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
[    3.305961] mali ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
[    3.317141] I : : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; : 414; : kbase_devfreq_init(); success initing power_model_simple.
[    3.332989] mali ff9a0000.gpu: Probed as mali0
[    3.342623] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    3.348295] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
[    3.356102] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x06030010
[    3.364926] xhci-hcd xhci-hcd.4.auto: irq 230, io mem 0xfe800000
[    3.371198] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.378002] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.385249] usb usb1: Product: xHCI Host Controller
[    3.390142] usb usb1: Manufacturer: Linux 4.4.167 xhci-hcd
[    3.395630] usb usb1: SerialNumber: xhci-hcd.4.auto
[    3.401012] hub 1-0:1.0: USB hub found
[    3.404873] hub 1-0:1.0: 1 port detected
[    3.409150] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    3.414776] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
[    3.422501] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.430716] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    3.437511] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.444735] usb usb2: Product: xHCI Host Controller
[    3.449617] usb usb2: Manufacturer: Linux 4.4.167 xhci-hcd
[    3.455106] usb usb2: SerialNumber: xhci-hcd.4.auto
[    3.460417] hub 2-0:1.0: USB hub found
[    3.464220] hub 2-0:1.0: 1 port detected
[    3.469254] xhci-hcd xhci-hcd.4.auto: remove, state 1
[    3.474485] usb usb2: USB disconnect, device number 1
[    3.502131] xhci-hcd xhci-hcd.4.auto: Host not halted after 16000 microseconds.
[    3.509436] xhci-hcd xhci-hcd.4.auto: Host controller not halted, aborting reset.
[    3.516952] xhci-hcd xhci-hcd.4.auto: USB bus 2 deregistered
[    3.522890] xhci-hcd xhci-hcd.4.auto: remove, state 4
[    3.528000] usb usb1: USB disconnect, device number 1
[    3.533507] xhci-hcd xhci-hcd.4.auto: USB bus 1 deregistered
[    3.723156] phy phy-ff770000.syscon:usb2-phy@e450.3: charger = USB_CDP_CHARGER
[    3.732847] rockchip-dwc3 usb1: failed to get drvdata dwc3
[    3.742571] ehci-platform fe380000.usb: EHCI Host Controller
[    3.748957] rockchip-dwc3 usb0: USB peripheral connected
[    3.754352] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.762539] ehci-platform fe380000.usb: irq 28, io mem 0xfe380000
[    3.774674] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.781544] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.788380] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.795641] usb usb1: Product: EHCI Host Controller
[    3.800576] usb usb1: Manufacturer: Linux 4.4.167 ehci_hcd
[    3.806115] usb usb1: SerialNumber: fe380000.usb
[    3.812461] hub 1-0:1.0: USB hub found
[    3.816276] hub 1-0:1.0: 1 port detected
[    3.821898] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.829355] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 2
[    3.837390] ohci-platform fe3a0000.usb: irq 29, io mem 0xfe3a0000
[    3.898689] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    3.905520] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.912766] usb usb2: Product: Generic Platform OHCI controller
[    3.918716] usb usb2: Manufacturer: Linux 4.4.167 ohci_hcd
[    3.924284] usb usb2: SerialNumber: fe3a0000.usb
[    3.930134] hub 2-0:1.0: USB hub found
[    3.934003] hub 2-0:1.0: 1 port detected
[    3.939505] input: adc-keys as /devices/platform/adc-keys/input/input1
[    3.948074] dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
[    3.955378] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
[    3.962199] dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
[    3.967993] dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    3.977867] dwmmc_rockchip fe310000.dwmmc: No vmmc regulator found
[    3.984059] dwmmc_rockchip fe310000.dwmmc: No vqmmc regulator found
[    3.990756] dwmmc_rockchip fe310000.dwmmc: allocated mmc-pwrseq
[    4.008389] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.028688] dwmmc_rockchip fe310000.dwmmc: 1 slots initialized
[    4.035893] rockchip-dmc dmc: Failed to get leakage
[    4.040919] rockchip-dmc dmc: Failed to get pvtm
[    4.045950] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    4.052431] rockchip-dmc dmc: failed to get vop pn to msch rl
[    4.058840] rockchip-dmc dmc: could not find power_model node
[    4.066321] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[    4.074087] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[    4.077378] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    4.095110] rockchip-dwc3 usb1: failed to get drvdata dwc3
[    4.103458] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    4.111100] ==gsl_ts_init==
[    4.111752] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[    4.111759] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[    4.114328] rockchip-dwc3 usb1: failed to get drvdata dwc3
[    4.122354] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    4.145494] ret=0
[    4.152519] rk808-rtc rk808-rtc: setting system clock to 2013-01-18 08:50:07 UTC (1358499007)
[    4.177450] mmc_host mmc2: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    4.203971] vcc_sd: disabling
[    4.207059] vcc_mipi: disabling
[    4.210249] dvdd_1v2: disabling
[    4.214103] u?

有哪位大神知道什么原因吗?
页: [1]
查看完整版本: Disable USB1 导致启动卡死的问题