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/AM3357: Ethernet configuration

Part Number: AM3357
Other Parts Discussed in Thread: AM3352, TPS65910

Tool/software: Linux

Hello Sir,

I am trying to bring up the ethernet on our custom board which am3357 based board.

During my first attempt I  was not able to detect the PHY and ethernet activity use to get failed when the linux is booted, but now i can able to see the activity lights on ethernet are on but i am not able to get eth0 interface when i see in ifconfig.

To arrive at this point I made following configuration found at "processors.wiki.ti.com/.../Linux_Core_CPSW_User's_Guide

   [*]   Texas Instruments (TI) devices
   < >     TI DaVinci EMAC Support
   <M>     TI DaVinci MDIO Support
   <M>     TI DaVinci CPDMA Support
   -*-     TI CPSW Switch Phy sel Support
   <M>     TI CPSW Switch Support
   [ ]       TI Common Platform Time Sync (CPTS) Support

one more thing i want to mention here is, before i use to get eth0 and i was able to see ethernet register memory using devmem2
but now i am unable to get the both

this is what i get when i try to see register memory

root@am335x-evm:/lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/net/ethernet/ti#
devmem2 0x4a101000
/dev/mem opened.
Memory mapped at address 0xb6f80000.[ 1167.206494] Unhandled fault: external abo
rt on non-linefetch (0x1018) at 0xb6f80000
[ 1167.218496] pgd = edaac000
[ 1167.221228] [b6f80000] *pgd=ad92f831, *pte=4a101303, *ppte=4a101a33
[ 1167.227807] edma 49000000.edma: dma_ccerr_handler: Error interrupt without er
ror event!

Bus error (core dumped)

Kindly someone help me with

With Regards,

