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/AM3359: DP83867 issue

Part Number: AM3359

Tool/software: Linux

Hello all,

                      We are bringing up a custom board based on am335x icev2 board.But in our custom board we are using DP83867 PHY chip.We are using gpio3[13] pin as PHY_RESETN.While booting we are getting the following error.We have been following other thread with similiar issue but could not find a solution.

[    1.021586] libphy: Fixed MDIO Bus: probed
[    1.093825] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.101530] davinci_mdio 4a101000.mdio: detected phy mask ffff7fff
[    1.108959] libphy: 4a101000.mdio: probed
[    1.113007] davinci_mdio 4a101000.mdio: phy[15]: device 4a101000.mdio:0f, driver TI DP83867
[    1.122425] cpsw 4a100000.ethernet: Detected MACID = c4:f3:12:e7:2a:4a
[    1.129232] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.135719] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.141019] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
...
...
...

        Starting Login Service...
[  OK  ] Started Job spooling tools.
[  OK  ] Started RPC Bind Service.
[  OK  ] Started telnetd.service.
[  OK  ] Started Network Service.
[   15.336884] net eth0: initializing cpsw version 1.12 (0)
[   15.428150] libphy: PHY 4a101000.mdio:00 not found
[   15.433008] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
[   15.644187] libphy: PHY 4a101000.mdio:01 not found
[   15.649073] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
[   15.961213] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Following is our dts file configuration:

6114.am335x-icev2.txt
/*
 * Copyright (C) 2016 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 ICE V2 board
 * http://www.ti.com/tool/tmdsice3359
 */

/dts-v1/;

#include "am33xx.dtsi"
#include <dt-bindings/net/ti-dp83867.h>

/ {
	model = "TI AM3359 ICE-V2";
	compatible = "ti,am3359-icev2", "ti,am33xx";

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

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

	leds-iio {
		status = "disabled";
		compatible = "gpio-leds";
		led-out0 {
			label = "out0";
			gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out1 {
			label = "out1";
			gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out2 {
			label = "out2";
			gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out3 {
			label = "out3";
			gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out4 {
			label = "out4";
			gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out5 {
			label = "out5";
			gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out6 {
			label = "out6";
			gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led-out7 {
			label = "out7";
			gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};
	};

	
	gpio-decoder {
		compatible = "gpio-decoder";
		gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
			<&pca9536 2 GPIO_ACTIVE_HIGH>,
			<&pca9536 1 GPIO_ACTIVE_HIGH>,
			<&pca9536 0 GPIO_ACTIVE_HIGH>;
		linux,axis = <0>; /* ABS_X */
		decoder-max-value = <9>;
	};

	
};

&am33xx_pinmux {

		

	i2c0_pins_default: i2c0_pins_default {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
			AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
		>;
	};

	spi0_pins_default: spi0_pins_default {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
			AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
			AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
			AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
			AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE0) /* (C15) spi0_cs1.spi0_cs1 */
			AM33XX_IOPAD(0x9a0, PIN_INPUT_PULLUP | MUX_MODE7) /* (B12) mcasp0_aclkr.gpio3[18] */
		>;
	};

	uart0_pins_default: uart0_pins_default {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* (E15) uart0_rxd.uart0_rxd */
			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (E16) uart0_txd.uart0_txd */
		>;
	};

	uart4_pins_default: uart4_pins_default {
	pinctrl-single,pins = <
		AM33XX_IOPAD(0x968, PIN_INPUT | MUX_MODE1) /* (E18) uart0_ctsn.uart4_rxd */
		AM33XX_IOPAD(0x96c, PIN_OUTPUT | MUX_MODE1) /* (E17) uart0_rtsn.uart4_txd */
	>;
	};



	uart1_pins_default: uart1_pins_default {
	pinctrl-single,pins = <
		AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* (D16) uart1_rxd.uart1_rxd */
		AM33XX_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) /* (D15) uart1_txd.uart1_txd */
	>;
	};

	

	uart2_pins_default: uart2_pins_default {
	pinctrl-single,pins = <
		AM33XX_IOPAD(0x900, PIN_INPUT | MUX_MODE3) /* (G17) mmc0_clk.uart2_rxd */
		AM33XX_IOPAD(0x904, PIN_OUTPUT | MUX_MODE3) /* (G18) mmc0_cmd.uart2_txd */
	>;
	};


	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 */
		AM33XX_IOPAD(0xA34, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (F15) USB1_DRVVBUS.gpio3[13] */
	>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
		AM33XX_IOPAD(0x914, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J16) gmii1_txen.rgmii1_tctl */
		AM33XX_IOPAD(0x918, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J17) gmii1_rxdv.rgmii1_rctl */
		AM33XX_IOPAD(0x92c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K18) gmii1_txclk.rgmii1_tclk */
		AM33XX_IOPAD(0x930, (PIN_INPUT_PULLDOWN | MUX_MODE7)) /* (L18) gmii1_rxclk.rgmii1_rclk */
		AM33XX_IOPAD(0x928, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K17) gmii1_txd0.rgmii1_td0 */
		AM33XX_IOPAD(0x924, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K16) gmii1_txd1.rgmii1_td1 */
		AM33XX_IOPAD(0x920, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K15) gmii1_txd2.rgmii1_td2 */
		AM33XX_IOPAD(0x91c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J18) gmii1_txd3.rgmii1_td3 */
		AM33XX_IOPAD(0x940, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (M16) gmii1_rxd0.rgmii1_rd0 */
		AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L15) gmii1_rxd1.rgmii1_rd1 */
		AM33XX_IOPAD(0x938, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L16) gmii1_rxd2.rgmii1_rd2 */
		AM33XX_IOPAD(0x934, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L17) gmii1_rxd3.rgmii1_rd3 */
		AM33XX_IOPAD(0xA34, PIN_OUTPUT_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))
		>;
	};
        
	nandflash_pins_s0: nandflash_pins_s0 {
                pinctrl-single,pins = <
                        AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad0.gpmc_ad0 */
                        AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad1.gpmc_ad1 */
                        AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad2.gpmc_ad2 */
                        AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad3.gpmc_ad3 */
                        AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad4.gpmc_ad4 */
                        AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad5.gpmc_ad5 */
                        AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad6.gpmc_ad6 */
                        AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad7.gpmc_ad7 */
                        AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_wait0.gpmc_wait0 */
                        AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7)       /* gpmc_wpn.gpio0_30 */
                        AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_csn0.gpmc_csn0  */
                        AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0)             /* gpmc_advn_ale.gpmc_advn_ale */
                        AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0)             /* gpmc_oen_ren.gpmc_oen_ren */
                        AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0)             /* gpmc_wen.gpmc_wen */
                        AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_be0n_cle.gpmc_be0n_cle */
                >;
        };
};
&i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins_default>;

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

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

	tpic2810: gpio@60 {
		compatible = "ti,tpic2810";
		reg = <0x60>;
		gpio-controller;
		#gpio-cells = <2>;
	};

	pca9536: gpio@41 {
		compatible = "ti,pca9536";
		reg = <0x41>;
		gpio-controller;
		#gpio-cells = <2>;
	};
};

