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 Problem

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

We are working on a board based on AM335x EVM-SK. Our board is getting booted successfully. Restart is also successful. Now we want to Activate our Ethernet. Please suggest us what to do to activate both the ethernet interfaces. Please find below the output while our board is getting booted. I am also posting my .dts file here. Please go through it once.

am335x-evmsk.dts

/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

/*
 * AM335x Starter Kit
 * http://www.ti.com/tool/tmdssk3358
 */

/dts-v1/;

#include "am33xx.dtsi"
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "TI AM335x EVM-SK";
	compatible = "ti,am335x-evmsk", "ti,am33xx";

	cpus {
		cpu@0 {
			cpu0-supply = <&vdd1_reg>;
		};
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x80000000 0x10000000>; /* 256 MB */
	};

	chosen {
		stdout-path = &uart0;
	};

	vbat: fixedregulator0 {
		compatible = "regulator-fixed";
		regulator-name = "vbat";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-boot-on;
	};

	lis3_reg: fixedregulator1 {
		compatible = "regulator-fixed";
		regulator-name = "lis3_reg";
		regulator-boot-on;
	};

	wl12xx_vmmc: fixedregulator2 {
		pinctrl-names = "default";
		compatible = "regulator-fixed";
		regulator-name = "vwl1271";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		gpio = <&gpio1 29 0>;
		startup-delay-us = <70000>;
		enable-active-high;
	};

	vtt_fixed: fixedregulator3 {
		compatible = "regulator-fixed";
		regulator-name = "vtt";
		regulator-min-microvolt = <1500000>;
		regulator-max-microvolt = <1500000>;
		gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
		regulator-always-on;
		regulator-boot-on;
		enable-active-high;
	};

};

&am33xx_pinmux {
	pinctrl-names = "default";
	pinctrl-0 = <&clkout2_pin &ddr3_vtt_toggle>;

	ddr3_vtt_toggle: ddr3_vtt_toggle {
		pinctrl-single,pins = <
			0x164 (PIN_OUTPUT | MUX_MODE7)	/* ecap0_in_pwm0_out.gpio0_7 */
		>;
	};

		i2c0_pins: pinmux_i2c0_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
			AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
		>;
	};

	uart0_pins: pinmux_uart0_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
		>;
	};

	clkout2_pin: pinmux_clkout2_pin {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x9b4, PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
		>;
	};

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

			/* Slave 2 */
			AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a0.rgmii2_tctl */
			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a1.rgmii2_rctl */
			AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a2.rgmii2_td3 */
			AM33XX_IOPAD(0x84c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a3.rgmii2_td2 */
			AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a4.rgmii2_td1 */
			AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a5.rgmii2_td0 */
			AM33XX_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a6.rgmii2_tclk */
			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a7.rgmii2_rclk */
			AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a8.rgmii2_rd3 */
			AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a9.rgmii2_rd2 */
			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a10.rgmii2_rd1 */
			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a11.rgmii2_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)

			/* Slave 2 reset value*/
			AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM33XX_IOPAD(0x86c, 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)
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) 		/* spi0_cs1.gpio0_6 */
			AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat0.mmc0_dat0 */
			AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat1.mmc0_dat1 */
			AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat2.mmc0_dat2 */
			AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat3.mmc0_dat3 */
			AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_cmd.mmc0_cmd */
			AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_clk.mmc0_clk */
			/*AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4)*/		/* mcasp0_aclkr.mmc0_sdwp */
		>;
	};

	mcasp1_pins: mcasp1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
			AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
		>;
	};

};

&uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins>;

	status = "okay";
};

&i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;

	status = "okay";
	clock-frequency = <400000>;

	tps: tps@2d {
		reg = <0x2d>;
	};

};

&usb {
	status = "okay";
};

&usb_ctrl_mod {
	status = "okay";
};

&usb0_phy {
	status = "okay";
};

&usb1_phy {
	status = "okay";
};

&usb0 {
	status = "okay";
};

&usb1 {
	status = "okay";
	dr_mode = "host";
};

&cppi41dma  {
	status = "okay";
};

&wkup_m3_ipc {
	ti,needs-vtt-toggle;
	ti,vtt-gpio-pin = <7>;
	ti,scale-data-fw = "am335x-evm-scale-data.bin";
};

#include "tps65910.dtsi"

&tps {
	vcc1-supply = <&vbat>;
	vcc2-supply = <&vbat>;
	vcc3-supply = <&vbat>;
	vcc4-supply = <&vbat>;
	vcc5-supply = <&vbat>;
	vcc6-supply = <&vbat>;
	vcc7-supply = <&vbat>;
	vccio-supply = <&vbat>;

	regulators {
		vrtc_reg: regulator@0 {
			regulator-always-on;
		};

		vio_reg: regulator@1 {
			regulator-always-on;
		};

		vdd1_reg: regulator@2 {
			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912500>;
			regulator-max-microvolt = <1351500>;
			regulator-boot-on;
			regulator-always-on;
		};

		vdd2_reg: regulator@3 {
			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912500>;
			regulator-max-microvolt = <1150000>;
			regulator-boot-on;
			regulator-always-on;
		};

		vdd3_reg: regulator@4 {
			regulator-always-on;
		};

		vdig1_reg: regulator@5 {
			regulator-always-on;
		};

		vdig2_reg: regulator@6 {
			regulator-always-on;
		};

		vpll_reg: regulator@7 {
			regulator-always-on;
		};

		vdac_reg: regulator@8 {
			regulator-always-on;
		};

		vaux1_reg: regulator@9 {
			regulator-always-on;
		};

		vaux2_reg: regulator@10 {
			regulator-always-on;
		};

		vaux33_reg: regulator@11 {
			regulator-always-on;
		};

		vmmc_reg: regulator@12 {
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <3300000>;
			regulator-always-on;
		};
	};
};

