This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM437x EVM板子 串口通信无数据

Other Parts Discussed in Thread: TPS65218

Dear,

我想用AM437x的串口和另外一个板子通信,linux系统起来后看到是注册了3个tty串口, ttyO0,ttyO3,ttyO5, linux 调试串口使用的是ttyO0:  console=ttyO0,115200n8 ,正常系统起来后,然后我想用ttyO3和另外一个板子通信,串口打开,tty_write都正常,但是就是对端没有数据出来。然后我尝试用ttyO0来通信是可以正常通信的。

然后我又改成调试串口为console=ttyO3,log从串口3出来,于是我用ttyO0来和另外一个板子通信,但是又没数据,open, write都没报错,就是对端板子没数据收到。   尝试用 ttyO3和板子通信,又可以正常通信。 感觉只能和console配置的 那个串口来通信 ,请问是哪里设置有问题吗?

  • 请问使用的linux sdk版本是什么?
    另外先参考以下帖子检查一下uboot和kernel中关于uart配置部分的内容。
    e2e.ti.com/.../2045736
  • Derar Nancy
    感谢你的回复。

    我看了下那个帖子,他是教如何修改console串口从默认的ttyO0 改为ttyO5, 我的console串口输出都是没有问题的,就是无法使用非console串口(如ttyO3)进行通信。但是把ttyO3配置为 console=ttyO3,115200n8 ,使用同样的测试程序又可以正常通信。


    串口的uboot下配置:Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.5:/home/wp/work/project/linuxsrc/nfsroot,nolock rw ip=192.168.1.3:192.168.1.8:192.168.1.1:255.255.255.0::eth0:off





    启动配置如下:
    U-Boot 2016.05-g3c32edb-dirty (Dec 23 2019 - 13:38:58 +0800)

    I2C: ready
    DRAM: 2 GiB
    PMIC: TPS65218
    WARNING: RTC not backed by battery!
    Init vbus0: 500mA@5V, OFF
    Init vbus1: 500mA@5V, ON
    MMC: mmc_init
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    SF: spi_flash_probe_slave
    SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB, mapped at 30000000
    *** Warning - bad CRC, using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    Could not get PHY for cpsw: addr 1
    Could not get PHY for cpsw: addr 4
    Could not get PHY for cpsw: addr 1
    Could not get PHY for cpsw: addr 4
    Could not get PHY for cpsw: addr 6
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    MAYI># run netboot
    Booting from network ...
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.1.5; our IP address is 192.168.1.3
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ###########################################
    5.3 MiB/s
    done
    Bytes transferred = 6351692 (60eb4c hex)
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.1.5; our IP address is 192.168.1.3
    Filename 'myir_ricoboard.dtb'.
    Load address: 0x88000000
    Loading: ####
    4.7 MiB/s
    done
    Bytes transferred = 53971 (d2d3 hex)
    Kernel image @ 0x82000000 [ 0x000000 - 0x60da80 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffef000, end 8ffff2d2 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.1.18+ (wangp@wangp-dev) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #21 PREEMPT Wed Mar 4 17:42:51 CST 2020
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: MYIR RICOBOARD
    [ 0.000000] cma: Reserved 500 MiB at 0xe0800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522577
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.5:/home/wangp/work/project/linuxsrc/nfsroot,nolock rw ip=192.168.1.3:192.168.1.8:192.168.1.1:255.255.255.0::eth0:off
    [ 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: 1544304K/2097148K available (12235K kernel code, 3180K rwdata, 4964K rodata, 644K init, 256K bss, 40844K reserved, 512000K cma-reserved, 806908K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc10d408c (17201 kB)
    [ 0.000000] .init : 0xc10d5000 - 0xc1176000 ( 644 kB)
    [ 0.000000] .data : 0xc1176000 - 0xc149135c (3181 kB)
    [ 0.000000] .bss : 0xc1494000 - 0xc14d40dc ( 257 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000030] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000075] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000097] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.002617] Console: colour dummy device 80x30
    [ 0.002692] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
    [ 0.080473] pid_max: default: 32768 minimum: 301
    [ 0.080711] Security Framework initialized
    [ 0.080836] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.080869] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.082293] Initializing cgroup subsys blkio
    [ 0.082356] Initializing cgroup subsys memory
    [ 0.082457] Initializing cgroup subsys devices
    [ 0.082499] Initializing cgroup subsys freezer
    [ 0.082535] Initializing cgroup subsys perf_event
    [ 0.082605] CPU: Testing write buffer coherency: ok
    [ 0.082728] ftrace: allocating 28131 entries in 83 pages
    [ 0.186288] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.190946] devtmpfs: initialized
    [ 0.236079] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.418389] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.493606] pinctrl core: initialized pinctrl subsystem
    [ 0.496849] NET: Registered protocol family 16
    [ 0.500647] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.530502] cpuidle: using governor ladder
    [ 0.560478] cpuidle: using governor menu
    [ 0.582567] OMAP GPIO hardware version 0.1
    [ 0.609451] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/mayi_fpga_default, deferring probe
    [ 0.622909] No ATAGs?
    [ 0.622992] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.623021] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.681539] edma_assign_priority_to_queue
    [ 0.681585] edma_assign_priority_to_queue
    [ 0.681602] edma_assign_priority_to_queue
    [ 0.698037] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.708859] vgaarb: loaded
    [ 0.710360] SCSI subsystem initialized
    [ 0.711461] usbcore: registered new interface driver usbfs
    [ 0.711677] usbcore: registered new interface driver hub
    [ 0.711971] usbcore: registered new device driver usb
    [ 0.713549] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.713710] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [ 0.714160] media: Linux media interface: v0.10
    [ 0.714394] Linux video capture interface: v2.00
    [ 0.714553] pps_core: LinuxPPS API ver. 1 registered
    [ 0.714575] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.714666] PTP clock support registered
    [ 0.717017] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.717870] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.719919] Switched to clocksource timer1
    [ 0.740989] Warning: could not register all branches stats
    [ 0.741087] Warning: could not register annotated branches stats
    [ 0.948677] NET: Registered protocol family 2
    [ 0.950582] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.950716] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.950849] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.951093] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.951146] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.951614] NET: Registered protocol family 1
    [ 0.952617] RPC: Registered named UNIX socket transport module.
    [ 0.952657] RPC: Registered udp transport module.
    [ 0.952674] RPC: Registered tcp transport module.
    [ 0.952689] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.959390] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.959614] audit: initializing netlink subsys (disabled)
    [ 0.959768] audit: type=2000 audit(0.900:1): initialized
    [ 0.981291] VFS: Disk quotas dquot_6.6.0
    [ 0.981855] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.988143] NFS: Registering the id_resolver key type
    [ 0.988256] Key type id_resolver registered
    [ 0.988281] Key type id_legacy registered
    [ 0.988470] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.993996] NET: Registered protocol family 38
    [ 0.994316] bounce: pool size: 64 pages
    [ 0.994364] io scheduler noop registered
    [ 0.994398] io scheduler deadline registered
    [ 0.994560] io scheduler cfq registered (default)
    [ 1.003483] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 1.012057] backlight supply power not found, using dummy regulator
    [ 1.017287] 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 1.017676] OMAP DSS rev 2.0
    [ 1.018575] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [ 1.028335] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 1.032337] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 1.043623] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 1.043721] omap_uart 44e09000.serial: No clock speed specified: using default: 48000000
    [ 1.044176] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
    [ 1.845423] console [ttyO0] enabled
    [ 1.850883] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 1.856888] omap_uart 481a6000.serial: No clock speed specified: using default: 48000000
    [ 1.866003] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 31, base_baud = 3000000) is a OMAP UART3
    [ 1.877498] omap_uart 481aa000.serial: no wakeirq for uart5
    [ 1.883619] omap_uart 481aa000.serial: No clock speed specified: using default: 48000000
    [ 1.892665] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 32, base_baud = 3000000) is a OMAP UART5
    [ 1.904278] [drm] Initialized drm 1.1.0 20060810
    [ 1.947635] brd: module loaded
    [ 1.967727] loop: module loaded
    [ 1.974163] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.984639] spi spi1.0: not using DMA for McSPI (-19)
    [ 1.993500] spi spi2.0: not using DMA for McSPI (-19)
    [ 2.004182] m25p80 spi32766.0: found s25fl512s, expected s25fl128s
    [ 2.011223] m25p80 spi32766.0: s25fl512s (65536 Kbytes)
    [ 2.016933] 7 ofpart partitions found on MTD device spi32766.0
    [ 2.023211] Creating 7 MTD partitions on "spi32766.0":
    [ 2.028697] 0x000000000000-0x000000080000 : "QSPI.U_BOOT"
    [ 2.037798] 0x000000080000-0x000000100000 : "QSPI.U_BOOT.backup"
    [ 2.047420] 0x000000100000-0x000000120000 : "QSPI.U_BOOT_ENV"
    [ 2.053688] mtd: partition "QSPI.U_BOOT_ENV" doesn't end on an erase block -- force read-only
    [ 2.065904] 0x000000120000-0x000000140000 : "QSPI.U-BOOT-ENV.backup"
    [ 2.072806] mtd: partition "QSPI.U-BOOT-ENV.backup" doesn't start on an erase block boundary -- force read-only
    [ 2.086779] 0x000000140000-0x000000150000 : "QSPI.U-BOOT-DEVICETREE"
    [ 2.093685] mtd: partition "QSPI.U-BOOT-DEVICETREE" doesn't end on an erase block -- force read-only
    [ 2.106570] 0x000000150000-0x000000650000 : "QSPI.KERNEL"
    [ 2.112457] mtd: partition "QSPI.KERNEL" doesn't start on an erase block boundary -- force read-only
    [ 2.125357] 0x000000650000-0x000001000000 : "QSPI.FILESYSTEM"
    [ 2.131615] mtd: partition "QSPI.FILESYSTEM" doesn't start on an erase block boundary -- force read-only
    [ 2.147702] cpsw_probe
    [ 2.153194] cpsw_phy_sel_probe
    [ 2.156521] cpsw_phy_sel_probe end
    [ 2.160323] of populate: node name:/ocp/ethernet@4a100000 child:-295795400
    [ 2.167635] slave_node:name:/ocp/ethernet@4a100000/mdio@4a101000 node: 0
    [ 2.174907] slave_node:name:/ocp/ethernet@4a100000/slave@4a100200 node: 0
    [ 2.182346] phy_id:0
    [ 2.184848] no_phy slave
    [ 2.187549] slave_node:name:/ocp/ethernet@4a100000/slave@4a100300 node: 1
    [ 2.194968] phy_id:1
    [ 2.197433] no_phy slave
    [ 2.200192] cpsw 4a100000.ethernet: Detected MACID = 0c:b2:b7:be:5e:03
    [ 2.223414] cpsw_probe end
    [ 2.227807] davinci_mdio_probe
    [ 2.290065] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 2.296570] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 2.305103] libphy: 4a101000.mdio: probed
    [ 2.309414] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [ 2.318157] davinci_mdio_probe end
    [ 3.133816] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 3.140942] ehci-pci: EHCI PCI platform driver
    [ 3.145928] ehci-omap: OMAP-EHCI Host Controller driver
    [ 3.152286] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 3.158956] ohci-pci: OHCI PCI platform driver
    [ 3.165253] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 3.172051] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 3.181298] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
    [ 3.190798] xhci-hcd xhci-hcd.0.auto: irq 266, io mem 0x48390000
    [ 3.197788] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.205105] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.212825] usb usb1: Product: xHCI Host Controller
    [ 3.218015] usb usb1: Manufacturer: Linux 4.1.18+ xhci-hcd
    [ 3.223881] usb usb1: SerialNumber: xhci-hcd.0.auto
    [ 3.231466] hub 1-0:1.0: USB hub found
    [ 3.235627] hub 1-0:1.0: 1 port detected
    [ 3.241369] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 3.247959] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 3.256751] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 3.265972] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 3.273280] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.281003] usb usb2: Product: xHCI Host Controller
    [ 3.286199] usb usb2: Manufacturer: Linux 4.1.18+ xhci-hcd
    [ 3.292064] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 3.299537] hub 2-0:1.0: USB hub found
    [ 3.303902] hub 2-0:1.0: 1 port detected
    [ 3.309735] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 3.316673] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [ 3.326013] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
    [ 3.335517] xhci-hcd xhci-hcd.1.auto: irq 267, io mem 0x483d0000
    [ 3.342984] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.350338] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.358020] usb usb3: Product: xHCI Host Controller
    [ 3.363259] usb usb3: Manufacturer: Linux 4.1.18+ xhci-hcd
    [ 3.369105] usb usb3: SerialNumber: xhci-hcd.1.auto
    [ 3.376562] hub 3-0:1.0: USB hub found
    [ 3.380926] hub 3-0:1.0: 1 port detected
    [ 3.386455] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 3.393378] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [ 3.402517] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 3.411681] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    [ 3.418908] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.426651] usb usb4: Product: xHCI Host Controller
    [ 3.431881] usb usb4: Manufacturer: Linux 4.1.18+ xhci-hcd
    [ 3.437716] usb usb4: SerialNumber: xhci-hcd.1.auto
    [ 3.445317] hub 4-0:1.0: USB hub found
    [ 3.449471] hub 4-0:1.0: 1 port detected
    [ 3.455797] usbcore: registered new interface driver usb-storage
    [ 3.462958] usbcore: registered new interface driver usbserial
    [ 3.472027] mousedev: PS/2 mouse device common for all mice
    [ 3.479026] i2c /dev entries driver
    [ 3.511077] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.517728] hidraw: raw HID events driver (C) Jiri Kosina
    [ 3.524238] usbcore: registered new interface driver usbhid
    [ 3.530371] usbhid: USB HID core driver
    [ 3.536126] remoteproc0: wkup_m3 is available
    [ 3.541115] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 3.551258] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 3.570529] oprofile: no performance counters
    [ 3.575547] oprofile: using timer interrupt.
    [ 3.580973] Initializing XFRM netlink socket
    [ 3.585670] NET: Registered protocol family 17
    [ 3.590724] NET: Registered protocol family 15
    [ 3.595742] Key type dns_resolver registered
    [ 3.600830] omap_voltage_late_init: Voltage driver support not added
    [ 3.608512] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [ 3.617898] cpu cpu0: cpu0 clock notifier not ready, retry
    [ 3.624838] ThumbEE CPU extension supported.
    [ 3.629456] Registering SWP/SWPB emulation handler
    [ 3.642692] omapdrm omapdrm.0: DMM not available, disable DMM support
    [ 3.653840] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 3.661150] [drm] No driver support for vblank timestamp query.
    [ 3.761872] Console: switching to colour frame buffer device 128x48
    [ 3.797390] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 3.803752] omapdrm omapdrm.0: registered panic notifier
    [ 3.830052] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 3.838068] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 3.843813] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 3.903368] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [ 3.913312] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [ 3.924389] remoteproc0: powering up wkup_m3
    [ 3.929069] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 3.937773] remoteproc0: remote processor wkup_m3 is now up
    [ 3.943899] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 3.971037] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [ 3.986439] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [ 4.001920] hctosys: unable to open rtc device (rtc0)
    [ 4.023715] cpsw_ndo_open
    [ 4.026610] net eth0: initializing cpsw version 1.15 (0)
    [ 4.054417] mmc0: MAN_BKOPS_EN bit is not set
    [ 4.063114] mmc0: new high speed MMC card at address 0001
    [ 4.069884] mmcblk0: mmc0:0001 MMC08G 7.27 GiB
    [ 4.075212] mmcblk0boot0: mmc0:0001 MMC08G partition 1 16.0 MiB
    [ 4.082041] mmcblk0boot1: mmc0:0001 MMC08G partition 2 16.0 MiB
    [ 4.091660] mmcblk0: p1 p2 p3
    [ 4.110487] net eth0: phy found : id is : 0x4dd072
    [ 4.115558] phy_start
    [ 4.118093] libphy: PHY 4a101000.mdio:01 not found
    [ 4.123255] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [ 8.110961] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [ 8.130825] IP-Config: Complete:
    [ 8.134338] device=eth0, hwaddr=0c:b2:b7:be:5e:03, ipaddr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.1
    [ 8.145403] host=192.168.1.3, domain=, nis-domain=(none)
    [ 8.151780] bootserver=192.168.1.8, rootserver=192.168.1.5, rootpath=
    [ 8.159840] ALSA device list:
    [ 8.163301] No soundcards found.
    [ 8.167235] tty open:console
    [ 8.188175] VFS: Mounted root (nfs filesystem) on device 0:17.
    [ 8.197918] devtmpfs: mounted
    [ 8.202899] Freeing unused kernel memory: 644K (c10d5000 - c1176000)
    [ 8.453238] tty open:tty0
    [ 8.457192] tty open:console
    [ 8.461133] tty open:console
    [ 8.485321] tty open:console
    INIT: [ 8.500469] tty open:console
    version 2.88 booting[ 8.520352] tty open:console

    [ 8.556745] tty open:console
    [ 8.562111] tty open:console
    [ 8.769151] tty open:console
    [ 8.774506] tty open:console
    [ 8.852352] tty open:console
    [ 8.857670] tty open:console
    [ 9.028940] tty open:console
    [ 9.034535] tty open:console
    [ 9.080960] tty open:console
    [ 9.086294] tty open:console
    [ 9.153333] tty open:console
    [ 9.158421] tty open:console
    [ 9.193176] tty open:console
    INIT: [ 9.210534] tty open:console
    Entering runlevel: 3[ 9.230362] tty open:console

    [ 9.252133] tty open:console
    [ 9.417855] tty open:tty
    [ 9.434019] tty open:console
    [ 9.539004] tty open:tty
    [ 9.543217] tty open:console
    Starting logging: OK
    [ 9.699262] tty open:tty
    [ 9.709612] tty open:console
    /etc/init.d/S09modload: line 10: syntax error near unexpected token `}'
    /etc/init.d/S09modload: line 10: `}'
    [ 9.796170] tty open:tty
    [ 9.799857] tty open:console
    Populating /dev using udev: [ 9.934572] udevd[76]: starting version 3.2.1
    [ 9.953619] random: udevd urandom read with 57 bits of entropy available
    [ 10.152427] udevd[77]: starting eudev-3.2.1
    done
    [ 12.774715] tty open:tty
    [ 12.778501] tty open:console
    Initializing random number generator... done.
    [ 12.954234] tty open:tty
    [ 12.958007] tty open:console
    Starting system message bus: done
    [ 13.327054] tty open:tty
    [ 13.332118] tty open:console
    Starting rpcbind: OK
    [ 13.484788] tty open:tty
    [ 13.488500] tty open:console
    Starting network: OK
    [ 13.587341] tty open:tty
    [ 13.591497] tty open:console
    Starting sshd: [ 14.190792] tty open:tty
    OK
    [ 14.261507] tty open:tty
    [ 14.265277] tty open:console
    [ 14.285392] random: nonblocking pool is initialized
    [ 14.320704] tty open:tty
    [ 14.324426] tty open:console
    [ 14.513826] tty open:tty
    [ 14.535029] tty open:console
    [ 14.669847] tty open:tty
    [ 14.684493] tty open:console
    [ 14.937142] tty open:console
    INIT: [ 14.946908] tty open:console
    no more processes left in this runlevel[ 14.989558] tty open:console

    [ 16.684118] tty open:tty0
    [ 16.727124] tty open:tty0
  • 不好意思,问题找到了,谢谢。
  • 怎么解决的?

  • 请问您,是如何将console 串口修改为ttyO3的呢?我按照上面那个帖子操作也没有成功,在uboot/include/configs/am43xx_evm.h中将console设置为ttyO3,同样不行