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.

PROCESSOR-SDK-AM335X: PING fails

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3359, AM3352, TPS65910

Hi,


We are working on a custom board based on AM3359. Our board is booting successfully and working fine.

But PING is not working and data transfer is also not happening..

While I was searching in the internet, I came across the below link and based on that I am here posting all the details and logs regarding our custom board.

http://processors.wiki.ti.com/index.php/Ethernet_Triage_Checklist_for_AM3x/4x/5x_CPSW

uname -a:

Linux am335x-evm 4.14.40-g4796173fc5 #5 PREEMPT Tue Jun 4 15:44:33 IST 2019 armv7l GNU/Linux

Filesystem:

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

Our custom board DTS File:

/*
 * 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/gpio/gpio.h>
#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;
	};


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

	/* Added the following node for the processor done led to glow on 21-05-2019*/

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&leds_pins>;

		processor_done {
			gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
			//post-power-on-delay-ms = <1000000>; /* to be tested ??? */
			default-state = "off";
		};
	};


	//lcd_bl: backlight {
	//	compatible = "pwm-backlight";
	//	pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
	//	brightness-levels = <0 58 61 66 75 90 125 170 255>;
	//	default-brightness-level = <8>;
	//};
	
	//sound {
	//	compatible = "simple-audio-card";
	//	simple-audio-card,name = "AM335x-EVMSK";
	//	simple-audio-card,widgets =
	//		"Headphone", "Headphone Jack";
	//	simple-audio-card,routing =
	//		"Headphone Jack",	"HPLOUT",
	//		"Headphone Jack",	"HPROUT";
	//	simple-audio-card,format = "dsp_b";
	//	simple-audio-card,bitclock-master = <&sound_master>;
	//	simple-audio-card,frame-master = <&sound_master>;
	//	simple-audio-card,bitclock-inversion;

	//	simple-audio-card,cpu {
	//		sound-dai = <&mcasp1>;
	//	};

	//	sound_master: simple-audio-card,codec {
	//		sound-dai = <&tlv320aic3106>;
	//		system-clock-frequency = <24000000>;
	//	};
	//};

	//panel {
	//	compatible = "ti,tilcdc,panel";
	//	pinctrl-names = "default", "sleep";
		//pinctrl-0 = <&lcd_pins_default>;
		//pinctrl-1 = <&lcd_pins_sleep>;
		//backlight = <&lcd_bl>;
	//	status = "okay";
	//	panel-info {
	///		ac-bias		= <255>;
	//		ac-bias-intrpt	= <0>;
	//		dma-burst-sz	= <16>;
	//		bpp		= <32>;
	//		fdd		= <0x80>;
	//		sync-edge	= <0>;
	//		sync-ctrl	= <1>;
	//		raster-order	= <0>;
	//		fifo-th		= <0>;
	//	};
	//	display-timings {
	//		480x272 {
	//			hactive		= <480>;
	//			vactive		= <272>;
	//			hback-porch	= <43>;
	//			hfront-porch	= <8>;
	//			hsync-len	= <4>;
	//			vback-porch	= <12>;
	//			vfront-porch	= <4>;
	//			vsync-len	= <10>;
	//			clock-frequency = <9000000>;
	//			hsync-active	= <0>;
	//			vsync-active	= <0>;
	//		};
	//	};
	//};
};

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

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

	//emmc_reset: emmc_reset {
          //      pinctrl-single,pins = <
            //            0x07c (PIN_OUTPUT_PULLUP | MUX_MODE7)   /* gpmc_csn0.mmc1_rstn */
              //  >;
        //};

	lcd_pins_default: lcd_pins_default {
		pinctrl-single,pins = <
			//AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad8.lcd_data23 */
			//AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad9.lcd_data22 */
			//AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad10.lcd_data21 */
			//AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad11.lcd_data20 */
			//AM33XX_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad12.lcd_data19 */
			//AM33XX_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad13.lcd_data18 */
			//AM33XX_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad14.lcd_data17 */
			//AM33XX_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad15.lcd_data16 */
			AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data0.lcd_data0 */
			AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data1.lcd_data1 */
			AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data2.lcd_data2 */
			AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)	/* lcd_data3.lcd_data3 */
			AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data4.lcd_data4 */
			AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data5.lcd_data5 */
			AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data6.lcd_data6 */
			AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data7.lcd_data7 */
			AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data8.lcd_data8 */
			AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data9.lcd_data9 */
			AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data10.lcd_data10 */
			AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data11.lcd_data11 */
			AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data12.lcd_data12 */
			AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data13.lcd_data13 */
			AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data14.lcd_data14 */
			AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data15.lcd_data15 */
			//AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync.lcd_vsync */
			//AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync.lcd_hsync */
			//AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk.lcd_pclk */
			//AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en.lcd_ac_bias_en */
		>;
	};

	lcd_pins_sleep: lcd_pins_sleep {
		pinctrl-single,pins = <
			//AM33XX_IOPAD(0x820, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad8.lcd_data23 */
			//AM33XX_IOPAD(0x824, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad9.lcd_data22 */
			//AM33XX_IOPAD(0x828, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad10.lcd_data21 */
			//AM33XX_IOPAD(0x82c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad11.lcd_data20 */
			//AM33XX_IOPAD(0x830, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad12.lcd_data19 */
			//AM33XX_IOPAD(0x834, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad13.lcd_data18 */
			//AM33XX_IOPAD(0x838, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad14.lcd_data17 */
			//AM33XX_IOPAD(0x83c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad15.lcd_data16 */
			AM33XX_IOPAD(0x8a0, PULL_DISABLE | MUX_MODE7)	/* lcd_data0.lcd_data0 */
			AM33XX_IOPAD(0x8a4, PULL_DISABLE | MUX_MODE7)	/* lcd_data1.lcd_data1 */
			AM33XX_IOPAD(0x8a8, PULL_DISABLE | MUX_MODE7)	/* lcd_data2.lcd_data2 */
			AM33XX_IOPAD(0x8ac, PULL_DISABLE | MUX_MODE7)	/* lcd_data3.lcd_data3 */
			AM33XX_IOPAD(0x8b0, PULL_DISABLE | MUX_MODE7)	/* lcd_data4.lcd_data4 */
			AM33XX_IOPAD(0x8b4, PULL_DISABLE | MUX_MODE7)	/* lcd_data5.lcd_data5 */
			AM33XX_IOPAD(0x8b8, PULL_DISABLE | MUX_MODE7)	/* lcd_data6.lcd_data6 */
			AM33XX_IOPAD(0x8bc, PULL_DISABLE | MUX_MODE7)	/* lcd_data7.lcd_data7 */
			AM33XX_IOPAD(0x8c0, PULL_DISABLE | MUX_MODE7)	/* lcd_data8.lcd_data8 */
			AM33XX_IOPAD(0x8c4, PULL_DISABLE | MUX_MODE7)	/* lcd_data9.lcd_data9 */
			AM33XX_IOPAD(0x8c8, PULL_DISABLE | MUX_MODE7)	/* lcd_data10.lcd_data10 */
			AM33XX_IOPAD(0x8cc, PULL_DISABLE | MUX_MODE7)	/* lcd_data11.lcd_data11 */
			AM33XX_IOPAD(0x8d0, PULL_DISABLE | MUX_MODE7)	/* lcd_data12.lcd_data12 */
			AM33XX_IOPAD(0x8d4, PULL_DISABLE | MUX_MODE7)	/* lcd_data13.lcd_data13 */
			AM33XX_IOPAD(0x8d8, PULL_DISABLE | MUX_MODE7)	/* lcd_data14.lcd_data14 */
			AM33XX_IOPAD(0x8dc, PULL_DISABLE | MUX_MODE7)	/* lcd_data15.lcd_data15 */
			//AM33XX_IOPAD(0x8e0, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_vsync.lcd_vsync */
			//AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_hsync.lcd_hsync */
			//AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_pclk.lcd_pclk */
			//AM33XX_IOPAD(0x8ec, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_ac_bias_en.lcd_ac_bias_en */
		>;
	};

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

	uart1_pins: pinmux_uart1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_ctsn.uart1_ctsn */
			AM33XX_IOPAD(0x97C, PIN_OUTPUT_PULLUP | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
			AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
			AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
		>;
	};

	//uart2_pins: pinmux_uart2_pins {
	//	pinctrl-single,pins = <
	//		AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6)	/* uart0_rxd.uart0_rxd */
	//		AM33XX_IOPAD(0x874, PIN_OUTPUT_PULLDOWN | MUX_MODE6)	/* uart0_txd.uart0_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 */

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


	mmc2_pins: pinmux_mmc2_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad0.mmc1_dat0 */
			AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) 	/* gpmc_csn1.mmc1_clk */
			AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) 	/* gpmc_csn2.mmc1_cmd */
			//AM33XX_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad8.mmc1_dat0 */
			//AM33XX_IOPAD(0x824, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad9.mmc1_dat1 */
			//AM33XX_IOPAD(0x828, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad10.mmc1_dat2 */
			//AM33XX_IOPAD(0x82c, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad11.mmc1_dat3 */
			//AM33XX_IOPAD(0x830, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad12.mmc1_dat4 */
			//AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad13.mmc1_dat5 */
			//AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad14.mmc1_dat6 */
			//AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_ad15.mmc1_dat7 */
			//AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) 	/* gpmc_csn1.mmc1_clk */
			//AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) 	/* gpmc_csn2.mmc1_cmd */
			//AM33XX_IOPAD(0x87c, PIN_OUTPUT_PULLUP | MUX_MODE7) 	/* gpmc_csn0.mmc1_rstn */
			//AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE7) 	/* gpmc_csn3.mmc1_ds */
		>;
	};	

	gpmc_pins: pinmux_gpmc_pins {
		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(0x824, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad9.mmc1_dat1 */
			AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) 		/* gpmc_OEn_REn.gpmc_OEn_REn */
			AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) 		/* gpmc_ADVn_ALE.gpmc_ADVn_ALE */
			AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0)		/* gpmc_BEn0_CLE.gpmc_BEn0_CLE */
			AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0)		/* GPMC_WEn.GPMC_WEn */
			//AM33XX_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0 */
			//AM33XX_IOPAD(0x9B0, PIN_INPUT_PULLUP | MUX_MODE7)	/* XDMA_EVENT_INTR0.AM335X_LOC1 */
			//AM33XX_IOPAD(0x9B4, PIN_INPUT_PULLUP | MUX_MODE0)	/* XDMA_EVENT_INTR1.AM335X_LOC2 */
		>;
	};	
	
	spi0_pins: spi0_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) 	//spi0_sclk
			AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE0) 		//spi0_d0
			AM33XX_IOPAD(0x958, PIN_INPUT  | MUX_MODE0)		//spi0_d1
			AM33XX_IOPAD(0x95c, PIN_OUTPUT_PULLUP | MUX_MODE0)	//spi0_cs0
		>;
	};

	spi1_pins: spi1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x908, PIN_INPUT | MUX_MODE2)	/* mii1_col.spi1_sclk */
			AM33XX_IOPAD(0x90c, PIN_OUTPUT | MUX_MODE2)   	/* mii1_crs.spi1_d0 */
			AM33XX_IOPAD(0x910, PIN_INPUT | MUX_MODE2) 	/* mii1_rxerr.spi1_d1 */
			AM33XX_IOPAD(0x99c, PIN_OUTPUT | MUX_MODE3)	/* mcasp0_ahclkr.spi1_cs0 */
		>;
	};


	/* Added the following pin for the processor done led to glow on 21-05-2019*/

	leds_pins: leds_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x9a0, PIN_OUTPUT | MUX_MODE7)	  /* GPIO3_18 (for GCM board) - PROCESSOR_DONE */
			AM33XX_IOPAD(0xA34, PIN_INPUT_PULLUP | MUX_MODE7) /* GPIO3_13 (for GCM board) - LOC_ID_5 */
			AM33XX_IOPAD(0xA1C, PIN_OUTPUT | MUX_MODE7) 	  /* GPIO0_18 (for GCM board)  */	
			//AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE7)	  /* GPIO1_8 (for MGCM board) - PROCESSOR TP */
			//AM33XX_IOPAD(0x96C, PIN_OUTPUT | MUX_MODE7)	  /* GPIO1_9 (for MGCM board) - PROCESSOR TP */			
		>;
	};

};

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

	status = "okay";
};

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins>;

	status = "okay";
};

