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.

Linux/AM3352: RTL8211E RGMII issue

Part Number: AM3352

Tool/software: Linux

Dear Sirs,

I have 2 projects using AM3352. Both are based on BeagleBone Black schematics. One is with 10/100 Ethernet phy and the other is with Realtek RTL8211E Gigabit phy. The 10/100 board works fine. The other board is based on RTL8211E 10/100/1000 Phy cannot work, please see attached log file.

Attached log file showed that I have done some tests, please review the log file to see if there is something abnormal.

When booting up Ubuntu, it will take 5 minutes and finally got "Failed to start Raise network interfaces." error message.

We only need one Ethernet which connected to RGMII1 (CPSW slave 1) of AM335x. The phy_addr is set at 01.

When we ping, if the LAN cable is connected, we got "Destination Host Unreachable" error, if we unplug the cable, we got "ping: sendmsg: Network is unreachable" error instead.

We have measured the RGMII_RXCLK and RGMII_TXCLK with a scope, we saw steady 125MHz clock on both pins. Does it mean the RGMII mode was already set correctly?

Since we have ported 10/100 Ethernet port correctly, we reverse compiled their dtb files to dts files then compared  with gigabit's dts files the diff utility, please see log file. We feel that

18_08_14_AM335x_RTL8211E_log.txt
U-Boot 2018.03-dirty (Aug 11 2018 - 06:12:21 -0700)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Global external warm reset has occurred.
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... OK
Board: BeagleBone Black
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: UDS RGMII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
46 bytes read in 32 ms (1000 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.14.41-bone14 ...
10387968 bytes read in 689 ms (14.4 MiB/s)
loading /boot/dtbs/4.14.41-bone14/am335x-boneblack.dtb ...
60811 bytes read in 101 ms (587.9 KiB/s)
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...
debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] ...
debug: [bootz 0x82000000 - 0x88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffffd8a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.41-bone14 (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Thu Aug 9 10:08:07 PDT 2018
[    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] OF: fdt: Machine model: TI AM335x BeagleBone Black
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x9d000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x44c with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 447468K/524288K available (13312K kernel code, 1125K rwdata, 4204K rodata, 1024K init, 634K bss, 27668K reserved, 49152K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0e00000   (14304 kB)
[    0.000000]       .init : 0xc1400000 - 0xc1500000   (1024 kB)
[    0.000000]       .data : 0xc1500000 - 0xc1619514   (1126 kB)
[    0.000000]        .bss : 0xc1623340 - 0xc16c1b94   ( 635 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 41784 entries in 123 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000016] 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.000505] timer_probe: no matching timers found
[    0.000703] Console: colour dummy device 80x30
[    0.000727] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000734] This ensures that you still see kernel messages. Please
[    0.000739] update your kernel commandline.
[    0.000760] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.047025] pid_max: default: 32768 minimum: 301
[    0.047283] Security Framework initialized
[    0.047301] Yama: becoming mindful.
[    0.047385] AppArmor: AppArmor initialized
[    0.047594] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047608] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048498] CPU: Testing write buffer coherency: ok
[    0.049314] Setting up static identity map for 0x80100000 - 0x80100060
[    0.049475] Hierarchical SRCU implementation.
[    0.052418] EFI services will not be available.
[    0.053894] devtmpfs: initialized
[    0.065693] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.066070] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.066093] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.069939] xor: measuring software checksum speed
[    0.107094]    arm4regs  :  1219.000 MB/sec
[    0.147032]    8regs     :   957.000 MB/sec
[    0.187022]    32regs    :  1053.000 MB/sec
[    0.227020]    neon      :  1642.000 MB/sec
[    0.227028] xor: using function: neon (1642.000 MB/sec)
[    0.227049] pinctrl core: initialized pinctrl subsystem
[    0.227742] DMI not present or invalid.
[    0.228142] NET: Registered protocol family 16
[    0.230537] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.247553] omap_hwmod: debugss: _wait_target_disable failed
[    0.287784] cpuidle: using governor menu
[    0.292236] OMAP GPIO hardware version 0.1
[    0.302592] No ATAGs?
[    0.302611] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.379168] raid6: neonx2   gen()  1896 MB/s
[    0.447049] raid6: neonx2   xor()  1525 MB/s
[    0.447060] raid6: using algorithm neonx2 gen() 1896 MB/s
[    0.447068] raid6: .... xor() 1525 MB/s, rmw enabled
[    0.447076] raid6: using neon recovery algorithm
[    0.453025] edma 49000000.edma: TI EDMA DMA engine driver
[    0.455095] SCSI subsystem initialized
[    0.455719] usbcore: registered new interface driver usbfs
[    0.455774] usbcore: registered new interface driver hub
[    0.455875] usbcore: registered new device driver usb
[    0.456351] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.457542] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.457789] media: Linux media interface: v0.10
[    0.457837] Linux video capture interface: v2.00
[    0.457893] pps_core: LinuxPPS API ver. 1 registered
[    0.457901] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.457921] PTP clock support registered
[    0.458047] dmi: Firmware registration failed.
[    0.458416] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.459129] Advanced Linux Sound Architecture Driver Initialized.
[    0.460328] NetLabel: Initializing
[    0.460345] NetLabel:  domain hash size = 128
[    0.460352] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.460437] NetLabel:  unlabeled traffic allowed by default
[    0.461103] clocksource: Switched to clocksource timer1
[    0.596966] VFS: Disk quotas dquot_6.6.0
[    0.597065] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.597731] AppArmor: AppArmor Filesystem Enabled
[    0.607260] NET: Registered protocol family 2
[    0.608048] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.608096] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.608136] TCP: Hash tables configured (established 4096 bind 4096)
[    0.608241] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.608260] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.608438] NET: Registered protocol family 1
[    0.609053] RPC: Registered named UNIX socket transport module.
[    0.609070] RPC: Registered udp transport module.
[    0.609076] RPC: Registered tcp transport module.
[    0.609083] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.610164] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.610275] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.612453] audit: initializing netlink subsys (disabled)
[    0.613261] audit: type=2000 audit(0.608:1): state=initialized audit_enabled=0 res=1
[    0.613759] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.618617] zbud: loaded
[    0.621056] NFS: Registering the id_resolver key type
[    0.621248] Key type id_resolver registered
[    0.621261] Key type id_legacy registered
[    0.621283] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.621609] fuse init (API version 7.26)
[    0.622391] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.622564] orangefs_init: module version upstream loaded
[    0.622575] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.631281] Key type asymmetric registered
[    0.631305] Asymmetric key parser 'x509' registered
[    0.631418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.631661] io scheduler noop registered
[    0.631674] io scheduler deadline registered
[    0.631990] io scheduler cfq registered (default)
[    0.632000] io scheduler mq-deadline registered
[    0.633300] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.634285] gpio-of-helper ocp:cape-universal: ready
[    0.636118] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.637575] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.640469] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.234581] random: fast init done
[    1.431442] console [ttyS0] enabled
[    1.437326] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.444491] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[    1.452057] usbcore: registered new interface driver udl
[    1.459729] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.467036] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.474187] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.481316] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.490762] libphy: Fixed MDIO Bus: probed
[    1.495788] CAN device driver interface
[    1.553197] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.560930] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    1.569882] libphy: 4a101000.mdio: probed
[    1.574031] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
[    1.583736] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver RTL8211E Gigabit Ethernet
[    1.594208] cpsw 4a100000.ethernet: Detected MACID = 90:70:65:c4:80:22
[    1.601028] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[    1.609853] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.616516] ehci-platform: EHCI generic platform driver
[    1.621960] ehci-omap: OMAP-EHCI Host Controller driver
[    1.627436] usbcore: registered new interface driver usb-storage
[    1.635458] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.647592] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.669050] omap_rtc 44e3e000.rtc: already running
[    1.674522] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.682537] i2c /dev entries driver
[    1.688195] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.695566] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[    1.705413] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.784333] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.793777] ledtrig-cpu: registered to indicate activity on CPUs
[    1.794115] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.800460] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.807881] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.822825] hidraw: raw HID events driver (C) Jiri Kosina
[    1.823349] usbcore: registered new interface driver usbhid
[    1.823353] usbhid: USB HID core driver
[    1.823673] remoteproc remoteproc0: wkup_m3 is available
[    1.827469] wireguard: WireGuard 0.0.20180514 loaded. See www.wireguard.com for information.
[    1.827476] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    1.828207] NET: Registered protocol family 10
[    1.835353] Segment Routing with IPv6
[    1.835425] mip6: Mobile IPv6
[    1.835439] NET: Registered protocol family 17
[    1.835453] can: controller area network core (rev 20170425 abi 9)
[    1.835535] NET: Registered protocol family 29
[    1.835624] Key type dns_resolver registered
[    1.835628] mpls_gso: MPLS GSO support
[    1.835815] omap_voltage_late_init: Voltage driver support not added
[    1.835830] ThumbEE CPU extension supported.
[    1.835844] Registering SWP/SWPB emulation handler
[    1.836651] registered taskstats version 1
[    1.836773] zswap: loaded using pool lzo/zbud
[    1.839120] Btrfs loaded, crc32c=crc32c-generic
[    1.839215] AppArmor: AppArmor sha1 policy hashing enabled
[    1.839232] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    1.953683] mmc0: new high speed SDHC card at address 0007
[    1.963051] mmcblk0: mmc0:0007 SD16G 14.4 GiB 
[    1.969509]  mmcblk0: p1
[    1.996306] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    2.007768] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    2.013652] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.022206] tda998x 0-0070: Error -121 writing to cec:0xff
[    2.027928] tda998x 0-0070: set_page 000a err -121
[    2.032875] mmc1: new high speed MMC card at address 0001
[    2.038965] mmcblk1: mmc1:0001 M62704 1.77 GiB 
[    2.043815] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    2.050026] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    2.056188] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
[    2.089213] tda998x 0-0070: set_page 000a err -121
[    2.153173] tda998x 0-0070: set_page 0001 err -121
[    2.158065] tda998x 0-0070: set_page 0001 err -121
[    2.162948] tda998x 0-0070: set_page 0200 err -121
[    2.167856] tda998x 0-0070: set_page 0201 err -121
[    2.172745] tda998x 0-0070: set_page 0202 err -121
[    2.177630] tda998x 0-0070: set_page 0203 err -121
[    2.182516] tda998x 0-0070: set_page 0204 err -121
[    2.187402] tda998x 0-0070: set_page 0205 err -121
[    2.192281] tda998x 0-0070: set_page 020e err -121
[    2.197171] tda998x 0-0070: set_page 0211 err -121
[    2.202056] tda998x 0-0070: set_page 0207 err -121
[    2.206940] tda998x 0-0070: set_page 0208 err -121
[    2.211824] tda998x 0-0070: set_page 0209 err -121
[    2.216710] tda998x 0-0070: set_page 020a err -121
[    2.221594] tda998x 0-0070: set_page 0206 err -121
[    2.226479] tda998x 0-0070: set_page 0027 err -121
[    2.231363] tda998x 0-0070: set_page 0000 err -121
[    2.236247] tda998x 0-0070: set_page 0002 err -121
[    2.241288] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6
[    2.248713] tilcdc 4830e000.lcdc: master bind failed: -6
[    2.254381] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.261394] remoteproc remoteproc0: powering up wkup_m3
[    2.266792] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    2.275239] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    2.281807] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    2.291866] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,����,������������'
[    2.299188] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    2.334074] bone_capemgr bone_capemgr: slot #0: No cape found
[    2.366235] bone_capemgr bone_capemgr: slot #1: No cape found
[    2.398387] bone_capemgr bone_capemgr: slot #2: No cape found
[    2.430538] bone_capemgr bone_capemgr: slot #3: No cape found
[    2.436382] bone_capemgr bone_capemgr: initialized OK.
[    2.451101] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    2.456517] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    2.464222] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.471075] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.478345] usb usb1: Product: MUSB HDRC host driver
[    2.483347] usb usb1: Manufacturer: Linux 4.14.41-bone14 musb-hcd
[    2.489481] usb usb1: SerialNumber: musb-hdrc.1
[    2.494749] hub 1-0:1.0: USB hub found
[    2.498671] hub 1-0:1.0: 1 port detected
[    2.504469] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1000000 KHz
[    2.512066] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1000000000 (-34)
[    2.522907] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 600000 KHz
[    2.533343] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:02:35 UTC (946684955)
[    2.542107] of_cfs_init
[    2.544717] of_cfs_init: OK
[    2.548424] ALSA device list:
[    2.551497]   No soundcards found.
[    2.559449] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
[    2.566981] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
[    2.700722] EXT4-fs (mmcblk0p1): recovery complete
[    2.710715] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    2.719039] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    2.729331] devtmpfs: mounted
[    2.737649] Freeing unused kernel memory: 1024K
[    2.965189] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.052638] systemd[1]: System time before build time, advancing clock.
[    3.122859] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    3.137262] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.149350] usb 1-1: Product: USB2.0 Hub
[    3.156019] hub 1-1:1.0: USB hub found
[    3.160992] hub 1-1:1.0: 4 ports detected
[    3.187028] random: systemd: uninitialized urandom read (16 bytes read)
[    3.198088] random: systemd: uninitialized urandom read (16 bytes read)
[    3.222568] 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)
[    3.241953] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.3 LTS!

