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/PROCESSOR-SDK-AM335X: Ethernet doesn't work

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi all, 

I'm configuring for a custom board base on AM335x EVM, my custom board use KSZ9021 for Ethernet, but when board booting, the Ethernet dont work,

The log show below:

[ 1.137159] libphy: Fixed MDIO Bus: probed
[ 1.212746] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.218913] davinci_mdio 4a101000.mdio: detected phy mask ffffff7f
[ 1.225969] libphy: 4a101000.mdio: probed
[ 1.230067] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver Micrel KSZ9021 Gigabit PHY
[ 1.240568] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[ 1.249082] cpsw 4a100000.ethernet: Detected MACID = 00:0c:7b:39:01:3d
[ 1.255847] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)

[ 13.426253] net eth0: initializing cpsw version 1.12 (0)
[ 13.426264] net eth0: initialized cpsw ale version 1.4
[ 13.426270] net eth0: ALE Table size 1024
[ 13.536728] Micrel KSZ9021 Gigabit PHY 4a101000.mdio:07: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=-1)
[ 13.537763] libphy: PHY not found
[ 13.537774] net eth0: phy "" not found on slave 1, err -19
[ 13.559195] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 18.735324] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 18.848835] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

When the booting process finish, the Ethernet cannot detect IP address, but when i try command: /etc/init.d/networking restart, in the firsrt time cosole show:

Reconfiguring network interfaces... ifdown: interface lo not configured
ifdown: interface eth0 not configured
ifconfig: SIOCGIFFLAGS: No such device
done.

In the second time, the console show: 

[ 56.006369] net eth0: initializing cpsw version 1.12 (0)
[ 56.011735] net eth0: initialized cpsw ale version 1.4
[ 56.021736] net eth0: ALE Table size 1024
[ 56.123974] Micrel KSZ9021 Gigabit PHY 4a101000.mdio:07: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=-1)
[ 56.138510] libphy: PHY not found
[ 56.141929] net eth0: phy "" not found on slave 1, err -19
[ 56.180079] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
ifconfig: SIOCGIFFLAGS: No such device
done.

and Ethernet can detect IP Address, can anybody help me fix this issue

This is my device tree config:

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 */
>;
};

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

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

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

