现象4:Type-C连接主机时,RK3399PRO的串口打印如下:
toybrick@localhost ~]$ [ 264.929315] fusb302 8-0022: connection has disconnected
[ 264.943789] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[ 264.945135] rockchip-dwc3 usb0: USB unconnected
[ 269.688318] phy phy-ff770000.syscon:usb2-phy@e450.5: charger = USB_CDP_CHARGER
[ 269.756388] fusb302 8-0022: CC connected in CC1 as UFP
[ 269.765679] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[ 269.766537] rockchip-dwc3 usb0: USB peripheral connected
[ 272.687977] fusb302 8-0022: PD disabled
备注:周五还可以烧录固件的。今天在loader里面执行了如下命令后就发现USB坏了= =
=> usb
usb - USB sub-system
Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
(specify port 0 to indicate the device's upstream port)
Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
from memory address `addr'
=> usb start
starting USB...
USB0: failed to get usb phy
Port not available.
USB1: failed to get usb phy
Port not available.
USB2: failed to get usb phy
Port not available.
USB3: failed to get usb phy
Port not available.
USB4: Can't get the usbphy register address
probe failed, error -6
USB5: Can't get the usbphy register address
probe failed, error -6
=>