[    3.263012] systemd[1]: Set hostname to <arm>.
[    3.432015] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[    3.457358] usb 1-1.2: new high-speed USB device number 3 using musb-hdrc
[    3.557743] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0201
[    3.565252] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.577335] usb 1-1.2: Product: USB 2.0 Hub [MTT]
[    3.584652] hub 1-1.2:1.0: USB hub found
[    3.589464] hub 1-1.2:1.0: 7 ports detected
[    3.881277] usb 1-1.2.2: new high-speed USB device number 4 using musb-hdrc
[    3.989736] usb 1-1.2.2: New USB device found, idVendor=1a40, idProduct=0201
[    4.005310] usb 1-1.2.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.014336] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    4.021247] usb 1-1.2.2: Product: USB 2.0 Hub [MTT]
[    4.031865] hub 1-1.2.2:1.0: USB hub found
[    4.037036] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console[    4.045857] hub 1-1.2.2:1.0: 7 ports detected
 Directory Watch.
[    4.066183] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    4.081764] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    4.105949] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.130132] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    4.137188] usb 1-1.2.4: new high-speed USB device number 5 using musb-hdrc
[    4.148865] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Kernel Socket.
[    4.274608] usb 1-1.2.4: New USB device found, idVendor=0951, idProduct=16ae
[  OK  ] Created slice System Slice.
[    4.283896] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.297391] usb 1-1.2.4: Product: DT microDuo 3C
[    4.303370] usb 1-1.2.4: Manufacturer: Kingston
[    4.308649] usb 1-1.2.4: SerialNumber: 94DE8072478CB1B02962A974
[    4.322587] usb-storage 1-1.2.4:1.0: USB Mass Storage device detected
         Starting Load Kernel Modules...
[    4.341547] alloc_contig_range: [9d042, 9d043) PFNs busy
[    4.357311] usb 1-1.2.2.1: new full-speed USB device number 6 using musb-hdrc
         [    4.386416] scsi host0: usb-storage 1-1.2.4:1.0
Starting File System Check on Root Device...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Debug File System...
         Starting Set console keymap...
[    4.483892] usb 1-1.2.2.1: New USB device found, idVendor=0403, idProduct=6001
[    4.497807] usb 1-1.2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.522045] usb 1-1.2.2.1: Product: FT232R USB UART
[    4.522057] usb 1-1.2.2.1: Manufacturer: FTDI
[    4.522066] usb 1-1.2.2.1: SerialNumber: A9074NKH
         Starting Nameserver information manager...
[  OK  ] Listening on Syslog Socket.
[    4.637377] usb 1-1.2.2.2: new full-speed USB device number 7 using musb-hdrc
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[    4.783922] usb 1-1.2.2.2: New USB device found, idVendor=0403, idProduct=6001
[    4.821543] usb 1-1.2.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.821555] usb 1-1.2.2.2: Product: FT232R USB UART
[    4.821564] usb 1-1.2.2.2: Manufacturer: FTDI
[    4.821572] usb 1-1.2.2.2: SerialNumber: A9074NKJ
[    4.929328] usb 1-1.2.2.3: new full-speed USB device number 8 using musb-hdrc
         Mounting POSIX Message Queue File System...
[    5.055317] usb 1-1.2.2.3: New USB device found, idVendor=0403, idProduct=6001
[    5.077298] usb 1-1.2.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  OK  ] Mounted Debug File System.
[    5.105846] usb 1-1.2.2.3: Product: FT232R USB UART
[  OK  ] Mounted POSIX Message Queue File System.
[    5.133737] usb 1-1.2.2.3: Manufacturer: FTDI
[  OK  ] Started Load Kernel Modules.
[    5.165746] usb 1-1.2.2.3: SerialNumber: A9074NKM
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    5.305335] usb 1-1.2.2.4: new full-speed USB device number 9 using musb-hdrc
[  OK  [    5.410670] scsi 0:0:0:0: Direct-Access     Kingston DT microDuo 3C   PMAP PQ: 0 ANSI: 6
] Started Nameserver information manager.
[    5.446829] usb 1-1.2.2.4: New USB device found, idVendor=0403, idProduct=6001
[    5.470166] sd 0:0:0:0: [sda] 60555264 512-byte logical blocks: (31.0 GB/28.9 GiB)
[    5.470573] sd 0:0:0:0: [sda] Write Protect is off
[    5.470959] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.549921] usb 1-1.2.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.576300] usb 1-1.2.2.4: Product: FT232R USB UART
[    5.589439] usb 1-1.2.2.4: Manufacturer: FTDI
[    5.605344] usb 1-1.2.2.4: SerialNumber: A9074NKN
[    5.610802]  sda: sda1
[    5.613737] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  OK  ] Started Set console keymap.
[    5.753272] usb 1-1.2.2.5: new full-speed USB device number 10 using musb-hdrc
[    5.899632] usb 1-1.2.2.5: New USB device found, idVendor=0403, idProduct=6001
[    5.921410] usb 1-1.2.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.952729] usb 1-1.2.2.5: Product: FT232R USB UART
[    5.952741] usb 1-1.2.2.5: Manufacturer: FTDI
[    5.952749] usb 1-1.2.2.5: SerialNumber: A9074NKL
[  OK  ] Started Journal Service.
[    6.065298] usb 1-1.2.2.6: new full-speed USB device number 11 using musb-hdrc
[    6.211556] usb 1-1.2.2.6: New USB device found, idVendor=0403, idProduct=6001
[    6.230569] usb 1-1.2.2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.261306] usb 1-1.2.2.6: Product: FT232R USB UART
[    6.281416] usb 1-1.2.2.6: Manufacturer: FTDI
[    6.292860] usb 1-1.2.2.6: SerialNumber: A9074NKK
[    6.393400] usb 1-1.2.2.7: new high-speed USB device number 12 using musb-hdrc
[    6.518266] usb 1-1.2.2.7: New USB device found, idVendor=1a40, idProduct=0201
[    6.533398] usb 1-1.2.2.7: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.549245] usb 1-1.2.2.7: Product: USB 2.0 Hub [MTT]
[    6.562430] hub 1-1.2.2.7:1.0: USB hub found
[    6.573510] hub 1-1.2.2.7:1.0: 7 ports detected
[  OK  ] Reached target Network (Pre).
[  OK  ] Started File System Check Daemon to report status.
         Starting Create Static Device Nodes in /dev...
         Starting Remount Root and Kernel File Systems...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[    6.812702] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
         Mounting Configuration File System...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Apply Kernel Variables.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set console font and keymap...
         Starting udev Kernel Device Manager...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Set console font and keymap.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting System Logging Service...
         Starting Login Service...
         Starting Connection service...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Connection service.
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Started Regular background program processing daemon.
         Starting oFono Mobile telephony stack...
         Starting LSB: Start busybox udhcpd at boot time...
         Starting Cape Manager Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Permit User Sessions...
         Starting Generic Board Startup...
[  OK  ] Started System Logging Service.
[  OK  ] Started Cape Manager Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started oFono Mobile telephony stack.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
         Starting WPA supplicant...
         Starting Bluetooth service...
         Starting Set console scheme...
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Set console scheme.
[  OK  ] Started Bluetooth service.
[  OK  ] Started WPA supplicant.
         Starting Hostname Service...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Stopping LSB: Start busybox udhcpd at boot time...