Sachin





  • Hello Sir,

    Sir I could able to get the activity lights on Ethernet port, but in Linux I am not able to get the eth0 interface.

    I am not able to access the Ethernet registers also.

    I can see the gmii sel register, I can see the mac_id0/1 registers but what's wrong with Ethernet registets

  • Please follow this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • Hello Sir,

    I am sorry I couldn't able to give full detailed description as i was travelling,

    ours is the custom board based on am3357 evm.

     Here is the Uboot and Kernel Boot log

    U-Boot SPL 2016.05-00118-gabc6b2a-dirty (Apr 14 2017 - 17:24:30)
    Trying to boot from NAND
    The Expected Linux image was not found. Please check your NAND configuration.
    Trying to start u-boot now...


    U-Boot 2016.05-00118-gabc6b2a-dirty (Apr 14 2017 - 17:24:30 +0530)

    Watchdog enabled
    I2C: ready
    DRAM: 1 GiB
    NAND: 256 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Error - No Valid Environment Area found
    *** Warning - bad CRC, using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    Net: eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in SROM is de:ad:be:ef:00:01
    Address in environment is 68:c9:0b:75:13:65
    , eth1: usb_ether
    Press SPACE to abort autoboot in 2 seconds
    Booting from nand ...

    NAND read: device 0 offset 0x80000, size 0x40000
    262144 bytes read: OK

    NAND read: device 0 offset 0x200000, size 0x800000
    8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x3488f8 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff3000, end 8ffff0ac ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.19-gdb0b54cdad (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 PREEMPT Fri May 19 09:30:56 IST 2017
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: TI AM335x EVM
    [ 0.000000] cma: Reserved 24 MiB at 0xbe800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1004028K/1048576K available (6559K kernel code, 313K rwdata, 2316K rodata, 264K init, 265K bss, 19972K reserved, 24576K cma-reserved, 237568K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc08b3004 (8877 kB)
    [ 0.000000] .init : 0xc08b4000 - 0xc08f6000 ( 264 kB)
    [ 0.000000] .data : 0xc08f6000 - 0xc0944510 ( 314 kB)
    [ 0.000000] .bss : 0xc0944510 - 0xc0986c98 ( 266 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000043] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000058] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000253] clocksource_probe: no matching clocksources found
    [ 0.000465] Console: colour dummy device 80x30
    [ 0.000497] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000505] This ensures that you still see kernel messages. Please
    [ 0.000512] update your kernel commandline.
    [ 0.000534] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118838] pid_max: default: 32768 minimum: 301
    [ 0.118996] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.119012] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.119873] Initializing cgroup subsys io
    [ 0.119911] Initializing cgroup subsys memory
    [ 0.119954] Initializing cgroup subsys devices
    [ 0.119974] Initializing cgroup subsys freezer
    [ 0.119991] Initializing cgroup subsys perf_event
    [ 0.120006] Initializing cgroup subsys pids
    [ 0.120040] CPU: Testing write buffer coherency: ok
    [ 0.120504] Setting up static identity map for 0x80008200 - 0x80008258
    [ 0.123244] devtmpfs: initialized
    [ 0.138499] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.157205] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214529] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217133] pinctrl core: initialized pinctrl subsystem
    [ 0.218705] NET: Registered protocol family 16
    [ 0.221414] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248845] cpuidle: using governor ladder
    [ 0.278835] cpuidle: using governor menu
    [ 0.284590] OMAP GPIO hardware version 0.1
    [ 0.294962] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [ 0.297609] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.339678] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.344660] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.344843] media: Linux media interface: v0.10
    [ 0.344941] Linux video capture interface: v2.00
    [ 0.345009] pps_core: LinuxPPS API ver. 1 registered
    [ 0.345020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.345058] PTP clock support registered
    [ 0.345136] EDAC MC: Ver: 3.0.0
    [ 0.346554] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.346950] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.348449] clocksource: Switched to clocksource timer1
    [ 0.362272] NET: Registered protocol family 2
    [ 0.363225] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.363345] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.363454] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.363573] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.363611] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.363801] NET: Registered protocol family 1
    [ 0.364284] RPC: Registered named UNIX socket transport module.
    [ 0.364301] RPC: Registered udp transport module.
    [ 0.364309] RPC: Registered tcp transport module.
    [ 0.364318] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.365174] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.367669] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.378315] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.379708] NFS: Registering the id_resolver key type
    [ 0.379786] Key type id_resolver registered
    [ 0.379798] Key type id_legacy registered
    [ 0.379900] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.380278] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [ 0.384740] bounce: pool size: 64 pages
    [ 0.385058] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.385090] io scheduler noop registered
    [ 0.385108] io scheduler deadline registered
    [ 0.385309] io scheduler cfq registered (default)
    [ 0.386738] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.469319] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.474517] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [ 1.094963] console [ttyS0] enabled
    [ 1.099988] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [ 1.110184] [drm] Initialized drm 1.1.0 20060810
    [ 1.117206] tilcdc 4830e000.lcdc: no encoders/connectors found
    [ 1.132317] loop: module loaded
    [ 1.138925] libphy: Fixed MDIO Bus: probed
    [ 1.144241] tlan: ThunderLAN driver v1.17
    [ 1.148369] tlan: 0 devices installed, PCI: 0 EISA: 0
    [ 1.154621] mousedev: PS/2 mouse device common for all mice
    [ 1.161102] i2c /dev entries driver
    [ 1.165874] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.173780] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.332473] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.343285] NET: Registered protocol family 10
    [ 1.349349] sit: IPv6 over IPv4 tunneling driver
    [ 1.354978] NET: Registered protocol family 17
    [ 1.359966] Key type dns_resolver registered
    [ 1.364480] omap_voltage_late_init: Voltage driver support not added
    [ 1.374883] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.380253] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.388026] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 1.394549] nand: Micron MT29F2G08ABAEAWP
    [ 1.398632] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.406272] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 1.411746] 10 ofpart partitions found on MTD device 8000000.nand
    [ 1.417871] Creating 10 MTD partitions on "8000000.nand":
    [ 1.423327] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 1.430215] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 1.437583] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 1.445126] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 1.452510] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 1.459991] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [ 1.467093] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [ 1.474360] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [ 1.482316] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [ 1.492008] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [ 1.598756] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.629534] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.635951] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.641210] vmmc: supplied by vbat
    [ 1.679238] vdd_mpu: supplied by vbat
    [ 1.689575] ubi0: attaching mtd9
    [ 3.651494] ubi0: scanning is finished
    [ 3.680570] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [ 3.687309] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [ 3.694297] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 3.701097] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [ 3.708140] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [ 3.714336] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [ 3.721665] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1634636836
    [ 3.730910] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [ 3.740337] ubi0: background thread "ubi_bgt0d" started, PID 57
    [ 3.747856] hctosys: unable to open rtc device (rtc0)
    [ 3.757352] lis3_reg: disabling
    [ 3.760634] wlan-en-regulator: disabling
    [ 3.765011] ALSA device list:
    [ 3.768003] No soundcards found.
    [ 3.778581] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 58
    [ 3.836204] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 3.843815] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 3.853814] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 3.864576] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [ 3.870460] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 33E743D7-4D43-4A54-B4C7-7700F91F2C19, small LPT model
    [ 3.883410] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [ 3.891024] devtmpfs: mounted
    [ 3.894462] Freeing unused kernel memory: 264K (c08b4000 - c08f6000)
    [ 3.900883] This architecture does not have kernel memory protection.
    [ 4.110081] systemd[1]: System time before build time, advancing clock.
    [ 4.177419] random: systemd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
    [ 4.209673] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.232794] 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)
    [ 4.252623] systemd[1]: Detected architecture arm.

    Welcome to Arago 2016.08!

    [ 4.280851] systemd[1]: Set hostname to <am335x-evm>.
    [ 4.452774] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.513118] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.575482] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.636350] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.646419] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.657104] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.724909] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.757465] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 5.036470] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 5.069270] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ 5.099318] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 5.129296] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 5.163812] systemd[1]: Created slice System Slice.
    [ OK ] Created slice System Slice.
    [ 5.196346] systemd[1]: Mounting Temporary Directory...
    Mounting Temporary Directory...
    [ 5.240849] systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    [ 5.274426] systemd[1]: Mounting POSIX Message Queue File System...
    Mounting POSIX Message Queue File System...
    [ 5.334367] systemd[1]: Mounting Debug File System...
    Mounting Debug File System...
    [ 5.399561] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ 5.430516] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 5.458954] systemd[1]: Reached target Slices.
    [ OK ] Reached target Slices.
    [ 5.487424] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    Starting Create list of required st... nodes for the current kernel...
    [ 5.539551] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ 5.568920] systemd[1]: Reached target Paths.
    [ OK ] Reached target Paths.
    [ 5.605842] systemd[1]: Listening on Syslog Socket.
    [ OK ] Listening on Syslog Socket.
    [ 5.634204] systemd[1]: Starting Journal Service...
    Starting Journal Service...
    [ 5.690473] systemd[1]: Starting Apply Kernel Variables...
    Starting Apply Kernel Variables...
    [ 5.730127] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 5.769875] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 5.799271] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 5.834917] systemd[1]: Starting Setup Virtual Console...
    Starting Setup Virtual Console...
    [ 5.891064] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ 5.934518] systemd[1]: Starting Remount Root and Kernel File Systems...
    Starting Remount Root and Kernel File Systems...
    [ 5.999384] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 6.082222] systemd[1]: Mounted Debug File System.
    [ OK ] Mounted Debug File System.
    [ 6.139320] systemd[1]: Mounted POSIX Message Queue File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ 6.159300] systemd[1]: Mounted Temporary Directory.
    [ OK ] Mounted Temporary Directory.
    [ 6.189884] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    [ OK ] Started Create list of required sta...ce nodes for the current kernel.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started Remount Root and Kernel File Systems.
    Starting udev Coldplug all Devices...
    Starting Create Static Device Nodes in /dev...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 7.961312] systemd-journald[88]: Received request to flush runtime journal from PID 1
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Mounting /media/ram...
    Starting udev Kernel Device Manager...
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started udev Kernel Device Manager.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Load/Save Random Seed.
    [ 10.217654] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ OK ] Started Create Volatile Files and Directories.
    [ 10.287383] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Found device /dev/ttyS0.
    [ 10.845231] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 11.296562] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [ 11.403011] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [ 11.504486] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [ 11.589015] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 11.689442] remoteproc0: 4a334000.pru0 is available
    [ 11.694467] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 11.818663] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 11.908328] remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [ 12.028825] remoteproc0: failed to load am335x-pru0-fw
    [ 12.034151] pru-rproc 4a334000.pru0: booting the PRU core manually
    [ 12.046161] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 12.081829] remoteproc0: powering up 4a334000.pru0
    [ 12.086848] remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [ 12.240506] remoteproc0: request_firmware failed: -2
    [ 12.245626] pru-rproc 4a334000.pru0: rproc_boot failed
    Starting Update UTMP about System Boot/Shutdown...
    [ 12.389126] remoteproc0: releasing 4a334000.pru0
    [ 12.394044] pru-rproc: probe of 4a334000.pru0 failed with error -2
    [ 12.460588] remoteproc0: 4a338000.pru1 is available
    [ 12.465612] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 12.616635] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    Starting Network Time Synchronization...
    [ 12.760795] remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [ 12.861000] remoteproc0: failed to load am335x-pru1-fw
    [ 12.866338] pru-rproc 4a338000.pru1: booting the PRU core manually
    [ 12.876869] remoteproc1: wkup_m3 is available
    [ 12.916750] remoteproc0: powering up 4a338000.pru1
    [ 12.956809] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 13.001242] remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [ 13.104132] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 13.125696] remoteproc0: request_firmware failed: -2
    [ 13.205994] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 13.228953] pru-rproc 4a338000.pru1: rproc_boot failed
    [ 13.234252] remoteproc0: releasing 4a338000.pru1
    [ 13.361554] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [ 13.374159] PM: bootloader does not support rtc-only!
    [ 13.406412] remoteproc1: powering up wkup_m3
    [ 13.472816] remoteproc1: Booting fw image am335x-pm-firmware.elf, size 217148
    [ 13.559035] remoteproc1: remote processor wkup_m3 is now up
    [ 13.559065] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ OK ] Started Network Time Synchronization.
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Found device /dev/ttyS3.
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    Starting Synchronize System and HW clocks...
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Started Synchronize System and HW clocks.
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    [ OK ] Started D-Bus System Message Bus.
    Starting Network Service...
    Starting Print notice about GPLv3 packages...
    Starting Permit User Sessions...
    Starting Login Service...
    [ OK ] Started System Logging Service.
    [ OK ] Started Kernel Logging Service.
    Starting telnetd.service...
    [ OK ] Started Permit User Sessions.
    [ OK ] Started telnetd.service.
    [ 18.392336] usbcore: Unknown symbol usb_put_phy (err 0)
    [ 18.397657] usbcore: Unknown symbol usb_otg_kick_fsm (err 0)
    [ 18.521450] usbcore: Unknown symbol usb_speed_string (err 0)
    [ 18.527308] usbcore: Unknown symbol usb_otg_unregister_hcd (err 0)
    [ 18.574964] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err 0)
    [ 18.612518] usbcore: Unknown symbol usb_get_phy_dev (err 0)
    [ 18.618397] usbcore: Unknown symbol usb_otg_register_hcd (err 0)
    [ OK ] Started Network Service.
    [ 18.690113] usbcore: Unknown symbol usb_put_phy (err 0)
    [ 18.695430] usbcore: Unknown symbol usb_otg_kick_fsm (err 0)
    [ 18.742738] usbcore: Unknown symbol usb_speed_string (err 0)
    [ 18.777774] usbcore: Unknown symbol usb_otg_unregister_hcd (err 0)
    [ 18.800893] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err 0)
    [ 18.807936] usbcore: Unknown symbol usb_get_phy_dev (err 0)
    [ 18.859001] usbcore: Unknown symbol usb_otg_register_hcd (err 0)
    [ 18.881886] usbcore: Unknown symbol usb_put_phy (err 0)
    [ 18.887201] usbcore: Unknown symbol usb_otg_kick_fsm (err 0)
    [ 18.941769] usbcore: Unknown symbol usb_speed_string (err 0)
    [ 18.947627] usbcore: Unknown symbol usb_otg_unregister_hcd (err 0)
    [ 18.999034] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err 0)
    [ 19.006082] usbcore: Unknown symbol usb_get_phy_dev (err 0)
    [ 19.044183] usbcore: Unknown symbol usb_otg_register_hcd (err 0)
    [ 19.072173] usbcore: Unknown symbol usb_put_phy (err 0)
    [ 19.077496] usbcore: Unknown symbol usb_otg_kick_fsm (err 0)
    [ 19.111952] usbcore: Unknown symbol usb_speed_string (err 0)
    [ 19.117810] usbcore: Unknown symbol usb_otg_unregister_hcd (err 0)
    [ 19.179686] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err 0)
    [ 19.186732] usbcore: Unknown symbol usb_get_phy_dev (err 0)
    [ 19.224408] usbcore: Unknown symbol usb_otg_register_hcd (err 0)
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    binutils
    dosfstools

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

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [ OK ] Started Print notice about GPLv3 packages.
    [ OK ] Started Login Service.
    [ OK ] Reached target Network.
    Starting Network Name Resolution...
    Starting thttpd.service...
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started thttpd.service.
    [ OK ] Started Network Name Resolution.
    Starting rng-tools.service...
    [ OK ] Started rng-tools.service.
    Starting thermal-zone-init.service...
    [ OK ] Started thermal-zone-init.service.
    [ 28.511017] random: nonblocking pool is initialized

    After the linux is booted, both the LEDs at transceiver were on.

    we are using Atheros AR8031  transceiver, according to the datasheet of AR8031

    when both LEDs are on at the transceiver LINK_1000M is ON and it will be active when it blinks.

    Here are some more information,

    the kernev version which i am using,

    root@am335x-evm:/# uname -a
    Linux am335x-evm 4.4.19-gdb0b54cdad #1 PREEMPT Fri May 19 09:30:56 IST 2017 armv7l GNU/Linux

    I am using the Arago 2016.08 project, the filesystem

    root@am335x-evm:/# ls
    bin boot  dev  etc  home  init    lib    media    mnt    opt    proc   run    sbin    srv   sys   tmp   usr    var


    root@am335x-evm:/# ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%133264/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:160 errors:0 dropped:0 overruns:0 frame:0
    TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:12160 (11.8 KiB) TX bytes:12160 (11.8 KiB)

    root@am335x-evm:/# ethtool eth0
    Settings for eth0:
    Cannot get device settings: No such device
    Cannot get wake-on-lan settings: No such device
    Cannot get message level: No such device
    Cannot get link status: No such device
    No data available

    root@am335x-evm:/# ethtool -S eth0
    Cannot get stats strings information: No such device

    I tried to see the status of MDIO Registers but i ended up getting this

    root@am335x-evm:/# devmem2 0x4a101000
    /dev/mem opened.
    Memory mapped at address 0xb6f7c000.[ 4686.805539] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f7c000
    [ 4686.817541] pgd = edb0c000
    [ 4686.820274] [b6f7c000] *pgd=ad9b7831, *pte=4a101303, *ppte=4a101a33
    [ 4686.826851] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event!

    Bus error (core dumped)

    When i tried to see the gmii_sel register this is what i got,

    root@am335x-evm:/# devmem2 0x44e10650
    /dev/mem opened.
    Memory mapped at address 0xb6f38000.
    Read at address 0x44E10650 (0xb6f38650): 0x000000B2

    These are the mac_id0/1

    root@am335x-evm:/# devmem2 0x44e10630
    /dev/mem opened.
    Memory mapped at address 0xb6fbe000.
    Read at address 0x44E10630 (0xb6fbe630): 0x00006313

    root@am335x-evm:/# devmem2 0x44e10634
    /dev/mem opened.
    Memory mapped at address 0xb6f68000.
    Read at address 0x44E10634 (0xb6f68634): 0x750BC968

    The device tree snippet is as following,

    pinmux,

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    /* Slave 1 */
    0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
    0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
    0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
    0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
    0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
    0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
    0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
    0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
    0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
    0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
    0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
    0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
    >;
    };

    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    /* Slave 1 reset value */
    0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

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

    davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
    /* MDIO reset value */
    0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


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

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

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

    I am not getting why I am not able get interface?

    With Regards,

    Sachin

  • I have notified the Ethernet experts. They will respond here.
  • Hello Sir,

    Thank you

    I have applied the below patch, which i had found in forum only, after adding that patch, i am able to get eth0 interface.

    even after getting that i am not able to ping.

    diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
    index e8c1edcac9e..26be4cc9f79 100644
    --- a/arch/arm/boot/dts/am335x-evm.dts
    +++ b/arch/arm/boot/dts/am335x-evm.dts
    @@ -8,6 +8,7 @@
     /dts-v1/;
     
     #include "am33xx.dtsi"
    +#include <dt-bindings/net/ti-dp83867.h>
     #include <dt-bindings/interrupt-controller/irq.h>
     
     / {
    @@ -708,6 +709,12 @@
         pinctrl-names = "default", "sleep";
         pinctrl-0 = <&davinci_mdio_default>;
         pinctrl-1 = <&davinci_mdio_sleep>;
    +        ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    +        ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    +        ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    +    ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    +        ti,min-output-impedance;
    +
         status = "okay";
     };
     
    @@ -717,10 +724,9 @@
     };
     
     &cpsw_emac1 {
    -    phy_id = <&davinci_mdio>, <1>;
    +    phy_id = <&davinci_mdio>, <0>;
         phy-mode = "rgmii-txid";
     };
    -
     &tscadc {
         status = "okay";
         tsc {
    diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
    index 1f65a9881fe..a4be25a5551 100644
    --- a/arch/arm/boot/dts/am33xx.dtsi
    +++ b/arch/arm/boot/dts/am33xx.dtsi
    @@ -33,8 +33,8 @@
             usb1 = &usb1;
             phy0 = &usb0_phy;
             phy1 = &usb1_phy;
    -        ethernet0 = &cpsw_emac0;
    -        ethernet1 = &cpsw_emac1;
    +                ethernet0 = &cpsw_emac0;
    +                ethernet1 = &cpsw_emac1;
         };
     
         cpus {
    diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c
    index df43cf8b65f..6688fc242a2 100644
    --- a/drivers/net/phy/dp83867.c
    +++ b/drivers/net/phy/dp83867.c
    @@ -23,7 +23,7 @@
     #include <dt-bindings/net/ti-dp83867.h>
     
     #define DP83867_PHY_ID        0x2000a231
    -#define DP83867_DEVADDR        0x1f
    +#define DP83867_DEVADDR        0x0
     
     #define MII_DP83867_PHYCTRL    0x10
     #define MII_DP83867_MICR    0x12

    after adding this results are quite positive, nut still MDIO is a problem.

    please check the txt file which i have added below,

    This is what I got when I uncomment the line "ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;" in am335x-evm.dts file
    
    adems@adems:/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad$ sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evm.dtb
      CC      scripts/mod/empty.o
      MKELF   scripts/mod/elfconfig.h
      HOSTCC  scripts/mod/modpost.o
      CC      scripts/mod/devicetable-offsets.s
      GEN     scripts/mod/devicetable-offsets.h
      HOSTCC  scripts/mod/file2alias.o
      HOSTCC  scripts/mod/sumversion.o
      HOSTLD  scripts/mod/modpost
      DTC     arch/arm/boot/dts/am335x-evm.dtb
    Error: arch/arm/boot/dts/am335x-evm.dts:449.19-20 syntax error
    FATAL ERROR: Unable to parse input tree
    scripts/Makefile.lib:293: recipe for target 'arch/arm/boot/dts/am335x-evm.dtb' failed
    make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
    arch/arm/Makefile:333: recipe for target 'am335x-evm.dtb' failed
    make: *** [am335x-evm.dtb] Error 2
    
    Because of this error I commented that particular line and i got this,
    
    adems@adems:/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt$ sudo make linux-dtbs
    =====================================
    Building the Linux Kernel DTBs
    =====================================
    make -C /media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad ARCH=arm CROSS_COMPILE=/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am335x-evm_defconfig
    make[1]: Entering directory '/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad'
    #
    # configuration written to .config
    #
    make[1]: Leaving directory '/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad'
    make -j 4 -C /media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad ARCH=arm CROSS_COMPILE=/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb
    make[1]: Entering directory '/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad'
    scripts/kconfig/conf  --silentoldconfig Kconfig
      DTC     arch/arm/boot/dts/am335x-evm.dtb
      DTC     arch/arm/boot/dts/am335x-evmsk.dtb
      DTC     arch/arm/boot/dts/am335x-bone.dtb
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
      DTC     arch/arm/boot/dts/am335x-boneblack.dtb
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
      DTC     arch/arm/boot/dts/am335x-bonegreen.dtb
      DTC     arch/arm/boot/dts/am335x-icev2.dtb
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
    Warning (reg_format): "reg" property in /cpun/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /cpun/cpu@0
    make[1]: Leaving directory '/media/adems/e7cdae34-f8e0-4a3e-b804-7e3ff37522fe/opt/board-support/linux-4.4.19+gitAUTOINC+db0b54cdad-gdb0b54cdad'
    
    
    The network service in kernel log look like
    
    [  OK  ] Started Network Service.
    [   19.399112] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err 0)
    [   19.406160] usbcore: Unknown symbol usb_get_phy_dev (err 0)
    [   19.478872] usbcore: Unknown symbol usb_otg_register_hcd (err 0)
    [   19.578702] net eth0: initializing cpsw version 1.12 (0)
    [   19.584101] net eth0: initialized cpsw ale version 1.4
    [   19.603463] net eth0: ALE Table size 1024
    [   19.623416] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   19.664694] net eth0: phy found : id is : 0x2000a231
    [   19.705929] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    
    when i checked for interfaces
    
    root@am335x-evm:~# ifconfig                                                     
    eth0      Link encap:Ethernet  HWaddr 68:C9:0B:75:13:63                         
              inet addr:169.168.1.120  Bcast:169.168.255.255  Mask:255.255.0.0   /* here that inet addr was set by me */   
              inet6 addr: fe80::6ac9:bff:fe75:1363%132976/64 Scope:Link             
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
              TX packets:1642 errors:0 dropped:0 overruns:0 carrier:0               
              collisions:0 txqueuelen:1000                                          
              RX bytes:0 (0.0 B)  TX bytes:113334 (110.6 KiB)                       
              Interrupt:173                                                         
                                                                                    
    lo        Link encap:Local Loopback                                             
              inet addr:127.0.0.1  Mask:255.0.0.0                                   
              inet6 addr: ::1%132976/128 Scope:Host                                 
              UP LOOPBACK RUNNING  MTU:65536  Metric:1                              
              RX packets:1255 errors:0 dropped:0 overruns:0 frame:0                 
              TX packets:1255 errors:0 dropped:0 overruns:0 carrier:0               
              collisions:0 txqueuelen:1                                             
              RX bytes:111624 (109.0 KiB)  TX bytes:111624 (109.0 KiB)             
    
    root@am335x-evm:~# ethtool eth0                                                 
    Settings for eth0:                                                              
            Supports Wake-on: d                                                     
            Wake-on: d                                                              
            Current message level: 0x00000000 (0)                                   
                                                                                    
            Link detected: yes
    
    root@am335x-evm:~# ethtool -S eth0                                              
    NIC statistics:                                                                 
         Good Rx Frames: 0                                                          
         Broadcast Rx Frames: 0                                                     
         Multicast Rx Frames: 0                                                     
         Pause Rx Frames: 0                                                         
         Rx CRC Errors: 0                                                           
         Rx Align/Code Errors: 0                                                    
         Oversize Rx Frames: 0                                                      
         Rx Jabbers: 0                                                              
         Undersize (Short) Rx Frames: 0                                             
         Rx Fragments: 0                                                            
         Rx Octets: 0                                                               
         Good Tx Frames: 1754                                                       
         Broadcast Tx Frames: 1704                                                  
         Multicast Tx Frames: 50                                                    
         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: 127680                                                          
         Rx + Tx 64 Octet Frames: 1658                                              
         Rx + Tx 65-127 Octet Frames: 48                                            
         Rx + Tx 128-255 Octet Frames: 0                                            
         Rx + Tx 256-511 Octet Frames: 48                                           
         Rx + Tx 512-1023 Octet Frames: 0                                           
         Rx + Tx 1024-Up Octet Frames: 0                                            
         Net Octets: 127680                                                         
         Rx Start of Frame Overruns: 0                                              
         Rx Middle of Frame Overruns: 0                                             
         Rx DMA Overruns: 0                                                         
         Rx DMA chan: head_enqueue: 1                                               
         Rx DMA chan: tail_enqueue: 127                                             
         Rx DMA chan: pad_enqueue: 0                                                
         Rx DMA chan: misqueued: 0                                                  
         Rx DMA chan: desc_alloc_fail: 0                                            
         Rx DMA chan: pad_alloc_fail: 0                                             
         Rx DMA chan: runt_receive_buf: 0                                           
         Rx DMA chan: runt_transmit_buf: 0                                          
         Rx DMA chan: empty_dequeue: 0                                              
         Rx DMA chan: busy_dequeue: 0                                               
         Rx DMA chan: good_dequeue: 0                                               
         Rx DMA chan: requeue: 0                                                    
         Rx DMA chan: teardown_dequeue: 0                                           
         Tx DMA chan: head_enqueue: 1753                                            
         Tx DMA chan: tail_enqueue: 1                                               
         Tx DMA chan: pad_enqueue: 0                                                
         Tx DMA chan: misqueued: 1                                                  
         Tx DMA chan: desc_alloc_fail: 0                                            
         Tx DMA chan: pad_alloc_fail: 0                                             
         Tx DMA chan: runt_receive_buf: 0                                           
         Tx DMA chan: runt_transmit_buf: 1658                                       
         Tx DMA chan: empty_dequeue: 1753                                           
         Tx DMA chan: busy_dequeue: 0                                               
         Tx DMA chan: good_dequeue: 1754                                            
         Tx DMA chan: requeue: 1753                                                 
         Tx DMA chan: teardown_dequeue: 0    
    

    With Regards

    Sachin T C M