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.

AM335X uart3工作异常的问题(write return -1)

Other Parts Discussed in Thread: AM3352, TPS65217

大家好,我在我的板子上测试串口时发现uart3串口不能正常操作,一开始接收乱码,然后再write就只返回-1,有时系统还会崩溃,其他几个串口均工作正常,请问这一般什么原因?

串口硬件配置为:

UART3_RXD --> SPI0_CS1,

UART3_TXD-->ECAP0_IN_PWM0_OUT

然后dts文件配置如下:

&am33xx_pinmux {

... ...

uart3_pins: pinmux_uart3_pins {
pinctrl-single,pins = <
0x160 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (C15) spi0_cs1.uart3_rxd */
0x164 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (C18) eCAP0_in_PWM0_out.uart3_txd */
>;
};

uart3_pins_sleep: pinmux_uart3_pins_sleep {
pinctrl-single,pins = <
0x160 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C15) spi0_cs1.uart3_rxd */
0x164 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.uart3_txd */
>;
};

};

&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
pinctrl-1 = <&uart3_pins_sleep>;

status = "okay";
};

大神们帮忙看看这配置有问题么?

root@am335x-evm:~# ./TestUart3
open /dev/ttyO3 .....
write len is 10
read len is 1,data is:0x11
write len is 10
read len is 10,data is:0x50 0x61 0x73 0x73 0x77 0x6f 0x72 0x64 0x3a 0x20
write len is 10
read len is 7,data is:0x50 0x61 0x73 0x73 0x77 0x6f 0x72
write len is -1
write len is -1


正常如下:

oot@am335x-evm:~# ./TestUart2
open /dev/ttyO2 .....
write len is 10
write len is 10
read len is 10,data is:0x00 0x02 0x04 0x06 0x08 0x0a 0x0c 0x0e 0x10 0x12
write len is 10
read len is 10,data is:0x00 0x02 0x04 0x06 0x08 0x0a 0x0c 0x0e 0x10 0x12