&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>, <0>;
	phy-mode = "rgmii-txid";
	dual_emac_res_vlan = <1>;
};

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

&mmc1 {
	status = "okay";
	vmmc-supply = <&vmmc_reg>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

&sham {
	status = "okay";
};

&aes {
	status = "okay";
};

&gpio0 {
	ti,no-reset-on-init;
};

&sgx {
	status = "okay";
};

&rtc {
	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
	clock-names = "ext-clk", "int-clk";
};

&pruss_soc_bus {
	status = "okay";

	pruss: pruss@0 {
		status = "okay";
	};
};

Output of board while booting:

[   21.658027] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[   21.745896] hub 1-0:1.0: USB hub found
[   21.793405] hub 1-0:1.0: 1 port detected
[   22.018477] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[   22.027549] using random self ethernet address
[   22.027557] using random host ethernet address
[   22.027569] using host ethernet address: 2C:6B:7D:4A:80:F8
[   22.027592] using random self ethernet address
[   22.027597] using random host ethernet address
[   22.027606] using host ethernet address: 2C:6B:7D:4A:80:F8
[   22.031555] usb0: HOST MAC 2c:6b:7d:4a:80:f8
[   22.031970] usb0: MAC 4a:a3:f8:85:eb:30
[   22.143108] Mass Storage Function, version: 2009/09/11
[   22.143118] LUN: removable file: (no medium)
[   22.143324] LUN: removable read only file: /dev/mmcblk0p1
[   22.143329] Number of LUNs=1
[   22.149290] g_multi gadget: Multifunction Composite Gadget
[   22.149302] g_multi gadget: g_multi ready
[   22.151858] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[   22.211277] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[   22.211319] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[   22.253310] hub 2-0:1.0: USB hub found
[   22.253364] hub 2-0:1.0: 1 port detected
[   22.561179] g_multi gadget: high-speed config #2: Multifunction with CDC ECM
[   23.338524] remoteproc remoteproc1: 4a334000.pru is available
[   23.379487] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[   23.446472] remoteproc remoteproc2: 4a338000.pru is available
[   23.473311] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully

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

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

Arago 2018.04 am335x-evm ttyS0

am335x-evm login: ***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    bash-dev
    bash
    binutils
    cifs-utils
    cpio
    cpp-symlinks
    cpp
    dosfstools
    elfutils
    findutils
    g++-symlinks
    g++
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    gettext
    gstreamer1.0-libav
    gzip
    hidapi
    libdw1
    libelf1
    libgdbm-compat4
    libgdbm-dev
    libgdbm4
    libgettextlib
    libgettextsrc
    libgmp10
    libidn11
    libmavconn
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline7
    libunistring2
    m4-dev
    m4
    make
    mavlink
    mavros-extras
    mavros-msgs
    mavros
    nettle
    python3-pycairo
    socketcan-interface
    which

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
***************************************************************
***************************************************************
[   26.877756] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

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

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

Arago 2018.04 am335x-evm ttyS0

am335x-evm login: root
root@am335x-evm:~# ls
tibt
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# [  138.672767] NET: Registered protocol family 15
[  138.869578] Initializing XFRM netlink socket

root@am335x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 2C:6B:7D:4A:80:F6  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:44

eth1      Link encap:Ethernet  HWaddr 2C:6B:7D:4A:80:F8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%763612/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12612 (12.3 KiB)  TX bytes:12612 (12.3 KiB)

usb0      Link encap:Ethernet  HWaddr 4A:A3:F8:85:EB:30  
          inet6 addr: fe80::48a3:f8ff:fe85:eb30%763612/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:116 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:21070 (20.5 KiB)  TX bytes:7603 (7.4 KiB)

root@am335x-evm:~# ethtools eth0
-sh: ethtools: command not found
root@am335x-evm:~# ethtools
-sh: ethtools: command not found
root@am335x-evm:~#
root@am335x-evm:~# ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
root@am335x-evm:~# ethtool eth0
Settings for eth0:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)
                   
    Link detected: no
root@am335x-evm:~# ethtool eth1
Settings for eth1:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)
                   
    Link detected: no