//&uart4 {
//	pinctrl-names = "default";
//	pinctrl-0 = <&uart2_pins>;
//
//	status = "okay";
//};

&spi0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi0_pins>;
    ti,pindir-d0-out-d1-in = <1>;

    spi_nor: flash@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        #compatible = "jedec,spi-nor";
	compatible = "jedec,spi-nor";
        spi-max-frequency = <3000000>;
        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@0 {
            label = "MasterSlaveWrite";
            //reg = <0x1A0000 0x1E60000>;
	    reg = <0x0 0x1E60000>;
        };
    };
};

&gpmc
{
	pinctrl-names = "default";
	pinctrl-0 = <&gpmc_pins>;
	ranges = <2 0 0x01000000 0x01000000>; /* fpga */
	status = "okay";
	fpga{
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <2 0 0x01000000>;
		bank-width = <2>;

		gpmc,sync-clk-ps=<0>; /* Minimum clock period for synchronous mode, in picoseconds */

		gpmc,cs-on-ns = <0>;		/* Assertion time */
		gpmc,cs-rd-off-ns = <10>;	/* Read deassertion time */
		gpmc,cs-wr-off-ns = <6>;	/* Write deassertion time */

		/* ADV signal timings (in nanoseconds) corresponding to GPMC_CONFIG3: */
		gpmc,adv-on-ns = <1>;		/* Assertion time */
		gpmc,adv-rd-off-ns = <1>;	/* Read deassertion time */
		gpmc,adv-wr-off-ns = <1>;	/* Write deassertion time */

		/* WE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4: */
		gpmc,we-on-ns = <1>;		/* Assertion time */
		gpmc,we-off-ns = <1>;		/* Deassertion time */

		/* OE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4: */
		gpmc,oe-on-ns = <3>;		/* Assertion time */
		gpmc,oe-off-ns = <10>;		/* Deassertion time */

		/* Access time and cycle time timings (in nanoseconds) corresponding to GPMC_CONFIG5: */
		gpmc,access-ns = <9>;			/* Start-cycle to first data valid delay */
		gpmc,page-burst-access-ns = <1>;	/* Multiple access word delay */
		gpmc,rd-cycle-ns = <9>;			/* Total read cycle time */
		gpmc,wr-cycle-ns = <6>;			/* Total write cycle time */


		gpmc,burst-length= <8>; 	//	Page/burst length. Must be 4, 8 or 16.
		gpmc,burst-wrap;		//	Enables wrap bursting
		gpmc,burst-read; 		//	Enables read page/burst mode
		gpmc,burst-write;		//	Enables write page/burst mode

		gpmc,device-width=<1>;/* Total width of device(s) connected to a GPMC chip-select in bytes. The GPMC supports 8-bit and 16-bit devices 						and so this property must be 1 or 2. */

		//gpmc,sync-read;
		//gpmc,sync-write;
	};
};