&spi0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi0_pins_default>;

	sn65hvs882@1 {
		compatible = "pisosr-gpio";
		gpio-controller;
		#gpio-cells = <2>;

		load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;

		reg = <1>;
		spi-max-frequency = <1000000>;
		spi-cpol;
	};

	spi_nor: flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "winbond,w25q64", "jedec,spi-nor";
		spi-max-frequency = <80000000>;
		m25p,fast-read;
		reg = <0>;

		partition@0 {
			label = "u-boot-spl";
			reg = <0x0 0x80000>;
			read-only;
		};

		partition@1 {
			label = "u-boot";
			reg = <0x80000 0x100000>;
			read-only;
		};

		partition@2 {
			label = "u-boot-env";
			reg = <0x180000 0x20000>;
			read-only;
		};

		partition@3 {
			label = "misc";
			reg = <0x1A0000 0x660000>;
		};
	};

};

&tscadc {
	status = "okay";
	adc {
		ti,adc-channels = <1 2 3 4 5 6 7>;
	};
};

#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 {
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912500>;
			regulator-max-microvolt = <1326000>;
			regulator-boot-on;
			regulator-always-on;
		};

		vdd2_reg: regulator@3 {
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912500>;
			regulator-max-microvolt = <1144000>;
			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;
		};
	};
};


&gpio0 {
	/* Do not idle the GPIO used for holding the VTT regulator */
	ti,no-reset-on-init;
	ti,no-idle-on-init;

	p7 {
		gpio-hog;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "FET_SWITCH_CTRL";
	};
};

&uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins_default>;
	status = "okay";
};


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

&davinci_mdio {
pinctrl-names = "default", "sleep";
compatible = "ti, cpsw-mdio","ti,davinci_mdio";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>; 
ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>; 
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedence;
ti,dp83867-rxctrl-strap-quirk;

};