root@am335x-evm:~# ^C
root@am335x-evm:~# [  331.459590] alloc_contig_range: [8a843, 8a844) PFNs busy
[  331.466033] alloc_contig_range: [8a843, 8a844) PFNs busy


  • Please post the Linux version you use and describe what is your Ethernet hardware. Also attach the complete boot log.
  • Linux Version we are using is

    ti-processor-sdk-linux-am335x-evm-05.00.00.15


    complete boot log:

    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight…ightness of backlight:backlight...
    [   11.094771] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   11.188245] omap_rtc 44e3e000.rtc: registered as rtc0
    [   11.244146] tlv320aic3x-codec 0-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
             Starting Network Service...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting Avahi mDNS/DNS-SD Stack...
    [   12.054931] random: crng init done
    [  OK  ] Started Periodic Command Scheduler.
    [   12.133774] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started System Logging Service.
    [   12.312878] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
             Starting uim-sysfs.service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Reached target Containers.
    [   12.516157] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
             Starting Login Service...
    [   12.618951] omap-aes 53500000.aes: will run requests pump with realtime priority
             Starting RPC Bind Service...
    [   12.770308] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   12.781936] remoteproc remoteproc0: wkup_m3 is available
    [   12.841404] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
    [  OK  ] Started Kernel Logging Service.
    [   13.130236] remoteproc remoteproc0: powering up wkup_m3
    [   13.141326] PM: Cannot get wkup_m3_ipc handle
    [  OK  ] Started D-Bus System Message Bus.
    [   13.348057] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   13.456825] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   13.456895] asoc-simple-card sound: ASoC: no DMI vendor name!
    [   13.513615] PM: Cannot get wkup_m3_ipc handle
    [   13.772581] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   13.772605] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Save/Restore Sound Card State...
    [   15.061727] net eth1: initializing cpsw version 1.12 (0)
    [   15.164818] libphy: PHY 4a101000.mdio:01 not found
    [   15.169662] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [  OK  ] Started Network Service.
    [  OK  ] Started RPC Bind Service.
    [   15.548351] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.836537] net eth0: initializing cpsw version 1.12 (0)
    [  OK  ] Found device /dev/ttyS3.
    [   15.981413] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   16.202268] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Save/Restore Sound Card State.
    [   16.246872] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Started Login Service.
             Starting Start USB gadget...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Permit User Sessions...
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [   19.053583] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
             Starting Wait for Network to be Configured...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Network Name Resolution.
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [  OK  ] Started uim-sysfs.service.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   21.877536] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [   21.953459] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [   22.034890] PM: bootloader does not support rtc-only!
    [   22.214387] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   22.333510] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   22.504607] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   22.510024] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   22.675969] hub 1-0:1.0: USB hub found
    [   22.711927] hub 1-0:1.0: 1 port detected
    [   22.756028] pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   22.840295] using random self ethernet address
    [   22.840304] using random host ethernet address
    [   22.840315] using host ethernet address: 2C:6B:7D:4A:80:F8
    [   22.840338] using random self ethernet address
    [   22.840343] using random host ethernet address
    [   22.840352] using host ethernet address: 2C:6B:7D:4A:80:F8
    [   22.844538] usb0: HOST MAC 2c:6b:7d:4a:80:f8
    [   22.844923] usb0: MAC fe:23:f6:7e:16:21
    [   22.946309] Mass Storage Function, version: 2009/09/11
    [   22.946320] LUN: removable file: (no medium)
    [   22.946522] LUN: removable read only file: /dev/mmcblk0p1
    [   22.946528] Number of LUNs=1
    [   22.951232] g_multi gadget: Multifunction Composite Gadget
    [   22.951244] g_multi gadget: g_multi ready
    [   22.960247] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   22.960279] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   23.019418] hub 2-0:1.0: USB hub found
    [   23.019472] hub 2-0:1.0: 1 port detected
    [   23.446559] g_multi gadget: high-speed config #2: Multifunction with CDC ECM
    [   24.023218] remoteproc remoteproc1: 4a334000.pru is available
    [   24.072514] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
    [   24.127281] remoteproc remoteproc2: 4a338000.pru is available
    [   24.157697] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm4
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn11
    	libmavconn
    	libmpc3
    	libmpfr4
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	python3-pycairo
    	socketcan-interface
    	which
    
    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  ] Found device /dev/ttyGS0.
    [  OK  ] Reached target Sound Card.
             Starting rc.pvr.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [   27.484884] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Synchronize System and HW clocks.
             Starting weston.service...
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.04 am335x-evm ttyS0
    
    am335x-evm login: root
    
    78root@am335x-evm:~# ren boot
             Stopping Save/Restore Sound Card State...
    [  OK  ] S         Stopping Session c1 of user root.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Stopping User Manager for UID 0...
    [  OK  ] Stopped target Login Prompts.
             Stopping Serial Getty on ttyS0...
             Stopping Lightning Fast Webserver With Light System Requirements...
             Stopping Redis In-Memory Data Store...
             Stopping Simple Network Management Protocol (SNMP) Daemon....
             Stopping System Logging Service...
    [  OK  ] Stopped target Containers.
             Stopping Kernel Logging Service...
    [  OK  ] Stopped Daily rotation of log files.
    [  OK  ] Stopped target System Time Synchronized.
             Stopping D-Bus System Message Bus...
             Stopping NFS status monitor for NFSv2/3 locking....
             Stopping Avahi mDNS/DNS-SD Stack...
             Stopping Serial Getty on ttyS3...
             Stopping Hardware RNG Entropy Gatherer Daemon...
             Stopping Job spooling tools...
             Stopping Serial Getty on ttyGS0...
    [  OK  ] Stopped target Sound Card.
             Stopping Getty on tty1...
             Stopping Periodic Command Scheduler...
    [  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Stopped Wait for Network to be Configured.
    [  OK  ] Stopped Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Stopped Serial Getty on ttyGS0.
    [  OK  ] Stopped weston.service.
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Serial Getty on ttyS3.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
             Stopping rc.pvr.service...
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
             Stopping Permit User Sessions...
    [  OK  ] Removed slice system-getty.slice.
             Stopping RPC Bind Service...
    [  OK  ] Stopped target Host and Network Name Lookups.
             Stopping Network Name Resolution...
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped RPC Bind Service.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Remote File Systems.
             Stopping uim-sysfs.service...
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Stopped Network Service.
    [  OK  ] Stopped uim-sysfs.service.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Closed RPCbind Server Activation Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
             Stopping Load/Save Random Seed...
             Stopping Network Time Synchronization...
             Stopping Update UTMP about System Boot/Shutdown...
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped Update is Completed.
    [  OK  ] Stopped Rebuild Hardware Database.
    [  OK  ] Stopped Rebuild Dynamic Linker Cache.
    [  OK  ] Stopped Rebuild Journal Catalog.
             Stopping Load/Save Screen Backlight…ightness of backlight:backlight...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Stopped Update UTMP about System Boot/Shutdown.
    [  OK  ] Removed slice system-systemd\x2dbacklight.slice.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /run/user/0...
             Unmounting /run/media/mmcblk0p1...
             Unmounting /media/ram...
             Unmounting /var/volatile...
             Unmounting Temporary Directory (/tmp)...
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Unmounted /run/media/mmcblk0p1.
    [  OK  ] Unmounted /media/ram.
    [FAILED] Failed unmounting /var/volatile.
    [FAILED] Failed unmounting Temporary Directory (/tmp).
    [  OK  ] Stopped target Swap.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Create System Users.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Reached target Shutdown.
    [  OK  ] Reached target Final Step.
             Starting Reboot...
    [   82.759571] watchdog: watchdog0: watchdog did not stop!
    [   82.775886] systemd-shutdow: 22 output lines suppressed due to ratelimiting
    [   82.881243] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   82.907084] systemd-journald[67]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   83.065394] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   83.082902] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [   83.094963] systemd-shutdown[1]: Unmounting file systems.
    [   83.101518] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
    [   83.111903] systemd-shutdown[1]: Unmounting /var/volatile.
    [   83.143734] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
    [   83.154180] systemd-shutdown[1]: Unmounting /tmp.
    [   83.182572] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   83.233771] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   83.263227] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   83.272622] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   83.279709] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   83.327992] reboot: Restarting system
    
    U-Boot SPL 2018.01-00228-g4579b13-dirty (Nov 06 2018 - 14:28:10)
    Trying to boot from MMC1
    *** Warning - bad CRC, using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2018.01-00228-g4579b13-dirty (Nov 06 2018 - 14:28:10 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  256 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** 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
    3842560 bytes read in 349 ms (10.5 MiB/s)
    40021 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 8df01000, end 8df0dc54 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-g4796173fc5 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=000b5509-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 197268K/262144K available (8192K kernel code, 318K rwdata, 2488K rodata, 1024K init, 275K bss, 15724K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d4fb08   ( 319 kB)
    [    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948bc   ( 276 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000056] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000299] timer_probe: no matching timers found
    [    0.000545] Console: colour dummy device 80x30
    [    0.000578] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000588] This ensures that you still see kernel messages. Please
    [    0.000596] update your kernel commandline.
    [    0.000631] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118753] pid_max: default: 32768 minimum: 301
    [    0.118987] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119006] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119933] CPU: Testing write buffer coherency: ok
    [    0.120743] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.120928] Hierarchical SRCU implementation.
    [    0.121348] EFI services will not be available.
    [    0.123098] devtmpfs: initialized
    [    0.134677] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.135221] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.135581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.135609] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.140034] pinctrl core: initialized pinctrl subsystem
    [    0.140883] DMI not present or invalid.
    [    0.141362] NET: Registered protocol family 16
    [    0.144115] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.162178] omap_hwmod: debugss: _wait_target_disable failed
    [    0.216679] cpuidle: using governor ladder
    [    0.216724] cpuidle: using governor menu
    [    0.222456] OMAP GPIO hardware version 0.1
    [    0.236340] No ATAGs?
    [    0.236362] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.253692] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.254818] reg-fixed-voltage fixedregulator2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [    0.258515] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.258938] media: Linux media interface: v0.10
    [    0.259009] Linux video capture interface: v2.00
    [    0.259152] pps_core: LinuxPPS API ver. 1 registered
    [    0.259164] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.259194] PTP clock support registered
    [    0.259239] EDAC MC: Ver: 3.0.0
    [    0.259773] dmi: Firmware registration failed.
    [    0.260281] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.260709] Advanced Linux Sound Architecture Driver Initialized.
    [    0.262071] clocksource: Switched to clocksource timer1
    [    0.273169] NET: Registered protocol family 2
    [    0.274067] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.274116] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.274154] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.274268] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.274295] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.274480] NET: Registered protocol family 1
    [    0.274990] RPC: Registered named UNIX socket transport module.
    [    0.275007] RPC: Registered udp transport module.
    [    0.275017] RPC: Registered tcp transport module.
    [    0.275026] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.276108] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.276262] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.278109] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.283916] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.284803] NFS: Registering the id_resolver key type
    [    0.284858] Key type id_resolver registered
    [    0.284869] Key type id_legacy registered
    [    0.284929] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.287331] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.287357] io scheduler noop registered
    [    0.287369] io scheduler deadline registered
    [    0.287637] io scheduler cfq registered (default)
    [    0.287651] io scheduler mq-deadline registered
    [    0.287662] io scheduler kyber registered
    [    0.289432] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.293457] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.357985] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.361790] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.000064] console [ttyS0] enabled
    [    1.005945] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.014659] panel panel: found backlight
    [    1.019017] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.025299] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.031799] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.037822] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.044487] [drm] No driver support for vblank timestamp query.
    [    1.097307] Console: switching to colour frame buffer device 60x34
    [    1.121193] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.127503] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.146859] brd: module loaded
    [    1.158321] loop: module loaded
    [    1.164358] libphy: Fixed MDIO Bus: probed
    [    1.242136] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.249846] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.257348] libphy: 4a101000.mdio: probed
    [    1.261399] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.270875] cpsw 4a100000.ethernet: Detected MACID = 2c:6b:7d:4a:80:f6
    [    1.277730] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.284243] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.289580] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.297834] cpsw 4a100000.ethernet: cpsw: Detected MACID = 2c:6b:7d:4a:80:f8
    [    1.306622] i2c /dev entries driver
    [    1.310744] IR NEC protocol handler initialized
    [    1.315381] IR RC5(x/sz) protocol handler initialized
    [    1.320457] IR RC6 protocol handler initialized
    [    1.325044] IR JVC protocol handler initialized
    [    1.329595] IR Sony protocol handler initialized
    [    1.334252] IR SANYO protocol handler initialized
    [    1.338978] IR Sharp protocol handler initialized
    [    1.343729] IR MCE Keyboard/mouse protocol handler initialized
    [    1.349588] IR XMP protocol handler initialized
    [    1.356128] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.363631] sdhci: Secure Digital Host Controller Interface driver
    [    1.369850] sdhci: Copyright(c) Pierre Ossman
    [    1.374963] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.381554] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.389216] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.400544] NET: Registered protocol family 10
    [    1.406894] Segment Routing with IPv6
    [    1.410680] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.417639] NET: Registered protocol family 17
    [    1.422574] Key type dns_resolver registered
    [    1.427135] omap_voltage_late_init: Voltage driver support not added
    [    1.472325] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.480430] vrtc: supplied by vbat
    [    1.487786] vio: supplied by vbat
    [    1.492782] vdd1: supplied by vbat
    [    1.498189] vdd2: supplied by vbat
    [    1.503056] random: fast init done
    [    1.508517] vdig1: supplied by vbat
    [    1.513575] vdig2: supplied by vbat
    [    1.518580] vpll: supplied by vbat
    [    1.523576] vdac: supplied by vbat
    [    1.528481] vaux1: supplied by vbat
    [    1.533520] vaux2: supplied by vbat
    [    1.538540] vaux33: supplied by vbat
    [    1.543670] vmmc: supplied by vbat
    [    1.548604] vbb: supplied by vbat
    [    1.553869] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.561816] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.732450] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.745338] mmc0: new high speed SDHC card at address aaaa
    [    1.751457] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
    [    1.760559]  mmcblk0: p1 p2
    [    1.773906] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
    [    1.781891] hctosys: unable to open rtc device (rtc0)
    [    1.791173] lis3_reg: disabling
    [    1.794709] ALSA device list:
    [    1.797764]   No soundcards found.
    [    1.820205] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.828634] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.840102] devtmpfs: mounted
    [    1.845853] Freeing unused kernel memory: 1024K
    [    2.164746] mmc1: error -110 whilst initialising MMC card
    [    2.240292] systemd[1]: System time before build time, advancing clock.
    [    2.306355] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    2.328252] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    2.373362] systemd[1]: Set hostname to <am335x-evm>.
    [    2.766019] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    3.069532] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.091028] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.122602] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.132997] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.162744] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.170046] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.224057] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.239109] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.285471] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.301929] cryptodev: loading out-of-tree module taints kernel.
    [    3.310434] cryptodev: driver 1.9 loaded.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.350287] usbcore: registered new interface driver usbfs
    [    3.357390] usbcore: registered new interface driver hub
    [    3.364523] usbcore: registered new device driver usb
    [    3.385209] usbcore: registered new interface driver usbserial
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
             Starting Journal Service...
    [  OK  ] Created slice system-getty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on udev Control Socket.
    [    3.651808] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Network Service Netlink Socket.
             Mounting POSIX Message Queue File System...
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Debug File System...
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  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.
             Starting Rebuild Hardware Database...
             Starting Create System Users...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create System Users.
    [  OK  ] Started Apply Kernel Variables.
    [    4.564000] systemd-journald[62]: Received request to flush runtime journal from PID 1
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Rebuild Journal Catalog...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight…ightness of backlight:backlight...
    [  OK  ] Found device /dev/ttyS0.
    [   10.063922] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.116189] tlv320aic3x-codec 0-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
    [   10.215078] omap_rtc 44e3e000.rtc: already running
    [   10.215718] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Reached target Containers.
    [  OK  ] Started Job spooling tools.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [   11.119776] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   11.351182] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.442256] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   11.479173] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.497323] PM: Cannot get wkup_m3_ipc handle
    [   11.559268] remoteproc remoteproc0: wkup_m3 is available
    [   11.579850] PM: Cannot get wkup_m3_ipc handle
    [   11.579930] remoteproc remoteproc0: powering up wkup_m3
    [   11.612643] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   11.612905] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   11.612932] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   12.078186] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   12.078256] asoc-simple-card sound: ASoC: no DMI vendor name!
    [   12.101953] PM: bootloader does not support rtc-only!
    [  OK  ] Started System Logging Service.
    [   12.527346] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
    [  OK  ] Started Periodic Command Scheduler.
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting RPC Bind Service...
    [   13.260149] random: crng init done
             Starting uim-sysfs.service...
    [   13.408002] random: 7 urandom warning(s) missed due to ratelimiting
             Starting Network Service...
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started Network Service.
    [   15.101376] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   15.185162] net eth1: initializing cpsw version 1.12 (0)
    [   15.223613] libphy: PHY 4a101000.mdio:01 not found
    [   15.223639] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [   15.336075] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.472200] net eth0: initializing cpsw version 1.12 (0)
    [   15.524416] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   15.576332] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Found device /dev/mmcblk0p1.
    [   18.900483] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [  OK  ] Started Network Name Resolution.
    [   18.997396] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started uim-sysfs.service.
    [   21.117736] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   21.247438] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   21.330220] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   21.451697] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   21.471643] pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   21.621320] hub 1-0:1.0: USB hub found
    [   21.664186] hub 1-0:1.0: 1 port detected
    [   21.816803] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   21.872608] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   21.952430] hub 2-0:1.0: USB hub found
    [   21.979439] hub 2-0:1.0: 1 port detected
    [   22.305434] remoteproc remoteproc1: 4a334000.pru is available
    [   22.311348] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
    [   22.502707] remoteproc remoteproc2: 4a338000.pru is available
    [   22.508598] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm4
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn11
    	libmavconn
    	libmpc3
    	libmpfr4
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	python3-pycairo
    	socketcan-interface
    	which
    
    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  ] Reached target Sound Card.
             Starting rc.pvr.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [   25.638520] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
             Starting Start USB gadget...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started rc.pvr.service.
    [   25.999123] using random self ethernet address
    [   26.017212] using random host ethernet address
    [   26.021752] using host ethernet address: 2C:6B:7D:4A:80:F8
    [   26.021815] using random self ethernet address
             [   26.072968] using random host ethernet address
    Starting weston.service...
    [   26.078354] using host ethernet address: 2C:6B:7D:4A:80:F8
    [   26.089400] usb0: HOST MAC 2c:6b:7d:4a:80:f8
    [   26.145441] usb0: MAC 32:7b:8d:ba:1d:ca
    [   26.200299] Mass Storage Function, version: 2009/09/11
    [   26.222332] LUN: removable file: (no medium)
    [   26.226978] LUN: removable read only file: /dev/mmcblk0p1
    [  OK  ] Found device /dev/ttyGS0.
    [   26.272564] Number of LUNs=1
    [   26.302536] g_multi gadget: Multifunction Composite Gadget
    [   26.308110] g_multi gadget: g_multi ready
    [   26.458583] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [  OK  ] Started Start USB gadget.
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [   26.929082] g_multi gadget: high-speed config #2: Multifunction with CDC ECM
    [   26.947214] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.04 am335x-evm ttyS0
    
    am335x-evm login: root
    
    78root@am335x-evm:~# ifc   ethtool eth0
    Settings for eth0:
    	Supports Wake-on: d
    	Wake-on: d
    	Current message level: 0x00000000 (0)
    			       
    	Link detected: no
    root@am335x-evm:~# ethtool eth0rebootethtool eth0 1
    Settings for eth1:
    	Supports Wake-on: d
    	Wake-on: d
    	Current message level: 0x00000000 (0)
    			       
    	Link detected: no
    root@am335x-evm:~# [   93.388550] hrtimer: interrupt took 186000 ns
    [  138.600651] NET: Registered protocol family 15
    [  139.030108] Initializing XFRM netlink socket
    
    root@am335x-evm:~# poweroff
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Stopping User Manager for UID 0...
             Stopping NFS status monitor for NFSv2/3 locking....
             Stopping Save/Restore Sound Card State...
    [  OK  ] Stopped target Sound Card.
    [  OK  ] Stopped target Timers.
    [  OK  ] Stopped Daily rotation of log files.
             Stopping Session c1 of user root.
    [  OK  ] Stopped target Multi-User System.
             Stopping Kernel Logging Service...
    [  OK  ] Stopped target Containers.
             Stopping parse-ip.service...
             Stopping strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf...
             Stopping Lightning Fast Webserver With Light System Requirements...
             Stopping D-Bus System Message Bus...
             Stopping Job spooling tools...
             Stopping Simple Network Management Protocol (SNMP) Daemon....
             Stopping Hardware RNG Entropy Gatherer Daemon...
    [  OK  ] Stopped target Login Prompts.
             Stopping Serial Getty on ttyGS0...
             Stopping Serial Getty on ttyS0...
             Stopping Serial Getty on ttyS3...
             Stopping Avahi mDNS/DNS-SD Stack...
             Stopping System Logging Service...
             Stopping thermal-zone-init.service...
    [  OK  ] Stopped target System Time Synchronized.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
             Stopping Getty on tty1...
             Stopping Redis In-Memory Data Store...
             Stopping Periodic Command Scheduler...
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
    [  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Stopped Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Stopped Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Serial Getty on ttyGS0.
    [  OK  ] Stopped strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Stopped Serial Getty on ttyS3.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped parse-ip.service.
    [  OK  ] Stopped thermal-zone-init.service.
    [  OK  ] Stopped Redis In-Memory Data Store.
    [  OK  ] Stopped Session c1 of user root.
             Stopping matrix-gui-2.0.service...
             Stopping Start USB gadget...
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
             Stopping Permit User Sessions...
    [  OK  ] Removed slice system-getty.slice.
    [  OK  ] Stopped target Host and Network Name Lookups.
             Stopping RPC Bind Service...
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped RPC Bind Service.
    [  OK  ] Stopped matrix-gui-2.0.service.
    [  OK  ] Stopped Start USB gadget.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Remote File Systems.
             Stopping LSB: Redis, a key-value store...
    [  OK  ] Stopped LSB: Redis, a key-value store.
             Stopping rng-tools.service...
    [  OK  ] Stopped target Network is Online.
             Stopping Network Name Resolution...
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped rng-tools.service.
             Stopping busybox-udhcpd.service...
             Stopping thttpd.service...
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Stopped busybox-udhcpd.service.
    [  OK  ] Stopped thttpd.service.
    [  OK  ] Stopped Network Service.
             Stopping telnetd.service...
    [  OK  ] Stopped telnetd.service.
             Stopping rc.pvr.service...
    [  OK  ] Stopped rc.pvr.service.
             Stopping uim-sysfs.service...
    [  OK  ] Stopped uim-sysfs.service.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Closed RPCbind Server Activation Socket.
    [  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
             Stopping Load/Save Random Seed...
             Stopping Load/Save Screen Backlight…ightness of backlight:backlight...
    [  OK  ] Stopped Apply Kernel Variables.
             Stopping Network Time Synchronization...
    [  OK  ] Stopped Update is Completed.
    [  OK  ] Stopped Rebuild Journal Catalog.
    [  OK  ] Stopped Rebuild Dynamic Linker Cache.
    [  OK  ] Stopped Rebuild Hardware Database.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Removed slice system-systemd\x2dbacklight.slice.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /var/volatile...
             Unmounting /run/media/mmcblk0p1...
             Unmounting /media/ram...
             Unmounting /run/user/0...
             Unmounting Temporary Directory (/tmp)...
    [FAILED] Failed unmounting /var/volatile.
    [  OK  ] Unmounted /run/media/mmcblk0p1.
    [  OK  ] Unmounted /media/ram.
    [  OK  ] Unmounted /run/user/0.
    [FAILED] Failed unmounting Temporary Directory (/tmp).
    [  OK  ] Stopped target Swap.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Create System Users.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Reached target Shutdown.
    [  948.681420] systemd-shutdow: 22 output lines suppressed due to ratelimiting
    [  948.807772] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [  948.833649] systemd-journald[62]: Received SIGTERM from PID 1 (systemd-shutdow).
    [  949.005999] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [  949.024485] systemd-shutdown[1]: Unmounting file systems.
    [  949.031016] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
    [  949.041612] systemd-shutdown[1]: Unmounting /var/volatile.
    [  949.073808] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
    [  949.084187] systemd-shutdown[1]: Unmounting /tmp.
    [  949.113534] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  949.171767] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [  949.191232] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  949.200636] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [  949.207427] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  949.216515] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [  949.261792] reboot: System halted
    

    Hardware Description:

    p1.pdf

  • Hi,
    Looking at the boot log and earlier I am seeing this issue which is no link detected. If the PHY configured through HW to auto-negotiate then the link should be detected well before any software load. At the moment I would say this is a PHY issue . It looks like the DTS is correct and the PHY addresses are being detected in the boot log.

    ethtool eth0
    Settings for eth0:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no

    Best Regards,
    Schuyler
  • Hi Vamsi,

    Your schematic shows 100 ohm resistors across the pairs, designator R1608 to R1611. Please remove these resistors if they are present. The load resistors are integrated into the PHY and these will cause a problem.

    If removing those resistors doesn't resolve the issue, I would like to see the registers of your PHYs. This may require going into uboot, or installing a utility called phytool from here: https://github.com/wkz/phytool

    I would like to see register 0x5, 0x1, 0x0, 0x6f, 0x6e. while the PHYs are connected to a link partner. Please use a known good link partner and not another PHY on the same design. A known good link partner would be a PC that is set up to perform auto-negotiation and has any EEE functionality disabled.

    For registers 0x6e and 0x6f, please make sure to use the extended register access method as shown in the DP83867 datasheet.

    Best Regards,
  • We are getting rbias = 0V at pin number 12 of DP838675. What may be the reason for this? Is this causing any problem to get PHY up?
  • Hi Vamsi,

    Yes, RBIAS should be 1V. Usually RBIAS is up unless the PHY is in PWDN mode. Is the PWDN pin being pulled down? In PWDN, the registers will still be accessible.

    Best,
  • No, PWDN pin is pulled up. At PWDN pin, we are getting 3.3V. So what can be the reason for RBIAS = 0V?
  • We've removed those 100ohms resistors, but still it is not working. Can you please elaborate on it how to use the phytool to check the registers of PHYs.

    We installed and checked with phytool. Following is the result. Check this and suggest us what to do further.

    am335x-evm login: root
    root@am335x-evm:~# cd /home/phytool-master/
    root@am335x-evm:/home/phytool-master# phytool read usb0/0/1
    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool read eth0/0
    error: bad location format
    root@am335x-evm:/home/phytool-master# phytool read eth0/0[ 92.681772] hrtimer: interrupt took 183084 ns
    /2
    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool read eth0/0/
    error: bad location format
    root@am335x-evm:/home/phytool-master# phytool read eth0/0/1
    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool print eth0/0
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    ieee-phy: id:0xffa1ffa1

    error: phy_read (-95)

    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool print eth0/1
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    ieee-phy: id:0xffa1ffa1

    error: phy_read (-95)

    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool print eth1/1
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    ieee-phy: id:0xffa1ffa1

    error: phy_read (-95)

    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# phytool print eth1/0
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    error: phy_read (-95)
    ieee-phy: id:0xffa1ffa1

    error: phy_read (-95)

    error: phy_read (-95)
    root@am335x-evm:/home/phytool-master# [ 145.789686] NET: Registered protocol family 15
    [ 147.534965] Initializing XFRM netlink socket

    root@am335x-evm:/home/phytool-master#


    please help us in this regard.

    Thanks.
  • We've set the following strap modes for our custom board.

    for eth 0                  for eth 1

    Rx_D0                  Mode 1                   Mode 2

    Rx_D2                  Mode 1                   Mode 3

    Rx_CTRL             Mode 3                   Mode 3

    GPIO_0                 Mode 1                   Mode 1            

    GPIO_1                 Mode 4                   Mode 4

    LED_2                  Mode 4                   Mode 4

    LED_1                  Mode 3                   Mode 3

    LED_0                  Mode 1                    Mode 1

    We are getting RBIAS = 1V, GTX_CLK = 25 MHz, RX_CLK = 125 MHz. CLK_OUT = 25 MHz, RESET_n = 3.3 V, INT/PWDN = 3.3 V

    root@am335x-evm:~# ethtool eth1
    Settings for eth1:
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)
                       
        Link detected: no
    root@am335x-evm:~#

    How can we resolve this issue?

    Thanks

  • Hi Vamsi,

    It looks like your MAC isn't communicating with the PHY using MDIO.

    Phytool is throwing an error which says the operation isn't supported, and I am not sure what that means from their perspective.

    Because your GTX_CLK is = 25MHz, that indicates the MAC, which is responsible for sourcing GTX_CLK, does NOT know the PHY has established a 1G link. The PHY's RX_CLK outputting 125MHz means the link is up and in 1G mode.

    Can you enter uboot and access the registers of the PHYs? From your bootlog it seems like your PHYs aren't being detected.

    [ 15.223639] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [ 15.336075] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 15.472200] net eth0: initializing cpsw version 1.12 (0)
    [ 15.524416] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19

    Best Regards,
  • Yes. U are absolutely right. Now i've tweaked my driver. I changed it as follows.

    1) open ti-processor-sdk-linux-am335x-evm-05.00.00.15_3/board-support/linux-4.14.40+gitAUTOINC+4796173fc5-g4796173fc5/drivers/net/phy/dp83867.c

    2) go to line number 222.

    3) earlier my ret was ret = dp83867_of_init(phydev); this dp83867 driver has a problem.

    4) now i changed it to genphy. ret = genphy_config_init(phydev);

    5) now it is working.

    Thanks.