&spi1
{
	pinctrl-names = "default";
	pinctrl-0 = <&spi1_pins>;
	ti,pindir-d0-out-d1-in = <1>;
	status = "okay";
	spidev@1
	{
		pinctrl-0 = <&spi1_pins>;
		compatible = "spidev";
		spi-max-frequency = <48000000>;
		reg = <0>;
	};
};

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

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

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

	lis331dlh: lis331dlh@18 {
		compatible = "st,lis331dlh", "st,lis3lv02d";
		reg = <0x18>;
		Vdd-supply = <&lis3_reg>;
		Vdd_IO-supply = <&lis3_reg>;

		st,click-single-x;
		st,click-single-y;
		st,click-single-z;
		st,click-thresh-x = <10>;
		st,click-thresh-y = <10>;
		st,click-thresh-z = <10>;
		st,irq1-click;
		st,irq2-click;
		st,wakeup-x-lo;
		st,wakeup-x-hi;
		st,wakeup-y-lo;
		st,wakeup-y-hi;
		st,wakeup-z-lo;
		st,wakeup-z-hi;
		st,min-limit-x = <120>;
		st,min-limit-y = <120>;
		st,min-limit-z = <140>;
		st,max-limit-x = <550>;
		st,max-limit-y = <550>;
		st,max-limit-z = <750>;
	};

	tlv320aic3106: tlv320aic3106@1b {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x1b>;
		status = "okay";

		/* Regulators */
		AVDD-supply = <&vaux2_reg>;
		IOVDD-supply = <&vaux2_reg>;
		DRVDD-supply = <&vaux2_reg>;
		DVDD-supply = <&vbat>;
	};
};