&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>;
};

&i2c1{
        compatible = "ti,omap4-i2c";
        #address-cells = <1>;
        #size-cells = <0>;
        ti,hwmods = "i2c2";
        reg = <0x4802a000 0x1000>;
        interrupts = <71>;
        status = "okay";
		ad7414@48 {
			compatible = "analog,ad7414";
        		reg = <0x48>;
      		  	status = "okay";
    			};
      };

&elm{
status = "okay"; 
};

&gpmc {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&nandflash_pins_s0>;
	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
	nand@0,0 {
		compatible = "ti,omap2-nand";
		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
		ti,nand-xfer-type = "prefetch-dma";
		ti,nand-ecc-opt = "bch8";
		ti,elm-id = <&elm>;
		nand-bus-width = <16>;
		gpmc,device-width = <1>;
		gpmc,sync-clk-ps = <0>;
		gpmc,cs-on-ns = <0>;
		gpmc,cs-rd-off-ns = <44>;
		gpmc,cs-wr-off-ns = <44>;
		gpmc,adv-on-ns = <6>;
		gpmc,adv-rd-off-ns = <34>;
		gpmc,adv-wr-off-ns = <44>;
		gpmc,we-on-ns = <0>;
		gpmc,we-off-ns = <40>;
		gpmc,oe-on-ns = <0>;
		gpmc,oe-off-ns = <54>;
		gpmc,access-ns = <64>;
		gpmc,rd-cycle-ns = <82>;
		gpmc,wr-cycle-ns = <82>;
		gpmc,bus-turnaround-ns = <0>;
		gpmc,cycle2cycle-delay-ns = <0>;
		gpmc,clk-activation-ns = <0>;
		gpmc,wr-access-ns = <40>;
		gpmc,wr-data-mux-bus-ns = <0>;
		/* MTD partition table */
		/* All SPL-* partitions are sized to minimal length
		 * which can be independently programmable. For
		 * NAND flash this is equal to size of erase-block */
		#address-cells = <1>;
		#size-cells = <1>;
		partition@0 {
			label = "NAND.SPL";
			reg = <0x00000000 0x000020000>;
		};
		partition@1 {
			label = "NAND.SPL.backup1";
			reg = <0x00020000 0x00020000>;
		};
		partition@2 {
			label = "NAND.SPL.backup2";
			reg = <0x00040000 0x00020000>;
		};
		partition@3 {
			label = "NAND.SPL.backup3";
			reg = <0x00060000 0x00020000>;
		};
		partition@4 {
			label = "NAND.u-boot-spl-os";
			reg = <0x00080000 0x00040000>;
		};
		partition@5 {
			label = "NAND.u-boot";
			reg = <0x000C0000 0x00100000>;
		};
		partition@6 {
			label = "NAND.u-boot-env";
			reg = <0x001C0000 0x00020000>;
		};
		partition@7 {
			label = "NAND.u-boot-env.backup1";
			reg = <0x001E0000 0x00020000>;
		};
		partition@8 {
			label = "NAND.kernel";
			reg = <0x00200000 0x00800000>;
		};
		partition@9 {
			label = "NAND.file-system";
			reg = <0x00A00000 0x0F600000>;
		};
	};
};

Regards,

