Firefly开源社区

标题: RK3288系统 调试串口不能输入 [打印本页]

作者: 天道张    时间: 2017-11-17 17:45
标题: RK3288系统 调试串口不能输入
RK3288开发板可以正常启动,debug调试口有输出,但是就是串口不能输入,usb转TTL点评自发自收正常,不知道这是什么原因啊?
下面是日志输出:
U-Boot SPL 2016.09-rc1-00210-g9073bdf-dirty (Aug 23 2016 - 13:41:04)
Trying to boot from MMC2


U-Boot 2016.09-rc1-00210-g9073bdf-dirty (Aug 31 2016 - 14:01:31 +0800)

Model: rk3288-miqi
DRAM:  2 GiB
MMC:   dwmmc@ff0c0000: 0dwmmc@ff0f0000: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
miqi init
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:6...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
163 bytes read in 4 ms (39.1 KiB/s)
1:      kernel-4.4
Retrieving file: /zImage
reading /zImage
7456944 bytes read in 284 ms (25 MiB/s)
append: earlyprintk console=ttyS2,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
Retrieving file: /rk3288-miqi.dtb
reading /rk3288-miqi.dtb
36306 bytes read in 5 ms (6.9 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 1fff4000, end 1ffffdd1 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x500
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.16 (root@build) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #17 SMP Wed Aug 31 08:29:58 UTC 2016
[    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: rockchip,rk3288-miqi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 13 pages/cpu @eef95000 s24128 r8192 d20928 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: earlyprintk console=ttyS2,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2060824K/2097152K available (12122K kernel code, 716K rwdata, 3400K rodata, 1024K init, 545K bss, 36328K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc10288b4   (16515 kB)
[    0.000000]       .init : 0xc1100000 - 0xc1200000   (1024 kB)
[    0.000000]       .data : 0xc1200000 - 0xc12b33f8   ( 717 kB)
[    0.000000]        .bss : 0xc12b5000 - 0xc133d764   ( 546 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: failed to init: -19
[    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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000029] Switching to timer-based delay loop, resolution 41ns
[    0.002128] Console: colour dummy device 80x30
[    0.002170] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002195] pid_max: default: 32768 minimum: 301
[    0.002326] Security Framework initialized
[    0.002342] Yama: becoming mindful.
[    0.002425] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002446] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003488] Initializing cgroup subsys devices
[    0.003518] Initializing cgroup subsys freezer
[    0.003561] CPU: Testing write buffer coherency: ok
[    0.003610] ftrace: allocating 37953 entries in 112 pages
[    0.112942] CPU0: update cpu_capacity 430
[    0.112961] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[    0.113283] Setting up static identity map for 0x100000 - 0x1000b8
[    0.116802] CPU1: update cpu_capacity 430
[    0.116812] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[    0.118745] CPU2: update cpu_capacity 430
[    0.118754] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[    0.120674] CPU3: update cpu_capacity 430
[    0.120684] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[    0.120809] Brought up 4 CPUs
[    0.120851] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.120861] CPU: All CPU(s) started in SVC mode.
[    0.122657] devtmpfs: initialized
[    0.136588] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[    0.137094] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.137623] xor: measuring software checksum speed
[    0.232781]    arm4regs  :  1038.400 MB/sec
[    0.332875]    8regs     :   802.400 MB/sec
[    0.432973]    32regs    :   821.200 MB/sec
[    0.432987] xor: using function: arm4regs (1038.400 MB/sec)
[    0.433024] pinctrl core: initialized pinctrl subsystem
[    0.434324] NET: Registered protocol family 16
[    0.434940] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.463077] cpuidle: using governor ladder
[    0.493114] cpuidle: using governor menu
[    0.520615] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.520630] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.734055] raid6: int32x1  gen()    81 MB/s
[    0.903934] raid6: int32x1  xor()    77 MB/s
[    1.074166] raid6: int32x2  gen()   120 MB/s
[    1.244371] raid6: int32x2  xor()    97 MB/s
[    1.414549] raid6: int32x4  gen()    98 MB/s
[    1.584690] raid6: int32x4  xor()    90 MB/s
[    1.755019] raid6: int32x8  gen()   121 MB/s
[    1.925271] raid6: int32x8  xor()    92 MB/s
[    1.925284] raid6: using algorithm int32x8 gen() 121 MB/s
[    1.925293] raid6: .... xor() 92 MB/s, rmw enabled
[    1.925303] raid6: using intx1 recovery algorithm
[    1.928027] iommu: Adding device ff930000.vop to group 0
[    1.928135] iommu: Adding device ff940000.vop to group 1
[    1.928243] iommu: Adding device ff9a0000.video-codec to group 2
[    1.929637] SCSI subsystem initialized
[    1.929983] usbcore: registered new interface driver usbfs
[    1.930083] usbcore: registered new interface driver hub
[    1.930172] usbcore: registered new device driver usb
[    1.930364] Linux video capture interface: v2.00
[    1.930424] pps_core: LinuxPPS API ver. 1 registered
[    1.930437] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.930473] PTP clock support registered
[    1.931163] Advanced Linux Sound Architecture Driver Initialized.
[    1.932092] Bluetooth: Core ver 2.21
[    1.932147] NET: Registered protocol family 31
[    1.932159] Bluetooth: HCI device and connection manager initialized
[    1.932180] Bluetooth: HCI socket layer initialized
[    1.932198] Bluetooth: L2CAP socket layer initialized
[    1.932242] Bluetooth: SCO socket layer initialized
[    1.933509] clocksource: Switched to clocksource arch_sys_counter
[    2.017560] NET: Registered protocol family 2
[    2.018352] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.018475] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    2.018746] TCP: Hash tables configured (established 8192 bind 8192)
[    2.018832] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    2.018896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    2.019207] NET: Registered protocol family 1
[    2.020115] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[    2.022136] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    2.022956] Initialise system trusted keyring
[    2.037174] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.039049] ntfs: driver 2.1.32 [Flags: R/W].
[    2.039532] fuse init (API version 7.23)
[    2.040658] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.047599] SGI XFS with security attributes, no debug enabled
[    2.056282] NET: Registered protocol family 38
[    2.056323] Key type asymmetric registered
[    2.056342] Asymmetric key parser 'x509' registered
[    2.056456] bounce: pool size: 64 pages
[    2.056749] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.056774] io scheduler noop registered
[    2.056792] io scheduler deadline registered
[    2.056847] io scheduler cfq registered (default)
[    2.057336] rockchip-usb-phy phy: vbus_drv is not assigned!
[    2.062633] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.062657] dma-pl330 ff250000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.063875] dma-pl330 ffb20000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.063897] dma-pl330 ffb20000.dma-controller:       DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[    2.064690] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.067161] console [ttyS2] disabled
[    2.067237] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 34, base_baud = 1500000) is a 16550A
[    2.827793] console [ttyS2] enabled
[    2.832399] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 35, base_baud = 1500000) is a 16550A
[    2.842989] [drm] Initialized drm 1.1.0 20060810
[    2.850874] iommu: Adding device display-subsystem to group 3
[    2.856681] rockchip-drm display-subsystem: Possibly a virtual device
[    2.863444] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops)
[    2.871699] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops)
[    2.879792] rockchip-drm display-subsystem: failed to bind ff980000.hdmi (ops dw_hdmi_rockchip_ops): -517
[    2.889586] rockchip-drm display-subsystem: Possibly a virtual device
[    2.896058] iommu: Removing device display-subsystem from group 3
[    2.903156] rockchip-drm display-subsystem: master bind failed: -517
[    2.909846] usbcore: registered new interface driver udl
[    2.916729] mali ffa30000.gpu: Failed to get regulator
[    2.921875] mali ffa30000.gpu: Power control initialization failed
[    2.928303] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 389; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '-v4.4-33896-gd6d7d29', rk_ko_ver is '5', built at '03:35:56', on 'Aug 30 2016'.
[    2.950462] Mali: Mali device driver loaded
[    2.956307] brd: module loaded
[    2.968800] loop: module loaded
[    2.973016] zram: Added device: zram0
[    2.976762] lkdtm: No crash points registered, enable through debugfs
[    2.985291] tun: Universal TUN/TAP device driver, 1.6
[    2.990346] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.998168] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[    3.005269] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[    3.010934] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[    3.016797] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[    3.022893] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[    3.033568] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    3.038619]  Ring mode enabled
[    3.041674]  DMA HW capability register supported
[    3.046220]  Normal descriptors
[    3.049547]  RX Checksum Offload Engine supported (type 2)
[    3.055043]  TX Checksum insertion supported
[    3.059311]  Wake-Up On Lan supported
[    3.063042]  Enable RX Mitigation via HW Watchdog Timer
[    4.098135] libphy: stmmac: probed
[    4.101548] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    4.107938] eth0: PHY ID 001cc915 at 2 IRQ POLL (stmmac-0:02)
[    4.114306] PPP generic driver version 2.4.2
[    4.119034] usbcore: registered new interface driver rtl8xxxu
[    4.124963] usbcore: registered new interface driver rndis_wlan
[    4.131195] usbcore: registered new interface driver rt2500usb
[    4.137165] usbcore: registered new interface driver rt73usb
[    4.142910] usbcore: registered new interface driver rt2800usb
[    4.148910] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.156403] usbcore: registered new interface driver pegasus
[    4.162143] usbcore: registered new interface driver rtl8150
[    4.167906] usbcore: registered new interface driver r8152
[    4.173477] usbcore: registered new interface driver asix
[    4.178976] usbcore: registered new interface driver ax88179_178a
[    4.185172] usbcore: registered new interface driver cdc_ether
[    4.191077] usbcore: registered new interface driver dm9601
[    4.196772] usbcore: registered new interface driver smsc75xx
[    4.202620] usbcore: registered new interface driver smsc95xx
[    4.208469] usbcore: registered new interface driver net1080
[    4.214229] usbcore: registered new interface driver rndis_host
[    4.220222] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.227755] usbcore: registered new interface driver cdc_ncm
[    4.233515] usbcore: registered new interface driver cdc_mbim
[    4.239561] ff540000.usb supply vusb_d not found, using dummy regulator
[    4.246277] ff540000.usb supply vusb_a not found, using dummy regulator
[    4.413344] dwc2 ff540000.usb: DWC OTG Controller
[    4.418125] dwc2 ff540000.usb: new USB bus registered, assigned bus number 1
[    4.425245] dwc2 ff540000.usb: irq 38, io mem 0x00000000
[    4.430897] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.437724] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.444969] usb usb1: Product: DWC OTG Controller
[    4.449676] usb usb1: Manufacturer: Linux 4.4.16 dwc2_hsotg
[    4.455260] usb usb1: SerialNumber: ff540000.usb
[    4.460820] hub 1-0:1.0: USB hub found
[    4.464663] hub 1-0:1.0: 1 port detected
[    4.470034] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.476615] ehci-platform: EHCI generic platform driver
[    4.482152] ehci-platform ff500000.usb: EHCI Host Controller
[    4.488187] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 2
[    4.496186] ehci-platform ff500000.usb: irq 37, io mem 0xff500000
[    4.513563] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00
[    4.520012] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.526841] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.534087] usb usb2: Product: EHCI Host Controller
[    4.538969] usb usb2: Manufacturer: Linux 4.4.16 ehci_hcd
[    4.544388] usb usb2: SerialNumber: ff500000.usb
[    4.549906] hub 2-0:1.0: USB hub found
[    4.553748] hub 2-0:1.0: 1 port detected
[    4.558565] usbcore: registered new interface driver cdc_acm
[    4.564275] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.572505] usbcore: registered new interface driver usblp
[    4.578111] usbcore: registered new interface driver cdc_wdm
[    4.583961] usbcore: registered new interface driver usb-storage
[    4.590120] usbcore: registered new interface driver usbserial
[    4.596051] usbcore: registered new interface driver usbserial_generic
[    4.602623] usbserial: USB Serial support registered for generic
[    4.608740] usbcore: registered new interface driver cp210x
[    4.614390] usbserial: USB Serial support registered for cp210x
[    4.620404] usbcore: registered new interface driver ftdi_sio
[    4.626235] usbserial: USB Serial support registered for FTDI USB Serial Device
[    4.633743] usbcore: registered new interface driver keyspan
[    4.639461] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    4.647367] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    4.655370] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    4.662726] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    4.670297] usbcore: registered new interface driver option
[    4.675963] usbserial: USB Serial support registered for GSM modem (1-port)
[    4.683133] usbcore: registered new interface driver oti6858
[    4.688877] usbserial: USB Serial support registered for oti6858
[    4.694995] usbcore: registered new interface driver pl2303
[    4.700614] usbserial: USB Serial support registered for pl2303
[    4.706652] usbcore: registered new interface driver qcserial
[    4.712455] usbserial: USB Serial support registered for Qualcomm USB modem
[    4.719550] usbcore: registered new interface driver sierra
[    4.725206] usbserial: USB Serial support registered for Sierra USB modem
[    4.733003] usbcore: registered new interface driver iforce
[    4.738828] usbcore: registered new interface driver xpad
[    4.744535] usbcore: registered new interface driver usbtouchscreen
[    4.751230] i2c /dev entries driver
[    4.755765] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f0dd2000
[    4.763383] rk3x-i2c ff170000.i2c: Initialized RK3xxx I2C bus at f0dd4000
[    4.771676] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.780798] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.789816] rtc-hym8563 0-0051: no valid clock/calendar values available
[    4.796870] rtc-hym8563 0-0051: rtc core: registered hym8563 as rtc0
[    4.813776] rk3x-i2c ff650000.i2c: Initialized RK3xxx I2C bus at f0dd6000
[    4.821414] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at f0dd8000
[    4.828952] probe device ff9a0000.video-codec
[    4.834590] rockchip-vpu ff9a0000.video-codec: Rockchip VPU encoder registered as /vpu/video0
[    4.843355] rockchip-vpu ff9a0000.video-codec: Rockchip VPU decoder registered as /vpu/video1
[    4.852187] usbcore: registered new interface driver uvcvideo
[    4.853559] usb 1-1: new high-speed USB device number 2 using dwc2
[    4.864155] USB Video Class driver (1.1.1)
[    4.869248] VCC_IO: supplied by vcc_sys
[    4.873336] VCCIO_SD: supplied by VCC_IO
[    4.879256] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    4.888196] Bluetooth: Virtual HCI driver ver 1.5
[    4.893153] Bluetooth: HCI UART driver ver 2.3
[    4.897639] Bluetooth: HCI UART protocol H4 registered
[    4.902778] Bluetooth: HCI UART protocol BCSP registered
[    4.908111] Bluetooth: HCI UART protocol LL registered
[    4.913249] Bluetooth: HCI UART protocol ATH3K registered
[    4.918666] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.925048] Bluetooth: HCI UART protocol Intel registered
[    4.930531] Bluetooth: HCI UART protocol BCM registered
[    4.935784] Bluetooth: HCI UART protocol QCA registered
[    4.941123] usbcore: registered new interface driver bcm203x
[    4.946926] usbcore: registered new interface driver bpa10x
[    4.952610] usbcore: registered new interface driver bfusb
[    4.958242] usbcore: registered new interface driver btusb
[    4.963770] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    4.969582] usbcore: registered new interface driver ath3k
[    4.975390] vdd_cpu: supplied by vcc_sys
[    4.981039] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 500000 KHz
[    4.988604] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1008000 KHz
[    4.998259] cpufreq-dt cpufreq-dt: failed register driver: -17
[    5.004097] cpufreq-dt: probe of cpufreq-dt failed with error -17
[    5.010213] sdhci: Secure Digital Host Controller Interface driver
[    5.016392] sdhci: Copyright(c) Pierre Ossman
[    5.020741] Synopsys Designware Multimedia Card Interface Driver
[    5.027064] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[    5.034293] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[    5.041070] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[    5.046828] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    5.056583] vcc_sd: supplied by VCC_IO
[    5.064579] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    5.071269] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.078396] usb 1-1: Product: USB2.0 Hub
[    5.082737] hub 1-1:1.0: USB hub found
[    5.086733] hub 1-1:1.0: 4 ports detected
[    5.163876] rockchip-iodomain io-domains: Setting to 3300000 done
[    5.170081] rockchip-iodomain io-domains: Setting to 3300000 done
[    5.193516] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.214555] dwmmc_rockchip ff0c0000.dwmmc: 1 slots initialized
[    5.220601] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode.
[    5.227828] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller.
[    5.234611] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[    5.240363] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[    5.250109] dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found
[    5.256283] dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found
[    5.273520] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.294526] dwmmc_rockchip ff0f0000.dwmmc: 1 slots initialized
[    5.302431] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.311371] ledtrig-cpu: registered to indicate activity on CPUs
[    5.317424] hidraw: raw HID events driver (C) Jiri Kosina
[    5.323212] usbcore: registered new interface driver usbhid
[    5.328780] usbhid: USB HID core driver
[    5.332742] ashmem: initialized
[    5.336499] usbcore: registered new interface driver snd-usb-audio
[    5.343712] u32 classifier
[    5.346435] Netfilter messages via NETLINK v0.30.
[    5.351162] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    5.357259] mmc1: MAN_BKOPS_EN bit is not set
[    5.361773] ctnetlink v0.93: registering with nfnetlink.
[    5.363505] usb 1-1.2: new low-speed USB device number 3 using dwc2
[    5.373589] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.378950] Initializing XFRM netlink socket
[    5.383546] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    5.393337] NET: Registered protocol family 10
[    5.398115] mmc1: new high speed MMC card at address 0001
[    5.398247] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.398330] sit: IPv6 over IPv4 tunneling driver
[    5.398619] NET: Registered protocol family 17
[    5.398632] NET: Registered protocol family 15
[    5.398648] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.435001] Bluetooth: RFCOMM socket layer initialized
[    5.435210] mmcblk0: mmc1:0001 AWPD3R 14.6 GiB
[    5.435315] mmcblk0boot0: mmc1:0001 AWPD3R partition 1 4.00 MiB
[    5.435406] mmcblk0boot1: mmc1:0001 AWPD3R partition 2 4.00 MiB
[    5.435491] mmcblk0rpmb: mmc1:0001 AWPD3R partition 3 4.00 MiB
[    5.462459] Bluetooth: RFCOMM ver 1.11
[    5.466214] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.472138] Bluetooth: HIDP socket layer initialized
[    5.477224] 8021q: 802.1Q VLAN Support v1.8
[    5.481543] lib80211: common routines for IEEE802.11 drivers
[    5.487236] Alternate GPT is invalid, using primary GPT.
[    5.487310] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.487572] [BT_RFKILL]: Enter rfkill_rk_init
[    5.488076] ThumbEE CPU extension supported.
[    5.488125] Registering SWP/SWPB emulation handler
[    5.490918] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c05a
[    5.490921] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.490924] usb 1-1.2: Product: USB Optical Mouse
[    5.490926] usb 1-1.2: Manufacturer: Logitech
[    5.497737] Loading compiled-in X.509 certificates
[    5.499756] input: Logitech USB Optical Mouse as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C05A.0001/input/input0
[    5.499921] hid-generic 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-ff540000.usb-1.2/input0
[    5.503844] Btrfs loaded
[    5.504410] iommu: Adding device display-subsystem to group 4
[    5.504415] rockchip-drm display-subsystem: Possibly a virtual device
[    5.504513] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops)
[    5.504583] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops)
[    5.504648] dwhdmi-rockchip ff980000.hdmi: Detected HDMI controller 0x20:0x1a:0xa0:0xc1
[    5.504945] rockchip-drm display-subsystem: bound ff980000.hdmi (ops dw_hdmi_rockchip_ops)
[    5.505013] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.505014] [drm] No driver support for vblank timestamp query.
[    5.505023] rockchip-drm display-subsystem: failed to parse display resources
[    5.573502] usb 1-1.3: new low-speed USB device number 4 using dwc2
[    5.636076]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    5.681510] Console: switching to colour frame buffer device 210x65
[    5.702233] rockchip-drm display-subsystem: fb0:  frame buffer device
[    5.711187] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c31c
[    5.718055] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.725353] usb 1-1.3: Product: USB Keyboard
[    5.729614] usb 1-1.3: Manufacturer: Logitech
[    5.739566] input: Logitech USB Keyboard as /devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C31C.0002/input/input1
[    5.763675] vdd_gpu: supplied by vcc_sys
[    5.768047] W : [File] : drivers/gpu/arm/midgard/platform/rk/mali_kbase_config_rk.c; [Line] : 98; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[    5.783076] mali ffa30000.gpu: GPU identified as 0x0750 r1p0 status 0
[    5.789860] mali ffa30000.gpu: Probed as mali0
[    5.794939] asoc-simple-card sound: i2s-hifi <-> ff890000.i2s mapping ok
[    5.802346] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    5.803901] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-ff540000.usb-1.3/input0
[    5.822140] rtc-hym8563 0-0051: no valid clock/calendar values available
[    5.828873] rtc-hym8563 0-0051: hctosys: unable to read the hardware clock
[    5.842116] input: Logitech USB Keyboard as /devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C31C.0003/input/input3
[    5.845818] vcc_sd: disabling
[    5.846215] ALSA device list:
[    5.846217]   #0: DW-HDMI
[    5.862644] ttyS2 - failed to request DMA
[    5.913680] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-ff540000.usb-1.3/input1
[    5.966887] random: nonblocking pool is initialized
[    6.003514] usb 1-1.4: new high-speed USB device number 5 using dwc2
[    6.104443] usb 1-1.4: New USB device found, idVendor=20b1, idProduct=3078
[    6.111309] usb 1-1.4: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[    6.118615] usb 1-1.4: Product: Ustars Audio
[    6.122876] usb 1-1.4: Manufacturer: XMOS
[    6.161182] EXT4-fs (mmcblk0p7): recovery complete
[    6.166428] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    6.174526] VFS: Mounted root (ext4 filesystem) on device 179:7.
[    6.180939] devtmpfs: mounted
[    6.184343] Freeing unused kernel memory: 1024K (c1100000 - c1200000)
[    6.325873] systemd[1]: System time before build time, advancing clock.
[    6.359418] systemd[1]: Failed to insert module 'kdbus': Function not implemented