&usb {
	status = "disabled";
};

&usb_ctrl_mod {
	status = "disabled";
};

&usb0_phy {
	status = "disabled";
};

//&usb1_phy {
//	status = "disabled";
//};

&usb0 {
	status = "disabled";
};

//&usb1 {
//	status = "disabled";
//	dr_mode = "host";
//};

&cppi41dma  {
	status = "okay";
};

&epwmss2 {
	status = "okay";

	ecap2: ecap@48304100 {
		status = "okay";
		pinctrl-names = "default";
		//pinctrl-0 = <&ecap2_pins>;
	};
};

&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 = <3300000>;
			regulator-max-microvolt = <3300000>;
			gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
			enable-active-high;
			regulator-always-on;
			regulator-boot-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>, <5>;
	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 {
	status = "okay";
	ti,no-reset-on-init;
};

&mmc2 {
	status = "okay";
	vmmc-supply = <&vmmc_reg>;
	ti,non-removable;
	bus-width = <1>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_pins>;

};

&tscadc {
	status = "okay";
	tsc {
		ti,wires = <4>;
		ti,x-plate-resistance = <200>;
		ti,coordinate-readouts = <5>;
		ti,wire-config = <0x00 0x11 0x22 0x33>;
	};
};

&lcdc {
	status = "okay";

	blue-and-red-wiring = "crossed";
};

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

Console log of the boot process:

U-Boot SPL 2018.01-00228-g4579b130f0-dirty (May 07 2019 - 18:07:48)          
Trying to boot from MMC2                                                     
** Bad device mmc 0 **                                                       
Using default environment                                                    
                                        
reading u-boot.img                      
reading u-boot.img                      
reading u-boot.img                      
reading u-boot.img                      
bootlist count 9,5                      