系统启动信息如下:

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.4.32-gadde2ca9f8 (root@hxdw-virtual-machine) (gcc
version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #65 PREEMPT Thu Apr 20 18:40:
06 CST 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[ 0.000000] Machine model: TI AM335x HXDW
[ 0.000000] cma: Reserved 48 MiB at 0x8b800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 64960
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw u
bi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 200428K/262144K available (6567K kernel code, 299K rwdata
, 2328K rodata, 260K init, 262K bss, 12564K reserved, 49152K cma-reserved, 0K hi
ghmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08b8004 (8897 kB)
[ 0.000000] .init : 0xc08b9000 - 0xc08fa000 ( 260 kB)
[ 0.000000] .data : 0xc08fa000 - 0xc0944fb0 ( 300 kB)
[ 0.000000] .bss : 0xc0944fb0 - 0xc0986958 ( 263 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
ts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478
484971ns
[ 0.000044] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max
_idle_ns: 79635851949 ns
[ 0.000058] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000271] clocksource_probe: no matching clocksources found
[ 0.000494] Console: colour dummy device 80x30
[ 0.000522] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[ 0.118816] pid_max: default: 32768 minimum: 301
[ 0.118973] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.118988] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.119856] Initializing cgroup subsys io
[ 0.119895] Initializing cgroup subsys memory
[ 0.119941] Initializing cgroup subsys devices
[ 0.119961] Initializing cgroup subsys freezer
[ 0.119980] Initializing cgroup subsys perf_event
[ 0.119996] Initializing cgroup subsys pids
[ 0.120032] CPU: Testing write buffer coherency: ok
[ 0.120511] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.123332] devtmpfs: initialized
[ 0.139844] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 0.158428] omap_hwmod: debugss: _wait_target_disable failed
[ 0.215615] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.220535] pinctrl core: initialized pinctrl subsystem
[ 0.222184] NET: Registered protocol family 16
[ 0.224981] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.248823] cpuidle: using governor ladder
[ 0.278810] cpuidle: using governor menu
[ 0.284687] OMAP GPIO hardware version 0.1
[ 0.295769] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_
wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
[ 0.298235] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.339825] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.345014] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wk
up@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.345177] media: Linux media interface: v0.10
[ 0.345266] Linux video capture interface: v2.00
[ 0.345333] pps_core: LinuxPPS API ver. 1 registered
[ 0.345344] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
tti <giometti@linux.it>
[ 0.345380] PTP clock support registered
[ 0.345451] EDAC MC: Ver: 3.0.0
[ 0.346932] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.347360] Advanced Linux Sound Architecture Driver Initialized.
[ 0.348977] clocksource: Switched to clocksource timer1
[ 0.363397] NET: Registered protocol family 2
[ 0.364383] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.364432] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.364468] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.364562] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.364588] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.364784] NET: Registered protocol family 1
[ 0.365290] RPC: Registered named UNIX socket transport module.
[ 0.365310] RPC: Registered udp transport module.
[ 0.365319] RPC: Registered tcp transport module.
[ 0.365328] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.366495] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter
s available
[ 0.369220] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.380088] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.381307] NFS: Registering the id_resolver key type
[ 0.381393] Key type id_resolver registered
[ 0.381405] Key type id_legacy registered
[ 0.381513] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.386070] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
47)
[ 0.386107] io scheduler noop registered
[ 0.386122] io scheduler deadline registered
[ 0.386323] io scheduler cfq registered (default)
[ 0.388064] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.472853] omap_uart 44e09000.serial: no wakeirq for uart0
[ 0.473152] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud =
3000000) is a OMAP UART0
[ 1.094271] console [ttyO0] enabled
[ 1.098646] omap_uart 48022000.serial: no wakeirq for uart1
[ 1.104768] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 159, base_baud =
3000000) is a OMAP UART1
[ 1.115246] omap_uart 48024000.serial: no wakeirq for uart2
[ 1.121341] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 160, base_baud =
3000000) is a OMAP UART2
[ 1.131789] omap_uart 481a6000.serial: no wakeirq for uart3
[ 1.137833] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 161, base_baud =
3000000) is a OMAP UART3
[ 1.148275] omap_uart 481a8000.serial: no wakeirq for uart4
[ 1.154350] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 162, base_baud =
3000000) is a OMAP UART4
[ 1.164772] omap_uart 481aa000.serial: no wakeirq for uart5
[ 1.170846] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 163, base_baud =
3000000) is a OMAP UART5
[ 1.181338] [drm] Initialized drm 1.1.0 20060810
[ 1.196065] loop: module loaded
[ 1.204365] libphy: Fixed MDIO Bus: probed
[ 1.269067] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.275510] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
[ 1.283748] libphy: 4a101000.mdio: probed
[ 1.287996] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
er unknown
[ 1.296564] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driv
er unknown
[ 1.305977] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:bd:fd:25
[ 1.313239] cpsw 4a100000.ethernet: cpts: overflow check period 850
[ 1.320963] cpsw 4a100000.ethernet: cpsw: Detected MACID = 84:eb:18:bd:fd:27
[ 1.330381] mousedev: PS/2 mouse device common for all mice
[ 1.337033] i2c /dev entries driver
[ 1.342153] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.350405] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.392526] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.406568] NET: Registered protocol family 10
[ 1.413246] sit: IPv6 over IPv4 tunneling driver
[ 1.419314] NET: Registered protocol family 17
[ 1.424387] Key type dns_resolver registered
[ 1.429286] omap_voltage_late_init: Voltage driver support not added
[ 1.440337] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.445784] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.454080] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 1.460930] nand: Micron MT29F2G08ABAEAWP
[ 1.465164] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz
e: 64
[ 1.473209] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.478923] 10 ofpart partitions found on MTD device 8000000.nand
[ 1.485373] Creating 10 MTD partitions on "8000000.nand":
[ 1.491091] 0x000000000000-0x000000020000 : "NAND.SPL"
[ 1.498387] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[ 1.506230] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[ 1.513849] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[ 1.521439] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[ 1.529296] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[ 1.536758] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[ 1.544352] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[ 1.552708] 0x000000200000-0x000000a00000 : "NAND.kernel"
[ 1.562838] 0x000000a00000-0x000010000000 : "NAND.file-system"
[ 1.687967] tps65217 0-0024: TPS65217 ID 0x6 version 1.2
[ 1.696342] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[ 1.702966] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.711013] ubi0: attaching mtd9
[ 2.695235] ubi0: scanning is finished
[ 2.709396] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
[ 2.716390] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.723701] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.730787] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.738124] ubi0: good PEBs: 1967, bad PEBs: 1, corrupted PEBs: 0
[ 2.744564] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 12
8
[ 2.752196] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequ
ence number: 2009781943
[ 2.761838] ubi0: available PEBs: 0, total reserved PEBs: 1967, PEBs reserved
for bad PEB handling: 39
[ 2.771675] ubi0: background thread "ubi_bgt0d" started, PID 59
[ 2.778775] rtc-ds3232 0-0068: setting system clock to 2017-04-21 13:29:14 UT
C (1492781354)
[ 2.792174] vmmcsd_fixed: disabling
[ 2.796007] ALSA device list:
[ 2.799226] No soundcards found.
[ 2.809116] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 60
[ 2.842145] UBIFS (ubi0:0): recovery needed
[ 2.909655] UBIFS (ubi0:0): recovery completed
[ 2.914487] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root
fs"
[ 2.922334] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O u
nit sizes: 2048 bytes/2048 bytes
[ 2.932811] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), jo
urnal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.944101] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.950272] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 26CD7
CBB-AE44-4355-9193-342BAF937BD7, small LPT model
[ 2.963569] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 2.971259] devtmpfs: mounted
[ 2.974834] Freeing unused kernel memory: 260K (c08b9000 - c08fa000)
[ 2.981569] This architecture does not have kernel memory protection.
[ 3.256606] random: systemd: uninitialized urandom read (16 bytes read, 7 bit
s of entropy available)
[ 3.289500] random: systemd: uninitialized urandom read (16 bytes read, 7 bit
s of entropy available)
[ 3.313065] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SEL
INUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +
XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 3.333765] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.10!