Welcome to Debian GNU/Linux 8 (jessie)!

[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Mounting Debug File System...
         Starting Nameserver information manager...
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Prepare console...
[  OK  ] Reached target Slices.
[  OK  ] Listening on udev Kernel Socket.
         Starting Journal Service...
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Mounting Configuration File System...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Nameserver information manager.
         Starting udev Kernel Device Manager...
[  OK  ] Started Journal Service.
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: Set preliminary keymap...
         Starting LSB: Set console font and keymap...
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting udev Coldplug all Devices...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Sound Card.
[    7.404315] systemd-journald[151]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on GPS (Global Positioning System) Daemon Sockets.
         Starting Restore Sound Card State...
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         [    8.283914] cfg80211: World regulatory domain updated:
Starting LSB: Load kernel modules needed to enable cpufreq scali[    8.289778] cfg80211:  DFS Master region: unsetng...

[    8.299710] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.310091] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.318115] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.326129] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    8.334146] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    8.343623] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    8.353103] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    8.361201] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.369207] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[  OK  ] Started ACPI event daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started Run anacron jobs.
[  OK  ] Started GPS (Global Positioning System) Daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Modem Manager...
         Starting Network Manager...
         Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
[  OK  ] Reached target Timers.
         Starting System Logging Service...
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
[    9.115730] eth0: device MAC address 42:64:3e:ba:13:37
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting Permit User Sessions...
         Starting LSB: network benchmark...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager.
         Starting Light Display Manager...
         Starting Wait for Plymouth Boot Screen to Quit...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[    9.458935] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started LSB: network benchmark.
[  OK  ] Started Wait for Plymouth Boot Screen to Quit.
[  OK  ] Started Terminate Plymouth Boot Screen.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[  OK  ] Started Light Display Manager.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 8 mq ttyS2
作者: 慢慢、晚安    时间: 2018-1-23 16:17
确认下设备树上面对该端口的配置情况
作者: sheqw    时间: 2018-6-8 14:41
设备树uart2开启下就可以了




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1