U-Boot 2018.01-00228-g4579b130f0-dirty (May 07 2019 - 18:07:48 +0530)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM
DRAM:  256 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
3850752 bytes read in 677 ms (5.4 MiB/s)
37643 bytes read in 21 ms (1.7 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8df01000, end 8df0d30a ...
Starting kernel ...

[    0.000000] I can't wait to receive it. Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.40-g4796173fc5 (sbr@sbr-Lenovo-B50-80) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5 PREEMPT Tue Jun 4 159
[    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=70a1b8c9-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: 197276K/262144K available (8192K kernel code, 318K rwdata, 2436K rodata, 1024K init, 275K bss, 15716K reserved, 49152K cma-rese)
[    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 - 0xc0d4fb88   ( 319 kB)
[    0.000000]        .bss : 0xc0d4fb88 - 0xc0d9493c   ( 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.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000059] OMAP clocksource: timer1 at 24000000 Hz
[    0.000277] timer_probe: no matching timers found
[    0.000532] Console: colour dummy device 80x30
[    0.000565] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000574] This ensures that you still see kernel messages. Please
[    0.000582] update your kernel commandline.
[    0.000617] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.118766] pid_max: default: 32768 minimum: 301
[    0.119006] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119961] CPU: Testing write buffer coherency: ok
[    0.120783] Setting up static identity map for 0x80100000 - 0x80100060
[    0.120965] Hierarchical SRCU implementation.
[    0.121387] EFI services will not be available.
[    0.123139] devtmpfs: initialized
[    0.133918] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[    0.134458] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.134816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.134844] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.139226] pinctrl core: initialized pinctrl subsystem
[    0.140071] DMI not present or invalid.
[    0.140554] NET: Registered protocol family 16
[    0.143319] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.161489] omap_hwmod: debugss: _wait_target_disable failed
[    0.216064] cpuidle: using governor ladder
[    0.216109] cpuidle: using governor menu
[    0.221734] OMAP GPIO hardware version 0.1
[    0.232711] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpmc_pins, deferring probe
[    0.235368] No ATAGs?
[    0.235384] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.252761] edma 49000000.edma: TI EDMA DMA engine driver
[    0.257354] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.257530] media: Linux media interface: v0.10
[    0.257585] Linux video capture interface: v2.00
[    0.257739] pps_core: LinuxPPS API ver. 1 registered
[    0.257750] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.257780] PTP clock support registered
[    0.257825] EDAC MC: Ver: 3.0.0
[    0.258384] dmi: Firmware registration failed.
[    0.259051] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.259470] Advanced Linux Sound Architecture Driver Initialized.
[    0.260853] clocksource: Switched to clocksource timer1
[    0.271892] NET: Registered protocol family 2
[    0.272784] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.272830] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.272867] TCP: Hash tables configured (established 2048 bind 2048)
[    0.272984] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.273011] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.273182] NET: Registered protocol family 1
[    0.273686] RPC: Registered named UNIX socket transport module.
[    0.273704] RPC: Registered udp transport module.
[    0.273713] RPC: Registered tcp transport module.
[    0.273722] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.274812] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.274955] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.276775] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.282618] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.283503] NFS: Registering the id_resolver key type
[    0.283556] Key type id_resolver registered
[    0.283567] Key type id_legacy registered
[    0.283620] ntfs: driver 2.1.32 [Flags: R/O].
[    0.286052] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.286077] io scheduler noop registered
[    0.286089] io scheduler deadline registered
[    0.286362] io scheduler cfq registered (default)
[    0.286378] io scheduler mq-deadline registered
[    0.286388] io scheduler kyber registered
[    0.288104] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.355733] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.359527] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.991095] console [ttyS0] enabled
[    0.995832] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    1.005823] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 32, base_baud = 3000000) is a 8250
[    1.016802] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.025408] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.031734] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.038184] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.044211] tilcdc 4830e000.lcdc: no encoders/connectors found
[    1.062303] brd: module loaded
[    1.073815] loop: module loaded
[    1.080110] m25p80 spi0.0: unrecognized JEDEC id bytes(spi-nor.c): ff, ff, ff
[    1.087564] m25p80: probe of spi0.0 failed with error -2
[    1.095012] libphy: Fixed MDIO Bus: probed
[    1.170945] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.178652] davinci_mdio 4a101000.mdio: detected phy mask ffffffde
[    1.187007] libphy: 4a101000.mdio: probed
[    1.191175] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
[    1.199484] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver TI DP83867
[    1.208838] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[    1.217381] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[    1.223917] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
[    1.230657] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:de:a5:e2
[    1.237381] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.243804] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.249102] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.257314] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:de:a5:e4
[    1.265977] i2c /dev entries driver
[    1.270050] IR NEC protocol handler initialized
[    1.274687] IR RC5(x/sz) protocol handler initialized
[    1.279765] IR RC6 protocol handler initialized
[    1.284335] IR JVC protocol handler initialized
[    1.288886] IR Sony protocol handler initialized
[    1.293655] IR SANYO protocol handler initialized
[    1.298383] IR Sharp protocol handler initialized
[    1.303136] IR MCE Keyboard/mouse protocol handler initialized
[    1.308995] IR XMP protocol handler initialized
[    1.315531] cpuidle: enable-method property 'ti,am3352' found operations
[    1.322840] sdhci: Secure Digital Host Controller Interface driver
[    1.329054] sdhci: Copyright(c) Pierre Ossman
[    1.335086] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.342287] ledtrig-cpu: registered to indicate activity on CPUs
[    1.352506] NET: Registered protocol family 10
[    1.358725] Segment Routing with IPv6
[    1.362686] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.369469] NET: Registered protocol family 17
[    1.374378] Key type dns_resolver registered
[    1.378929] omap_voltage_late_init: Voltage driver support not added
[    1.392161] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.397356] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.431125] tps65910 0-002d: No interrupt support, no core IRQ
[    1.439341] vrtc: supplied by vbat
[    1.446664] vio: supplied by vbat
[    1.451677] vdd1: supplied by vbat
[    1.457062] vdd2: supplied by vbat
[    1.463564] random: fast init done
[    1.467469] vdig1: supplied by vbat
[    1.472531] vdig2: supplied by vbat
[    1.477522] vpll: supplied by vbat
[    1.482450] vdac: supplied by vbat
[    1.487367] vaux1: supplied by vbat
[    1.492396] vaux2: supplied by vbat
[    1.497390] vaux33: supplied by vbat
[    1.502506] vmmc: supplied by vbat
[    1.507429] vbb: supplied by vbat
[    1.512640] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.582181] hctosys: unable to open rtc device (rtc0)
[    1.588204] lis3_reg: disabling
[    1.592096] ALSA device list:
[    1.596198]   No soundcards found.
[    1.603381] Waiting for root device PARTUUID=70a1b8c9-02...
[    1.657411] mmc0: new high speed MMC card at address 0001
[    1.664366] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB
[    1.669166] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
[    1.675373] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
[    1.681827] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB
[    1.689668]  mmcblk0: p1 p2
[    3.515065] EXT4-fs (mmcblk0p2): recovery complete
[    3.521555] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.529830] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.537925] devtmpfs: mounted
[    3.543534] Freeing unused kernel memory: 1024K
[    4.391087] systemd[1]: System time before build time, advancing clock.
[    4.507301] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNU)
[    4.528983] systemd[1]: Detected architecture arm.