[  OK  ] Stopped LSB: Start busybox udhcpd at boot time.
[  OK  ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
         Starting dnsmasq - A lightweight DHCP and caching DNS server...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Started ifup for eth0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Found device /dev/ttyGS0.
(1 of 2) A start job is running for...work interfaces (33s / 5min 22s)
FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Apache2 web server...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Generic Board Startup.
[  OK  ] Started LSB: Apache2 web server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.


Ubuntu 16.04.3 LTS arm ttyS0

default username:password is [ubuntu:temppwd]

arm login: ubuntu

Password: 
Last login: Tue Aug 14 03:58:34 UTC 2018 on ttyS0
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.14.41-bone14 armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
ubuntu@arm:~$ sudo -s
[sudo] password for ubuntu: 

root@arm:~# mii-tool -v eth0

eth0: negotiated 1000baseT-FD flow-control, link ok
  product info: vendor 00:07:32, model 17 rev 5
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

root@arm:~# ifconfig

eth0      Link encap:Ethernet  HWaddr 90:70:65:c4:80:22  
          inet addr:169.254.143.164  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::9270:65ff:fec4:8022/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:35108 (35.1 KB)
          Interrupt:45 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1928 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1928 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:117800 (117.8 KB)  TX bytes:117800 (117.8 KB)

usb1      Link encap:Ethernet  HWaddr 90:70:65:c4:80:27  
          inet addr:192.168.6.2  Bcast:192.168.6.3  Mask:255.255.255.252
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@arm:~# ethtool eth0

Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	                                     1000baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	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@arm:~# ethtool -d eth0

Offset		Values
------		------
0x0000:		00 00 00 00 70 90 00 10 22 80 c4 65 0c 00 00 00 
0x0010:		ff ff 00 d0 ff ff ff ff 00 00 00 00 00 00 00 20 
0x0020:		07 06 07 07 1c 00 00 00 33 33 00 10 01 00 00 00 
0x0030:		1c 00 00 00 00 01 00 10 01 00 00 5e 1c 00 00 00 
0x0040:		33 33 00 10 22 80 c4 ff 1c 00 00 00 33 33 00 10 
0x0050:		fb 00 00 00 1c 00 00 00 00 01 00 10 fb 00 00 5e 
(0x0060~0x2fff):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

root@arm:/# ping 10.0.0.1

PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 169.254.143.164 icmp_seq=1 Destination Host Unreachable
From 169.254.143.164 icmp_seq=2 Destination Host Unreachable
From 169.254.143.164 icmp_seq=3 Destination Host Unreachable
From 169.254.143.164 icmp_seq=4 Destination Host Unreachable
From 169.254.143.164 icmp_seq=5 Destination Host Unreachable
From 169.254.143.164 icmp_seq=6 Destination Host Unreachable
From 169.254.143.164 icmp_seq=7 Destination Host Unreachable
From 169.254.143.164 icmp_seq=8 Destination Host Unreachable
From 169.254.143.164 icmp_seq=9 Destination Host Unreachable
From 169.254.143.164 icmp_seq=10 Destination Host Unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
^C
--- 10.0.0.1 ping statistics ---
15 packets transmitted, 0 received, +10 errors, 100% packet loss, time 14265ms
pipe 4
root@arm:/#


root@arm:cd /boot/dtbs
root@arm:/boot/dtbs# cd 4.14.41-bone14
root@arm:/boot/dtbs/4.14.41-bone14# ll
total 2272
drwxr-xr-x 2 root root   4096 Aug 12 21:26 ./
drwxr-xr-x 3 root root   4096 Aug 11 13:33 ../
-rw-r--r-- 1 root root  60732 Aug 12 06:39 am335x-abbbi.dtb
-rw-r--r-- 1 root root  55273 Aug 12 06:39 am335x-baltos-ir2110.dtb
-rw-r--r-- 1 root root  55951 Aug 12 06:39 am335x-baltos-ir3220.dtb
-rw-r--r-- 1 root root  56154 Aug 12 06:39 am335x-baltos-ir5221.dtb
-rw-r--r-- 1 root root  53308 Aug 12 06:39 am335x-base0033.dtb
-rw-r--r-- 1 root root  58795 Aug 12 06:39 am335x-boneblack-audio.dtb
-rw-r--r-- 1 root root  57675 Aug 12 06:39 am335x-boneblack-bbb-exp-c.dtb
-rw-r--r-- 1 root root  57317 Aug 12 06:39 am335x-boneblack-bbb-exp-r.dtb
-rw-r--r-- 1 root root  60246 Aug 12 06:39 am335x-boneblack-bbbmini.dtb
-rw-r--r-- 1 root root  60811 Aug 14 03:50 am335x-boneblack.dtb
-rw-r--r-- 1 root root  60811 Aug 12 06:37 am335x-boneblack-giga.dtb
-rw-r--r-- 1 root root  58398 Aug 14 03:51 am335x-boneblack-uboot.dtb
-rw-r--r-- 1 root root  58398 Aug 12 06:39 am335x-boneblack-uboot-giga.dtb
-rw-r--r-- 1 root root  62547 Aug 12 06:39 am335x-boneblack-wireless.dtb
-rw-r--r-- 1 root root  54356 Aug 12 06:39 am335x-boneblack-wl1835mod.dtb
-rw-r--r-- 1 root root  54421 Aug 12 06:39 am335x-boneblue.dtb
-rw-r--r-- 1 root root  58374 Aug 12 06:39 am335x-bone.dtb
-rw-r--r-- 1 root root  58673 Aug 12 06:39 am335x-bonegreen.dtb
-rw-r--r-- 1 root root  60529 Aug 12 06:39 am335x-bonegreen-wireless.dtb
-rw-r--r-- 1 root root  52115 Aug 12 06:39 am335x-chiliboard.dtb
-rw-r--r-- 1 root root  54459 Aug 12 06:39 am335x-cm-t335.dtb
-rw-r--r-- 1 root root  60955 Aug 12 06:39 am335x-evm.dtb
-rw-r--r-- 1 root root  59043 Aug 12 06:39 am335x-evmsk.dtb
-rw-r--r-- 1 root root  55543 Aug 12 06:39 am335x-icev2.dtb
-rw-r--r-- 1 root root  52664 Aug 12 06:39 am335x-lxm.dtb
-rw-r--r-- 1 root root  54966 Aug 12 06:39 am335x-moxa-uc-8100-me-t.dtb
-rw-r--r-- 1 root root  53101 Aug 12 06:39 am335x-nano.dtb
-rw-r--r-- 1 root root  55823 Aug 12 06:39 am335x-olimex-som.dtb
-rw-r--r-- 1 root root  56318 Aug 12 06:39 am335x-pepper.dtb
-rw-r--r-- 1 root root  56880 Aug 12 06:39 am335x-phycore-rdk.dtb
-rw-r--r-- 1 root root 129574 Aug 12 06:39 am335x-pocketbeagle.dtb
-rw-r--r-- 1 root root  61829 Aug 12 06:39 am335x-sancloud-bbe.dtb
-rw-r--r-- 1 root root  56694 Aug 12 06:39 am335x-sbc-t335.dtb
-rw-r--r-- 1 root root  54283 Aug 12 06:39 am335x-shc.dtb
-rw-r--r-- 1 root root  55455 Aug 12 06:39 am335x-sl50.dtb
-rw-r--r-- 1 root root  55647 Aug 12 06:39 am335x-wega-rdk.dtb
-rwxr-xr-x 1 root root  60851 Aug 12 21:26 f.dtb*
-rwxr-xr-x 1 root root  58438 Aug 12 21:26 f-uboot.dtb*

root@arm:/opt#

root@ubuntu:/opt# diff bbb.dts f-bbb.dts
879c879
< 						pinctrl-single,pins = <0x114 0x2 0x118 0x22 0x11c 0x2 0x120 0x2 0x124 0x2 0x128 0x2 0x12c 0x2 0x130 0x22 0x134 0x22 0x138 0x22 0x13c 0x22 0x140 0x22>;
---
> 						pinctrl-single,pins = <0x108 0x28 0x10c 0x28 0x110 0x30 0x114 0x0 0x118 0x30 0x11c 0x0 0x120 0x0 0x124 0x0 0x128 0x0 0x12c 0x30 0x130 0x30 0x134 0x30 0x138 0x30 0x13c 0x30 0x140 0x30>;
885c885
< 						pinctrl-single,pins = <0x114 0x27 0x118 0x27 0x11c 0x27 0x120 0x27 0x124 0x27 0x128 0x27 0x12c 0x27 0x130 0x27 0x134 0x27 0x138 0x27 0x13c 0x27 0x140 0x27>;
---
> 						pinctrl-single,pins = <0x108 0x27 0x10c 0x27 0x110 0x27 0x114 0x27 0x118 0x27 0x11c 0x27 0x120 0x27 0x124 0x27 0x128 0x27 0x12c 0x27 0x130 0x27 0x134 0x27 0x138 0x27 0x13c 0x27 0x140 0x27>;
2179,2180c2179,2180
< 				phy_id = <0x48 0x1>;
< 				phy-mode = "rgmii-txid";
---
> 				phy_id = <0x48 0x0>;
> 				phy-mode = "mii";
root@ubuntu:/opt# diff bbb-uboot.dts f-bbb-uboot.dts
879c879
< 						pinctrl-single,pins = <0x114 0x2 0x118 0x22 0x11c 0x2 0x120 0x2 0x124 0x2 0x128 0x2 0x12c 0x2 0x130 0x22 0x134 0x22 0x138 0x22 0x13c 0x22 0x140 0x22>;
---
> 						pinctrl-single,pins = <0x108 0x28 0x10c 0x28 0x110 0x30 0x114 0x0 0x118 0x30 0x11c 0x0 0x120 0x0 0x124 0x0 0x128 0x0 0x12c 0x30 0x130 0x30 0x134 0x30 0x138 0x30 0x13c 0x30 0x140 0x30>;
885c885
< 						pinctrl-single,pins = <0x114 0x27 0x118 0x27 0x11c 0x27 0x120 0x27 0x124 0x27 0x128 0x27 0x12c 0x27 0x130 0x27 0x134 0x27 0x138 0x27 0x13c 0x27 0x140 0x27>;
---
> 						pinctrl-single,pins = <0x108 0x27 0x10c 0x27 0x110 0x27 0x114 0x27 0x118 0x27 0x11c 0x27 0x120 0x27 0x124 0x27 0x128 0x27 0x12c 0x27 0x130 0x27 0x134 0x27 0x138 0x27 0x13c 0x27 0x140 0x27>;
2133,2134c2133,2134
< 				phy_id = <0x44 0x1>;
< 				phy-mode = "rgmii-txid";
---
> 				phy_id = <0x44 0x0>;
> 				phy-mode = "mii";
root@ubuntu:/opt# 
we have correctly make the changes of pin mux and mode, can you check if there is anything wrong we did?

Steve

  • Hi,

    Looking at the ethtool output you have a link detection. How is the ip address assigned? Is it static? Can you ping other devices on the same subnet? The ifconfig command is showing 0 RX packets. Could you attach the results ethtool -S eth0? This may not work since you are not using a TI SDK. I may need to ask that you switch to a TI SDK as TI does not support Ubuntu on TI platforms, only the Beagle community does.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Thanks for your prompt reply. The previous test I set dhcp mode instead. Now I have set its static ip at 10.0.0.251 and performed the "ethtool -S eth0" command as the new attached log file

    18_08_15_AM335x_RTL8211E_log.txt
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.08.15 07:23:38 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2018.03-dirty (Aug 11 2018 - 06:12:21 -0700)
    Trying to boot from MMC1
    Loading Environment from EXT4... OK
    
    
    U-Boot 2018.03-dirty (Aug 11 2018 - 06:12:21 -0700)
    
    CPU  : AM335X-GP rev 2.1
    I2C:   ready
    DRAM:  512 MiB
    No match for driver 'omap_hsmmc'
    No match for driver 'omap_hsmmc'
    Some drivers were not found
    Reset Source: Global external warm reset has occurred.
    Reset Source: Power-on reset has occurred.
    RTC 32KCLK Source: External.
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from EXT4... OK
    Board: BeagleBone Black
    BeagleBone Black:
    BeagleBone: cape eeprom: i2c_probe: 0x54:
    BeagleBone: cape eeprom: i2c_probe: 0x55:
    BeagleBone: cape eeprom: i2c_probe: 0x56:
    BeagleBone: cape eeprom: i2c_probe: 0x57:
    Net:   eth0: UDS RGMII MODE
    cpsw, usb_ether
    Press SPACE to abort autoboot in 2 seconds
    board_name=[A335BNLT] ...
    board_rev=[] ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Bad device 0:2 0x82000000 **
    ** Bad device 0:2 0x82000000 **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    gpio: pin 56 (gpio 56) value is 0
    gpio: pin 55 (gpio 55) value is 0
    gpio: pin 54 (gpio 54) value is 0
    gpio: pin 53 (gpio 53) value is 1
    switch to partitions #0, OK
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    Checking for: /uEnv.txt ...
    Checking for: /boot.scr ...
    Checking for: /boot/boot.scr ...
    Checking for: /boot/uEnv.txt ...
    gpio: pin 55 (gpio 55) value is 1
    46 bytes read in 32 ms (1000 Bytes/s)
    Loaded environment from /boot/uEnv.txt
    Checking if uname_r is set in /boot/uEnv.txt...
    gpio: pin 56 (gpio 56) value is 1
    Running uname_boot ...
    loading /boot/vmlinuz-4.14.41-bone14 ...
    10387968 bytes read in 689 ms (14.4 MiB/s)
    loading /boot/dtbs/4.14.41-bone14/am335x-boneblack.dtb ...
    60811 bytes read in 101 ms (587.9 KiB/s)
    uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...
    debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] ...
    debug: [bootz 0x82000000 - 0x88000000] ...
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffee000, end 8ffffd8a ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.41-bone14 (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Thu Aug 9 10:08:07 PDT 2018
    [    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] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xac/0x44c with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 447468K/524288K available (13312K kernel code, 1125K rwdata, 4204K rodata, 1024K init, 634K bss, 27668K reserved, 49152K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0e00000   (14304 kB)
    [    0.000000]       .init : 0xc1400000 - 0xc1500000   (1024 kB)
    [    0.000000]       .data : 0xc1500000 - 0xc1619514   (1126 kB)
    [    0.000000]        .bss : 0xc1623340 - 0xc16c1b94   ( 635 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] ftrace: allocating 41784 entries in 123 pages
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000016] 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.000048] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000507] timer_probe: no matching timers found
    [    0.000709] Console: colour dummy device 80x30
    [    0.000734] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000742] This ensures that you still see kernel messages. Please
    [    0.000747] update your kernel commandline.
    [    0.000769] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
    [    0.047031] pid_max: default: 32768 minimum: 301
    [    0.047292] Security Framework initialized
    [    0.047308] Yama: becoming mindful.
    [    0.047394] AppArmor: AppArmor initialized
    [    0.047600] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.047615] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.048505] CPU: Testing write buffer coherency: ok
    [    0.049312] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.049475] Hierarchical SRCU implementation.
    [    0.052412] EFI services will not be available.
    [    0.053892] devtmpfs: initialized
    [    0.065698] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.066081] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.066107] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.069963] xor: measuring software checksum speed
    [    0.107096]    arm4regs  :  1219.000 MB/sec
    [    0.147039]    8regs     :   957.000 MB/sec
    [    0.187027]    32regs    :  1053.000 MB/sec
    [    0.227026]    neon      :  1644.000 MB/sec
    [    0.227034] xor: using function: neon (1644.000 MB/sec)
    [    0.227055] pinctrl core: initialized pinctrl subsystem
    [    0.227749] DMI not present or invalid.
    [    0.228146] NET: Registered protocol family 16
    [    0.230543] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.247542] omap_hwmod: debugss: _wait_target_disable failed
    [    0.287743] cpuidle: using governor menu
    [    0.292201] OMAP GPIO hardware version 0.1
    [    0.302572] No ATAGs?
    [    0.302591] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.379204] raid6: neonx2   gen()  1897 MB/s
    [    0.447058] raid6: neonx2   xor()  1525 MB/s
    [    0.447069] raid6: using algorithm neonx2 gen() 1897 MB/s
    [    0.447076] raid6: .... xor() 1525 MB/s, rmw enabled
    [    0.447084] raid6: using neon recovery algorithm
    [    0.453050] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.455117] SCSI subsystem initialized
    [    0.455737] usbcore: registered new interface driver usbfs
    [    0.455791] usbcore: registered new interface driver hub
    [    0.455887] usbcore: registered new device driver usb
    [    0.456370] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.457556] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    0.457798] media: Linux media interface: v0.10
    [    0.457844] Linux video capture interface: v2.00
    [    0.457901] pps_core: LinuxPPS API ver. 1 registered
    [    0.457908] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.457928] PTP clock support registered
    [    0.458052] dmi: Firmware registration failed.
    [    0.458411] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.459104] Advanced Linux Sound Architecture Driver Initialized.
    [    0.460309] NetLabel: Initializing
    [    0.460327] NetLabel:  domain hash size = 128
    [    0.460333] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    0.460416] NetLabel:  unlabeled traffic allowed by default
    [    0.461075] clocksource: Switched to clocksource timer1
    [    0.596930] VFS: Disk quotas dquot_6.6.0
    [    0.597029] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.597692] AppArmor: AppArmor Filesystem Enabled
    [    0.607181] NET: Registered protocol family 2
    [    0.607969] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.608018] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.608058] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.608163] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.608181] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.608365] NET: Registered protocol family 1
    [    0.608969] RPC: Registered named UNIX socket transport module.
    [    0.608987] RPC: Registered udp transport module.
    [    0.608993] RPC: Registered tcp transport module.
    [    0.609000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.610103] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.610221] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.612405] audit: initializing netlink subsys (disabled)
    [    0.613239] audit: type=2000 audit(0.608:1): state=initialized audit_enabled=0 res=1
    [    0.613722] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.618582] zbud: loaded
    [    0.621007] NFS: Registering the id_resolver key type
    [    0.621053] Key type id_resolver registered
    [    0.621210] Key type id_legacy registered
    [    0.621238] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.621567] fuse init (API version 7.26)
    [    0.622346] orangefs_debugfs_init: called with debug mask: :none: :0:
    [    0.622520] orangefs_init: module version upstream loaded
    [    0.622533] SGI XFS with ACLs, security attributes, realtime, no debug enabled
    [    0.631194] Key type asymmetric registered
    [    0.631219] Asymmetric key parser 'x509' registered
    [    0.631335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.631570] io scheduler noop registered
    [    0.631583] io scheduler deadline registered
    [    0.631896] io scheduler cfq registered (default)
    [    0.631909] io scheduler mq-deadline registered
    [    0.632998] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.634183] gpio-of-helper ocp:cape-universal: ready
    [    0.636046] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.637036] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    0.640376] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.240886] random: fast init done
    [    1.431357] console [ttyS0] enabled
    [    1.437220] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.444385] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
    [    1.451950] usbcore: registered new interface driver udl
    [    1.459623] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.466932] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.474076] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.481214] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.490655] libphy: Fixed MDIO Bus: probed
    [    1.495679] CAN device driver interface
    [    1.553168] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.560899] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.569870] libphy: 4a101000.mdio: probed
    [    1.574027] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
    [    1.583732] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver RTL8211E Gigabit Ethernet
    [    1.594198] cpsw 4a100000.ethernet: Detected MACID = 90:70:65:c4:80:22
    [    1.601028] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
    [    1.609841] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.616510] ehci-platform: EHCI generic platform driver
    [    1.621953] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.627432] usbcore: registered new interface driver usb-storage
    [    1.635452] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.647611] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.669366] omap_rtc 44e3e000.rtc: already running
    [    1.674671] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.682646] i2c /dev entries driver
    [    1.688283] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.695662] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
    [    1.705537] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.784303] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.793759] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.794097] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.800442] omap-aes 53500000.aes: will run requests pump with realtime priority
    [    1.807855] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.822787] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.823314] usbcore: registered new interface driver usbhid
    [    1.823318] usbhid: USB HID core driver
    [    1.823640] remoteproc remoteproc0: wkup_m3 is available
    [    1.827440] wireguard: WireGuard 0.0.20180514 loaded. See www.wireguard.com for information.
    [    1.827447] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
    [    1.828181] NET: Registered protocol family 10
    [    1.835309] Segment Routing with IPv6
    [    1.835381] mip6: Mobile IPv6
    [    1.835393] NET: Registered protocol family 17
    [    1.835406] can: controller area network core (rev 20170425 abi 9)
    [    1.835487] NET: Registered protocol family 29
    [    1.835573] Key type dns_resolver registered
    [    1.835578] mpls_gso: MPLS GSO support
    [    1.835764] omap_voltage_late_init: Voltage driver support not added
    [    1.835780] ThumbEE CPU extension supported.
    [    1.835794] Registering SWP/SWPB emulation handler
    [    1.836605] registered taskstats version 1
    [    1.836724] zswap: loaded using pool lzo/zbud
    [    1.839061] Btrfs loaded, crc32c=crc32c-generic
    [    1.839169] AppArmor: AppArmor sha1 policy hashing enabled
    [    1.839185] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
    [    1.954718] mmc0: new high speed SDHC card at address 0007
    [    1.963014] mmcblk0: mmc0:0007 SD16G 14.4 GiB 
    [    1.969468]  mmcblk0: p1
    [    1.988076] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
    [    1.999477] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    2.005395] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    2.013869] tda998x 0-0070: Error -121 writing to cec:0xff
    [    2.019497] tda998x 0-0070: set_page 000a err -121
    [    2.028809] mmc1: new high speed MMC card at address 0001
    [    2.034915] mmcblk1: mmc1:0001 M62704 1.77 GiB 
    [    2.039766] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [    2.045966] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [    2.052126] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
    [    2.081185] tda998x 0-0070: set_page 000a err -121
    [    2.145156] tda998x 0-0070: set_page 0001 err -121
    [    2.150049] tda998x 0-0070: set_page 0001 err -121
    [    2.154937] tda998x 0-0070: set_page 0200 err -121
    [    2.159818] tda998x 0-0070: set_page 0201 err -121
    [    2.164706] tda998x 0-0070: set_page 0202 err -121
    [    2.169610] tda998x 0-0070: set_page 0203 err -121
    [    2.174499] tda998x 0-0070: set_page 0204 err -121
    [    2.179382] tda998x 0-0070: set_page 0205 err -121
    [    2.184268] tda998x 0-0070: set_page 020e err -121
    [    2.189149] tda998x 0-0070: set_page 0211 err -121
    [    2.194036] tda998x 0-0070: set_page 0207 err -121
    [    2.198921] tda998x 0-0070: set_page 0208 err -121
    [    2.203805] tda998x 0-0070: set_page 0209 err -121
    [    2.208690] tda998x 0-0070: set_page 020a err -121
    [    2.213575] tda998x 0-0070: set_page 0206 err -121
    [    2.218459] tda998x 0-0070: set_page 0027 err -121
    [    2.223343] tda998x 0-0070: set_page 0000 err -121
    [    2.228226] tda998x 0-0070: set_page 0002 err -121
    [    2.233263] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6
    [    2.240686] tilcdc 4830e000.lcdc: master bind failed: -6
    [    2.246364] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.253384] remoteproc remoteproc0: powering up wkup_m3
    [    2.258776] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
    [    2.267222] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    2.273792] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
    [    2.283856] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,����,������������'
    [    2.291183] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
    [    2.326048] bone_capemgr bone_capemgr: slot #0: No cape found
    [    2.358215] bone_capemgr bone_capemgr: slot #1: No cape found
    [    2.390372] bone_capemgr bone_capemgr: slot #2: No cape found
    [    2.422525] bone_capemgr bone_capemgr: slot #3: No cape found
    [    2.428369] bone_capemgr bone_capemgr: initialized OK.
    [    2.443110] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    2.448524] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    2.456230] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.463084] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.470354] usb usb1: Product: MUSB HDRC host driver
    [    2.475354] usb usb1: Manufacturer: Linux 4.14.41-bone14 musb-hcd
    [    2.481489] usb usb1: SerialNumber: musb-hdrc.1
    [    2.486759] hub 1-0:1.0: USB hub found
    [    2.490678] hub 1-0:1.0: 1 port detected
    [    2.496476] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1000000 KHz
    [    2.504074] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1000000000 (-34)
    [    2.514880] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 600000 KHz
    [    2.525322] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 08:19:43 UTC (946714783)
    [    2.534089] of_cfs_init
    [    2.536694] of_cfs_init: OK
    [    2.540396] ALSA device list:
    [    2.543473]   No soundcards found.
    [    2.551415] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
    [    2.558957] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
    [    2.705507] EXT4-fs (mmcblk0p1): recovery complete
    [    2.715463] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    2.724189] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    2.734510] devtmpfs: mounted
    [    2.742440] Freeing unused kernel memory: 1024K
    [    2.957250] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    3.054597] systemd[1]: System time before build time, advancing clock.
    [    3.118887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
    [    3.129302] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.145221] usb 1-1: Product: USB2.0 Hub
    [    3.154458] hub 1-1:1.0: USB hub found
    [    3.159401] hub 1-1:1.0: 4 ports detected
    [    3.188504] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.199574] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.224175] 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)
    [    3.243474] systemd[1]: Detected architecture arm.
    
    Welcome to Ubuntu 16.04.3 LTS!
    
    [    3.262997] systemd[1]: Set hostname to <arm>.
    [    3.426374] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [    3.453314] usb 1-1.2: new high-speed USB device number 3 using musb-hdrc
    [    3.553728] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0201
    [    3.560922] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.573309] usb 1-1.2: Product: USB 2.0 Hub [MTT]
    [    3.579751] hub 1-1.2:1.0: USB hub found
    [    3.588802] hub 1-1.2:1.0: 7 ports detected
    [    3.881256] usb 1-1.2.2: new high-speed USB device number 4 using musb-hdrc
    [    3.989720] usb 1-1.2.2: New USB device found, idVendor=1a40, idProduct=0201
    [    4.002013] usb 1-1.2.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    4.011309] usb 1-1.2.2: Product: USB 2.0 Hub [MTT]
    [    4.019933] hub 1-1.2.2:1.0: USB hub found
    [    4.029417] hub 1-1.2.2:1.0: 7 ports detected
    [    4.040035] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.061527] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.077751] systemd[1]: Listening on fsck to fsckd communication Socket.
    [  OK  ] Listening on fsck to fsckd communication Socket.
    [    4.101773] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    4.125143] usb 1-1.2.4: new high-speed USB device number 5 using musb-hdrc
    [    4.133726] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.150434] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    4.165473] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Started Trigger resolvconf update for networkd DNS.
    [  OK  ] Reached target Encrypted Volumes.
    [  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
    [  OK  ] Listening on Journal Audit Socket.
    [    4.258756] usb 1-1.2.4: New USB device found, idVendor=0951, idProduct=16ae
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.267761] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  OK  ] Reached target Remote File Systems (Pre).
    [    4.281459] usb 1-1.2.4: Product: DT microDuo 3C
    [    4.291610] usb 1-1.2.4: Manufacturer: Kingston
    [  OK  ] Listening on Journal Socket.
    [    4.297429] usb 1-1.2.4: SerialNumber: 94DE8072478CB1B02962A974
    [    4.308793] usb-storage 1-1.2.4:1.0: USB Mass Storage device detected
             [    4.323423] alloc_contig_range: [9d042, 9d043) PFNs busy
    Starting Create list of required st... nodes for the current kernel...
    [    4.341290] usb 1-1.2.2.1: new full-speed USB device number 6 using musb-hdrc
    [    4.348658] scsi host0: usb-storage 1-1.2.4:1.0
             Starting Set console keymap...
             Mounting Debug File System...
             Mounting POSIX Message Queue File System...
             Starting Nameserver information manager...
    [[    4.505349] usb 1-1.2.2.1: New USB device found, idVendor=0403, idProduct=6001
      OK  ] Listening on udev Kernel Socket.
    [    4.535363] usb 1-1.2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.569350] usb 1-1.2.2.1: Product: FT232R USB UART
    [    4.584671] usb 1-1.2.2.1: Manufacturer: FTDI
    [    4.596510] usb 1-1.2.2.1: SerialNumber: A9074NKH
             Starting Journal Service...
    [  OK  ] Reached target Remote File Systems.
             Starting File System Check on Root Device...
    [    4.721252] usb 1-1.2.2.2: new full-speed USB device number 7 using musb-hdrc
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
             Starting Load Kernel Modules...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [    4.871567] usb 1-1.2.2.2: New USB device found, idVendor=0403, idProduct=6001
    [    4.907418] usb 1-1.2.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.953836] usb 1-1.2.2.2: Product: FT232R USB UART
    [    4.953849] usb 1-1.2.2.2: Manufacturer: FTDI
    [    4.953857] usb 1-1.2.2.2: SerialNumber: A9074NKJ
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Create list of required sta...ce node[    5.061300] usb 1-1.2.2.3: new full-speed USB device number 8 using musb-hdrc
    s for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started File System Check on Root Device.
    [[    5.227634] usb 1-1.2.2.3: New USB device found, idVendor=0403, idProduct=6001
      OK  ] Started Nameserver information manager.
    [    5.261478] usb 1-1.2.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.309194] usb 1-1.2.2.3: Product: FT232R USB UART
    [    5.333326] usb 1-1.2.2.3: Manufacturer: FTDI
    [    5.353365] usb 1-1.2.2.3: SerialNumber: A9074NKM
    [    5.384989] scsi 0:0:0:0: Direct-Access     Kingston DT microDuo 3C   PMAP PQ: 0 ANSI: 6
    [    5.423462] sd 0:0:0:0: [sda] 60555264 512-byte logical blocks: (31.0 GB/28.9 GiB)
    [    5.461797] sd 0:0:0:0: [sda] Write Protect is off
    [    5.490051] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    5.499429] usb 1-1.2.2.4: new full-speed USB device number 9 using musb-hdrc
    [  OK  ] Started Set console keymap.
    [    5.639579] usb 1-1.2.2.4: New USB device found, idVendor=0403, idProduct=6001
    [    5.663721] usb 1-1.2.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.683822]  sda: sda1
    [    5.686834] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [    5.741259] usb 1-1.2.2.4: Product: FT232R USB UART
    [    5.765256] usb 1-1.2.2.4: Manufacturer: FTDI
    [    5.785299] usb 1-1.2.2.4: SerialNumber: A9074NKN
    [    5.905293] usb 1-1.2.2.5: new full-speed USB device number 10 using musb-hdrc
    [    6.053001] usb 1-1.2.2.5: New USB device found, idVendor=0403, idProduct=6001
    [    6.077331] usb 1-1.2.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  OK  ] Started Journal Service.
    [    6.102120] usb 1-1.2.2.5: Product: FT232R USB UART
    [    6.145366] usb 1-1.2.2.5: Manufacturer: FTDI
    [    6.158462] usb 1-1.2.2.5: SerialNumber: A9074NKL
    [    6.281245] usb 1-1.2.2.6: new full-speed USB device number 11 using musb-hdrc
    [    6.427524] usb 1-1.2.2.6: New USB device found, idVendor=0403, idProduct=6001
    [    6.445336] usb 1-1.2.2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    6.478305] usb 1-1.2.2.6: Product: FT232R USB UART
    [  OK  ] Started File System Check Daemon to report st[    6.487582] usb 1-1.2.2.6: Manufacturer: FTDI
    atus.
    [  OK  ] Reached target Network (Pre).
    [    6.509849] usb 1-1.2.2.6: SerialNumber: A9074NKK
             Starting Remount Root and Kernel File Systems...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
    [    6.617745] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
    [    6.626601] usb 1-1.2.2.7: new high-speed USB device number 12 using musb-hdrc
             Mounting FUSE Control File System...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
             Starting Load/Save Random Seed...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.
             Starting Set console font and keymap...
             Starting Raise network interfaces...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Set console font and keymap.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
             Starting Generic Board Startup...
             Starting Connection service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Connection service.
             Starting oFono Mobile telephony stack...
             Starting LSB: Load kernel modules needed to enable cpufreq scaling...
             Starting System Logging Service...
    [  OK  ] Started Regular background program processing daemon.
             Starting LSB: Start busybox udhcpd at boot time...
             Starting Permit User Sessions...
             Starting Cape Manager Service...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Login Service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Cape Manager Service.
    [  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
    [  OK  ] Started LSB: Start busybox udhcpd at boot time.
    [  OK  ] Started oFono Mobile telephony stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting WPA supplicant...
             Starting Bluetooth service...
             Starting Set console scheme...
    [  OK  ] Started Set console scheme.
    [  OK  ] Started WPA supplicant.
    [  OK  ] Started Bluetooth service.
    [  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
             Starting Hostname Service...
             Starting LSB: set CPUFreq kernel parameters...
    [  OK  ] Started Hostname Service.
    [  OK  ] Started LSB: set CPUFreq kernel parameters.
             Stopping LSB: Start busybox udhcpd at boot time...
    [  OK  ] Stopped LSB: Start busybox udhcpd at boot time.
    [  OK  ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
             Starting dnsmasq - A lightweight DHCP and caching DNS server...
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started dnsmasq - A lightweight DHCP and caching DNS server.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started ifup for eth0.
    [  OK  ] Found device /sys/subsystem/net/devices/eth0.
    [  OK  ] Found device /dev/ttyGS0.
    [  OK  ] Started Raise network interfaces.
    [  OK  ] Reached target Network.
             Starting OpenBSD Secure Shell server...
    [  OK  ] Reached target Network is Online.
             Starting LSB: Apache2 web server...
    [  OK  ] Started Daily apt download activities.
    [  OK  ] Started Daily apt upgrade and clean activities.
    [  OK  ] Reached target Timers.
             Starting LSB: Advanced IEEE 802.11 management daemon...
             Starting /etc/rc.local Compatibility...
    [  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
    [  OK  ] Started /etc/rc.local Compatibility.
    [  OK  ] Started OpenBSD Secure Shell server.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started Generic Board Startup.
    [  OK  ] Started LSB: Apache2 web server.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    
    Ubuntu 16.04.3 LTS arm ttyS0
    
    default username:password is [ubuntu:temppwd]
    
    arm login: 
    
    ubuntu
    
    Password: 
    Last login: Tue Aug 14 03:52:45 UTC 2018 on ttyS0
    Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.14.41-bone14 armv7l)
    
     * Documentation:  https://help.ubuntu.com
     * Management:     https://landscape.canonical.com
     * Support:        https://ubuntu.com/advantage
    ubuntu@arm:~$ sudo -s
    [sudo] password for ubuntu: 
    
    root@arm:~# cat /etc/network/interfaces
    
    # interfaces(5) file used by ifup(8) and ifdown(8)
    # Include files from /etc/network/interfaces.d:
    # source-directory /etc/network/interfaces.d
    auto lo
    iface lo inet loopback
      
    auto eth0
    #iface eth0 inet dhcp
    iface eth0 inet static 
    address 10.0.0.251 
    netmask 255.255.255.0
    gateway 10.0.0.1
    
    root@arm:~# ifconfig
    
    eth0      Link encap:Ethernet  HWaddr 90:70:65:c4:80:22  
              inet addr:10.0.0.251  Bcast:10.0.0.255  Mask:255.255.255.0
              inet6 addr: fe80::9270:65ff:fec4:8022/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:11468 (11.4 KB)
              Interrupt:45 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:488 errors:0 dropped:0 overruns:0 frame:0
              TX packets:488 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:31400 (31.4 KB)  TX bytes:31400 (31.4 KB)
    
    usb1      Link encap:Ethernet  HWaddr 90:70:65:c4:80:27  
              inet addr:192.168.6.2  Bcast:192.168.6.3  Mask:255.255.255.252
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@arm:~# ping 10.0.0.1
    
    PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
    From 10.0.0.251 icmp_seq=1 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=2 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=3 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=4 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=5 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=6 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=7 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=8 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=9 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=10 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=11 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=12 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=13 Destination Host Unreachable
    ^C
    --- 10.0.0.1 ping statistics ---
    16 packets transmitted, 0 received, +13 errors, 100% packet loss, time 15285ms
    pipe 4
    
    root@arm:~# ethtool -S eth0
    
    NIC statistics:
         Good Rx Frames: 0
         Broadcast Rx Frames: 0
         Multicast Rx Frames: 0
         Pause Rx Frames: 0
         Rx CRC Errors: 3
         Rx Align/Code Errors: 270
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 0
         Good Tx Frames: 81
         Broadcast Tx Frames: 40
         Multicast Tx Frames: 41
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 18662
         Rx + Tx 64 Octet Frames: 23
         Rx + Tx 65-127 Octet Frames: 184
         Rx + Tx 128-255 Octet Frames: 46
         Rx + Tx 256-511 Octet Frames: 61
         Rx + Tx 512-1023 Octet Frames: 40
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 70637
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 127
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 0
         Rx DMA chan 0: good_dequeue: 0
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 81
         Tx DMA chan 0: tail_enqueue: 0
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 0
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 22
         Tx DMA chan 0: empty_dequeue: 81
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: good_dequeue: 81
         Tx DMA chan 0: requeue: 0
         Tx DMA chan 0: teardown_dequeue: 0
    root@arm:~# 
    . This time I did not see the 5-minute testing when it booting up (it boot quickly! I guess it was trying to reach dhcp server so it took up to 5 minutes then timeout before).

    Do you think my RTL8211E phy works correctly now ? I mean do I need to focus on the Ubuntu kernel drivers instead?

    I have done a test as follows:

    Overwrite all the .dtb files in /boot/dtbs/4.14.41-bone14 folder by the .dtb files of my previous 10/100 phy codes.

    Unplug the SD card from the Gigabit board and insert it into the previous-project board with the 10/100 phy, it works immediately. That means, with the same SD card of Ubuntu, I even don't need to re-compile, only replace the dtb files then it works with the 10/100 board.

     Steve

  • Hi,
    It is possible that your board has some HW issues. In the statistics section the HW MAC is detecting issues with the Ethernet packets being received, you are getting CRC errors and code align errors,

    Rx CRC Errors: 3
    Rx Align/Code Errors: 270

    And you are not receiving any frames which coincides with the ifconfig for eth0:

    Good Rx Frames: 0
    Broadcast Rx Frames: 0
    Multicast Rx Frames: 0


    These errors may only be at Gigabit speeds. To isolate if the problem is at high speeds please use a link partner such as a switch or a beagle bone black that is limited to 10/100 and plug your board into that. Make sure the link is established at only 100 Mbps and use the static or dhcp and see if ping now works. If it does then you probably need to review the HW layout for Gig speeds.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Thanks for your comments. I have connected to a 10/100 Ethernet switch, it still doesn't work. Please see attached log file for some test commands.

    18_08_17_AM335x_RTL8211E_log.txt
    root@arm:~# ping 10.10.0.1
    
    PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
    From 10.0.0.251 icmp_seq=1 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=2 Destination Host Unreachable
    From 10.0.0.251 icmp_seq=3 Destination Host Unreachable
    ^C
    --- 10.10.0.1 ping statistics ---
    5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4079ms
    pipe 4
    
    root@arm:~# ethtool -S eth0
    
    NIC statistics:
         Good Rx Frames: 0
         Broadcast Rx Frames: 0
         Multicast Rx Frames: 0
         Pause Rx Frames: 0
         Rx CRC Errors: 1512
         Rx Align/Code Errors: 146560
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 0
         Good Tx Frames: 11918
         Broadcast Tx Frames: 11778
         Multicast Tx Frames: 140
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 6986977
         Rx + Tx 64 Octet Frames: 422
         Rx + Tx 65-127 Octet Frames: 57879
         Rx + Tx 128-255 Octet Frames: 22989
         Rx + Tx 256-511 Octet Frames: 54429
         Rx + Tx 512-1023 Octet Frames: 23479
         Rx + Tx 1024-Up Octet Frames: 792
         Net Octets: 42706469
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 127
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 0
         Rx DMA chan 0: good_dequeue: 0
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 11918
         Tx DMA chan 0: tail_enqueue: 0
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 0
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 51
         Tx DMA chan 0: empty_dequeue: 11918
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: good_dequeue: 11918
         Tx DMA chan 0: requeue: 0
         Tx DMA chan 0: teardown_dequeue: 0
    
    root@arm:~# mii-tool -v eth0
    
    eth0: negotiated 100baseTx-FD, link ok
      product info: vendor 00:07:32, model 17 rev 5
      basic mode:   autonegotiation enabled
      basic status: autonegotiation complete, link ok
      capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
      advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
      link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
    
    root@arm:~# ifconfig
    
    eth0      Link encap:Ethernet  HWaddr 90:70:65:c4:80:22
              inet addr:10.0.0.251  Bcast:10.0.0.255  Mask:255.255.255.0
              inet6 addr: fe80::9270:65ff:fec4:8022/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16519 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:9624338 (9.6 MB)
              Interrupt:45
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:773885 errors:0 dropped:0 overruns:0 frame:0
              TX packets:773885 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:46437144 (46.4 MB)  TX bytes:46437144 (46.4 MB)
    
    usb1      Link encap:Ethernet  HWaddr 90:70:65:c4:80:27
              inet addr:192.168.6.2  Bcast:192.168.6.3  Mask:255.255.255.252
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@arm:~#
    


    Steve

  • Hi Steve,

    Thanks for running that test. In the ethtool statistics output there are a lot of TX frames but not any RX frames. There are a lot of RX CRC, Align and Code errors. This is an indication that something with HW either pin mux or perhaps layout is an issue. Since there are not any RX frames it could a pin mux issue. Please attach the portion of your DTS file that defines the pins for the CPSW interface.

    Good Rx Frames: 0
    .....
    Rx CRC Errors: 1512
    Rx Align/Code Errors: 146560
    ....
    Good Tx Frames: 11918

    Also please check if the link partner is reporting issues with the packets from your board.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Here is the pin mux portion in dts I have modified:

    //***********************

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <

    /* Slave 1 */
    AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
    AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
    AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
    AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
    AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
    AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
    AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
    AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
    AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
    AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
    AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
    AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
    >;
    };

    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    /* Slave 1 reset value */
    AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


    davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
    /* MDIO */
    AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
    AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
    >;
    };


    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    };

    &mac {
    slaves = <1>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    status = "okay";
    };

    &davinci_mdio {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&davinci_mdio_default>;
    pinctrl-1 = <&davinci_mdio_sleep>;
    status = "okay";

    //********************

    Best Regards,

    Steve

  • Hi Hi Schuyler,

    To isolate the problem if the hardware works or not, do you know which TI prebuilt image for RGMII1 with AR8031 (or AR8035) so I can test it on my board? My board is based on BeagleBone Black board ID ("A335BNLT").

    I have downloaded the am335x-evm-linux-05.00.00.15.img.zip file from TI web size and tested it, it boot successfully on my board (only the Gigabit Ethernet doesn't work). I guess it because my board ID "A335BNLT" is 10/100 Ethernet. Can you provide me an ID EEPROM file so I can program into my EEPROM chip, and the corresponding  prebuilt Linux Image file (any Linux version will do, just to clarify if my hardware is OK or not)?

    Steve

  • Hi,

    Thanks for sending the pin mux data. We agree that the settings look correct.

    To answer your question on the structure of the eeprom is defined here in the Beagle Community's hardware system reference guide for the beagle bone black.

    Page 63 of the Beagle has the layout of the eeprom.

    github.com/.../BBB_SRM.pdf

    If I understand what you are writing is that you are using the eeprom with the same values as what is on the BBB then I would agree that you that most likely the wrong DTB file is getting loaded by u-boot. To make things easier rather than re-programming your eeprom is to change the name of your DTB file to the one that is loaded. Make your dtb file name am335x-boneblack.dtb and make sure it is installed in the rootfs /boot directory. Also make sure the symbolic link is removed first before installing in that directory.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Thanks for your recommendations. I have tried to overwrite am335x-boneblack.dtb with am335x-evmsk.dtb, however, it hung. When I checked the m335x-evemsk.dts, it actually uses different PMIC from TPS65217C.

    I think we have go back to origin point. My first question is if you have a Beaglebone Black and works fine in both Ubuntu and TI supported SDK. Now you only replaced its LAN8710a with RTL8211E (or AR8035). What corresponding codes you will change it? Please assume that my RTL8211E works (because we have other mass-production products use it and work fine). 

    Steve 

  • Hi,

    I apologize if I caused confusion here, I was suggesting that you rename the board dtb file created for your board to match the BBB board name. Why did you copy in the evmsk dtb?

    I want to make sure I understand what your custom board is. My understanding is that the board you are working on is a BBB based design and the only difference is the MII interface is now a RGMII interface. Are there any other differences? Did you start with a TI EVM DTS file for your board port? If so which one?

    The am335x-evmsk and the BBB are vastly different boards and therefore the DTBs that support these boards are incompatible. As you point out one example of the difference is the PMIC definition. Is your board more like the am335x-evmsk?

    TI only supports the TI SDK, Ubuntu is not supported. The board dtb file will contain all the information necessary to bind the RGMII interface to your board. The portion included in this post appear to be correct.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    Yes. My board is exactly BBB based design and the only difference is the MII (LAN8710A) interface is now a RGMII (RTL8211E) interface. At the beginning of this discussion I modified my MII portion of DTS file according to the TI's am335x-evmsk.dts and I cannot ping the IPs at the same subnets as I mentioned then. To make sure I have done the correct changes I replaced the dtb files orginally for MII, it works with our old BBB board with LAN8710A phy. I feel that something other than DTS changes I have missed, this is why I asked if there is any prebuilt Image (no matter Ubuntu or Arago, but have to support RGMII) to test.

    I have also modified the following 2 u-boot files. Are there anything wrong or others I have missed?

    ~/u-boot/board/ti/am335x/board.c

    int board_eth_init(bd_t *bis)

    /* Old MII 
    puts("eth0: MII MODE\n");
    writel(MII_MODE_ENABLE, &cdev->miisel);
    cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if =
    PHY_INTERFACE_MODE_MII;
    */
    puts("eth0: RGMII MODE\n");
    writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel);
    cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if =
    PHY_INTERFACE_MODE_RGMII;

     

    ~/u-boot/include/configs/am335x_evm.h

    /* Network. */
    /* 07/01/2018 - Modified */
    /* #define CONFIG_PHY_SMSC */
    /* Enable Atheros phy driver */
    /* #define CONFIG_PHY_ATHEROS */
    #define CONFIG_PHY_GIGE
    #define CONFIG_PHY_REALTEK
    #define CONFIG_DRIVER_TI_CPSW

    Steve

  • Hi Steve,

    That is the correct approach to look at the EVM SK for an example on how to setup the RGMII. I looked again at your mac node definition and your boot log. I see that board is setup for switch mode. I think you need to add an additional node. I put some comments below.

    &mac {
    slaves = <1>; ----- try removing this line.
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    status = "okay";
    };

    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <0>; ------ change this address to 0,
    phy-mode = "rgmii-txid";
    };

    Try adding this node, I am going by the PHY addresses I saw in the boot log of the PHYs that were identified. There are two PHYs address 0 and 1.

    Add this node:
    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    };

    There is still the crc errors, but perhaps that will be resolved with this change.

    Best Regards,
    Schuyler
  • Hi Schuyler,

    I have done the changes you recommended and the result is the same. Please see attached log file

    18_08_23_AM335x_RTL8211E_log.txt
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.08.23 23:35:45 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2018.03-dirty (Aug 23 2018 - 07:55:36 -0700)
    Trying to boot from MMC1
    Loading Environment from EXT4... ** File not found /boot/uboot.env **
    
    ** Unable to read "/boot/uboot.env" from mmc0:1 **
    Failed (-5)
    
    
    U-Boot 2018.03-dirty (Aug 23 2018 - 07:55:36 -0700)
    
    CPU  : AM335X-GP rev 2.1
    I2C:   ready
    DRAM:  512 MiB
    No match for driver 'omap_hsmmc'
    No match for driver 'omap_hsmmc'
    Some drivers were not found
    Reset Source: Global external warm reset has occurred.
    Reset Source: Power-on reset has occurred.
    RTC 32KCLK Source: External.
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from EXT4... ** File not found /boot/uboot.env **
    
    ** Unable to read "/boot/uboot.env" from mmc0:1 **
    Failed (-5)
    Board: BeagleBone Black
    <ethaddr> not set. Validating first E-fuse MAC
    BeagleBone Black:
    BeagleBone: cape eeprom: i2c_probe: 0x54:
    BeagleBone: cape eeprom: i2c_probe: 0x55:
    BeagleBone: cape eeprom: i2c_probe: 0x56:
    BeagleBone: cape eeprom: i2c_probe: 0x57:
    Net:   eth0: UDS RGMII MODE
    cpsw, usb_ether
    Press SPACE to abort autoboot in 2 seconds
    board_name=[A335BNLT] ...
    board_rev=[] ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Bad device 0:2 0x82000000 **
    ** Bad device 0:2 0x82000000 **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    gpio: pin 56 (gpio 56) value is 0
    gpio: pin 55 (gpio 55) value is 0
    gpio: pin 54 (gpio 54) value is 0
    gpio: pin 53 (gpio 53) value is 1
    switch to partitions #0, OK
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    Checking for: /uEnv.txt ...
    Checking for: /boot.scr ...
    Checking for: /boot/boot.scr ...
    Checking for: /boot/uEnv.txt ...
    gpio: pin 55 (gpio 55) value is 1
    23 bytes read in 16 ms (1000 Bytes/s)
    Loaded environment from /boot/uEnv.txt
    Checking if uname_r is set in /boot/uEnv.txt...
    gpio: pin 56 (gpio 56) value is 1
    Running uname_boot ...
    loading /boot/vmlinuz-4.14.41-bone14 ...
    10387968 bytes read in 675 ms (14.7 MiB/s)
    loading /boot/dtbs/4.14.41-bone14/am335x-boneblack.dtb ...
    60855 bytes read in 47 ms (1.2 MiB/s)
    uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...
    debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] ...
    debug: [bootz 0x82000000 - 0x88000000] ...
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffee000, end 8ffffdb6 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.41-bone14 (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 PREEMPT Fri Aug 17 11:56:58 PDT 2018
    [    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] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xac/0x44c with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 447468K/524288K available (13312K kernel code, 1125K rwdata, 4204K rodata, 1024K init, 634K bss, 27668K reserved, 49152K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0e00000   (14304 kB)
    [    0.000000]       .init : 0xc1400000 - 0xc1500000   (1024 kB)
    [    0.000000]       .data : 0xc1500000 - 0xc1619514   (1126 kB)
    [    0.000000]        .bss : 0xc1623340 - 0xc16c1b94   ( 635 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] ftrace: allocating 41784 entries in 123 pages
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000034] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000045] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000499] timer_probe: no matching timers found
    [    0.000704] Console: colour dummy device 80x30
    [    0.000728] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000736] This ensures that you still see kernel messages. Please
    [    0.000741] update your kernel commandline.
    [    0.000762] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
    [    0.047038] pid_max: default: 32768 minimum: 301
    [    0.047299] Security Framework initialized
    [    0.047317] Yama: becoming mindful.
    [    0.047399] AppArmor: AppArmor initialized
    [    0.047606] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.047620] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.048507] CPU: Testing write buffer coherency: ok
    [    0.049327] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.049485] Hierarchical SRCU implementation.
    [    0.052436] EFI services will not be available.
    [    0.053913] devtmpfs: initialized
    [    0.065729] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.066108] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.066132] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.069990] xor: measuring software checksum speed
    [    0.107103]    arm4regs  :  1219.000 MB/sec
    [    0.147046]    8regs     :   957.000 MB/sec
    [    0.187035]    32regs    :  1053.000 MB/sec
    [    0.227032]    neon      :  1644.000 MB/sec
    [    0.227041] xor: using function: neon (1644.000 MB/sec)
    [    0.227059] pinctrl core: initialized pinctrl subsystem
    [    0.227756] DMI not present or invalid.
    [    0.228156] NET: Registered protocol family 16
    [    0.230541] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.247550] omap_hwmod: debugss: _wait_target_disable failed
    [    0.287773] cpuidle: using governor menu
    [    0.292211] OMAP GPIO hardware version 0.1
    [    0.302615] No ATAGs?
    [    0.302636] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.379194] raid6: neonx2   gen()  1896 MB/s
    [    0.447063] raid6: neonx2   xor()  1525 MB/s
    [    0.447073] raid6: using algorithm neonx2 gen() 1896 MB/s
    [    0.447080] raid6: .... xor() 1525 MB/s, rmw enabled
    [    0.447088] raid6: using neon recovery algorithm
    [    0.453072] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.455157] SCSI subsystem initialized
    [    0.455753] usbcore: registered new interface driver usbfs
    [    0.455806] usbcore: registered new interface driver hub
    [    0.455910] usbcore: registered new device driver usb
    [    0.456393] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.457584] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    0.457823] media: Linux media interface: v0.10
    [    0.457869] Linux video capture interface: v2.00
    [    0.457925] pps_core: LinuxPPS API ver. 1 registered
    [    0.457933] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.457954] PTP clock support registered
    [    0.458077] dmi: Firmware registration failed.
    [    0.458441] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.459205] Advanced Linux Sound Architecture Driver Initialized.
    [    0.460410] NetLabel: Initializing
    [    0.460427] NetLabel:  domain hash size = 128
    [    0.460434] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    0.460517] NetLabel:  unlabeled traffic allowed by default
    [    0.461187] clocksource: Switched to clocksource timer1
    [    0.597458] VFS: Disk quotas dquot_6.6.0
    [    0.597557] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.598125] AppArmor: AppArmor Filesystem Enabled
    [    0.607678] NET: Registered protocol family 2
    [    0.608473] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.608521] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.608560] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.608664] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.608682] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.608860] NET: Registered protocol family 1
    [    0.609592] RPC: Registered named UNIX socket transport module.
    [    0.609611] RPC: Registered udp transport module.
    [    0.609617] RPC: Registered tcp transport module.
    [    0.609624] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.610583] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.610700] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.612804] audit: initializing netlink subsys (disabled)
    [    0.613328] audit: type=2000 audit(0.608:1): state=initialized audit_enabled=0 res=1
    [    0.614102] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.618977] zbud: loaded
    [    0.621596] NFS: Registering the id_resolver key type
    [    0.621646] Key type id_resolver registered
    [    0.621654] Key type id_legacy registered
    [    0.621671] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.621989] fuse init (API version 7.26)
    [    0.622762] orangefs_debugfs_init: called with debug mask: :none: :0:
    [    0.622939] orangefs_init: module version upstream loaded
    [    0.622950] SGI XFS with ACLs, security attributes, realtime, no debug enabled
    [    0.631672] Key type asymmetric registered
    [    0.631697] Asymmetric key parser 'x509' registered
    [    0.631810] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.632043] io scheduler noop registered
    [    0.632056] io scheduler deadline registered
    [    0.632371] io scheduler cfq registered (default)
    [    0.632384] io scheduler mq-deadline registered
    [    0.633689] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.634675] gpio-of-helper ocp:cape-universal: ready
    [    0.636510] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.637915] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    0.640722] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.253573] random: fast init done
    [    1.431895] console [ttyS0] enabled
    [    1.437726] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.444862] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
    [    1.452429] usbcore: registered new interface driver udl
    [    1.460108] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.467400] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.474540] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.481683] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.491119] libphy: Fixed MDIO Bus: probed
    [    1.496162] CAN device driver interface
    [    1.553281] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.561011] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.569976] libphy: 4a101000.mdio: probed
    [    1.574137] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
    [    1.583843] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver RTL8211E Gigabit Ethernet
    [    1.594324] cpsw 4a100000.ethernet: Detected MACID = 90:70:65:c4:80:22
    [    1.601149] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
    [    1.609964] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.616626] ehci-platform: EHCI generic platform driver
    [    1.622067] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.627534] usbcore: registered new interface driver usb-storage
    [    1.635549] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.647701] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.669571] omap_rtc 44e3e000.rtc: already running
    [    1.674890] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.682859] i2c /dev entries driver
    [    1.688536] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.695905] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
    [    1.705783] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.790476] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.798464] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.806502] omap-aes 53500000.aes: will run requests pump with realtime priority
    [    1.815780] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.823471] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.833419] usbcore: registered new interface driver usbhid
    [    1.839174] usbhid: USB HID core driver
    [    1.843526] remoteproc remoteproc0: wkup_m3 is available
    [    1.852621] wireguard: WireGuard 0.0.20180514 loaded. See www.wireguard.com for information.
    [    1.861256] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.869638] mmc0: new high speed SDHC card at address aaaa
    [    1.875947] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
    [    1.881331] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
    [    1.891111]  mmcblk0: p1
    [    1.895580] NET: Registered protocol family 10
    [    1.901989] Segment Routing with IPv6
    [    1.905944] mip6: Mobile IPv6
    [    1.909051] mmc1: new high speed MMC card at address 0001
    [    1.915191] mmcblk1: mmc1:0001 M62704 1.77 GiB 
    [    1.915427] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [    1.915622] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [    1.920403] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
    [    1.941033] NET: Registered protocol family 17
    [    1.945579] can: controller area network core (rev 20170425 abi 9)
    [    1.951900] NET: Registered protocol family 29
    [    1.956493] Key type dns_resolver registered
    [    1.960806] mpls_gso: MPLS GSO support
    [    1.964769] omap_voltage_late_init: Voltage driver support not added
    [    1.971194] ThumbEE CPU extension supported.
    [    1.975518] Registering SWP/SWPB emulation handler
    [    1.981057] registered taskstats version 1
    [    1.985367] zswap: loaded using pool lzo/zbud
    [    1.991888] Btrfs loaded, crc32c=crc32c-generic
    [    1.996699] AppArmor: AppArmor sha1 policy hashing enabled
    [    2.002309] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
    [    2.048215] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
    [    2.059534] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    2.065342] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    2.073690] tda998x 0-0070: Error -121 writing to cec:0xff
    [    2.079315] tda998x 0-0070: set_page 000a err -121
    [    2.141256] tda998x 0-0070: set_page 000a err -121
    [    2.205256] tda998x 0-0070: set_page 0001 err -121
    [    2.210142] tda998x 0-0070: set_page 0001 err -121
    [    2.215028] tda998x 0-0070: set_page 0200 err -121
    [    2.219913] tda998x 0-0070: set_page 0201 err -121
    [    2.224798] tda998x 0-0070: set_page 0202 err -121
    [    2.229683] tda998x 0-0070: set_page 0203 err -121
    [    2.234568] tda998x 0-0070: set_page 0204 err -121
    [    2.239453] tda998x 0-0070: set_page 0205 err -121
    [    2.244339] tda998x 0-0070: set_page 020e err -121
    [    2.249218] tda998x 0-0070: set_page 0211 err -121
    [    2.254103] tda998x 0-0070: set_page 0207 err -121
    [    2.258988] tda998x 0-0070: set_page 0208 err -121
    [    2.263872] tda998x 0-0070: set_page 0209 err -121
    [    2.268758] tda998x 0-0070: set_page 020a err -121
    [    2.273644] tda998x 0-0070: set_page 0206 err -121
    [    2.278528] tda998x 0-0070: set_page 0027 err -121
    [    2.283414] tda998x 0-0070: set_page 0000 err -121
    [    2.288299] tda998x 0-0070: set_page 0002 err -121
    [    2.293308] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6
    [    2.300716] tilcdc 4830e000.lcdc: master bind failed: -6
    [    2.306384] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.313372] remoteproc remoteproc0: powering up wkup_m3
    [    2.318720] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
    [    2.327167] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    2.327183] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
    [    2.343799] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,����,������������'
    [    2.351125] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
    [    2.386159] bone_capemgr bone_capemgr: slot #0: No cape found
    [    2.418322] bone_capemgr bone_capemgr: slot #1: No cape found
    [    2.450476] bone_capemgr bone_capemgr: slot #2: No cape found
    [    2.482627] bone_capemgr bone_capemgr: slot #3: No cape found
    [    2.488473] bone_capemgr bone_capemgr: initialized OK.
    [    2.503214] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    2.508632] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    2.516334] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.523186] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.530457] usb usb1: Product: MUSB HDRC host driver
    [    2.535459] usb usb1: Manufacturer: Linux 4.14.41-bone14 musb-hcd
    [    2.541594] usb usb1: SerialNumber: musb-hdrc.1
    [    2.546863] hub 1-0:1.0: USB hub found
    [    2.550776] hub 1-0:1.0: 1 port detected
    [    2.556571] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1000000 KHz
    [    2.564168] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1000000000 (-34)
    [    2.574994] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 600000 KHz
    [    2.585426] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:20:11 UTC (946686011)
    [    2.594188] of_cfs_init
    [    2.596795] of_cfs_init: OK
    [    2.600502] ALSA device list:
    [    2.603571]   No soundcards found.
    [    2.614430] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
    [    2.621952] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
    [    3.017275] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    3.133758] EXT4-fs (mmcblk0p1): recovery complete
    [    3.154752] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    3.163060] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    3.171514] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
    [    3.178616] devtmpfs: mounted
    [    3.184732] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.193655] Freeing unused kernel memory: 1024K
    [    3.200555] usb 1-1: Product: USB2.0 Hub
    [    3.206450] hub 1-1:1.0: USB hub found
    [    3.210934] hub 1-1:1.0: 4 ports detected
    [    3.462624] systemd[1]: System time before build time, advancing clock.
    [    3.505266] usb 1-1.2: new high-speed USB device number 3 using musb-hdrc
    [    3.553546] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.567914] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.592474] 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)
    [    3.611957] systemd[1]: Detected architecture arm.
    
    Welcome to Ubuntu 16.04.3 LTS!
    
    [    3.629729] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0201
    [    3.637519] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.645380] systemd[1]: Set hostname to <arm>.
    [    3.652096] usb 1-1.2: Product: USB 2.0 Hub [MTT]
    [    3.660569] hub 1-1.2:1.0: USB hub found
    [    3.665667] hub 1-1.2:1.0: 7 ports detected
    [    3.817137] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read)
    [    3.965370] usb 1-1.2.2: new high-speed USB device number 4 using musb-hdrc
    [    4.073813] usb 1-1.2.2: New USB device found, idVendor=1a40, idProduct=0201
    [    4.082724] usb 1-1.2.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    4.092010] usb 1-1.2.2: Product: USB 2.0 Hub [MTT]
    [    4.099238] hub 1-1.2.2:1.0: USB hub found
    [    4.108434] hub 1-1.2.2:1.0: 7 ports detected
    [    4.387838] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
    [    4.413627] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.429253] usb 1-1.2.2.1: new full-speed USB device number 5 using musb-hdrc
    [    4.437127] systemd[1]: Listening on fsck to fsckd communication Socket.
    [  OK  ] Listening on fsck to fsckd communication Socket.
    [    4.461970] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.478120] systemd[1]: Started Trigger resolvconf update for networkd DNS.
    [  OK  ] Started Trigger resolvconf update for networkd DNS.
    [    4.501516] systemd[1]: Reached target Encrypted Volumes.
    [  OK  ] Reached target Encrypted Volumes.
    [    4.518012] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.551156] usb 1-1.2.2.1: New USB device found, idVendor=0403, idProduct=6001
    [  OK  ] Started Dispatch Password Requests to Console[    4.560303] usb 1-1.2.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
     Directory Watch.
    [    4.573692] usb 1-1.2.2.1: Product: FT232R USB UART
    [    4.580190] usb 1-1.2.2.1: Manufacturer: FTDI
    [    4.584641] usb 1-1.2.2.1: SerialNumber: A9074NKH
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
             Starting Nameserver information manager...
             Starting Load Kernel Modules...
             Mounting Debug File System...
    [    4.695565] usb 1-1.2.2.2: new full-speed USB device number 6 using musb-hdrc
             Starting File System Check on Root Device...
             Starting Set console keymap...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.847928] usb 1-1.2.2.2: New USB device found, idVendor=0403, idProduct=6001
    [    4.877446] usb 1-1.2.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.877459] usb 1-1.2.2.2: Product: FT232R USB UART
    [    4.877468] usb 1-1.2.2.2: Manufacturer: FTDI
    [    4.877476] usb 1-1.2.2.2: SerialNumber: A9074NKJ
             Mounting POSIX Message Queue File System...
    [    4.969425] usb 1-1.2.2.3: new full-speed USB device number 7 using musb-hdrc
             Starting Create list of required st... nodes for the current kernel...
    [  OK  ] Reached target Remote File Systems (Pre).
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Syslog Socket.
             [    5.132154] usb 1-1.2.2.3: New USB device found, idVendor=0403, idProduct=6001
    Starting Journal Service...
    [    5.162544] usb 1-1.2.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.200425] usb 1-1.2.2.3: Product: FT232R USB UART
    [    5.221909] usb 1-1.2.2.3: Manufacturer: FTDI
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.234972] usb 1-1.2.2.3: SerialNumber: A9074NKM
    [  OK  ] Mounted Debug File System.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started File System Check on Root Device.
    [    5.377390] usb 1-1.2.2.4: new full-speed USB device number 8 using musb-hdrc
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Nameserver information manager.
    [    5.515375] usb 1-1.2.2.4: New USB device found, idVendor=0403, idProduct=6001
    [    5.541022] usb 1-1.2.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.585488] usb 1-1.2.2.4: Product: FT232R USB UART
    [    5.605404] usb 1-1.2.2.4: Manufacturer: FTDI
    [    5.632397] usb 1-1.2.2.4: SerialNumber: A9074NKN
    [    5.765395] usb 1-1.2.2.5: new full-speed USB device number 9 using musb-hdrc
    [    5.919667] usb 1-1.2.2.5: New USB device found, idVendor=0403, idProduct=6001
    [  OK  ] Started Set console keymap.
    [    5.947301] usb 1-1.2.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.985494] usb 1-1.2.2.5: Product: FT232R USB UART
    [    6.001338] usb 1-1.2.2.5: Manufacturer: FTDI
    [    6.018960] usb 1-1.2.2.5: SerialNumber: A9074NKL
    [    6.149424] usb 1-1.2.2.6: new full-speed USB device number 10 using musb-hdrc
    [    6.283614] usb 1-1.2.2.6: New USB device found, idVendor=0403, idProduct=6001
    [    6.309398] usb 1-1.2.2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    6.341370] usb 1-1.2.2.6: Product: FT232R USB UART
    [    6.360907] usb 1-1.2.2.6: Manufacturer: FTDI
    [    6.381422] usb 1-1.2.2.6: SerialNumber: A9074NKK
    [  OK  ] Started Journal Service.
    [    6.489383] usb 1-1.2.2.7: new high-speed USB device number 11 using musb-hdrc
    [    6.610001] usb 1-1.2.2.7: New USB device found, idVendor=1a40, idProduct=0201
    [    6.628049] usb 1-1.2.2.7: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    6.657419] usb 1-1.2.2.7: Product: USB 2.0 Hub [MTT]
    [    6.678571] hub 1-1.2.2.7:1.0: USB hub found
    [    6.693695] hub 1-1.2.2.7:1.0: 7 ports detected
    [  OK  ] Started File System Check Daemon to report status.
    [  OK  ] Reached target Network (Pre).
             Starting Create Static Device Nodes in /dev...
             Starting Remount Root and Kernel File Systems...
             Starting Apply Kernel Variables...
             Mounting FUSE Control File System...
             Mounting Configuration File System...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Configuration File System.
             Starting Flush Journal to Persistent Storage...
             Starting udev Coldplug all Devices...
             Starting Load/Save Random Seed...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.
             Starting Set console font and keymap...
             Starting Raise network interfaces...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Set console font and keymap.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Connection service...
             Starting LSB: Load kernel modules needed to enable cpufreq scaling...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting LSB: Start busybox udhcpd at boot time...
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Connection service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
             Starting Generic Board Startup...
    [  OK  ] Started Regular background program processing daemon.
             Starting Cape Manager Service...
             Starting Permit User Sessions...
             Starting oFono Mobile telephony stack...
             Starting System Logging Service...
    [  OK  ] Started Cape Manager Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started System Logging Service.
    [   12.540957] net eth0: could not add device link to 4a101000.mdio:01 err -17
    [  OK  ] Started LSB: Start busybox udhcpd at boot time.
    [  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
    [  OK  ] Started oFono Mobile telephony stack.
    [  OK  ] Started Login Service.
             Starting WPA supplicant...
             Starting Bluetooth service...
             Starting Set console scheme...
    [  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
    [  OK  ] Started Set console scheme.
    [  OK  ] Started Bluetooth service.
    [  OK  ] Started WPA supplicant.
             Starting Hostname Service...
             Starting LSB: set CPUFreq kernel parameters...
    [  OK  ] Started Hostname Service.
    [  OK  ] Started LSB: set CPUFreq kernel parameters.
             Stopping LSB: Start busybox udhcpd at boot time...
    [  OK  ] Stopped LSB: Start busybox udhcpd at boot time.
    [  OK  ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
             Starting dnsmasq - A lightweight DHCP and caching DNS server...
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started dnsmasq - A lightweight DHCP and caching DNS server.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started ifup for eth0.
    [  OK  ] Found device /sys/subsystem/net/devices/eth0.
    [  OK  ] Found device /dev/ttyGS0.
    [  OK  ] Started Raise network interfaces.
    
    
    [  OK  ] Reached target Network.
             Starting OpenBSD Secure Shell server...
    [  OK  ] Reached target Network is Online.
             Starting /etc/rc.local Compatibility...
    [  OK  ] Started Daily apt download activities.
    [  OK  ] Started Daily apt upgrade and clean activities.
    [  OK  ] Reached target Timers.
             Starting LSB: Advanced IEEE 802.11 management daemon...
             Starting LSB: Apache2 web server...
    [  OK  ] Started /etc/rc.local Compatibility.
    [  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
    [  OK  ] Started OpenBSD Secure Shell server.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started Generic Board Startup.
    [  OK  ] Started LSB: Apache2 web server.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    
    Ubuntu 16.04.3 LTS arm ttyS0
    
    default username:password is [ubuntu:temppwd]
    
    arm login: ubuntu
    
    Password: 
    Last login: Sat Dec  9 19:41:17 UTC 2017 on ttyS0
    Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.14.41-bone14 armv7l)
    
     * Documentation:  https://help.ubuntu.com
     * Management:     https://landscape.canonical.com
     * Support:        https://ubuntu.com/advantage
    ubuntu@arm:~$ sudo -s
    [sudo] password for ubuntu: 
    root@arm:~# ll
    total 28
    drwxr-xr-x 4 ubuntu ubuntu 4096 Dec  9  2017 ./
    drwxr-xr-x 3 root   root   4096 Dec  9 19:35 ../
    -rw-r--r-- 1 ubuntu ubuntu  220 Aug 31  2015 .bash_logout
    -rw-r--r-- 1 ubuntu ubuntu 3771 Aug 31  2015 .bashrc
    drwxr-xr-x 2 ubuntu ubuntu 4096 Dec  9 19:35 bin/
    drwx------ 2 ubuntu ubuntu 4096 Dec  9  2017 .cache/
    -rw-r--r-- 1 ubuntu ubuntu  655 May 16  2017 .profile
    -rw-r--r-- 1 ubuntu ubuntu    0 Dec  9  2017 .sudo_as_admin_successful
    root@arm:~# ping 10.0.0.1
    PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
    From 10.0.0.180 icmp_seq=1 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=2 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=3 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=4 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=5 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=6 Destination Host Unreachable
    From 10.0.0.180 icmp_seq=7 Destination Host Unreachable
    ^C
    --- 10.0.0.1 ping statistics ---
    9 packets transmitted, 0 received, +7 errors, 100% packet loss, time 8080ms
    pipe 4
    root@arm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 90:70:65:c4:80:22  
              inet addr:10.0.0.180  Bcast:10.0.0.255  Mask:255.255.255.0
              inet6 addr: fe80::9270:65ff:fec4:8022/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:13905 (13.9 KB)
              Interrupt:45 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:213 errors:0 dropped:0 overruns:0 frame:0
              TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:15910 (15.9 KB)  TX bytes:15910 (15.9 KB)
    
    usb1      Link encap:Ethernet  HWaddr 90:70:65:c4:80:27  
              inet addr:192.168.6.2  Bcast:192.168.6.3  Mask:255.255.255.252
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@arm:~# 
    . The reason 2 RTL8211Es were detected because phy[0] is the broadcast address which will response to the access of any other phy_id settings (now it was set at phy[1] on my board). 

    [ 1.574031] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet

    [ 1.583736] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver RTL8211E Gigabit Ethernet

    //***** The DTS file changes as follows:

    &cpsw_emac0 {
    // phy_id = <&davinci_mdio>, <1>;
    phy_id = <&davinci_mdio>, <0>;
    phy-mode = "rgmii-txid";
    };

    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    };

    &mac {
    // slaves = <1>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    status = "okay";
    };

  • Hi Steve,
    I want to confirm that you only have 1 PHY on the board? And it is strapped to answer on address 1? I may have again caused confusion. You are running a single phy and not planning a switch mode configuration?

    If a single phy and the phy is using address 1 and only using the first rgmii port, please try this configuration:


    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    };


    &mac {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    status = "okay";
    };

    Can you please attach a snippet of the board schematic showing the Ethernet subsystem?

    Best Regards,
    Schuyler