Murugan S

  • Hi,

    Please complete this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • Hi Biser,

              These are the checklist results:

              1)  Kernel version :Linux am335x-evm 4.14.67-gd315a9bb00 #11 PREEMPT Sat Feb 2 17:32:16 IST 2019 armv7l GNU/Linux

              2)Filesystem:arago-base-tisdk-image-am335x-evm.ubi

              3)Custom board based on am3359 icev2,dts file :

    2425.am335x_icev2.txt
    /*
     * Copyright (C) 2016 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 ICE V2 board
     * http://www.ti.com/tool/tmdsice3359
     */
    
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/net/ti-dp83867.h>
    
    / {
    	model = "TI AM3359 ICE-V2";
    	compatible = "ti,am3359-icev2", "ti,am33xx";
    
    	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;
    	};
    
    	vtt_fixed: fixedregulator1 {
    		compatible = "regulator-fixed";
    		regulator-name = "vtt";
    		regulator-min-microvolt = <1500000>;
    		regulator-max-microvolt = <1500000>;
    		gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
    		regulator-always-on;
    		regulator-boot-on;
    		enable-active-high;
    	};
    
    	leds-iio {
    		status = "disabled";
    		compatible = "gpio-leds";
    		led-out0 {
    			label = "out0";
    			gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out1 {
    			label = "out1";
    			gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out2 {
    			label = "out2";
    			gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out3 {
    			label = "out3";
    			gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out4 {
    			label = "out4";
    			gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out5 {
    			label = "out5";
    			gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out6 {
    			label = "out6";
    			gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led-out7 {
    			label = "out7";
    			gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    	};
    
    	
    	gpio-decoder {
    		compatible = "gpio-decoder";
    		gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
    			<&pca9536 2 GPIO_ACTIVE_HIGH>,
    			<&pca9536 1 GPIO_ACTIVE_HIGH>,
    			<&pca9536 0 GPIO_ACTIVE_HIGH>;
    		linux,axis = <0>; /* ABS_X */
    		decoder-max-value = <9>;
    	};
    
    	
    };
    
    &am33xx_pinmux {
    
    		
    
    	i2c0_pins_default: i2c0_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
    			AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
    		>;
    	};
    
    	spi0_pins_default: spi0_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
    			AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
    			AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
    			AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
    			AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE0) /* (C15) spi0_cs1.spi0_cs1 */
    			AM33XX_IOPAD(0x9a0, PIN_INPUT_PULLUP | MUX_MODE7) /* (B12) mcasp0_aclkr.gpio3[18] */
    		>;
    	};
    
    	uart0_pins_default: uart0_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* (E15) uart0_rxd.uart0_rxd */
    			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (E16) uart0_txd.uart0_txd */
    		>;
    	};
    
    	uart4_pins_default: uart4_pins_default {
    	pinctrl-single,pins = <
    		AM33XX_IOPAD(0x968, PIN_INPUT | MUX_MODE1) /* (E18) uart0_ctsn.uart4_rxd */
    		AM33XX_IOPAD(0x96c, PIN_OUTPUT | MUX_MODE1) /* (E17) uart0_rtsn.uart4_txd */
    	>;
    	};
    
    
    
    	uart1_pins_default: uart1_pins_default {
    	pinctrl-single,pins = <
    		AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* (D16) uart1_rxd.uart1_rxd */
    		AM33XX_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) /* (D15) uart1_txd.uart1_txd */
    	>;
    	};
    
    	
    
    	uart2_pins_default: uart2_pins_default {
    	pinctrl-single,pins = <
    		AM33XX_IOPAD(0x900, PIN_INPUT | MUX_MODE3) /* (G17) mmc0_clk.uart2_rxd */
    		AM33XX_IOPAD(0x904, PIN_OUTPUT | MUX_MODE3) /* (G18) mmc0_cmd.uart2_txd */
    	>;
    	};
    
    
    	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 */
    		AM33XX_IOPAD(0xA34, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (F15) USB1_DRVVBUS.gpio3[13] */
    	>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    		AM33XX_IOPAD(0x914, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J16) gmii1_txen.rgmii1_tctl */
    		AM33XX_IOPAD(0x918, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J17) gmii1_rxdv.rgmii1_rctl */
    		AM33XX_IOPAD(0x92c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K18) gmii1_txclk.rgmii1_tclk */
    		AM33XX_IOPAD(0x930, (PIN_INPUT_PULLDOWN | MUX_MODE7)) /* (L18) gmii1_rxclk.rgmii1_rclk */
    		AM33XX_IOPAD(0x928, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K17) gmii1_txd0.rgmii1_td0 */
    		AM33XX_IOPAD(0x924, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K16) gmii1_txd1.rgmii1_td1 */
    		AM33XX_IOPAD(0x920, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (K15) gmii1_txd2.rgmii1_td2 */
    		AM33XX_IOPAD(0x91c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (J18) gmii1_txd3.rgmii1_td3 */
    		AM33XX_IOPAD(0x940, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (M16) gmii1_rxd0.rgmii1_rd0 */
    		AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L15) gmii1_rxd1.rgmii1_rd1 */
    		AM33XX_IOPAD(0x938, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L16) gmii1_rxd2.rgmii1_rd2 */
    		AM33XX_IOPAD(0x934, (PIN_INPUT_PULLDOWN | MUX_MODE7) ) /* (L17) gmii1_rxd3.rgmii1_rd3 */
    		AM33XX_IOPAD(0xA34, PIN_OUTPUT_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))
    		>;
    	};
            
    	nandflash_pins_s0: nandflash_pins_s0 {
                    pinctrl-single,pins = <
                            AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad0.gpmc_ad0 */
                            AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad1.gpmc_ad1 */
                            AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad2.gpmc_ad2 */
                            AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad3.gpmc_ad3 */
                            AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad4.gpmc_ad4 */
                            AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad5.gpmc_ad5 */
                            AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad6.gpmc_ad6 */
                            AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad7.gpmc_ad7 */
                            AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_wait0.gpmc_wait0 */
                            AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7)       /* gpmc_wpn.gpio0_30 */
                            AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_csn0.gpmc_csn0  */
                            AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0)             /* gpmc_advn_ale.gpmc_advn_ale */
                            AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0)             /* gpmc_oen_ren.gpmc_oen_ren */
                            AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0)             /* gpmc_wen.gpmc_wen */
                            AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_be0n_cle.gpmc_be0n_cle */
                    >;
            };
    };
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins_default>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: power-controller@2d {
    		reg = <0x2d>;
    	};
    
    	tpic2810: gpio@60 {
    		compatible = "ti,tpic2810";
    		reg = <0x60>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    
    	pca9536: gpio@41 {
    		compatible = "ti,pca9536";
    		reg = <0x41>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    };
    
    &spi0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&spi0_pins_default>;
    
    	sn65hvs882@1 {
    		compatible = "pisosr-gpio";
    		gpio-controller;
    		#gpio-cells = <2>;
    
    		load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
    
    		reg = <1>;
    		spi-max-frequency = <1000000>;
    		spi-cpol;
    	};
    
    	spi_nor: flash@0 {
    		#address-cells = <1>;
    		#size-cells = <1>;
    		compatible = "winbond,w25q64", "jedec,spi-nor";
    		spi-max-frequency = <80000000>;
    		m25p,fast-read;
    		reg = <0>;
    
    		partition@0 {
    			label = "u-boot-spl";
    			reg = <0x0 0x80000>;
    			read-only;
    		};
    
    		partition@1 {
    			label = "u-boot";
    			reg = <0x80000 0x100000>;
    			read-only;
    		};
    
    		partition@2 {
    			label = "u-boot-env";
    			reg = <0x180000 0x20000>;
    			read-only;
    		};
    
    		partition@3 {
    			label = "misc";
    			reg = <0x1A0000 0x660000>;
    		};
    	};
    
    };
    
    &tscadc {
    	status = "okay";
    	adc {
    		ti,adc-channels = <1 2 3 4 5 6 7>;
    	};
    };
    
    #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 {
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1326000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1144000>;
    			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;
    		};
    	};
    };
    
    
    &gpio0 {
    	/* Do not idle the GPIO used for holding the VTT regulator */
    	ti,no-reset-on-init;
    	ti,no-idle-on-init;
    
    	p7 {
    		gpio-hog;
    		gpios = <7 GPIO_ACTIVE_HIGH>;
    		output-high;
    		line-name = "FET_SWITCH_CTRL";
    	};
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins_default>;
    	status = "okay";
    };
    
    
    &mac {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    /*dual_emac = <1>;*/
    mode-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
    status = "okay";
    };
    
    
    
    &davinci_mdio {
    pinctrl-names = "default", "sleep";
    compatible = "ti, cpsw-mdio","ti,davinci_mdio";
    pinctrl-0 = <&davinci_mdio_default>;
    pinctrl-1 = <&davinci_mdio_sleep>;
    status = "okay";
    ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>;
    ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>;
    ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    ti,min-output-impedance;
    ti,dp83867-rxctrl-strap-quirk;
    };
    
    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <0x0>;
    phy-mode = "rgmii-id";
    status = "okay";
    };
    
    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <0x0>;
    phy-mode = "rgmii-id";
    status = "okay";
    };
    
    &i2c1{
            compatible = "ti,omap4-i2c";
            #address-cells = <1>;
            #size-cells = <0>;
            ti,hwmods = "i2c2";
            reg = <0x4802a000 0x1000>;
            interrupts = <71>;
            status = "okay";
    		ad7414@48 {
    			compatible = "analog,ad7414";
            		reg = <0x48>;
          		  	status = "okay";
        			};
          };
    
    &elm{
    status = "okay"; 
    };
    
    &gpmc {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&nandflash_pins_s0>;
    	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
    	nand@0,0 {
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-xfer-type = "prefetch-dma";
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <16>;
    		gpmc,device-width = <1>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <44>;
    		gpmc,cs-wr-off-ns = <44>;
    		gpmc,adv-on-ns = <6>;
    		gpmc,adv-rd-off-ns = <34>;
    		gpmc,adv-wr-off-ns = <44>;
    		gpmc,we-on-ns = <0>;
    		gpmc,we-off-ns = <40>;
    		gpmc,oe-on-ns = <0>;
    		gpmc,oe-off-ns = <54>;
    		gpmc,access-ns = <64>;
    		gpmc,rd-cycle-ns = <82>;
    		gpmc,wr-cycle-ns = <82>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    


    4)Boot log:
    1030.boot_log_feb5.txt
    U-Boot SPL 2018.01-00444-g96cdbefd5c-dirty (Jan 31 2019 - 16:06:34)
    Trying to boot from NAND
    
    
    U-Boot 2018.01-00444-g96cdbefd5c-dirty (Feb 04 2019 - 12:27:56 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  512 MiB
    ETH0, PRU
    ETH1, PRU
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Net:   Could not get PHY for cpsw: addr 1
    cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff43e ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.67-gd315a9bb00 (astra@astra-OptiPlex-3020) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #11 PREEMPT Sat Feb 2 17:32:16 IST 29
    [    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 AM3359 ICE-V2
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 456916K/524288K available (8192K kernel code, 318K rwdata, 2476K rodata, 1024K init, 275K bss, 18220K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d4fb08   ( 319 kB)
    [    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948a4   ( 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 25000000 Hz
    [    0.000016] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000048] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000243] timer_probe: no matching timers found
    [    0.000464] Console: colour dummy device 80x30
    [    0.000496] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000504] This ensures that you still see kernel messages. Please
    [    0.000511] update your kernel commandline.
    [    0.000542] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089047] pid_max: default: 32768 minimum: 301
    [    0.089247] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089262] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090090] CPU: Testing write buffer coherency: ok
    [    0.090860] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091021] Hierarchical SRCU implementation.
    [    0.091385] EFI services will not be available.
    [    0.092825] devtmpfs: initialized
    [    0.101329] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.101847] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.102164] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.102189] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106190] pinctrl core: initialized pinctrl subsystem
    [    0.106957] DMI not present or invalid.
    [    0.107400] NET: Registered protocol family 16
    [    0.109873] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.124576] omap_hwmod: debugss: _wait_target_disable failed
    [    0.177470] cpuidle: using governor ladder
    [    0.177512] cpuidle: using governor menu
    [    0.181815] GPIO line 7 (FET_SWITCH_CTRL) hogged as output/high
    [    0.182247] OMAP GPIO hardware version 0.1
    [    0.190336] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [    0.192475] No ATAGs?
    [    0.192492] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.205907] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.209773] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [    0.210721] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.210954] media: Linux media interface: v0.10
    [    0.211005] Linux video capture interface: v2.00
    [    0.211135] pps_core: LinuxPPS API ver. 1 registered
    [    0.211145] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.211170] PTP clock support registered
    [    0.211204] EDAC MC: Ver: 3.0.0
    [    0.211600] dmi: Firmware registration failed.
    [    0.212057] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.212414] Advanced Linux Sound Architecture Driver Initialized.
    [    0.213665] clocksource: Switched to clocksource timer1
    [    0.222287] NET: Registered protocol family 2
    [    0.223068] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.223124] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.223171] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.223274] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.223294] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.223455] NET: Registered protocol family 1
    [    0.224007] RPC: Registered named UNIX socket transport module.
    [    0.224024] RPC: Registered udp transport module.
    [    0.224031] RPC: Registered tcp transport module.
    [    0.224038] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.224975] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.225109] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.226638] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.231125] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.231952] NFS: Registering the id_resolver key type
    [    0.232002] Key type id_resolver registered
    [    0.232011] Key type id_legacy registered
    [    0.232062] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.234377] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.234401] io scheduler noop registered
    [    0.234409] io scheduler deadline registered
    [    0.234645] io scheduler cfq registered (default)
    [    0.234657] io scheduler mq-deadline registered
    [    0.234665] io scheduler kyber registered
    [    0.236036] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.288197] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.291432] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.934779] console [ttyS0] enabled
    [    0.940155] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.958670] brd: module loaded
    [    0.968605] loop: module loaded
    [    0.975023] m25p80 spi0.0: found s25fl064k, expected w25q64
    [    0.980650] m25p80 spi0.0: s25fl064k (8192 Kbytes)
    [    0.985643] 4 ofpart partitions found on MTD device spi0.0
    [    0.991153] Creating 4 MTD partitions on "spi0.0":
    [    0.996001] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.002374] 0x000000080000-0x000000180000 : "u-boot"
    [    1.008252] 0x000000180000-0x0000001a0000 : "u-boot-env"
    [    1.014428] 0x0000001a0000-0x000000800000 : "misc"
    [    1.020997] libphy: Fixed MDIO Bus: probed
    [    1.093762] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.101466] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.108893] libphy: 4a101000.mdio: probed
    [    1.112934] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.122221] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    1.128837] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [    1.135716] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    1.142188] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    1.148973] cpsw 4a100000.ethernet: Detected MACID = c4:f3:12:e7:2a:4a
    [    1.155667] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.162054] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.167370] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.175436] cpsw 4a100000.ethernet: cpsw: Detected MACID = c4:f3:12:e7:2a:4c
    [    1.183927] i2c /dev entries driver
    [    1.188148] IR NEC protocol handler initialized
    [    1.192707] IR RC5(x/sz) protocol handler initialized
    [    1.197837] IR RC6 protocol handler initialized
    [    1.202386] IR JVC protocol handler initialized
    [    1.206949] IR Sony protocol handler initialized
    [    1.211584] IR SANYO protocol handler initialized
    [    1.216319] IR Sharp protocol handler initialized
    [    1.221042] IR MCE Keyboard/mouse protocol handler initialized
    [    1.226995] IR XMP protocol handler initialized
    [    1.233578] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.240796] sdhci: Secure Digital Host Controller Interface driver
    [    1.247118] sdhci: Copyright(c) Pierre Ossman
    [    1.251801] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.258096] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.267591] NET: Registered protocol family 10
    [    1.273585] Segment Routing with IPv6
    [    1.277552] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.284322] NET: Registered protocol family 17
    [    1.289069] Key type dns_resolver registered
    [    1.293588] omap_voltage_late_init: Voltage driver support not added
    [    1.305847] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.311036] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.318955] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xca
    [    1.325489] nand: Micron MT29F2G16ABAEAWP
    [    1.329522] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.337242] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.342737] 10 ofpart partitions found on MTD device omap2-nand.0
    [    1.348892] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.354342] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.360660] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.367504] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.374302] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.381022] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.388048] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.394815] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.401449] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.408848] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.418622] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.564080] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.573446] vrtc: supplied by vbat
    [    1.581212] vio: supplied by vbat
    [    1.586197] vdd1: supplied by vbat
    [    1.591505] vdd2: supplied by vbat
    [    1.597104] random: fast init done
    [    1.601871] vdig1: supplied by vbat
    [    1.606767] vdig2: supplied by vbat
    [    1.611609] vpll: supplied by vbat
    [    1.616493] vdac: supplied by vbat
    [    1.621305] vaux1: supplied by vbat
    [    1.626214] vaux2: supplied by vbat
    [    1.631053] vaux33: supplied by vbat
    [    1.636111] vmmc: supplied by vbat
    [    1.640942] vbb: supplied by vbat
    [    1.646155] pca953x 0-0041: 0-0041 supply vcc not found, using dummy regulator
    [    1.655147] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.661102] ubi0: attaching mtd13
    [    2.467235] ubi0: scanning is finished
    [    2.483636] ubi0: attached mtd13 (name "NAND.file-system", size 246 MiB)
    [    2.490689] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    2.497625] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    2.504371] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    2.511363] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    2.517518] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.524792] ubi0: max/mean erase counter: 6/1, WL threshold: 4096, image sequence number: 935963569
    [    2.533916] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [    2.543273] ubi0: background thread "ubi_bgt0d" started, PID 44
    [    2.549585] hctosys: unable to open rtc device (rtc0)
    [    2.555456] ALSA device list:
    [    2.555461]   No soundcards found.
    [    2.573720] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 45
    [    2.638163] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    2.645675] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.655701] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    2.666466] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    2.672329] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID C8F4E3B6-7FEB-486F-ABEC-EEF47A9446C1, small LPT model
    [    2.685115] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    2.692305] devtmpfs: mounted
    [    2.697183] Freeing unused kernel memory: 1024K
    [    2.937783] systemd[1]: System time before build time, advancing clock.
    [    3.027515] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4)
    [    3.049290] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.08!
    
    [    3.086370] systemd[1]: Set hostname to <am335x-evm>.
    [    3.113722] NOHZ: local_softirq_pending 40
    [    3.463732] NOHZ: local_softirq_pending 40
    [    3.503726] NOHZ: local_softirq_pending 40
    [    3.523725] NOHZ: local_softirq_pending 40
    [    3.792164] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.801203] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.844344] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.851263] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.884038] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.891226] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.935214] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.964568] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.994506] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.034470] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Listening on udev Kernel Socket.
             Starting Load Kernel Modules...
    [  OK  ] Listening on udev Control Socket.
    [    4.312907] cryptodev: loading out-of-tree module taints kernel.
    [    4.321423] cryptodev: driver 1.9 loaded.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
             Starting Journal Service...
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Debug File System...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Journal Service.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
             Starting Rebuild Hardware Database...
             Starting Create System Users...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create System Users.
             Starting Create Static Device Nodes in /dev...
    [    5.347322] systemd-journald[64]: Received request to flush runtime journal from PID 1
    [    5.413736] NOHZ: local_softirq_pending 40Storage.
    
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [    6.013732] NOHZ: local_softirq_pending 40
    [  OK  ] Started Create Volatile Files and Directories.
    [    6.173724] NOHZ: local_softirq_pending 40
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [    6.603738] NOHZ: local_softirq_pending 40
    [    8.283734] NOHZ: local_softirq_pending 40
    [  OK  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [    8.993731] NOHZ: local_softirq_pending 40
    [  OK  ] Started Update is Completed.
    [   10.595468] input: gpio-decoder as /devices/platform/gpio-decoder/input/input0
    [   10.745181] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [   10.824385] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
    [   12.064093] random: crng init done
    [   12.067547] random: 7 urandom warning(s) missed due to ratelimiting
    [   12.364452] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   12.540521] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   12.609136] omap-aes 53500000.aes: will run requests pump with realtime priority
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting telnetd.service...
    [   13.471432] remoteproc remoteproc0: wkup_m3 is available
    [  OK  ] Started System Logging Service.
             Starting Login Service...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Periodic Command Scheduler.
    [   13.846966] remoteproc remoteproc0: powering up wkup_m3
    [   13.856671] PM: Cannot get wkup_m3_ipc handle
    [  OK  ] Reached target Containers.
             Starting RPC Bind Service...
    [  OK  ] Started Job spooling tools.
             Starting Network Service...
    [   14.184878] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   14.193281] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   14.199852] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started telnetd.service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started Network Service.
    [   16.024198] net eth1: initializing cpsw version 1.12 (0)
    [   16.106574] net eth1: phy "4a101000.mdio:00" not found on slave 1, err -19
    [   16.221728] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Found device /dev/ttyS3.
    [   16.489587] net eth0: initializing cpsw version 1.12 (0)
    [   16.631987] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   16.773339] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
             Starting thttpd.service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Synchronize System and HW clocks.
             Starting rng-tools.service...
    [   18.795560] PM: bootloader does not support rtc-only!
    [  OK  ] Started rng-tools.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            binutils
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libdw1
            libelf1
            libreadline7
            m4
            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 Network Name Resolution.
    [  OK  ] Started Print notice about GPLv3 packages.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.08 am335x-evm ttyS0
    
    


    5)ethtool eth0:

           Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Speed: 10Mb/s
            Duplex: Half
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
                                   
            Link detected: no

    6)ethtool -S eth0

    NIC statistics:
         Good Rx Frames: 0
         Broadcast Rx Frames: 0
         Multicast Rx Frames: 0
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 0
         Good Tx Frames: 0
         Broadcast Tx Frames: 0
         Multicast Tx Frames: 0
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 0
         Rx + Tx 64 Octet Frames: 0
         Rx + Tx 65-127 Octet Frames: 0
         Rx + Tx 128-255 Octet Frames: 0
         Rx + Tx 256-511 Octet Frames: 0
         Rx + Tx 512-1023 Octet Frames: 0
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 0
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 127
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 0
         Rx DMA chan 0: good_dequeue: 0
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 0
         Tx DMA chan 0: tail_enqueue: 0
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 0
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 0
         Tx DMA chan 0: empty_dequeue: 0
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: good_dequeue: 0
         Tx DMA chan 0: requeue: 0
         Tx DMA chan 0: teardown_dequeue: 0

    7)ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr C4:F3:12:E7:2A:4A  
              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

    Additional details:We are using a custom board with a dp83867 PHY chip and one ethernet port.From the boot log its seems like the PHY is being detected
     but no link is detected by the PHY.


    Regards,
    Murugan S






  • Hi Biser,
    We resolved the issue.Link was not detected because of the ethernet cable issue.Now 100Mbps link is established.Our requirement is 1000Mbps.What configuration is to be changed for 1000Mbps connection?

    Regards,
    Murugan S

  • Hi,

    This thread was showing as resolved so I had not read it until now. The easiest way to establish a connection that is 1Gbps is connect with a link partner that will auto-negotiate to that speed. Is that not happening in this case?

    Best Regards,
    Schuyler