Welcome to Arago 2018.04!

[    4.573036] systemd[1]: Set hostname to <am335x-evm>.
[    5.150159] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
[    5.518416] random: systemd: uninitialized urandom read (16 bytes read)
[    5.526011] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.561354] random: systemd: uninitialized urandom read (16 bytes read)
[    5.568551] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.611486] random: systemd: uninitialized urandom read (16 bytes read)
[    5.618373] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.670503] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    5.701625] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.742390] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
         Mounting Kernel Debug File System...
         Mounting POSIX Message Queue File System...
         Mounting Temporary Directory (/tmp)...
[  OK  ] Listening on Journal Socket.
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    6.494864] cryptodev: loading out-of-tree module taints kernel.
[    6.535271] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Mounted Temporary Directory (/tmp).
[    6.561458] cryptodev: driver 1.9 loaded.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Create System Users...
[    6.675603] usbcore: registered new interface driver usbfs
         [    6.701212] usbcore: registered new interface driver hub
Starting Rebuild Hardware Database...
[    6.726732] usbcore: registered new device driver usb
[  OK  ] Started Journal Service.
[    6.778327] usbcore: registered new interface driver usbserial
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[    7.220367] systemd-journald[65]: Received request to flush runtime journal from PID 1
         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.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Journal Catalog...
[  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 Update is Completed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Update is Completed.
[   13.041416] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  OK  ] Found device /dev/ttyS0.
[   13.133175] omap_rtc 44e3e000.rtc: registered as rtc0
[   13.193665] tlv320aic3x-codec 0-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
         Starting Network Service...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Job spooling tools.
[   13.837224] spidev spi1.0: buggy DT: spidev listed directly in DT
         [   13.922879] ------------[ cut here ]------------
