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.

Has anyone successfully run PRU Ethernet on TI Processor SDK for Linux 03.00.00.04?

Reference:  processors.wiki.ti.com/.../PRU-ICSS_Ethernet

Jumper to RMII ,CPSW mode, it works.  Jumper to MII, PRU mode. No IP address assigned.

root@am335x-evm:~# ifconfig eth0

eth0 Link encap:Ethernet HWaddr 68:C9:0B:E4:5D:47
inet6 addr: fe80::6ac9:bff:fee4:5d47%132688/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:9077 (8.8 KiB)

root@am335x-evm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Link detected: yes


root@am335x-evm:~# ethtool -S eth0
NIC statistics:
txBcast: 15
txMcast: 38
txUcast: 0
txOctets: 10869
rxBcast: 0
rxMcast: 0
rxUcast: 0
rxOctets: 0
lateColl: 0
singleColl: 0
multiColl: 0
excessColl: 0
txHWQOverFlow: 0
rxMisAlignmentFrames: 0
stormPrevCounter: 0
macRxError: 1
SFDError: 4595
defTx: 3142616
macTxError: 0
rxOverSizedFrames: 0
rxUnderSizedFrames: 0
rxCRCFrames: 0
droppedPackets: 0
tx64byte: 0
tx65_127byte: 28
tx128_255byte: 3
tx256_511byte: 22
tx512_1023byte: 0
tx1024byte: 0
rx64byte: 0
rx65_127byte: 0
rx128_255byte: 0
rx256_511byte: 0
rx512_1023byte: 0
rx1024byte: 0
sqeTestError: 0

  • Hi,

    I've contacted the PRU experts. Their feedback will be posted here.

    Best Regards,
    Yordan
  • Ethtool is returning the speed reported is 10Mbps but a link is detected. This could indicate a failed auto-negotiation since the speed is lowest and lowest duplex mode.

    Please power up the board and capture the u-boot log and post here. There is logic in u-boot that is detecting the jumper settings for selecting cpsw and PRU. It should print what if finds.
  • Hi

    The attached is u-boot in PRU mode and CPSW mode files. 

    PRU_ETH.txt
    U-Boot SPL 2016.05-gb4e185a8c3 (Jul 08 2016 - 19:27:52)
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05-gb4e185a8c3 (Jul 08 2016 - 19:27:52 -0400)
    
           Watchdog enabled
    I2C:   ready
    DRAM:  256 MiB
    ETH0, PRU
    ETH1, PRU
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Press SPACE to abort autoboot in 2 seconds
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    3664216 bytes read in 254 ms (13.8 MiB/s)
    37508 bytes read in 31 ms (1.2 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x37e958 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ef1f000, end 8ef2b283 ... 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.4.12-g3639bea54a (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 PREEMPT Fri Jul 8 19:29:44 EDT 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM3359 ICE-V2
    [    0.000000] cma: Reserved 24 MiB at 0x8d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO3,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [    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: 224304K/262144K available (7095K kernel code, 292K rwdata, 2520K rodata, 292K init, 263K bss, 13264K reserved, 24576K cma-reserved, 0K highmem)
    [    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 - 0xc096c034   (9617 kB)
    [    0.000000]       .init : 0xc096d000 - 0xc09b6000   ( 292 kB)
    [    0.000000]       .data : 0xc09b6000 - 0xc09ff248   ( 293 kB)
    [    0.000000]        .bss : 0xc0a01000 - 0xc0a42ed8   ( 264 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 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000047] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000460] clocksource_probe: no matching clocksources found
    [    0.000635] Console: colour dummy device 80x30
    [    0.000661] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
    [    0.000667] This ensures that you still see kernel messages. Please
    [    0.000672] update your kernel commandline.
    [    0.000689] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089107] pid_max: default: 32768 minimum: 301
    [    0.089231] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089244] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089917] Initializing cgroup subsys io
    [    0.089948] Initializing cgroup subsys memory
    [    0.089981] Initializing cgroup subsys devices
    [    0.089996] Initializing cgroup subsys freezer
    [    0.090010] Initializing cgroup subsys perf_event
    [    0.090022] Initializing cgroup subsys pids
    [    0.090050] CPU: Testing write buffer coherency: ok
    [    0.090431] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.092521] devtmpfs: initialized
    [    0.103483] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.117811] omap_hwmod: debugss: _wait_target_disable failed
    [    0.173163] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.175266] pinctrl core: initialized pinctrl subsystem
    [    0.176580] NET: Registered protocol family 16
    [    0.178671] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209103] cpuidle: using governor ladder
    [    0.239094] cpuidle: using governor menu
    [    0.243264] GPIO line 7 (FET_SWITCH_CTRL) hogged as output/high
    [    0.243699] OMAP GPIO hardware version 0.1
    [    0.245901] GPIO line 100 (PR1_MII_CTRL) hogged as output/high
    [    0.245927] GPIO line 106 (MUX_MII_CTL1) hogged as output/low
    [    0.252650] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.297506] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.300945] vgaarb: loaded
    [    0.301518] SCSI subsystem initialized
    [    0.301832] usbcore: registered new interface driver usbfs
    [    0.301902] usbcore: registered new interface driver hub
    [    0.302005] usbcore: registered new device driver usb
    [    0.302530] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [    0.302655] media: Linux media interface: v0.10
    [    0.302719] Linux video capture interface: v2.00
    [    0.302775] pps_core: LinuxPPS API ver. 1 registered
    [    0.302784] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.302815] PTP clock support registered
    [    0.303026] EDAC MC: Ver: 3.0.0
    [    0.304141] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.304450] Advanced Linux Sound Architecture Driver Initialized.
    [    0.305626] clocksource: Switched to clocksource timer1
    [    0.316711] NET: Registered protocol family 2
    [    0.317484] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317521] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317549] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.317627] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317646] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317790] NET: Registered protocol family 1
    [    0.318170] RPC: Registered named UNIX socket transport module.
    [    0.318185] RPC: Registered udp transport module.
    [    0.318192] RPC: Registered tcp transport module.
    [    0.318198] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.319142] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.320988] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.329292] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.330092] NFS: Registering the id_resolver key type
    [    0.330171] Key type id_resolver registered
    [    0.330181] Key type id_legacy registered
    [    0.330255] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.332223] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.332254] io scheduler noop registered
    [    0.332267] io scheduler deadline registered
    [    0.332427] io scheduler cfq registered (default)
    [    0.333804] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.396782] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.400890] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.034435] console [ttyS3] enabled
    [    1.038922] [drm] Initialized drm 1.1.0 20060810
    [    1.051531] loop: module loaded
    [    1.058502] libphy: Fixed MDIO Bus: probed
    [    1.063885] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    1.071513] usbcore: registered new interface driver pegasus
    [    1.077301] usbcore: registered new interface driver asix
    [    1.082776] usbcore: registered new interface driver ax88179_178a
    [    1.088978] usbcore: registered new interface driver cdc_ether
    [    1.094905] usbcore: registered new interface driver smsc75xx
    [    1.100767] usbcore: registered new interface driver smsc95xx
    [    1.106608] usbcore: registered new interface driver net1080
    [    1.112342] usbcore: registered new interface driver cdc_subset
    [    1.118354] usbcore: registered new interface driver zaurus
    [    1.124062] usbcore: registered new interface driver cdc_ncm
    [    1.130395] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.136999] ehci-pci: EHCI PCI platform driver
    [    1.141526] ehci-platform: EHCI generic platform driver
    [    1.146957] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.152301] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.158568] ohci-pci: OHCI PCI platform driver
    [    1.163095] ohci-platform: OHCI generic platform driver
    [    1.168807] usbcore: registered new interface driver usb-storage
    [    1.175289] mousedev: PS/2 mouse device common for all mice
    [    1.181861] i2c /dev entries driver
    [    1.186993] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.193918] sdhci: Secure Digital Host Controller Interface driver
    [    1.200201] sdhci: Copyright(c) Pierre Ossman
    [    1.204945] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.216173] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.223258] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group mmc0_pins_default  on device pinctrl-single
    [    1.235588] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.265885] Synopsys Designware Multimedia Card Interface Driver
    [    1.272309] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.279585] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.286027] usbcore: registered new interface driver usbhid
    [    1.291628] usbhid: USB HID core driver
    [    1.297849] NET: Registered protocol family 10
    [    1.303526] sit: IPv6 over IPv4 tunneling driver
    [    1.309118] NET: Registered protocol family 17
    [    1.313889] Key type dns_resolver registered
    [    1.318478] omap_voltage_late_init: Voltage driver support not added
    [    1.326689] ThumbEE CPU extension supported.
    [    1.331022] Registering SWP/SWPB emulation handler
    [    1.355843] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.384315] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.390517] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.401749] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.408849] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group mmc0_pins_default  on device pinctrl-single
    [    1.421179] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.429151] vmmc: supplied by vbat
    [    1.466505] hctosys: unable to open rtc device (rtc0)
    [    1.475853] ALSA device list:
    [    1.479914]   No soundcards found.
    [    1.486300] Waiting for root device PARTUUID=00000000-02...
    [    1.565209] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.576577] mmc0: new high speed SDHC card at address e624
    [    1.582792] mmcblk0: mmc0:e624 SS08G 7.40 GiB
    [    1.589029]  mmcblk0: p1 p2
    [    1.611870] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.620197] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.629455] devtmpfs: mounted
    [    1.632966] Freeing unused kernel memory: 292K (c096d000 - c09b6000)
    [    1.639646] This architecture does not have kernel memory protection.
    [    1.943438] systemd[1]: System time before build time, advancing clock.
    [    2.032709] random: systemd urandom read with 18 bits of entropy available
    [    2.073414] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.093175] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.05!
    
    [    2.117835] systemd[1]: Set hostname to <am335x-evm>.
    [    2.608570] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [    2.916249] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    2.924084] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    2.931904] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    2.939205] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    2.946672] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    2.956153] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    3.015874] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.046116] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.066209] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.088670] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.107588] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.126515] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.156236] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.176339] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.207454] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.225981] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.247601] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.266228] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.286339] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.311128] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.351346] systemd[1]: Starting Setup Virtual Console...
    [    3.374105] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Starting Setup Virtual Console...
    [    3.441433] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.519911] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    3.547901] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.607344] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    3.636152] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.671488] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.736566] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.766180] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    3.771753] cryptodev: driver 1.8 loaded.
    [    3.780448] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.821446] 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...
    [    3.916227] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    3.936198] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    3.956116] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    3.976709] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Setup Virtual Console.
    [  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...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    5.512237] systemd-journald[83]: 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.
    [  OK  ] Started udev Coldplug all Devices.
    [    7.249020] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.349785] omap_rtc 44e3e000.rtc: already running
    [    7.374028] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [    7.733970] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Found device /dev/ttyS3.
    [    8.112482] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    8.267424]  remoteproc0: wkup_m3 is available
    [    8.288420] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  OK  ] Started Create Volatile Files and Directories.
    [    8.315959]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    8.324991]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.383916] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [    8.418793] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    8.505838] davinci_mdio 4a332400.mdio: davinci mdio revision 1.6
    [    8.511992] libphy: 4a332400.mdio: probed
    [    8.570561]  remoteproc0: powering up wkup_m3
    [    8.614562]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 216252
    [    8.676114]  remoteproc0: remote processor wkup_m3 is now up
    [    8.676137] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [    8.722885] davinci_mdio 4a332400.mdio: phy[1]: device 4a332400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
    [    8.800115] davinci_mdio 4a332400.mdio: phy[3]: device 4a332400.mdio:03, driver TI TLK10X 10/100 Mbps PHY
    [    8.947628]  remoteproc1: 4a334000.pru0 is available
    [    8.952641]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    8.962630] PM: bootloader does not support rtc-only!
    [  OK  ] Found device /dev/ttyS0.
    [    9.115826]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    9.251456] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
    [    9.363840]  remoteproc2: 4a338000.pru1 is available
    [    9.405798]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    9.414834]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    9.676457] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [   10.391716] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [   12.680442] prueth pruss_eth: TI PRU ethernet driver initialized
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Kernel Logging Service.
             Starting Permit User Sessions...
    [  OK  ] Started System Logging Service.
             Starting uim-sysfs.service...
             Starting Start USB gadget...
             Starting Telephony service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Network Service...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [   14.520477] Bluetooth: Core ver 2.21
    [   14.552371] NET: Registered protocol family 31
    [   14.615803] Bluetooth: HCI device and connection manager initialized
    [   14.622249] Bluetooth: HCI socket layer initialized
             Starting Login Service...
    [   14.722045] Bluetooth: L2CAP socket layer initialized
    [  OK  ] Started Permit User Sessions.
    [   14.778983] Bluetooth: SCO socket layer initialized
    [   14.935886]  remoteproc2: powering up 4a338000.pru1
    [FAILED] Failed to start Start USB gadget.
    [   14.968705]  remoteproc2: Booting fw image ti-pruss/am335x-pru1-prueth-fw.elf, size 3893
    See 'systemctl status gadget-init.service' for details.
    [  OK  ] Started Network Service.
    [   15.037639] ti-pruss 4a300000.pruss: configured system_events = 0x0060000000a00000 intr_channels = 0x0000012a host_intr = 0x0000022a
    [   15.115806]  remoteproc2: remote processor 4a338000.pru1 is now up
    [   15.122080] net eth1: started
    [   15.175858] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.236757] NET: Registered protocol family 15
    [   15.256382]  remoteproc1: powering up 4a334000.pru0
    [   15.261498]  remoteproc1: Booting fw image ti-pruss/am335x-pru0-prueth-fw.elf, size 3893
    [   15.340332] ti-pruss 4a300000.pruss: configured system_events = 0x0000060000500000 intr_channels = 0x00000095 host_intr = 0x00000115
    [   15.434240]  remoteproc1: remote processor 4a334000.pru0 is now up
    [   15.485893] net eth0: started
    [   15.505304] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.786542] Initializing XFRM netlink socket
    [   16.596471] eth0: Link is Up - 10Mbps/Half - flow control off
    [   16.602307] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   17.305761] random: nonblocking pool is initialized
    [  OK  ] Started Login Service.
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
             Mounting Configuration File System...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started uim-sysfs.service.
             Starting rc.pvr.service...
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
             Starting busybox-udhcpd.service...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started busybox-udhcpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
             Starting parse-ip.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started parse-ip.service.
             Starting gplv3-notice.service...
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS3
    
    Arago 2016.05 am335x-evm ttyS3
    
    am335x-evm login: prueth                 14215  0
    Password:
    
    Login incorrect
    am335x-evm login: root
    root@am335x-evm:~# prueth                 14215  0
    -sh: prueth: command not found
    root@am335x-evm:~#
    
    CPSW_ETH.txt
    U-Boot SPL 2016.05-gb4e185a8c3 (Jul 08 2016 - 19:27:52)
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05-gb4e185a8c3 (Jul 08 2016 - 19:27:52 -0400)
    
           Watchdog enabled
    I2C:   ready
    DRAM:  256 MiB
    ETH0, CPSW
    ETH1, CPSW
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Press SPACE to abort autoboot in 2 seconds
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    3664216 bytes read in 254 ms (13.8 MiB/s)
    37508 bytes read in 31 ms (1.2 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x37e958 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ef1f000, end 8ef2b283 ... OK
    Fixing up ETH0 & ETH1 to CPSW Ethernet
    
    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.12-g3639bea54a (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 PREEMPT Fri Jul 8 19:29:44 EDT 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM3359 ICE-V2
    [    0.000000] cma: Reserved 24 MiB at 0x8d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO3,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [    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: 224304K/262144K available (7095K kernel code, 292K rwdata, 2520K rodata, 292K init, 263K bss, 13264K reserved, 24576K cma-reserved, 0K highmem)
    [    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 - 0xc096c034   (9617 kB)
    [    0.000000]       .init : 0xc096d000 - 0xc09b6000   ( 292 kB)
    [    0.000000]       .data : 0xc09b6000 - 0xc09ff248   ( 293 kB)
    [    0.000000]        .bss : 0xc0a01000 - 0xc0a42ed8   ( 264 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 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000033] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000044] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000458] clocksource_probe: no matching clocksources found
    [    0.000633] Console: colour dummy device 80x30
    [    0.000660] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
    [    0.000666] This ensures that you still see kernel messages. Please
    [    0.000672] update your kernel commandline.
    [    0.000688] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089119] pid_max: default: 32768 minimum: 301
    [    0.089247] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089258] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089938] Initializing cgroup subsys io
    [    0.089972] Initializing cgroup subsys memory
    [    0.090005] Initializing cgroup subsys devices
    [    0.090021] Initializing cgroup subsys freezer
    [    0.090036] Initializing cgroup subsys perf_event
    [    0.090048] Initializing cgroup subsys pids
    [    0.090076] CPU: Testing write buffer coherency: ok
    [    0.090456] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.092546] devtmpfs: initialized
    [    0.103524] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.117860] omap_hwmod: debugss: _wait_target_disable failed
    [    0.173299] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.175430] pinctrl core: initialized pinctrl subsystem
    [    0.176757] NET: Registered protocol family 16
    [    0.178862] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209116] cpuidle: using governor ladder
    [    0.239106] cpuidle: using governor menu
    [    0.243282] GPIO line 7 (FET_SWITCH_CTRL) hogged as output/high
    [    0.243716] OMAP GPIO hardware version 0.1
    [    0.245918] GPIO line 100 (PR1_MII_CTRL) hogged as output/high
    [    0.245945] GPIO line 106 (MUX_MII_CTL1) hogged as output/high
    [    0.252879] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.297524] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.300989] vgaarb: loaded
    [    0.301555] SCSI subsystem initialized
    [    0.301868] usbcore: registered new interface driver usbfs
    [    0.301939] usbcore: registered new interface driver hub
    [    0.302045] usbcore: registered new device driver usb
    [    0.302578] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [    0.302701] media: Linux media interface: v0.10
    [    0.302763] Linux video capture interface: v2.00
    [    0.302820] pps_core: LinuxPPS API ver. 1 registered
    [    0.302828] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.302860] PTP clock support registered
    [    0.303067] EDAC MC: Ver: 3.0.0
    [    0.304191] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.304498] Advanced Linux Sound Architecture Driver Initialized.
    [    0.305665] clocksource: Switched to clocksource timer1
    [    0.316749] NET: Registered protocol family 2
    [    0.317517] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317552] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317580] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.317659] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317679] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317825] NET: Registered protocol family 1
    [    0.318208] RPC: Registered named UNIX socket transport module.
    [    0.318221] RPC: Registered udp transport module.
    [    0.318227] RPC: Registered tcp transport module.
    [    0.318234] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.319175] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.321020] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.329339] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.330148] NFS: Registering the id_resolver key type
    [    0.330230] Key type id_resolver registered
    [    0.330239] Key type id_legacy registered
    [    0.330313] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.332285] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.332314] io scheduler noop registered
    [    0.332327] io scheduler deadline registered
    [    0.332490] io scheduler cfq registered (default)
    [    0.333862] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.396818] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.400921] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.034562] console [ttyS3] enabled
    [    1.039055] [drm] Initialized drm 1.1.0 20060810
    [    1.051666] loop: module loaded
    [    1.058632] libphy: Fixed MDIO Bus: probed
    [    1.125734] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.131872] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [    1.139552] libphy: 4a101000.mdio: probed
    [    1.143597] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI TLK10X 10/100 Mbps PHY
    [    1.153301] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI TLK10X 10/100 Mbps PHY
    [    1.163681] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:e4:5d:47
    [    1.171284] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:e4:5d:49
    [    1.179153] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    1.186751] usbcore: registered new interface driver pegasus
    [    1.192519] usbcore: registered new interface driver asix
    [    1.198029] usbcore: registered new interface driver ax88179_178a
    [    1.204199] usbcore: registered new interface driver cdc_ether
    [    1.210147] usbcore: registered new interface driver smsc75xx
    [    1.216006] usbcore: registered new interface driver smsc95xx
    [    1.221827] usbcore: registered new interface driver net1080
    [    1.227581] usbcore: registered new interface driver cdc_subset
    [    1.233583] usbcore: registered new interface driver zaurus
    [    1.239308] usbcore: registered new interface driver cdc_ncm
    [    1.245745] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.252313] ehci-pci: EHCI PCI platform driver
    [    1.256861] ehci-platform: EHCI generic platform driver
    [    1.262285] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.267666] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.273913] ohci-pci: OHCI PCI platform driver
    [    1.278476] ohci-platform: OHCI generic platform driver
    [    1.284165] usbcore: registered new interface driver usb-storage
    [    1.290678] mousedev: PS/2 mouse device common for all mice
    [    1.297201] i2c /dev entries driver
    [    1.302178] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.309226] sdhci: Secure Digital Host Controller Interface driver
    [    1.315434] sdhci: Copyright(c) Pierre Ossman
    [    1.320236] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.331462] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.338561] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group mmc0_pins_default  on device pinctrl-single
    [    1.350890] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.385929] Synopsys Designware Multimedia Card Interface Driver
    [    1.392359] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.399696] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.406139] usbcore: registered new interface driver usbhid
    [    1.411740] usbhid: USB HID core driver
    [    1.418037] NET: Registered protocol family 10
    [    1.423973] sit: IPv6 over IPv4 tunneling driver
    [    1.429582] NET: Registered protocol family 17
    [    1.434355] Key type dns_resolver registered
    [    1.438941] omap_voltage_late_init: Voltage driver support not added
    [    1.447106] ThumbEE CPU extension supported.
    [    1.451432] Registering SWP/SWPB emulation handler
    [    1.475870] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.504462] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.510682] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
    [    1.521922] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
    [    1.529021] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group mmc0_pins_default  on device pinctrl-single
    [    1.541352] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    1.549314] vmmc: supplied by vbat
    [    1.586575] hctosys: unable to open rtc device (rtc0)
    [    1.595927] ALSA device list:
    [    1.599991]   No soundcards found.
    [    1.606374] Waiting for root device PARTUUID=00000000-02...
    [    1.685562] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.697205] mmc0: new high speed SDHC card at address e624
    [    1.703427] mmcblk0: mmc0:e624 SS08G 7.40 GiB
    [    1.709665]  mmcblk0: p1 p2
    [    1.728926] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.737254] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.746247] devtmpfs: mounted
    [    1.749756] Freeing unused kernel memory: 292K (c096d000 - c09b6000)
    [    1.756429] This architecture does not have kernel memory protection.
    [    2.059704] systemd[1]: System time before build time, advancing clock.
    [    2.149256] random: systemd urandom read with 19 bits of entropy available
    [    2.189762] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.209507] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.05!
    
    [    2.237886] systemd[1]: Set hostname to <am335x-evm>.
    [    2.728841] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [    3.037661] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.045499] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.053413] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    3.060832] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [    3.068307] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop
    [    3.075770] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.083216] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.092685] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    3.132047] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.158729] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.177588] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.196615] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.226225] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.246489] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.266294] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.320511] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.346347] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.366024] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.387496] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.406013] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.426446] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.456400] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.485983] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    3.506370] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.531206] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.572016] systemd[1]: Mounting Debug File System...
    [    3.594576] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Mounting Debug File System...
    [    3.669893] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.725583] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    3.761661] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.809851] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    3.864280] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.908147] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.950990] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    3.960974] cryptodev: driver 1.8 loaded.
             Starting Create list of required st... nodes for the current kernel...
    [    4.143672] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    4.166274] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.186154] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    4.206788] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Setup Virtual Console.
    [  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...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    5.799049] systemd-journald[82]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started udev Coldplug all Devices.
    [    7.435485] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.537667] omap_rtc 44e3e000.rtc: already running
    [    7.592991] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [    7.925226] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
    [    8.321342] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  OK  ] Found device /dev/ttyS3.
    [    8.501469]  remoteproc0: wkup_m3 is available
    [    8.507979] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    8.555440]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    8.603448] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [    8.678672]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.709645] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    8.750092]  remoteproc1: 4a334000.pru0 is available
    [    8.755107]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    8.847085] PM: Cannot get wkup_m3_ipc handle
    [    8.872209] PM: bootloader does not support rtc-only!
    [    8.877733]  remoteproc0: powering up wkup_m3
    [    8.883111]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 216252
    [    8.976321]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    9.026214]  remoteproc0: remote processor wkup_m3 is now up
    [    9.026236] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [    9.130977] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
    [    9.296327]  remoteproc2: 4a338000.pru1 is available
    [    9.301343]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    9.443852]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    9.616462] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [   10.639267] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  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  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
             Starting Login Service...
    [  OK  ] Started System Logging Service.
             Starting Telephony service...
    [  OK  ] Started Kernel Logging Service.
             Starting uim-sysfs.service...
             Starting Start USB gadget...
    [   14.171918] net eth1: initializing cpsw version 1.12 (0)
             [   14.229114] net eth0: initialized cpsw ale version 1.4
    Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Avahi mDNS/DNS-SD Stack...
    [   14.366163] net eth1: phy found : id is : 0x2000a211
    [   14.463893] Bluetooth: Core ver 2.21
    [  OK  ] Started Network Service.
    [   14.483193] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   14.526560] NET: Registered protocol family 31
    [  OK  ] Started Permit User Sessions.
    [   14.586033] Bluetooth: HCI device and connection manager initialized
    [   14.592481] Bluetooth: HCI socket layer initialized
    [   14.614935] net eth0: initializing cpsw version 1.12 (0)
    [   14.718814] Bluetooth: L2CAP socket layer initialized
    [   14.746355] net eth0: phy found : id is : 0x2000a211
    [   14.776775] Bluetooth: SCO socket layer initialized
    [   14.814034] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.127864] NET: Registered protocol family 15
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [   15.672621] Initializing XFRM netlink socket
    [   16.855786] random: nonblocking pool is initialized
    [   17.746505] cpsw 4a100000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
    [   17.785994] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Mounting Configuration File System...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started uim-sysfs.service.
             Starting rc.pvr.service...
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting busybox-udhcpd.service...
             Starting thttpd.service...
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting parse-ip.service...
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started parse-ip.service.
             Starting gplv3-notice.service...
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS3
    
    Arago 2016.05 am335x-evm ttyS3
    
    am335x-evm login: root
    root@am335x-evm:~# ls
    root@am335x-evm:~#
    

  • What is the board plugged into ethernet wise? What is the link partner? Both logs are showing the same link speed and duplicity.

    When I have seen 10 Mbps half duplex this usually indicates a failed auto-negotiation with a link partner.

    In the cpsw boot log is this line, which matches the ethtool dump from before. Is the board able to get an ip address with the ifup command?

    cpsw 4a100000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off

    In the pru boot log is this line, this is consistent with the cpsw boot log.
    eth0: Link is Up - 10Mbps/Half - flow control off

    Is the board being powered off between changing the J18 and J19 jumper settings? Could you upload a picture of the jumper settings?
  • CPSW mode, It works well.

    CPSW_eth0.txt
    root@am335x-evm:~# ifup eth0
    udhcpc (v1.24.1) started
    Sending discover...
    Sending select for 192.168.1.112...
    Lease of 192.168.1.112 obtained, lease time 268435455
    /etc/udhcpc.d/50default: Adding DNS 192.168.1.1
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supported pause frame use: No
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Link partner advertised link modes:  10baseT/Half
            Link partner advertised pause frame use: No
            Link partner advertised auto-negotiation: No
            Speed: 10Mb/s
            Duplex: Half
            Port: MII
            PHYAD: 1
            Transceiver: external
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am335x-evm:~# ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 68:C9:0B:E4:5D:47
              inet addr:192.168.1.112  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:945 errors:0 dropped:2 overruns:0 frame:0
              TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:77097 (75.2 KiB)  TX bytes:26469 (25.8 KiB)
              Interrupt:172
    
    root@am335x-evm:~# ping www.google.ca
    PING www.google.ca (216.58.216.163): 56 data bytes
    64 bytes from 216.58.216.163: seq=0 ttl=56 time=14.971 ms
    64 bytes from 216.58.216.163: seq=1 ttl=56 time=16.193 ms
    64 bytes from 216.58.216.163: seq=2 ttl=56 time=15.338 ms
    64 bytes from 216.58.216.163: seq=3 ttl=56 time=16.281 ms
    64 bytes from 216.58.216.163: seq=4 ttl=56 time=14.363 ms
    64 bytes from 216.58.216.163: seq=5 ttl=56 time=15.611 ms
    ^C
    --- www.google.ca ping statistics ---
    6 packets transmitted, 6 packets received, 0% packet loss
    round-trip min/avg/max = 14.363/15.459/16.281 ms
    root@am335x-evm:~#
    

    PRU mode. No ip address assigned.  looks like only txd works, Rxd doesn't have any data.

    PRU_eth0.txt
    root@am335x-evm:~# ifup eth0
    udhcpc (v1.24.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supported pause frame use: No
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Link partner advertised link modes:  10baseT/Half
            Link partner advertised pause frame use: No
            Link partner advertised auto-negotiation: No
            Speed: 10Mb/s
            Duplex: Half
            Port: MII
            PHYAD: 1
            Transceiver: external
            Auto-negotiation: on
            Link detected: yes
    root@am335x-evm:~# ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 68:C9:0B:E4:5D:47
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:8766 (8.5 KiB)
    
    root@am335x-evm:~# ping www.google.ca
    ping: bad address 'www.google.ca'
    root@am335x-evm:~#
    

  • Thanks for posting the pictures. I think the problem is with the link partner, which is the device at the other end of the cable.  I missed this earlier, in the ethtool output it shows the link partner does not support auto-negotiation. So while a link is detected it does not mean the link is good because there may be a mis-match in speed and duplex mode. The 10Mbps half duplex is a default mode that PHYs will fall back to if auto-negotiation fails. Since the highlighted line is showing no, the link speed and duplex mode could be possibly be handled by an ethtool command provided it is known what the link partner is running at.

     

            Link partner advertised pause frame use: No
            Link partner advertised auto-negotiation: No
            Speed: 10Mb/s
            Duplex: Half
            Port: MII
            PHYAD: 1
            Transceiver: external
            Auto-negotiation: on

     

    When I run the latest SDK on the ICEv2 I have no trouble connecting and getting an ip address for the board using the PRU strapping.

     

             Link partner advertised pause frame use: Symmetric

             Link partner advertised auto-negotiation: Yes

             Speed: 100Mb/s

             Duplex: Full

             Port: MII

             PHYAD: 1

             Transceiver: external

             Auto-negotiation: on

             Link detected: yes

  • Yes, you are right. When I connect it directly to router, It works. I connected it to a old 10M HUB. It doesn't work. But in CPSW mode both works.