status = "okay";

};

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

};

  • Hi,

    Please check this guide and see if you have configured Ethernet correctly: processors.wiki.ti.com/.../Linux_Core_CPSW_User's_Guide
  • Hi Biser,
    i have check the link you sent to me, but i can't anything to fix my issue
  • OK, can you please follow this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • Hi Biser,
    Thank for your reply, i have check the link you send to me, but the console log when my custom board booting different with the console log of that link

    [ 13.426253] net eth0: initializing cpsw version 1.12 (0)
    [ 13.426264] net eth0: initialized cpsw ale version 1.4
    [ 13.426270] net eth0: ALE Table size 1024
    [ 13.536728] Micrel KSZ9021 Gigabit PHY 4a101000.mdio:07: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=-1)
    [ 13.537763] libphy: PHY not found
    [ 13.537774] net eth0: phy "" not found on slave 1, err -19
    [ 13.559195] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

    Can you explain to me, the console log of my custom board, the issue is belong phy id?
  • I have asked the Ethernet experts to look at this. They will respond here.
  • I would agree that the PHY is not showing up as expected in the console log.
    Please attach as a file not a cut and paste the console log and the results of ethtool eth0.

    What is the software that you are using? Please indicate which TI SDK you are using.

    Before an ip address can be received from a server you need to make sure the PHY is connected with a link partner and the cpsw recognizes a link has been detected. This is ethtool eth0 will indicate. If this command returns a status not expected that could indicate the trouble with the PHY. Example of return info not expected, no link detected, link duplicity is wrong or the speeds are 10 half duplex or no data at all.

    Here is a presentation that covers the overall link establishment process with a the Sitara AM class processors.

    training.ti.com/.../ETH_System_SW_on_AMClass_Devices.pdf
  • cosole log.txt
    U-Boot SPL 2017.01-00319-g7752743-dirty (Oct 10 2017 - 10:54:55) ALPHAPROJECT XG-3358 v1.0
    Trying to boot from MMC1
    reading uboot.env
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00319-g7752743-dirty (Oct 10 2017 - 10:54:55 +0700)
    
    CPU  : AM335X-GP rev 2.1
    I2C:   ready
    DRAM:  128 MiB
    Flash: 32 MiB
    NAND:  nand: error: Unable to find NAND settings in GPMC Configuration - quitting
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    Net:   cpsw
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3773904 bytes read in 331 ms (10.9 MiB/s)
    38898 bytes read in 18 ms (2.1 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 85f12000, end 85f1e7f1 ... OK
    
    Starting kernel ...
    
    Generic AM33XX (Flattened Device Tree)c5f12000  size is 118996, allocating...
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (root@vanduong-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #100 PREEMPT Thu Oct 12 13:16:44 ICT 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] OF: fdt:Machine model: Alpha Projects XG3358
    [    0.000000] Generic AM33XX (Flattened Device Tree)
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x82800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] c5f12000
    [    0.000000]   size is 118996, allocating...
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=254d5abe-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 67392K/131072K available (8192K kernel code, 378K rwdata, 2564K rodata, 1024K init, 274K bss, 14528K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d5ea20   ( 379 kB)
    [    0.000000]        .bss : 0xc0d5ea20 - 0xc0da33d4   ( 275 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000040] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000186] clocksource_probe: no matching clocksources found
    [    0.000355] Console: colour dummy device 80x30
    [    0.000381] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000386] This ensures that you still see kernel messages. Please
    [    0.000391] update your kernel commandline.
    [    0.000414] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089278] pid_max: default: 32768 minimum: 301
    [    0.089392] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089402] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090166] CPU: Testing write buffer coherency: ok
    [    0.090541] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.093417] EFI services will not be available.
    [    0.094743] devtmpfs: initialized
    [    0.104950] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.105296] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.105321] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.108869] pinctrl core: initialized pinctrl subsystem
    [    0.110281] NET: Registered protocol family 16
    [    0.113086] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    [    0.125441] omap_hwmod: debugss: _wait_target_disable failed
    [    0.199273] cpuidle: using governor ladder
    [    0.229258] cpuidle: using governor menu
    [    0.234725] OMAP GPIO hardware version 0.1
    [    0.246651] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpmc_pins, deferring probe
    [    0.249026] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.286603] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.289726] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.289875] media: Linux media interface: v0.10
    [    0.289926] Linux video capture interface: v2.00
    [    0.289976] pps_core: LinuxPPS API ver. 1 registered
    [    0.289984] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.290006] PTP clock support registered
    [    0.290041] EDAC MC: Ver: 3.0.0
    [    0.291083] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.291421] Advanced Linux Sound Architecture Driver Initialized.
    [    0.292652] clocksource: Switched to clocksource timer1
    [    0.302050] NET: Registered protocol family 2
    [    0.302874] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.302901] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.302917] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.302992] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.303010] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.303128] NET: Registered protocol family 1
    [    0.303553] RPC: Registered named UNIX socket transport module.
    [    0.303566] RPC: Registered udp transport module.
    [    0.303572] RPC: Registered tcp transport module.
    [    0.303577] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.304497] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.306680] workingset: timestamp_bits=14 max_order=15 bucket_order=1
    [    0.313580] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.314467] NFS: Registering the id_resolver key type
    [    0.314516] Key type id_resolver registered
    [    0.314523] Key type id_legacy registered
    [    0.314569] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.316615] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.316634] io scheduler noop registered
    [    0.316640] io scheduler deadline registered
    [    0.316775] io scheduler cfq registered (default)
    [    0.317646] pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.318105] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.321027] backlight supply power not found, using dummy regulator
    [    0.375553] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.379227] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    0.996819] console [ttyS0] enabled
    [    1.002049] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.008909] [drm] Initialized
    [    1.012854] panel panel: found backlight
    [    1.017832] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.024553] [drm] No driver support for vblank timestamp query.
    [    1.057397] Console: switching to colour frame buffer device 100x30
    [    1.068652] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.116170] brd: module loaded
    [    1.125504] loop: module loaded
    [    1.129266] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.137132] libphy: Fixed MDIO Bus: probed
    [    1.212694] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.218860] davinci_mdio 4a101000.mdio: detected phy mask ffffff7f
    [    1.225926] libphy: 4a101000.mdio: probed
    [    1.230031] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver Micrel KSZ9021 Gigabit PHY
    [    1.240484] cpsw 4a100000.ethernet: Detected MACID = 00:0c:7b:39:01:3d
    [    1.247338] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.256422] mousedev: PS/2 mouse device common for all mice
    [    1.262436] i2c /dev entries driver
    [    1.268472] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.276367] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.335390] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.346770] NET: Registered protocol family 10
    [    1.355845] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.362871] NET: Registered protocol family 17
    [    1.367411] lib80211: common routines for IEEE802.11 drivers
    [    1.373370] Key type dns_resolver registered
    [    1.377989] omap_voltage_late_init: Voltage driver support not added
    [    1.389931] pinctrl-single 44e10800.pinmux: pin PIN25 already requested by 48300100.ecap; cannot claim for 50000000.gpmc
    [    1.401095] pinctrl-single 44e10800.pinmux: pin-25 (50000000.gpmc) status -22
    [    1.408327] pinctrl-single 44e10800.pinmux: could not request pin 25 (PIN25) from group gpmc_pins  on device pinctrl-single
    [    1.419587] omap-gpmc 50000000.gpmc: Error applying setting, reverse things back
    [    1.427104] omap-gpmc: probe of 50000000.gpmc failed with error -22
    [    1.444215] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.457856] mmc0: new high speed SDHC card at address aaaa
    [    1.464280] input: LCD-KIT-B01 as /devices/virtual/input/input0
    [    1.470752] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
    [    1.475668] lcdkitb01_probe: c751af10
    c757c000  size is 37456, allocating...
    [    1.479617] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.480205] hctosys: unable to open rtc device (rtc0)
    [    1.484674] c757c000
    [    1.484675]   size is 37456, allocating...
    [    1.486025] OF: Duplicate name in testcase-data, renamed to "duplicate-name#1"
    [    1.494839] ### dt-test ### start of unittest - you will see error messages
    [    1.495518] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
    [    1.495527] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
    [    1.495553] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
    [    1.495571] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
    [    1.495585] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
    [    1.495595] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
    [    1.496960] irq: no irq domain found for /testcase-data/interrupts/intc0 !
    [    1.515460] OF: overlay: overlay_is_topmost: #5 clashes #6 @/testcase-data/overlay-node/test-bus/test-unittest8
    [    1.515465] OF: overlay: overlay #5 is not topmost
    [    1.529672] ### dt-test ### end of unittest - 148 passed, 0 failed
    [    1.529862] ALSA device list:
    [    1.529865]   No soundcards found.
    [    1.633449]  mmcblk0: p1 p2
    [    1.642702] random: fast init done
    [    2.222449] EXT4-fs (mmcblk0p2): 4 orphan inodes deleted
    [    2.228058] EXT4-fs (mmcblk0p2): recovery complete
    [    2.298767] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.307121] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.325890] devtmpfs: mounted
    [    2.333185] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
    [    2.671804] systemd[1]: System time before build time, advancing clock.
    [    2.772148] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.791337] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.05!
    
    [    2.837107] systemd[1]: Set hostname to <am335x-evm>.
    [    3.149772] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [    3.425802] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.433859] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.441587] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    3.448984] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [    3.456455] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
    [    3.463686] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice System Slice.
             Starting Journal Service...
             Mounting Debug File System...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Slices.
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
             Starting Setup Virtual Console...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.120779] cryptodev: loading out-of-tree module taints kernel.
    [    4.169915] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             [    4.225293] cryptodev: disagrees about version of symbol crypto_alloc_aead
    Mounting POSIX Message Queue File System...
             [    4.272475] cryptodev: Unknown symbol crypto_alloc_aead (err -22)
    Starting Create Static Device Nodes in /dev...
    [    4.299737] cryptodev: disagrees about version of symbol crypto_aead_setauthsize
    [    4.332068] cryptodev: Unknown symbol crypto_aead_setauthsize (err -22)
    [    4.332173] cryptodev: disagrees about version of symbol crypto_aead_setkey
    [    4.332177] cryptodev: Unknown symbol crypto_aead_setkey (err -22)
    [    4.332336] cryptodev: disagrees about version of symbol crypto_alloc_skcipher
    [    4.332340] cryptodev: Unknown symbol crypto_alloc_skcipher (err -22)
    [    4.384981] uio_module_drv: disagrees about version of symbol _dev_info
    [    4.384997] uio_module_drv: Unknown symbol _dev_info (err -22)
    [    4.385020] uio_module_drv: disagrees about version of symbol dev_err
    [    4.385024] uio_module_drv: Unknown symbol dev_err (err -22)
    [    4.385082] uio_module_drv: disagrees about version of symbol kobject_uevent
    [    4.385086] uio_module_drv: Unknown symbol kobject_uevent (err -22)
             Mounting Temporary Directory...
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Coldplug all Devices...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
    [    5.519285] systemd-journald[88]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems.
             Starting Load/Save Random Seed...
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  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.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [    7.028297] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started Load/Save Screen Backlight Brightness[    7.111028] pinctrl-single 44e10800.pinmux: mux offset out of range: 0x834 (0x238)
     of backlight:backlight.
    [    7.258707] 0-001b supply IOVDD not found, using dummy regulator
    [    7.258767] 0-001b supply DVDD not found, using dummy regulator
    [    7.258816] 0-001b supply AVDD not found, using dummy regulator
    [    7.258851] 0-001b supply DRVDD not found, using dummy regulator
    [    7.438955] CAN device driver interface
    [  OK  ] Found device /dev/ttyS0.
    [    7.543701] pinctrl-single 44e10800.pinmux: could not add functions for pinmux_usb 2100x
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [    7.744064] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    7.801293] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=162)
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
    [    8.070562] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    8.077799] pvrsrvkm: disagrees about version of symbol dev_err
    [    8.077810] pvrsrvkm: Unknown symbol dev_err (err -22)
    [    8.224579] pvrsrvkm: disagrees about version of symbol dev_err
    [    8.224596] pvrsrvkm: Unknown symbol dev_err (err -22)
    [    8.366773] remoteproc remoteproc0: wkup_m3 is available
    [    8.414131] remoteproc remoteproc0: powering up wkup_m3
    [    8.527981] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224344
    [    8.528256] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    8.528282] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [    8.530631] PM: Cannot get wkup_m3_ipc handle
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Kernel Logging Service.
             Starting Telephony service...
    [    9.019989] asoc-simple-card sound: tlv320aic3x-hifi <-> 48038000.mcasp mapping ok
    [    9.055123] PM: bootloader does not support rtc-only!
    [    9.055543] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    9.067301] omap-aes 53500000.aes: will run requests pump with realtime priority
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Network Service...
    [  OK  ] Started System Logging Service.
             Starting uim-sysfs.service...
             Starting Login Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Save/Restore Sound Card State...
    [   11.086871] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Network Service.
    [   11.626120] Bluetooth: Core ver 2.22
    [   11.629902] NET: Registered protocol family 31
    [   11.786303] Bluetooth: HCI device and connection manager initialized
    [   11.830625] net eth0: initializing cpsw version 1.12 (0)
    [   11.830636] net eth0: initialized cpsw ale version 1.4
    [   11.830642] net eth0: ALE Table size 1024
    [   11.924262] Micrel KSZ9021 Gigabit PHY 4a101000.mdio:07: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=-1)
    [   11.955267] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Save/Restore Sound Card State.
    [   12.392840] Bluetooth: HCI socket layer initialized
    [   12.459307] Bluetooth: L2CAP socket layer initialized
    [   12.524407] Bluetooth: SCO socket layer initialized
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting Start USB gadget...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Network Name Resolution...
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Login Service.
    [  OK  ] Started Serial Getty on ttyS3.
    [   14.305963] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [   14.982401] NET: Registered protocol family 15
    [   15.252882] random: crng init done
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   16.083858] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   16.154619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   16.246417] Initializing XFRM netlink socket
    [   17.618583] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   18.313395] usbcore: registered new interface driver usbfs
    [   18.318998] usbcore: registered new interface driver hub
    [   18.325676] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   18.327407] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 !
    [   18.328015] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 !
    [   18.839609] usbcore: registered new device driver usb
    [   18.872817] remoteproc remoteproc1: 4a334000.pru0 is available
    [   18.872969] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
    [   18.874273] remoteproc remoteproc2: 4a338000.pru1 is available
    [   18.874350] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
    [   19.302455] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19
    [   19.340393] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   19.340433] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [   19.395909] hub 1-0:1.0: USB hub found
    [   19.396003] hub 1-0:1.0: 1 port detected
    [   19.522324] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   19.535735] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   19.536689] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2017.05 am335x-evm ttyS0
    
    am335x-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline6
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
    
    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
    ***************************************************************
    ***************************************************************
    [   21.960363] pvrsrvkm: disagrees about version of symbol dev_err
    [   21.972824] pvrsrvkm: Unknown symbol dev_err (err -22)
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2017.05 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~#
    root@am335x-evm:~# [   28.312588] pvrsrvkm: disagrees about version of symbol dev_err
    [   28.318822] pvrsrvkm: Unknown symbol dev_err (err -22)
    [   28.966482] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    c[   28.971221] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   28.972180] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   28.987385] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   28.988333] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   29.003545] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   29.004497] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   29.019693] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   29.020647] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   29.039604] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    [   29.055245] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    a[   29.408419] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost flood detected, recovering
    [   29.417649] tilcdc 4830e000.lcdc: tilcdc_crtc_recover_work: Reset CRTC
    
    -sh: ca: command not found
    root@am335x-evm:~# cat /etc/network/interfaces
    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
    # The loopback interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    
    
    allow-hotplug ra0
    auto ra0
    iface ra0 inet dhcp
    #wpa-conf /etc/wpa_supplicant.conf
    wpa-ssid ""
    wpa-psk ""
    
    
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# 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
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: Symmetric
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 7
            Transceiver: external
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# /etc/init.d/networking restart
    Reconfiguring network interfaces... ifdown: interface lo not configured
    ifdown: interface eth0 not configured
    ifdown: interface ra0 not configured
    ifconfig: SIOCGIFFLAGS: No such device
    done.
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# /etc/init.d/networking restart
    Reconfiguring network interfaces... ifdown: interface ra0 not configured
    [   84.846095] net eth0: initializing cpsw version 1.12 (0)
    [   84.851748] net eth0: initialized cpsw ale version 1.4
    [   84.861681] net eth0: ALE Table size 1024
    [   84.963952] Micrel KSZ9021 Gigabit PHY 4a101000.mdio:07: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=-1)
    [   85.010032] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    ifconfig: SIOCGIFFLAGS: No such device
    done.
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# [   89.124155] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   89.132339] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0C:7B:39:01:3D
              inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:7bff:fe39:13d%763860/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:159 errors:0 dropped:0 overruns:0 frame:0
              TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:16530 (16.1 KiB)  TX bytes:15523 (15.1 KiB)
              Interrupt:172
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%763860/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:172 errors:0 dropped:0 overruns:0 frame:0
              TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:13216 (12.9 KiB)  TX bytes:13216 (12.9 KiB)
    
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    64 bytes from 192.168.1.1: seq=0 ttl=128 time=1.247 ms
    64 bytes from 192.168.1.1: seq=1 ttl=128 time=0.844 ms
    64 bytes from 192.168.1.1: seq=2 ttl=128 time=0.848 ms
    
    --- 192.168.1.1 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 0.844/0.979/1.247 ms
    root@am335x-evm:~#
    root@am335x-evm:~# 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
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: Symmetric
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 7
            Transceiver: external
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    		
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    
    
    Hi Schuyler,

    Many thanks for your reply, i'm using TI SDK PROCESSOR-SDK-LINUX-AM335X 04_00_00_04 (Kernel 4.9), i attach my console log with this message, can you check and explain issue for me, thank you very much.

  • Based on the attached log I see that the PHY is being recogized at address 7 and the correct PHY driver is being loaded. The interfaces file is showing that the eth0 interface is set to static and is assigned an ip address of 192.168.1.100, a static ip address will skip the dhcp process. The ping with address 192.168.1.1 is successful as well. The ethtool for eth0 is showing that the PHY is showing linked detected at 1Gbps. Why is the network restart being done? So far this looks like the ethernet interface is working as expected so I am not sure what the issue is.
  • Hi Schuyler,
    The issue is the Ethernet interface can not detect IP address when the board start up, i must command "/etc/init.d/networking restart" twice on terminal and then it can detect the IP address.
  • When you say that the board cannot detect the ip address are you saying that eth0 though it is assigned with a static address ifconfig eth0 does not show an ip address until you perform the restart command?

    Could you please attach ifconfig eth0 before the restart command is issued?
    Did you want to assign the eth0 interface with a static ip address?
  • Hi Schuyler,
    Many thanks for your reply,
    This is the console log when i command "ifconfig" after the board start-up:

    root@am335x-evm:~# ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:0C:7B:39:01:3D
    inet6 addr: fe80::20c:7bff:fe39:13d%3068626016/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:119 errors:0 dropped:0 overruns:0 frame:0
    TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:11998 (11.7 KiB) TX bytes:6489 (6.3 KiB)
    Interrupt:172

    I really want assign the eth0 interface with a static ip address when the board start up, do you think i have mistake in config device tree?
  • The system initialization daemon SystemD performs the network interface initialization somewhat differently that sysVinit. The previous sysVinit system initialization relied up /etc/interfaces file, SystemD does not.

    Please try this, create this file in this directory /etc/systemd/network/01-eth-static.network. I think I filled it out to match your setup.

    ---- File contents -----
    [Match]
    Name=eth0

    [Network]
    Address=192.168.1.100
    ----- EOF -----------
  • Hi Schuyler,
    I do follow your direction and it work, my board can detect IP address when start up, thank you very much.
  • That is good to hear, I am glad we were able to resolve the issue you were seeing.