Starting Avahi mDNS/DNS-SD Stack...
[   13.967941] WARNING: CPU: 0 PID: 107 at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work-shared/am335x-evm/kernel-source/drivers/spi]
[   13.967948] Modules linked in: spidev(+) snd_soc_tlv320aic3x rtc_omap omap_wdt ti_am335x_tscadc sch_fq_codel uio_module_drv(O) uio usbserial usbcor)
[   13.967996] CPU: 0 PID: 107 Comm: systemd-udevd Tainted: G           O    4.14.40-g4796173fc5 #5
[   13.968000] Hardware name: Generic AM33XX (Flattened Device Tree)
[   13.968003] Backtrace:
[   13.968038] [<c010ba48>] (dump_backtrace) from [<c010bd2c>] (show_stack+0x18/0x1c)
[   13.968048]  r7:00000009 r6:00000000 r5:bf0b84a0 r4:00000000
[   13.968069] [<c010bd14>] (show_stack) from [<c082de28>] (dump_stack+0x24/0x28)
[   13.968085] [<c082de04>] (dump_stack) from [<c0128ab4>] (__warn+0xe8/0x100)
[   13.968096] [<c01289cc>] (__warn) from [<c0128b84>] (warn_slowpath_null+0x28/0x30)
[   13.968106]  r9:0000000d r8:bf0b9028 r7:00000000 r6:00000000 r5:cf51ac00 r4:cf51ac00
[   13.968122] [<c0128b5c>] (warn_slowpath_null) from [<bf0b7358>] (spidev_probe+0x1a4/0x1d4 [spidev])
[   13.968146] [<bf0b71b4>] (spidev_probe [spidev]) from [<c05accb8>] (spi_drv_probe+0x84/0xb0)
[   13.968155]  r9:0000000d r8:bf0b9028 r7:00000000 r6:00000000 r5:bf0b9018 r4:cf51ac00
[   13.968171] [<c05acc34>] (spi_drv_probe) from [<c0541b58>] (driver_probe_device+0x240/0x2f0)
[   13.968178]  r7:00000000 r6:c0d897a0 r5:c0d8979c r4:cf51ac00
[   13.968188] [<c0541918>] (driver_probe_device) from [<c0541cb4>] (__driver_attach+0xac/0xb0)
[   13.968198]  r10:ce2a7ce4 r9:00000000 r8:00000001 r7:00000000 r6:cf51ac34 r5:bf0b9028
[   13.968202]  r4:cf51ac00 r3:00000000
[   13.968212] [<c0541c08>] (__driver_attach) from [<c053fd1c>] (bus_for_each_dev+0x54/0xa4)
[   13.968219]  r7:00000000 r6:c0541c08 r5:bf0b9028 r4:00000000
[   13.968228] [<c053fcc8>] (bus_for_each_dev) from [<c05414d4>] (driver_attach+0x24/0x28)
[   13.968234]  r6:c0d30bd8 r5:ce16e680 r4:bf0b9028
[   13.968244] [<c05414b0>] (driver_attach) from [<c0540fe8>] (bus_add_driver+0x190/0x214)
[   13.968254] [<c0540e58>] (bus_add_driver) from [<c054267c>] (driver_register+0x80/0xfc)
[   13.968261]  r7:ce2a7280 r6:00000000 r5:bf0b9000 r4:bf0b9028
[   13.968271] [<c05425fc>] (driver_register) from [<c05acbf4>] (__spi_register_driver+0x60/0x64)
[   13.968277]  r5:bf0b9000 r4:bf0b9240
[   13.968292] [<c05acb94>] (__spi_register_driver) from [<bf0bc098>] (spidev_init+0x98/0x1000 [spidev])
[   13.968307] [<bf0bc000>] (spidev_init [spidev]) from [<c0101974>] (do_one_initcall+0x4c/0x170)
[   13.968313]  r6:bf0bc000 r5:00000000 r4:ffffe000
[   13.968334] [<c0101928>] (do_one_initcall) from [<c019a0e8>] (do_init_module+0x68/0x1f4)
[   13.968342]  r8:00000001 r7:ce2a7280 r6:ce2a7cc0 r5:00000001 r4:bf0b9080
[   13.968353] [<c019a080>] (do_init_module) from [<c0198ef8>] (load_module+0x1dd0/0x2400)
[   13.968360]  r7:bf0b9080 r6:ce2a7cc0 r5:00000001 r4:ce0bff40
[   13.968372] [<c0197128>] (load_module) from [<c019973c>] (SyS_finit_module+0xa4/0xbc)
[   13.968381]  r10:00000000 r9:ce0be000 r8:c0107f04 r7:0000017b r6:b6ec70c4 r5:00000007
[   13.968385]  r4:00000000
[   13.968396] [<c0199698>] (SyS_finit_module) from [<c0107d20>] (ret_fast_syscall+0x0/0x54)
[   13.968402]  r6:00000000 r5:00000001 r4:00000000
[   13.968406] ---[ end trace 8207424f7951cb99 ]---
[   14.366170] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   14.454868] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   14.471277] omap-aes 53500000.aes: will run requests pump with realtime priority
[   14.596946] remoteproc remoteproc0: wkup_m3 is available
[   14.650572] remoteproc remoteproc0: powering up wkup_m3
[   14.665322] PM: Cannot get wkup_m3_ipc handle
[   14.695515] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
[   14.695776] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   14.695803] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   18.013404] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Starting Print notice about GPLv3 packages...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Reached target Containers.
[   19.209638] random: crng init done
[   19.237322] random: 7 urandom warning(s) missed due to ratelimiting
[   19.280826] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
[   19.283077] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[   19.283936] PM: bootloader does not support rtc-only!
[   19.303266] net eth1: initializing cpsw version 1.12 (0)
[   19.305832] libphy: PHY  not found
[   19.305842] net eth1: phy "" not found on slave 1, err -19
[   19.391684] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   19.452424] net eth0: initializing cpsw version 1.12 (0)
[   19.478054] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   19.494194] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started Kernel Logging Service.
         Starting Login Service...
         Starting uim-sysfs.service...
         Starting RPC Bind Service...
[  OK  ] Started Network Service.
[  OK  ] Started RPC Bind Service.
[  OK  ] Found device /dev/ttyS3.
[   21.977759] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[  OK  ] Found device /dev/mmcblk0p1.
[   22.307402] remoteproc remoteproc1: 4a334000.pru is available
[   22.346365] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[   22.419354] remoteproc remoteproc2: 4a338000.pru is available
[   22.453763] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
[   22.643368] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.672824] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started uim-sysfs.service.
[  OK  ] Started Login Service.
         Starting rc.pvr.service...
         Starting Start USB gadget...
***************************************************************
***************************************************************
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

[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
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
***************************************************************
***************************************************************
         Starting Wait for Network to be Configured...
[  OK  ] Reached target Network.
         Starting Enable and configure wl18xx bluetooth stack...
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Redis In-Memory Data Store.
         [   27.197037] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
Starting Network Name Resolution...
         Starting Simple Network Management Protocol (SNMP) Daemon....
         Starting Permit User Sessions...
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Started rc.pvr.service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttyS3.
[  OK  ] Started Getty on tty1.
         Starting weston.service...
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[FAILED] Failed to start Start USB gadget.
See 'systemctl status gadget-init.service' for details.
[  OK  ] Started weston.service.
         Starting telnetd.service...
[  OK  ] Started telnetd.service.
         Starting busybox-udhcpd.service...
         Starting thttpd.service...
[  OK  ] Started busybox-udhcpd.service.
[  OK  ] Started thttpd.service.
         Starting rng-tools.service...
[  OK  ] Started rng-tools.service.
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..

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

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

Arago 2018.04 am335x-evm ttyS0

am335x-evm login: root (automatic login)

root@am335x-evm:~#

 

ethtool eth0:

root@am335x-evm:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric 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
        Link partner advertised link modes:  100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)
                               
        Link detected: yes
root@am335x-evm:~#

ethtool -S eth0:

root@am335x-evm:~# ethtool -S eth0                                                                                                                     
NIC statistics:
     Good Rx Frames: 0
     Broadcast Rx Frames: 0
     Multicast Rx Frames: 0
     Pause Rx Frames: 0
     Rx CRC Errors: 0
     Rx Align/Code Errors: 0
     Oversize Rx Frames: 0
     Rx Jabbers: 0
     Undersize (Short) Rx Frames: 0
     Rx Fragments: 0
     Rx Octets: 0
     Good Tx Frames: 102
     Broadcast Tx Frames: 25
     Multicast Tx Frames: 77
     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: 20590
     Rx + Tx 64 Octet Frames: 0
     Rx + Tx 65-127 Octet Frames: 51
     Rx + Tx 128-255 Octet Frames: 7
     Rx + Tx 256-511 Octet Frames: 44
     Rx + Tx 512-1023 Octet Frames: 0
     Rx + Tx 1024-Up Octet Frames: 0
     Net Octets: 20590
     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: 102
     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: 7
     Tx DMA chan 0: empty_dequeue: 102
     Tx DMA chan 0: busy_dequeue: 0
     Tx DMA chan 0: good_dequeue: 102
     Tx DMA chan 0: requeue: 0
     Tx DMA chan 0: teardown_dequeue: 0
root@am335x-evm:~#

ifconfig eth0:

root@am335x-evm:~# ifconfig eth0  
eth0      Link encap:Ethernet  HWaddr 98:5D:AD:DE:A5:E2  
          inet addr:10.10.100.10  Bcast:10.10.100.255  Mask:255.255.255.0
          inet6 addr: fe80::9a5d:adff:fede:a5e2%3068872088/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:20516 (20.0 KiB)
          Interrupt:47

root@am335x-evm:~#

Please help me to find out what is the exact reason for the ping not working in our board.

Looking forward for the solution.

Regards

Vamsi

  • Hi Vamsi,

    Thanks for your post. I believe you may be missing some DT information necessary for the PHY. Please refer to Documentation/devicetree/bindings/net/ti,dp83867.txt. You can also refer to some examples that use this PHY by grepping the sources for the name. I believe the tx-internal-delay property in particular may be important for you.

    I hope this helps. Please let us know your feedback.

  • Hi RonB,

    Thank you for your reply.

    I've added the following lines in my DTS and checked the PING. Still PING is not working.

    &davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        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;
        status = "okay";
    };

    Suggest me further on what can we do in order to make PING work.

    Regards

    Vamsi

  • Vamsi,

    Have you used wireshark to sniff the wire to see if anything is coming out?

    Thanks.

  • Hi,

    Looking at the RX counts in the statistics there does not appear to be any packets being received. The statistics block shows packets leaving the MAC but nothing returning. This is odd because at least broadcast traffic should be captured by the HW statistics block. 

    As Ron mentioned above running wireshark on a direct connected link partner should show the packets leaving the MAC this needs to be verified first. Next a method to sniff the line independent of the target processor must be used to see the packets returning to the AM335x. An ideal transaction will show the ARP Request packets leaving the AM335x and then the ARP responses returning the to the AM335x. 

    If you are past this issue please mark the thread as resolved.

    Best Regards,

    Schuyler

  • Hi,

    Since we have not heard back I am assuming that you were able to move past the issue.

    Best Regards,

    Schuyler