[ 3.361260] systemd[1]: Set hostname to <am335x-evm>.
[ 3.558684] random: systemd-sysv-ge: uninitialized urandom read (16 bytes rea
d, 8 bits of entropy available)
[ 3.592856] random: systemd-sysv-ge: uninitialized urandom read (16 bytes rea
d, 8 bits of entropy available)
[ 3.659538] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 3.720524] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 3.730956] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 3.741995] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 3.807442] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 3.843744] random: systemd: uninitialized urandom read (16 bytes read, 8 bit
s of entropy available)
[ 4.132812] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 4.159824] systemd[1]: Started Forward Password Requests to Wall Directory W
atch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 4.189770] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 4.209655] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.229325] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.250534] systemd[1]: Started Dispatch Password Requests to Console Directo
ry Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 4.284268] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 4.315948] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 4.346360] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 4.384846] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.456178] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 4.477949] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 4.549972] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 4.569431] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 4.589597] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 4.618684] systemd[1]: Starting Create list of required static device nodes
for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 4.680201] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 4.715167] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 4.754985] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 4.811174] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.839668] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 4.870005] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 4.904941] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 5.002649] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 5.049630] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.121080] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 5.159742] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 5.199711] systemd[1]: Mounted Temporary Directory.
[ OK ] Mounted Temporary Directory.
[ 5.251013] systemd[1]: Started Create list of required static device nodes f
or the current kernel.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ 5.301850] systemd[1]: Started Setup Virtual Console.
[ OK ] Started Setup Virtual Console.
[ 5.322124] systemd[1]: Started Apply Kernel Variables.
[ OK ] Started Apply Kernel Variables.
[ 5.352034] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
[ 5.380706] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
[ OK ] Started Create Static Device Nodes in /dev.
[ 7.054814] systemd-journald[107]: Received request to flush runtime journal
from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
[ OK ] Started udev Kernel Device Manager.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
[ 9.457224] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 9.631962] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ OK ] Found device /dev/ttyO0.
[ 9.911211] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ OK ] Started udev Coldplug all Devices.
[ 10.155048] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 10.172044] spidev spi1.1: buggy DT: spidev listed directly in DT
[ 10.178499] ------------[ cut here ]------------
[ 10.280495] WARNING: CPU: 0 PID: 165 at drivers/spi/spidev.c:719 spidev_probe
+0x1a8/0x1c4 [spidev]()
[ 10.393422] Modules linked in: spidev(+) omap_rng rng_core omap_wdt musb_am33
5x sch_fq_codel
[ 10.439465] CPU: 0 PID: 165 Comm: systemd-udevd Not tainted 4.4.32-gadde2ca9f
8 #65
[ 10.447453] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 10.639255] Backtrace:
[ 10.641922] [<c00134e4>] (dump_backtrace) from [<c00136e0>] (show_stack+0x18/
0x1c)
[ 10.718396] r7:bf019360 r6:000002cf r5:00000009 r4:00000000
[ 10.742989] [<c00136c8>] (show_stack) from [<c02a8688>] (dump_stack+0x24/0x28
)
[ 10.757293] omap_hwmod: pruss: _wait_target_ready failed: -16
[ OK [ 10.882390] [<c02a8664>] (dump_stack) from [<c0031d0c>] (warn_slowpath
_common+0x88/0xb4)
] Found device /dev/ttyO3.
[ 10.892733] ti-pruss 4a300000.pruss: couldn't enable pruss
[ 10.969294] ti-pruss: probe of 4a300000.pruss failed with error -16
[ 10.979691] [<c0031c84>] (warn_slowpath_common) from [<c0031ddc>] (warn_slowp
ath_null+0x24/0x2c)
[ 11.052416] r8:0000000e r7:bf01a4a4 r6:bf01a494 r5:cf3f6400 r4:cf3f6400
[ 11.102362] [<c0031db8>] (warn_slowpath_null) from [<bf019360>] (spidev_probe
+0x1a8/0x1c4 [spidev])
[ 11.175052] [<bf0191b8>] (spidev_probe [spidev]) from [<c0435738>] (spi_drv_p
robe+0x84/0xb0)
[ 11.269249] r8:0000000e r7:bf01a4a4 r6:bf01a494 r5:00000000 r4:cf3f6400
[ 11.276414] [<c04356b4>] (spi_drv_probe) from [<c03db7dc>] (driver_probe_devi
ce+0x204/0x2f8)
[ 11.374899] r7:bf01a4a4 r6:00000000 r5:cf3f6400 r4:c097c088
[ 11.434451] [<c03db5d8>] (driver_probe_device) from [<c03db964>] (__driver_at
tach+0x94/0x98)
[ 11.562988] r9:3579dc1c r8:ca862408 r7:00000000 r6:cf3f6434 r5:bf01a4a4 r4:c
f3f6400
[ 11.661737] [<c03db8d0>] (__driver_attach) from [<c03d98e4>] (bus_for_each_de
v+0x70/0xa4)
Starting Network Time Synchronization...
[ 11.809167] r7:00000000 r6:c03db8d0 r5:bf01a4a4 r4:00000000
[ 11.815223] [<c03d9874>] (bus_for_each_dev) from [<c03db0c8>] (driver_attach+
0x24/0x28)
Starting Update UTMP about System Boot/Shutdown...
[ 12.067149] r6:c0931ec8 r5:ca84b400 r4:bf01a4a4
[ 12.081629] [<c03db0a4>] (driver_attach) from [<c03dad04>] (bus_add_driver+0x
1a8/0x220)
[ 12.179200] [<c03dab5c>] (bus_add_driver) from [<c03dc17c>] (driver_register+
0x80/0x100)
[ 12.187757] r7:ca862500
[ 12.266142] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 12.359196] r6:bf01a47c r5:bf01a6c0 r4:bf01a4a4
[ 12.364153] [<c03dc0fc>] (driver_register) from [<c0435674>] (__spi_register_
driver+0x60/0x64)
[ 12.520893] r5:bf01a6c0 r4:c08feca0
[ 12.524767] [<c0435614>] (__spi_register_driver) from [<bf01c098>] (spidev_in
it+0x98/0xd0 [spidev])
[ 12.562873] remoteproc0: wkup_m3 is available
[ 12.567587] remoteproc0: Note: remoteproc is still under development and con
sidered experimental.
[ 12.717346] [<bf01c000>] (spidev_init [spidev]) from [<c00096bc>] (do_one_ini
tcall+0x98/0x1e4)
[ 12.763024] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backwar
d compatibility isn't yet guaranteed.
[ 12.820895] r6:c08feca0 r5:bf01c000 r4:c08feca0
[ 12.825856] [<c0009624>] (do_one_initcall) from [<c00b2e00>] (do_init_module+
0x68/0x390)
[ 12.852973] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ OK ] Started Network Time Synchronization.
[ 12.989617] r10:bf01a500 r9:3579dc1c r8:ca862408 r7:00000001 r6:ca8624c0 r5:
00000001
[ 12.997931] r4:bf01a500
[ 13.092099] [<c00b2d98>] (do_init_module) from [<c00936ec>] (load_module+0x1d
38/0x1f88)
[ 13.136281] remoteproc0: powering up wkup_m3
[ 13.151283] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 21728
0
[ 13.207993] r6:ca862400 r5:00000001 r4:cf775f44
[ 13.217888] [<c00919b4>] (load_module) from [<c0093b28>] (SyS_finit_module+0x
88/0x98)
[ 13.249447] remoteproc0: remote processor wkup_m3 is now up
[ 13.249479] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ 13.309358] r10:00000000 r9:cf774000 r8:c000fbc4 r7:0000017b r6:b6e01d90 r5:
00000007
[ 13.317672] r4:00000000
[ 13.404943] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 13.411675]
[ 13.413305] [<c0093aa0>] (SyS_finit_module) from [<c000fa00>] (ret_fast_sysca
ll+0x0/0x3c)
[ 13.436897] PM: bootloader does not support rtc-only!
[ 13.527345] r6:00000000 r5:7f6ad928 r4:00000000
[ 13.543266] ---[ end trace 74cb133614eb64c9 ]---
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target System Time Synchronized.
Starting Synchronize System and HW clocks...
[ OK ] Started Synchronize System and HW clocks.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Print notice about GPLv3 packages...
Starting sshd.service...
[ OK ] Started D-Bus System Message Bus.
[ 17.916492] usbcore: registered new interface driver usbfs
Starting Network Service...
Starting Permit User Sessions...
[ 18.045736] usbcore: registered new interface driver hub
[ 18.116246] usbcore: registered new device driver usb
[ OK ] Started Kernel Logging Service.
Starting Login Service...
[ OK ] Started System Logging Service.
[ OK ] Started sshd.service.
[ OK ] Started Permit User Sessions.
[ 18.493174] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 18.525037] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus
number 1
[ 18.596821] hub 1-0:1.0: USB hub found
[ 18.623289] hub 1-0:1.0: 1 port detected
[ 18.688280] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 18.741757] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus
number 2
[ 18.799364] hub 2-0:1.0: USB hub found
[ 18.807650] hub 2-0:1.0: 1 port detected
[ OK ] Started Network Service.
[ 19.399209] net eth1: initializing cpsw version 1.12 (0)
[ 19.404877] net eth0: initialized cpsw ale version 1.4
[ 19.429088] net eth0: ALE Table size 1024
[ 19.529531] net eth1: phy found : id is : 0x20005ce1
[ 19.568783] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 19.637339] net eth0: initializing cpsw version 1.12 (0)
[ 19.739568] net eth0: phy found : id is : 0x20005ce1
[ 19.776507] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
binutils
dosfstools
m4

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
[ OK ] Started Print notice about GPLv3 packages.
[ OK ] Started Login Service.
[ OK ] Reached target Network.
Starting Network Name Resolution...
[ OK ] Started Serial Getty on ttyO3.
[ OK ] Started Serial Getty on ttyO0.
[ OK ] Started Getty on tty1.
Starting rng-tools.service...
[ 22.745618] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow con
trol rx/tx
[ 22.796091] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ OK ] Started Network Name Resolution.
[ OK ] Started rng-tools.service.
Starting thermal-zone-init.service...
Starting userconfig.service...
[ 23.249123] random: nonblocking pool is initialized
[ OK ] Started thermal-zone-init.service.
[ OK ] Started userconfig.service.
Starting appstart.service...
[ OK ] Started appstart.service.

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am335x-evm ttyO0

Arago 2016.10 am335x-evm ttyO0

am335x-evm login: