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/AM3352: Ethernet start fails

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

Tool/software: Linux

Hello TI Team,

In SDK v04.02.00.09 and I do the 1st ifconfig to start ethernet, it will be failed. And then I do 2nd ifconfig, it will be work. The relative message is as below.

ifconfig eth0 up

[   21.385132] net eth0: initializing cpsw version 1.12 (0)

[   21.460245] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4

[   21.466684] cpsw 4a100000.ethernet: ALE Table size 1024

[   21.492279] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19

[   21.503293] cpts ptp bc clkid 0

[   21.520252] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

/ # ifconfig eth0 down

/ # ifconfig eth0 up

[   29.511081] net eth0: initializing cpsw version 1.12 (0)

[   29.516480] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4

[   29.523000] cpsw 4a100000.ethernet: ALE Table size 1024

[   29.532809] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)

[   29.548066] cpts ptp bc clkid 0

[   29.563772] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

  • Please complete this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • 1. Kernel version and source, also include the results of this command: uname -a

    => Linux (none) 4.9.59-ga75d8e9305 #120 PREEMPT Fri Mar 23 10:42:49 CST 2018 armv7l GNU/Linux

    2. File system, TI SDK or Arago/Yocto based filesytem

    => TI SDK v04.02.00.09

    3. Custom board or TI board? Please include device tree source file.

    => Custom board.

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

    #define PIN_OUTPUT (PULL_DISABLE)
    #define PIN_OUTPUT_PULLUP (PULL_UP)
    #define PIN_OUTPUT_PULLDOWN 0
    #define PIN_INPUT (INPUT_EN | PULL_DISABLE)
    #define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP)
    #define PIN_INPUT_PULLDOWN (INPUT_EN)


    */
    /dts-v1/;

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

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

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

    memory {
    device_type = "memory";
    /*reg = <0x80000000 0x10000000>;*/ /* 256 MB */
    reg = <0x80000000 0x20000000>; /* 512 MB */ /* +++ vern,512MB DDR ,20161127 ---*/
    };
    /* +++ vern,ramdisk,20161127 +++*/
    chosen {
    bootargs = "console=ttyS0,115200n8 root=/dev/ram0";
    };
    /* --- vern,ramdisk ,20161127 ---*/
    vbat: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vbat";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
    regulator-boot-on;
    };

    lis3_reg: fixedregulator@1 {
    compatible = "regulator-fixed";
    regulator-name = "lis3_reg";
    regulator-boot-on;
    };
    };

    /******************** Pin Mux ********************/
    &am33xx_pinmux {
    pinctrl-names = "default";
    pinctrl-0 = <&InitialGPIO>;
    pinctrl-1 = <&clkout2_pin>;

    InitialGPIO: InitialGPIO {
    pinctrl-single,pins = <

    /** Offset: 0x800 */
    /** GPIO 0 */
    0x150 (PIN_OUTPUT | MUX_MODE7) /* SPI0_SCLK.GPIO0_2 */
    0x154 (PIN_INPUT | MUX_MODE7) /* SPI0_D0.GPIO0_3 */
    0x0D0 (PIN_INPUT | MUX_MODE7) /* LCD_DATA12.GPIO0_8*/
    0x0D4 (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA13.GPIO0_9*/
    0x0DC (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA15.GPIO0_11*/
    0x1B0 (PIN_INPUT | MUX_MODE7) /* XDMA_EVENT_INTR0.GPIO0_19 */
    0x1B4 (PIN_INPUT | MUX_MODE7) /* XDMA_EVENT_INTR1.GPIO0_20 */

    /** GPIO 1 */
    0x030 (PIN_INPUT | MUX_MODE7) /* GPMC_AD12.GPIO1_12*/
    0x034 (PIN_OUTPUT | MUX_MODE7) /* GPMC_AD13.GPIO1_13*/
    0x038 (PIN_INPUT | MUX_MODE7) /* GPMC_AD14.GPIO1_14*/
    0x03C (PIN_OUTPUT | MUX_MODE7) /* GPMC_AD15.GPIO1_15*/
    0x078 (PIN_INPUT | MUX_MODE7) /* GPMC_BEn1.GPIO1_28*/

    /** GPIO 2 */
    0x088 (PIN_INPUT | MUX_MODE7) /* GPMC_CSn3.GPIO2_0*/
    0x0A0 (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA0.GPIO2_6*/
    0x0AC (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA3.GPIO2_9*/
    0x0B0 (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA4.GPIO2_10*/
    0x0B4 (PIN_INPUT | MUX_MODE7) /* LCD_DATA5.GPIO2_11*/
    0x0B8 (PIN_INPUT | MUX_MODE7) /* LCD_DATA6.GPIO2_12*/
    0x0BC (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA7.GPIO2_13*/
    0x0C0 (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA8.GPIO2_14*/
    0x0C4 (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA9.GPIO2_15*/
    0x0CC (PIN_OUTPUT | MUX_MODE7) /* LCD_DATA11.GPIO2_17*/
    0x0E0 (PIN_INPUT | MUX_MODE7) /* LCD_VSYNC.GPIO2_22*/
    0x0E4 (PIN_INPUT | MUX_MODE7) /* LCD_HSYNC.GPIO2_23*/
    0x0E8 (PIN_INPUT | MUX_MODE7) /* LCD_PCLK.GPIO2_24*/
    0x0EC (PIN_INPUT | MUX_MODE7) /* LCD_AC_BIAS_EN.GPIO2_25*/

    /** GPIO 3 */
    0x108 (PIN_OUTPUT | MUX_MODE7) /* MII1_COL.GPIO3_0 */
    0x1A0 (PIN_OUTPUT | MUX_MODE7) /* MCASP0_ACLKR.GPIO3_18 */
    0x1A4 (PIN_OUTPUT | MUX_MODE7) /* MCASP0_FSR.GPIO3_19 */
    0x1A8 (PIN_INPUT | MUX_MODE7) /* MCASP0_AXR1.GPIO3_20 */
    0x1AC (PIN_OUTPUT | MUX_MODE7) /* MCASP0_AHCLKX.GPIO3_21 */
    >;
    };

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

    i2c1_pins: pinmux_i2c1_pins {
    pinctrl-single,pins = <
    0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */
    0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */
    >;
    };

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

    uart2_pins: pinmux_uart2_pins {
    pinctrl-single,pins = <
    0x10C (PIN_INPUT_PULLUP | MUX_MODE6) /* MII1_CRS.AM_UART2_RXD */
    0x110 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* MII1_RX_ER.AM_UART2_TXD */
    >;
    };

    uart3_pins: pinmux_uart3_pins {
    pinctrl-single,pins = <
    0x160 (PIN_INPUT_PULLUP | MUX_MODE1) /* SPI0_CS1.uart3_rxd */
    0x164 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* ECAP0_IN_PWM0_OUT.uart3_txd */
    >;
    };

    uart4_pins: pinmux_uart4_pins {
    pinctrl-single,pins = <
    0x168 (PIN_INPUT_PULLUP | MUX_MODE1) /* UART0_CTSn.uart4_rxd */
    0x16C (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* UART0_RTSn.uart4_txd */
    >;
    };

    uart5_pins: pinmux_uart5_pins {
    pinctrl-single,pins = <
    0x0D8 (PIN_INPUT_PULLUP | MUX_MODE4) /* LCD_DATA14.UART5_RXD */
    0x144 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* RMII1_REF_CLK.UART5_TXD*/
    >;
    };

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

    nandflash_pins_default: nandflash_pins_default {
    pinctrl-single,pins = <
    0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
    0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
    0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
    0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
    0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
    0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
    0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
    0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
    0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
    0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */
    0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
    0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
    0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
    0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
    0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
    >;
    };

    nandflash_pins_sleep: nandflash_pins_sleep {
    pinctrl-single,pins = <
    0x0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0xc (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <

    /* Slave 1 */
    0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
    0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
    0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
    0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
    0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
    0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
    0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
    0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
    0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
    0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
    0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
    0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */

    /* Slave 2 */
    0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a1.rgmii2_rctl */
    0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */
    0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */
    0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */
    0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */
    0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */
    0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */
    0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */
    0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */
    >;
    };

    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <

    /* Slave 1 */
    0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
    0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
    0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
    0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
    0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
    0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
    0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
    0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
    0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
    0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
    0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
    0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */

    /* Slave 2 */
    0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a1.rgmii2_rctl */
    0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */
    0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */
    0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */
    0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */
    0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */
    0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */
    0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */
    0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */
    >;
    };

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

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

    mmc1_pins_default: pinmux_mmc1_pins {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
    0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
    0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
    0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
    0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
    0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
    0x0A8 (PIN_INPUT | MUX_MODE7) /* LCD_DATA2.GPIO2_8 */
    >;
    };

    mmc2_pins_default: pinmux_mmc2_pins {
    pinctrl-single,pins = <
    0x020 (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_AD8.AM_MMC1_DAT0 */
    0x024 (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_AD9.AM_MMC1_DAT1 */
    0x028 (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_AD10.AM_MMC1_DAT2 */
    0x02C (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_AD11.AM_MMC1_DAT3 */
    0x080 (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_CSn1.AM_MMC1_CLK */
    0x084 (PIN_INPUT_PULLUP | MUX_MODE2) /* GPMC_CSn2.AM_MMC1_CMD */
    0x08C (PIN_INPUT | MUX_MODE7) /* GPMC_CLK.GPIO2_1 */
    >;
    };

    dcan0_pins_default: dcan0_pins_default {
    pinctrl-single,pins = <
    0x178 (PIN_OUTPUT_PULLUP | MUX_MODE2) /* uart1_ctsn.d_can0_tx */
    0x17C (PIN_INPUT_PULLDOWN | MUX_MODE2) /* uart1_rtsn.d_can0_rx */
    >;
    };

    dcan1_pins_default: dcan1_pins_default {
    pinctrl-single,pins = <
    0x180 (PIN_OUTPUT_PULLUP | MUX_MODE2) /* uart1_rxd.d_can1_tx */
    0x184 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* uart1_txd.d_can1_rx */
    >;
    };

    spi1_pins: spi1_pins {
    pinctrl-single,pins = <
    0x190 (PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_ACLKX.AM_SPI1_SCLK */
    0x194 (PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_FSX.AM_SPI1_D0 */
    0x198 (PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_AXR0.AM_SPI1_D1 */
    0x19C (PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_AHCLKR.AM_SPI1_CS0 */
    >;
    };

    ehrpwm1_pins: ehrpwm1_pins {
    pinctrl-single,pins = <
    0x0C8 (PIN_OUTPUT | MUX_MODE2) /* LCD_DATA10.eHRPWM1A */
    >;
    };

    ehrpwm2_pins: ehrpwm2_pins {
    pinctrl-single,pins =<
    0x0A4 (PIN_OUTPUT | MUX_MODE3) /* LCD_DATA1.eHRPWM2B */
    >;
    };
    };

    /******************** Peripheral Init ********************/
    &uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_pins>;

    status = "okay";
    };

    &uart2 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart2_pins>;

    status = "okay";
    };

    &uart3 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart3_pins>;

    status = "okay";
    };

    &uart4 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart4_pins>;

    status = "okay";
    };

    &uart5 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart5_pins>;

    status = "okay";
    };

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

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

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

    &i2c1 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c1_pins>;

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

    &usb {
    status = "okay";
    };

    &usb_ctrl_mod {
    status = "okay";
    };

    &usb0_phy {
    status = "okay";
    };

    &usb1_phy {
    status = "okay";
    };

    &usb0 {
    status = "okay";
    };

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

    &cppi41dma {
    status = "okay";
    };

    &elm {
    status = "okay";
    };

    &epwmss1 {
    status = "okay";

    ehrpwm1: pwm@48302200 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&ehrpwm1_pins>;
    };
    };

    &epwmss2 {
    status = "okay";

    ehrpwm2: pwm@48304200 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&ehrpwm2_pins>;
    };
    };

    &gpmc {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&nandflash_pins_default>;
    pinctrl-1 = <&nandflash_pins_sleep>;
    /*ranges = <0 0 0x08000000 0x10000000>;*/ /* CS0: NAND */
    ranges = <0 0 0x08000000 0x80000000>; /*+++ vern,NAND,20161128 ---*/
    nand@0,0 {
    compatible = "ti,omap2-nand";
    reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    interrupt-parent = <&gpmc>;
    interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    <1 IRQ_TYPE_NONE>; /* termcount */
    rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    ti,nand-ecc-opt = "bch8";
    ti,elm-id = <&elm>;
    nand-bus-width = <8>;
    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,wait-on-read = "true";
    gpmc,wait-on-write = "true";
    gpmc,bus-turnaround-ns = <0>;
    gpmc,cycle2cycle-delay-ns = <0>;
    gpmc,clk-activation-ns = <0>;
    gpmc,wait-monitoring-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 = "SPL";
    reg = <0x00000000 0x00080000>;
    };
    partition@1 {
    label = "u-boot";
    reg = <0x00080000 0x00100000>;
    };
    partition@2 {
    label = "u-boot-env";
    reg = <0x00180000 0x00080000>;
    };
    partition@3 {
    label = "dtb";
    reg = <0x00200000 0x00080000>;
    };
    partition@4 {
    label = "kernel";
    reg = <0x00280000 0x00A00000>;
    };
    partition@5 {
    label = "rootfs";
    reg = <0x00C80000 0x04000000>;
    };
    partition@6 {
    label = "rootfs.backup";
    reg = <0x04C80000 0x04000000>;
    };
    partition@7 {
    label = "user.configuration";
    reg = <0x08C80000 0x00600000>;
    };
    partition@8 {
    label = "user.configuration.backup";
    reg = <0x09280000 0x00600000>;
    };
    partition@9 {
    label = "factory.configuration";
    reg = <0x09880000 0x00600000>;
    };
    partition@10 {
    label = "Storage";
    reg = <0x09E80000 0x76180000>;
    };
    };
    };

    #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.325V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1378000>;
    regulator-boot-on;
    regulator-always-on;
    };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    adc {
    ti,adc-channels = <0 1 2 3 4 5 6 7>;
    };
    };

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

    &mmc2 {
    status = "okay";
    vmmc-supply = <&vmmc_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins_default>;
    cd-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
    };

    &edma {
    ti,edma-xbar-event-map = /bits/ 16 <1 12
    2 13>;
    };


    &sham {
    status = "okay";
    };

    &aes {
    status = "okay";
    };

    &wkup_m3 {
    ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };

    &dcan0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&dcan0_pins_default>;
    };

    &dcan1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&dcan1_pins_default>;
    };

    &spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi1_pins>;

    spidev@1 {
    spi-max-frequency = <24000000>;
    reg = <0x0>;
    compatible = "rohm,dh2228fv";
    };
    };

    4. Console log of the boot process that includes U-Boot and the Kernel.

    U-Boot 2017.01-00444-g4e7f468-dirty (Apr 30 2018 - 16:43:43 +0800)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM: 512 MiB
    NAND: 2048 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Net: cpsw, usb_ether

    U-Boot rootfs check and update

    NAND read: device 0 offset 0x2c7f000, size 0x1000
    4096 bytes read: OK

    NAND read: device 0 offset 0x6c7f000, size 0x1000
    4096 bytes read: OK

    [Info] No new rootfs:0xb8612ba2

    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x200000, size 0x80000
    524288 bytes read: OK

    NAND read: device 0 offset 0x280000, size 0xa00000
    10485760 bytes read: OK

    NAND read: device 0 offset 0xc80000, size 0x2000000
    33554432 bytes read: OK
    ## Flattened Device Tree blob at 80f80000
    Booting using the fdt blob at 0x80f80000
    Loading Device Tree to 9debc000, end 9dec8a7a ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.59-ga75d8e9305 (root@evcs-virtual-machine) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #120 PREEMPT Fri Mar 23 10:42:49 CST 2018
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt:Machine model: TI AM335x EVM
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x9a800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 mem=512M root=/dev/ram0 rw initrd=0x81000000,64M ramdisk_size=67108864
    [ 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: 392376K/524288K available (7168K kernel code, 296K rwdata, 2376K rodata, 1024K init, 321K bss, 82760K 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 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
    [ 0.000000] .data : 0xc0c00000 - 0xc0c4a270 ( 297 kB)
    [ 0.000000] .bss : 0xc0c4a270 - 0xc0c9a938 ( 322 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000018] 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.000058] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000284] clocksource_probe: no matching clocksources found
    [ 0.000499] Console: colour dummy device 80x30
    [ 0.000552] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118724] pid_max: default: 32768 minimum: 301
    [ 0.118896] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118913] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119951] CPU: Testing write buffer coherency: ok
    [ 0.120422] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.121528] EFI services will not be available.
    [ 0.123350] devtmpfs: initialized
    [ 0.139698] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.140140] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.140175] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.144727] pinctrl core: initialized pinctrl subsystem
    [ 0.146353] NET: Registered protocol family 16
    [ 0.149083] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.168658] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.248732] cpuidle: using governor ladder
    [ 0.278716] cpuidle: using governor menu
    [ 0.287136] OMAP GPIO hardware version 0.1
    [ 0.308205] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
    [ 0.311028] No ATAGs?
    [ 0.311054] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.360235] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.365416] SCSI subsystem initialized
    [ 0.365821] usbcore: registered new interface driver usbfs
    [ 0.365926] usbcore: registered new interface driver hub
    [ 0.366114] usbcore: registered new device driver usb
    [ 0.366639] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.366712] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [ 0.366871] media: Linux media interface: v0.10
    [ 0.366944] Linux video capture interface: v2.00
    [ 0.367000] pps_core: LinuxPPS API ver. 1 registered
    [ 0.367010] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.367043] PTP clock support registered
    [ 0.367096] EDAC MC: Ver: 3.0.0
    [ 0.368582] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.370768] clocksource: Switched to clocksource timer1
    [ 0.384882] NET: Registered protocol family 2
    [ 0.385913] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.385986] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.386049] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.386139] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.386165] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.386339] NET: Registered protocol family 1
    [ 0.387065] Trying to unpack rootfs image as initramfs...
    [ 0.388121] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [ 0.852507] Freeing initrd memory: 65536K
    [ 0.853175] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.856704] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.867365] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.867761] jffs2: version 2.2. (NAND) (SUMMARY) ? 2001-2006 Red Hat, Inc.
    [ 0.874771] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 0.874800] io scheduler noop registered
    [ 0.874810] io scheduler deadline registered
    [ 0.875041] io scheduler cfq registered (default)
    [ 0.877098] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.964905] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.970056] console [ttyS0] disabled
    [ 0.970174] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [ 1.562984] console [ttyS0] enabled
    [ 1.567950] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 159, base_baud = 3000000) is a 8250
    [ 1.578166] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a 8250
    [ 1.588323] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
    [ 1.598490] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250
    [ 1.609845] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.616802] [drm] Initialized
    [ 1.623138] brd: module loaded
    [ 1.634763] loop: module loaded
    [ 1.640188] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.651026] libphy: Fixed MDIO Bus: probed
    [ 1.656748] CAN device driver interface
    [ 1.662198] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=168)
    [ 1.672403] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=169)
    [ 1.750877] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.757024] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [ 1.765070] libphy: 4a101000.mdio: probed
    [ 1.769121] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [ 1.777558] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83867
    [ 1.786912] cpsw 4a100000.ethernet: Detected MACID = b0:d5:cc:05:bc:fc
    [ 1.793859] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [ 1.800977] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.809542] cpsw 4a100000.ethernet: cpsw: Detected MACID = b0:d5:cc:05:bc:fe
    [ 1.819142] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.825799] ehci-pci: EHCI PCI platform driver
    [ 1.830393] ehci-platform: EHCI generic platform driver
    [ 1.835985] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.842045] usbcore: registered new interface driver cdc_acm
    [ 1.847734] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 1.855881] usbcore: registered new interface driver cdc_wdm
    [ 1.861660] usbcore: registered new interface driver usbtmc
    [ 1.867350] usbcore: registered new interface driver usb-storage
    [ 1.873614] usbcore: registered new interface driver ums-sddr09
    [ 1.879613] usbcore: registered new interface driver ums-sddr55
    [ 1.885649] usbcore: registered new interface driver ums-usbat
    [ 1.891684] usbcore: registered new interface driver usbserial
    [ 1.900153] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 1.912666] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 1.933137] mousedev: PS/2 mouse device common for all mice
    [ 1.939238] i2c /dev entries driver
    [ 1.945579] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.954058] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.962419] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.968280] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [ 1.974496] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.981036] usbcore: registered new interface driver usbhid
    [ 1.986643] usbhid: USB HID core driver
    [ 1.992954] Initializing XFRM netlink socket
    [ 1.997864] NET: Registered protocol family 10
    [ 2.004409] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.011543] NET: Registered protocol family 17
    [ 2.016057] NET: Registered protocol family 15
    [ 2.020523] can: controller area network core (rev 20120528 abi 9)
    [ 2.026919] NET: Registered protocol family 29
    [ 2.031459] can: raw protocol (rev 20120528)
    [ 2.035753] can: broadcast manager protocol (rev 20161123 t)
    [ 2.041581] can: netlink gateway (rev 20130117) max_hops=1
    [ 2.047581] NET: Registered protocol family 36
    [ 2.052145] Key type dns_resolver registered
    [ 2.056677] omap_voltage_late_init: Voltage driver support not added
    [ 2.070320] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 2.075718] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 2.084268] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
    [ 2.090664] nand: Micron MT29F16G08ABACAWP
    [ 2.094941] nand: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224
    [ 2.102795] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 2.108272] 11 ofpart partitions found on MTD device omap2-nand.0
    [ 2.114428] Creating 11 MTD partitions on "omap2-nand.0":
    [ 2.119866] 0x000000000000-0x000000080000 : "SPL"
    [ 2.126508] 0x000000080000-0x000000180000 : "u-boot"
    [ 2.133236] 0x000000180000-0x000000200000 : "u-boot-env"
    [ 2.140108] 0x000000200000-0x000000280000 : "dtb"
    [ 2.146524] 0x000000280000-0x000000c80000 : "kernel"
    [ 2.153726] 0x000000c80000-0x000004c80000 : "rootfs"
    [ 2.164386] 0x000004c80000-0x000008c80000 : "rootfs.backup"
    [ 2.175693] 0x000008c80000-0x000009280000 : "user.configuration"
    [ 2.183640] 0x000009280000-0x000009880000 : "user.configuration.backup"
    [ 2.192237] 0x000009880000-0x000009e80000 : "factory.configuration"
    [ 2.200435] 0x000009e80000-0x000080000000 : "Storage"
    [ 2.361097] tps65910 0-002d: No interrupt support, no core IRQ
    [ 2.369338] vrtc: supplied by vbat
    [ 2.376059] random: fast init done
    [ 2.380163] vio: supplied by vbat
    [ 2.385258] vdd1: supplied by vbat
    [ 2.390682] vdd2: supplied by vbat
    [ 2.397628] vdig1: supplied by vbat
    [ 2.402701] vdig2: supplied by vbat
    [ 2.407719] vpll: supplied by vbat
    [ 2.412703] vdac: supplied by vbat
    [ 2.417696] vaux1: supplied by vbat
    [ 2.422794] vaux2: supplied by vbat
    [ 2.427834] vaux33: supplied by vbat
    [ 2.433017] vmmc: supplied by vbat
    [ 2.437986] vbb: supplied by vbat
    [ 2.442766] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 2.449860] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [ 2.465003] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 2.470725] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [ 2.478483] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.485341] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 2.492619] usb usb1: Product: MUSB HDRC host driver
    [ 2.497609] usb usb1: Manufacturer: Linux 4.9.59-ga75d8e9305 musb-hcd
    [ 2.504098] usb usb1: SerialNumber: musb-hdrc.0
    [ 2.509600] hub 1-0:1.0: USB hub found
    [ 2.513530] hub 1-0:1.0: 1 port detected
    [ 2.527546] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 2.533326] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [ 2.541037] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.547866] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 2.555151] usb usb2: Product: MUSB HDRC host driver
    [ 2.560142] usb usb2: Manufacturer: Linux 4.9.59-ga75d8e9305 musb-hcd
    [ 2.566641] usb usb2: SerialNumber: musb-hdrc.1
    [ 2.572118] hub 2-0:1.0: USB hub found
    [ 2.575935] hub 2-0:1.0: 1 port detected
    [ 2.583040] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 2.641937] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [ 2.701954] hctosys: unable to open rtc device (rtc0)
    [ 2.707566] lis3_reg: disabling
    [ 2.714975] RAMDISK: gzip image found at block 0
    [ 4.363315] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
    [ 4.371587] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
    [ 4.380305] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
    [ 4.387698] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [ 4.394302] devtmpfs: mounted
    [ 4.398845] Freeing unused kernel memory: 1024K
    Bad inittab entry at line 2
    [ 9.418533] jffs2: notice: (88) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

    5. ethtool <interface such as eth0 or eth1>

    / # 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: No
    Supports auto-negotiation: Yes
    Advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Link partner advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: yes

    6. ethtool -S <interface such as eth0 or eth1>

    / # ethtool -S eth0

    NIC statistics:
    Good Rx Frames: 259
    Broadcast Rx Frames: 111
    Multicast Rx Frames: 148
    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: 30012
    Good Tx Frames: 9
    Broadcast Tx Frames: 0
    Multicast Tx Frames: 9
    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: 754
    Rx + Tx 64 Octet Frames: 16
    Rx + Tx 65-127 Octet Frames: 193
    Rx + Tx 128-255 Octet Frames: 58
    Rx + Tx 256-511 Octet Frames: 1
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 30766
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 2
    Rx DMA chan 0: tail_enqueue: 365
    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: 110
    Rx DMA chan 0: good_dequeue: 112
    Rx DMA chan 0: requeue: 1
    Rx DMA chan 0: teardown_dequeue: 127
    Tx DMA chan 0: head_enqueue: 9
    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: 10
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 9
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0

    7. ifconfig <interface such as eth0 or eth1>

    / # ifconfig eth0

    eth0 Link encap:Ethernet HWaddr B0:D5:CC:05:BC:FC
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::b2d5:ccff:fe05:bcfc/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:122 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 drod:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:13572 (13.2 KiB) TX bytes:788 (788.0 B)
    Interrupt:180

  • Hi,

    Based on the original question the outputs that are posted are showing everything looks OK. The last posted shows an IP address on eth0 and that the PHYs are being identified in the boot log. Currently it does not look like you are still experiencing the original posted issue.

    Best Regards,
    Schuyler
  • Hi,
    The original issue is still existed. The information posted is after doing 2nd ifconfig to enable eth0.
  • Hi,
    Could you please post the full boot log from power on all the way to the log in prompt? I would like to see ifconfig after you log in, please do not do ifconfig up. Please make the log file an attachment, the paste method will make this thread pretty long to read. The boot log is showing the PHYs as being correctly identified, but I need to see the network interface init process that gets printed in the boot log. Above you mentioned that this is the file system from the SDK, I want to confirm that and the interface being attached is eth0.

    Best Regards,
    Schuyler
  • Hi,

    Relative information is in attachment. 

    EthxIssue.txt
    CCCCCCCC
    U-Boot SPL 2017.01-00444-g4e7f468-dirty (Apr 30 2018 - 16:43:43)
    Trying to boot from NAND
    The Expected Linux image was not found. Please check your NAND configuration.
    Trying to start u-boot now...
    
    
    U-Boot 2017.01-00444-g4e7f468-dirty (Apr 30 2018 - 16:43:43 +0800)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  512 MiB
    NAND:  2048 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Net:   cpsw, usb_ether
    
    U-Boot rootfs check and update
    
    NAND read: device 0 offset 0x2c7f000, size 0x1000
     4096 bytes read: OK
    
    NAND read: device 0 offset 0x6c7f000, size 0x1000
     4096 bytes read: OK
    
    [Info] No new rootfs:0xb8612ba2
    
    Hit any key to stop autoboot:  0
    
    NAND read: device 0 offset 0x200000, size 0x80000
     524288 bytes read: OK
    
    NAND read: device 0 offset 0x280000, size 0xa00000
     10485760 bytes read: OK
    
    NAND read: device 0 offset 0xc80000, size 0x2000000
     33554432 bytes read: OK
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       Loading Device Tree to 9debc000, end 9dec8a7a ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.59-ga75d8e9305 (root@evcs-virtual-machine) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #120 PREEMPT Fri Mar 23 10:42:49 CST 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM335x EVM
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9a800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200n8 mem=512M root=/dev/ram0 rw initrd=0x81000000,64M ramdisk_size=67108864
    [    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: 392376K/524288K available (7168K kernel code, 296K rwdata, 2376K rodata, 1024K init, 321K bss, 82760K 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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c4a270   ( 297 kB)
    [    0.000000]        .bss : 0xc0c4a270 - 0xc0c9a938   ( 322 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000044] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000057] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000285] clocksource_probe: no matching clocksources found
    [    0.000502] Console: colour dummy device 80x30
    [    0.000555] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118725] pid_max: default: 32768 minimum: 301
    [    0.118898] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.118914] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119949] CPU: Testing write buffer coherency: ok
    [    0.120418] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121516] EFI services will not be available.
    [    0.123337] devtmpfs: initialized
    [    0.139676] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.140119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.140153] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.144690] pinctrl core: initialized pinctrl subsystem
    [    0.146327] NET: Registered protocol family 16
    [    0.149048] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.168634] omap_hwmod: debugss: _wait_target_disable failed
    [    0.248734] cpuidle: using governor ladder
    [    0.278718] cpuidle: using governor menu
    [    0.287152] OMAP GPIO hardware version 0.1
    [    0.308260] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
    [    0.311072] No ATAGs?
    [    0.311099] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.360234] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.365424] SCSI subsystem initialized
    [    0.365830] usbcore: registered new interface driver usbfs
    [    0.365933] usbcore: registered new interface driver hub
    [    0.366114] usbcore: registered new device driver usb
    [    0.366645] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.366718] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.366877] media: Linux media interface: v0.10
    [    0.366951] Linux video capture interface: v2.00
    [    0.367011] pps_core: LinuxPPS API ver. 1 registered
    [    0.367021] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.367053] PTP clock support registered
    [    0.367106] EDAC MC: Ver: 3.0.0
    [    0.368567] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.370754] clocksource: Switched to clocksource timer1
    [    0.384881] NET: Registered protocol family 2
    [    0.385899] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.385972] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.386034] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.386121] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.386148] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.386322] NET: Registered protocol family 1
    [    0.387048] Trying to unpack rootfs image as initramfs...
    [    0.388119] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.851998] Freeing initrd memory: 65536K
    [    0.852669] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.856213] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.866889] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.867277] jffs2: version 2.2. (NAND) (SUMMARY)  ? 2001-2006 Red Hat, Inc.
    [    0.874294] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.874323] io scheduler noop registered
    [    0.874334] io scheduler deadline registered
    [    0.874563] io scheduler cfq registered (default)
    [    0.876607] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.964370] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.969533] console [ttyS0] disabled
    [    0.969656] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.562484] console [ttyS0] enabled
    [    1.567454] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.577673] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a 8250
    [    1.587809] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
    [    1.597969] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250
    [    1.609344] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.616306] [drm] Initialized
    [    1.622625] brd: module loaded
    [    1.634221] loop: module loaded
    [    1.639630] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.650257] libphy: Fixed MDIO Bus: probed
    [    1.656136] CAN device driver interface
    [    1.661623] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=168)
    [    1.671817] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=169)
    [    1.750855] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.757003] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.765007] libphy: 4a101000.mdio: probed
    [    1.769060] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.777496] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83867
    [    1.786845] cpsw 4a100000.ethernet: Detected MACID = b0:d5:cc:05:bc:fc
    [    1.793802] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [    1.800927] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.809490] cpsw 4a100000.ethernet: cpsw: Detected MACID = b0:d5:cc:05:bc:fe
    [    1.819091] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.825743] ehci-pci: EHCI PCI platform driver
    [    1.830337] ehci-platform: EHCI generic platform driver
    [    1.835933] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.841991] usbcore: registered new interface driver cdc_acm
    [    1.847681] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.855830] usbcore: registered new interface driver cdc_wdm
    [    1.861612] usbcore: registered new interface driver usbtmc
    [    1.867303] usbcore: registered new interface driver usb-storage
    [    1.873568] usbcore: registered new interface driver ums-sddr09
    [    1.879569] usbcore: registered new interface driver ums-sddr55
    [    1.885603] usbcore: registered new interface driver ums-usbat
    [    1.891635] usbcore: registered new interface driver usbserial
    [    1.900112] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.912610] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.933100] mousedev: PS/2 mouse device common for all mice
    [    1.939201] i2c /dev entries driver
    [    1.945508] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.953988] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.962354] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.968203] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [    1.974411] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.980960] usbcore: registered new interface driver usbhid
    [    1.986565] usbhid: USB HID core driver
    [    1.992870] Initializing XFRM netlink socket
    [    1.997770] NET: Registered protocol family 10
    [    2.004322] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.011474] NET: Registered protocol family 17
    [    2.015985] NET: Registered protocol family 15
    [    2.020452] can: controller area network core (rev 20120528 abi 9)
    [    2.026843] NET: Registered protocol family 29
    [    2.031383] can: raw protocol (rev 20120528)
    [    2.035676] can: broadcast manager protocol (rev 20161123 t)
    [    2.041509] can: netlink gateway (rev 20130117) max_hops=1
    [    2.047509] NET: Registered protocol family 36
    [    2.052071] Key type dns_resolver registered
    [    2.056605] omap_voltage_late_init: Voltage driver support not added
    [    2.070236] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    2.075638] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    2.084192] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
    [    2.090586] nand: Micron MT29F16G08ABACAWP
    [    2.094858] nand: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224
    [    2.102715] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    2.108190] 11 ofpart partitions found on MTD device omap2-nand.0
    [    2.114341] Creating 11 MTD partitions on "omap2-nand.0":
    [    2.119778] 0x000000000000-0x000000080000 : "SPL"
    [    2.126405] 0x000000080000-0x000000180000 : "u-boot"
    [    2.133138] 0x000000180000-0x000000200000 : "u-boot-env"
    [    2.140018] 0x000000200000-0x000000280000 : "dtb"
    [    2.146408] 0x000000280000-0x000000c80000 : "kernel"
    [    2.153602] 0x000000c80000-0x000004c80000 : "rootfs"
    [    2.164300] 0x000004c80000-0x000008c80000 : "rootfs.backup"
    [    2.175613] 0x000008c80000-0x000009280000 : "user.configuration"
    [    2.183555] 0x000009280000-0x000009880000 : "user.configuration.backup"
    [    2.192171] 0x000009880000-0x000009e80000 : "factory.configuration"
    [    2.200364] 0x000009e80000-0x000080000000 : "Storage"
    [    2.361077] tps65910 0-002d: No interrupt support, no core IRQ
    [    2.369327] vrtc: supplied by vbat
    [    2.375803] random: fast init done
    [    2.380156] vio: supplied by vbat
    [    2.385254] vdd1: supplied by vbat
    [    2.390678] vdd2: supplied by vbat
    [    2.397627] vdig1: supplied by vbat
    [    2.402706] vdig2: supplied by vbat
    [    2.407727] vpll: supplied by vbat
    [    2.412714] vdac: supplied by vbat
    [    2.417723] vaux1: supplied by vbat
    [    2.422804] vaux2: supplied by vbat
    [    2.427839] vaux33: supplied by vbat
    [    2.433018] vmmc: supplied by vbat
    [    2.437979] vbb: supplied by vbat
    [    2.442742] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.449835] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    2.464990] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    2.470714] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [    2.478473] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.485334] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.492613] usb usb1: Product: MUSB HDRC host driver
    [    2.497602] usb usb1: Manufacturer: Linux 4.9.59-ga75d8e9305 musb-hcd
    [    2.504092] usb usb1: SerialNumber: musb-hdrc.0
    [    2.509584] hub 1-0:1.0: USB hub found
    [    2.513508] hub 1-0:1.0: 1 port detected
    [    2.527513] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    2.533299] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [    2.541020] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.547848] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.555135] usb usb2: Product: MUSB HDRC host driver
    [    2.560128] usb usb2: Manufacturer: Linux 4.9.59-ga75d8e9305 musb-hcd
    [    2.566630] usb usb2: SerialNumber: musb-hdrc.1
    [    2.572110] hub 2-0:1.0: USB hub found
    [    2.575930] hub 2-0:1.0: 1 port detected
    [    2.583021] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.641904] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [    2.701942] hctosys: unable to open rtc device (rtc0)
    [    2.707552] lis3_reg: disabling
    [    2.714949] RAMDISK: gzip image found at block 0
    [    4.363198] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
    [    4.371464] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
    [    4.380174] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
    [    4.387571] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    4.394177] devtmpfs: mounted
    [    4.398718] Freeing unused kernel memory: 1024K
    Bad inittab entry at line 2
    [    9.403931] jffs2: notice: (88) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [98] Jan 01 00:00:09 Running in background
    / # ifconfig
    / # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FC
              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:180
    
    / # 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: 0
         Rx DMA chan 0: tail_enqueue: 0
         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
    / # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FC
              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:180
    
    / #

  • Hi,
    Thanks for the log. Looking through it I don't see a user space being initialized here, it looks like the system is booting to a single shell or perhaps busybox. The user space initialization will typically setup some sort of network management that will start the process of trying to obtain an IP address. With the system you have there until the ifconfig up is performed there will not be an ip address. This looks to be a user space initialization or design issue and not really a network issue since once the ifconfig up is performed an address is obtained.

    Best Regards,
    Schuyler
  • Part Number: AM3352

    Tool/software: Linux

    Hi TI team,

    Continue this issue as below:

    Now we use the TI root file system and test. We can also get the ethernet error information(more log in attachment). 

    [   13.172980] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19

    TI_Img_20180723.txt
    U-Boot 2014.07 (Jan 31 2018 - 10:33:56)
     
    I2C:   ready
    DRAM:  512 MiB
    NAND:  2048 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
     
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    U-Boot#      setenv ipaddr 10.142.26.101
    U-Boot# ping 8.8.8.8
    cpsw Waiting for PHY auto negotiation to complete.. done
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    link down on port 0
    ping failed; host 8.8.8.8 is not alive
    U-Boot# ping 8.8.8.8
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    host 8.8.8.8 is alive
    U-Boot# mmc rescan
    Card did not respond to voltage select!
    U-Boot# setenv bootcmd 'run findfdt; run mmcboot;'
    U-Boot# setenv bootpart 0:2
    U-Boot# setenv findfdt 'setenv fdtfile am335x-evm.dtb'
    U-Boot# setenv mmcboot 'mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run lg uenvcmd ...;run uenvcmd;fi;if run loadimage; then run mmcloados;fi;fi;'
    U-Boot# setenv mmcdev 0
    U-Boot# setenv mmcargs 'setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfst
    U-Boot# setenv mmcrootfstype 'ext4 rootwait'
    U-Boot# setenv console ttyO0,115200n8
    U-Boot# setenv mmcroot '/dev/mmcblk0p2 ro'
    U-Boot# setenv loadbootenv 'load mmc ${mmcdev} ${loadaddr} ${bootenv}'
    U-Boot# setenv loadfdt 'load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}'
    U-Boot# setenv loadimage 'load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}'
    U-Boot# setenv loadaddr 0x82000000
    U-Boot# setenv bootdir /boot
    U-Boot# setenv bootfile zImage
    U-Boot# setenv fdtaddr 0x88000000
    U-Boot# setenv bootenv uEnv.txt
    U-Boot# setenv mmcloados 'run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfe DT; fi; fi; else bootz; fi;'
    U-Boot# setenv boot_fdt try
    U-Boot# boot
    Card did not respond to voltage select!
    Card did not respond to voltage select!
    U-Boot# boot
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    3621296 bytes read in 307 ms (11.2 MiB/s)
    39547 bytes read in 19 ms (2 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x3741b0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 9e6b3000, end 9e6bfa7a ... OK
     
    Starting kernel ...
     
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.59-ga75d8e9305 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC
    [    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
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9b000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [    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: 457968K/524288K available (7168K kernel code, 281K rwdata, 2420K rodata, 1024K init, 2
    [    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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c465d0   ( 282 kB)
    [    0.000000]        .bss : 0xc0c465d0 - 0xc0c8c834   ( 281 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000048] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000061] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000284] clocksource_probe: no matching clocksources found
    [    0.000499] Console: colour dummy device 80x30
    [    0.000533] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000543] This ensures that you still see kernel messages. Please
    [    0.000550] update your kernel commandline.
    [    0.000579] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118760] pid_max: default: 32768 minimum: 301
    [    0.118929] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.118946] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119982] CPU: Testing write buffer coherency: ok
    [    0.120448] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121561] EFI services will not be available.
    [    0.123372] devtmpfs: initialized
    [    0.140503] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.140954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000
    [    0.140988] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.145539] pinctrl core: initialized pinctrl subsystem
    [    0.147199] NET: Registered protocol family 16
    [    0.149919] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.169367] omap_hwmod: debugss: _wait_target_disable failed
    [    0.248765] cpuidle: using governor ladder
    [    0.278752] cpuidle: using governor menu
    [    0.287309] OMAP GPIO hardware version 0.1
    [    0.309008] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinm
    [    0.311599] No ATAGs?
    [    0.311623] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.360571] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.365530] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux
    [    0.365607] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux
    [    0.365779] media: Linux media interface: v0.10
    [    0.365859] Linux video capture interface: v2.00
    [    0.365924] pps_core: LinuxPPS API ver. 1 registered
    [    0.365935] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.365967] PTP clock support registered
    [    0.366020] EDAC MC: Ver: 3.0.0
    [    0.367589] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.368058] Advanced Linux Sound Architecture Driver Initialized.
    [    0.369780] clocksource: Switched to clocksource timer1
    [    0.384208] NET: Registered protocol family 2
    [    0.385223] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.385296] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.385358] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.385451] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.385477] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.385655] NET: Registered protocol family 1
    [    0.386211] RPC: Registered named UNIX socket transport module.
    [    0.386228] RPC: Registered udp transport module.
    [    0.386237] RPC: Registered tcp transport module.
    [    0.386245] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.387443] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.390829] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.401894] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.403206] NFS: Registering the id_resolver key type
    [    0.403264] Key type id_resolver registered
    [    0.403275] Key type id_legacy registered
    [    0.403339] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.405875] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.405898] io scheduler noop registered
    [    0.405909] io scheduler deadline registered
    [    0.406139] io scheduler cfq registered (default)
    [    0.408181] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.497762] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.503190] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.110388] console [ttyS0] enabled
    [    1.115369] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.125590] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a 8250
    [    1.135751] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
    [    1.145929] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250
    [    1.157233] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.164184] [drm] Initialized
    [    1.186024] brd: module loaded
    [    1.197831] loop: module loaded
    [    1.206312] libphy: Fixed MDIO Bus: probed
    [    1.279885] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.286031] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.294088] libphy: 4a101000.mdio: probed
    [    1.298143] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.306580] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83867
    [    1.315941] cpsw 4a100000.ethernet: Detected MACID = b0:d5:cc:05:bc:fc
    [    1.322879] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [    1.329995] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.338616] cpsw 4a100000.ethernet: cpsw: Detected MACID = b0:d5:cc:05:bc:fe
    [    1.347947] mousedev: PS/2 mouse device common for all mice
    [    1.354165] i2c /dev entries driver
    [    1.360360] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.368509] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.374535] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [    1.380598] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.389505] NET: Registered protocol family 10
    [    1.396063] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.403452] NET: Registered protocol family 17
    [    1.408292] Key type dns_resolver registered
    [    1.413043] omap_voltage_late_init: Voltage driver support not added
    [    1.426753] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.432151] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.440767] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
    [    1.447164] nand: Micron MT29F16G08ABACAWP
    [    1.451403] nand: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224
    [    1.459230] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.464746] 11 ofpart partitions found on MTD device omap2-nand.0
    [    1.470897] Creating 11 MTD partitions on "omap2-nand.0":
    [    1.476332] 0x000000000000-0x000000080000 : "SPL"
    [    1.482905] 0x000000080000-0x000000180000 : "u-boot"
    [    1.489513] 0x000000180000-0x000000200000 : "u-boot-env"
    [    1.496584] 0x000000200000-0x000000280000 : "dtb"
    [    1.503049] 0x000000280000-0x000000c80000 : "kernel"
    [    1.510342] 0x000000c80000-0x000004c80000 : "rootfs"
    [    1.521184] 0x000004c80000-0x000008c80000 : "rootfs.backup"
    [    1.532625] 0x000008c80000-0x000009280000 : "user.configuration"
    [    1.540616] 0x000009280000-0x000009880000 : "user.configuration.backup"
    [    1.549156] 0x000009880000-0x000009e80000 : "factory.configuration"
    [    1.557417] 0x000009e80000-0x000080000000 : "Storage"
    [    1.720082] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.728492] vrtc: supplied by vbat
    [    1.735921] vio: supplied by vbat
    [    1.740982] vdd1: supplied by vbat
    [    1.746421] vdd2: supplied by vbat
    [    1.751283] random: fast init done
    [    1.756980] vdig1: supplied by vbat
    [    1.762104] vdig2: supplied by vbat
    [    1.767181] vpll: supplied by vbat
    [    1.772225] vdac: supplied by vbat
    [    1.777207] vaux1: supplied by vbat
    [    1.782323] vaux2: supplied by vbat
    [    1.787387] vaux33: supplied by vbat
    [    1.792583] vmmc: supplied by vbat
    [    1.797581] vbb: supplied by vbat
    [    1.802391] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.809516] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.817636] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.881044] omap_hsmmc 481d8000.mmc: Got CD GPIO
    [    1.927054] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.937091] mmc0: new high speed SDHC card at address 59b4
    [    1.944763] hctosys: unable to open rtc device (rtc0)
    [    1.951046] mmcblk0: mmc0:59b4 USD   7.51 GiB
    [    1.958838]  mmcblk0: p1 p2
    [    1.964120] lis3_reg: disabling
    [    1.967579] ALSA device list:
    [    1.970747]   No soundcards found.
    [    1.978896] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    1.986419] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    4.789098] EXT4-fs (mmcblk0p2): recovery complete
    [    4.798922] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.807279] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    4.823523] devtmpfs: mounted
    [    4.830674] Freeing unused kernel memory: 1024K
    [    5.102484] systemd[1]: System time before build time, advancing clock.
    [    5.161113] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +S
    [    5.180231] systemd[1]: Detected architecture arm.
     
    Welcome to Arago 2017.10!
     
    [    5.221231] systemd[1]: Set hostname to <am335x-evm>.
    [    5.533642] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in secti
    [    5.815443] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.850801] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.890133] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.920416] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.960428] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.000092] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Created slice System Slice.
             Starting Setup Virtual Console...
             Mounting Debug File System...
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-getty.slice.
             Starting Create Static Device Nodes in /dev...
    [    6.278985] cryptodev: loading out-of-tree module taints kernel.
             Mounting POSIX Message Queue File System...
    [    6.313475] cryptodev: driver 1.8 loaded.
             Starting File System Check on Root Device...
             Starting alignment.service...
             Mounting Temporary Directory...
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started alignment.service.
             Starting udev Kernel Device Manager...
             Starting Apply Kernel Variables...
             Mounting Configuration File System...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started File System Check on Root Device.
    [  OK  ] Started Apply Kernel Variables.
             Starting Remount Root and Kernel File Systems...
    [    6.939994] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Load/Save Random Seed.
    [    7.602030] systemd-journald[113]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [    9.160655] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [  OK  ] Found device /dev/ttyS0.
    [    9.303542] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [    9.722382] CAN device driver interface
    [  OK  ] Reached target Basic System.
    [    9.767428] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=168)
             Starting Avahi mDNS/DNS-SD Stack...
    [    9.881215] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=169)
    [  OK  ] Started Kernel Logging Service.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started System Logging Service.
             Starting uim-sysfs.service...
    [  OK  ] Started D-Bus System Message Bus.
    [   10.845588] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   10.981901] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   11.149387] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Network Service...
             Starting Telephony service...
             Starting Login Service...
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Network Service.
    [   12.679623] remoteproc remoteproc0: wkup_m3 is available
    [   13.107679] Bluetooth: Core ver 2.22
    [   13.131276] remoteproc remoteproc0: powering up wkup_m3
    [   13.147805] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268
    [   13.148084] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   13.148110] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   13.161777] PM: bootloader does not support rtc-only!
    [   13.163229] net eth1: initializing cpsw version 1.12 (0)
    [   13.163241] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   13.163247] cpsw 4a100000.ethernet: ALE Table size 1024
    [   13.172980] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [   13.237931] cpts ptp bc clkid 0
    [   13.305555] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   13.461206] net eth0: initializing cpsw version 1.12 (0)
    [   13.464203] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   13.557614] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   14.150024] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fs
    [  OK  ] Started Telephony service.
    [   14.895887] NET: Registered protocol family 31
    [   14.988025] Bluetooth: HCI device and connection manager initialized
    [   15.123104] Bluetooth: HCI socket layer initialized
    [   15.123127] Bluetooth: L2CAP socket layer initialized
    [   15.123189] Bluetooth: SCO socket layer initialized
    [  OK  ] Started Login Service.
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Start USB gadget...
    [  OK  ] Reached target Network.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [  OK  ] Started Permit User Sessions.
    [   17.771771] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [   18.828157] NET: Registered protocol family 15
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [   19.521294] random: crng init done
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [   20.131551] Initializing XFRM netlink socket
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   22.892655] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   22.930462] usbcore: registered new interface driver usbfs
    [   22.936100] usbcore: registered new interface driver hub
    [   23.004989] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   23.243580] usbcore: registered new device driver usb
    [   23.445856] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   23.580040] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   23.675272] hub 1-0:1.0: USB hub found
    [   23.733608] hub 1-0:1.0: 1 port detected
    [   23.915350] using random self ethernet address
    [   23.933474] using random host ethernet address
    [   24.002448] using host ethernet address: B0:D5:CC:05:BC:FE[   24.007866] using random self ethernet addres
    [   24.124436] using random host ethernet address
    [   24.128950] using host ethernet address: B0:D5:CC:05:BC:FE[   24.230820] usb0: HOST MAC b0:d5:cc:05:bc:fe
    [   24.264797] usb0: MAC aa:c2:70:07:82:5f
    [   24.349145] Mass Storage Function, version: 2009/09/11
    [   24.374007] LUN: removable file: (no medium)
     
    _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|[   24.412584] LUN: removable read only file: /dev/mmcblk0p1
      _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
     
    Arago Project http://arago-project.org am335x-evm ttyS0
     
    Arago 2017.10 am335x-evm ttyS0
     
    am335x-evm[   24.460431] Number of LUNs=1
    login: [   24.477281] g_multi gadget: Multifunction Composite Gadget
    [   24.504185] g_multi gadget: g_multi ready
    [   24.576233] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   24.628022] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   24.719113] hub 2-0:1.0: USB hub found
    [   24.727936] hub 2-0:1.0: 1 port detected
    [   25.377839] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            cifs-utils
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            glmark2
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline6
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
     
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
     
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    root
    root@am335x-evm:~# ifocn
    -sh: ifocn: command not found
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FC
              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:180
     
    eth1      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FE
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%763860/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:320 errors:0 dropped:0 overruns:0 frame:0
              TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:24320 (23.7 KiB)  TX bytes:24320 (23.7 KiB)
     
    usb0      Link encap:Ethernet  HWaddr AA:C2:70:07:82:5F
              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)
     
    root@am335x-evm:~# ifconfig eth- down
    ifconfig: SIOCGIFFLAGS: No such device
    root@am335x-evm:~# ifconfig eth0 down
    root@am335x-evm:~# ifconfig eth0 up
    [   77.753127] net eth0: initializing cpsw version 1.12 (0)
    [   77.759635] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:
    [   77.789108] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    root@am335x-evm:~# [   80.881301] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   80.889183] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    ifconfig
    eth0      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FC
              inet addr:10.142.26.119  Bcast:10.142.26.255  Mask:255.255.255.0
              inet6 addr: fe80::b2d5:ccff:fe05:bcfc%763860/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:195 errors:0 dropped:10 overruns:0 frame:0
             TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:22678 (22.1 KiB)  TX bytes:9574 (9.3 KiB)
              Interrupt:180
     
    eth1      Link encap:Ethernet  HWaddr B0:D5:CC:05:BC:FE
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%763860/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:806 errors:0 dropped:0 overruns:0 frame:0
              TX packets:806 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:61328 (59.8 KiB)  TX bytes:61328 (59.8 KiB)
     
    usb0      Link encap:Ethernet  HWaddr AA:C2:70:07:82:5F
              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)
     
    root@am335x-evm:~# [  232.721075] cpsw 4a100000.ethernet eth0: Link is Down
     
    root@am335x-evm:~# dmesg | grep -i mdio
    [    1.206312] libphy: Fixed MDIO Bus: probed
    [    1.279885] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.286031] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.294088] libphy: 4a101000.mdio: probed
    [    1.298143] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.306580] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83867
    [   13.172980] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [   13.464203] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   77.759635] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    

  • Hi,
    While I see the PHY driver identified as being on the MDIO bus I don't see the PHY driver printing out a message indicating it has initialized until after the ifconfig down up sequence. This line below normally happens as part of the boot sequence.

    TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:

    Are you using the default kernel configuration that comes with the TI SDK?

    Best Regards,
    Schuyler
  • Hi TI Team,

    We do not use the default kernel configuration and our kernel configuration is in attachment.

    5756.config.txt

  • Hi,

    Can you try the default kernel configuration that comes with the TI SDK as a means of debug? Would there be reason or reasons this would not work? The PHY drviers that you are using should be configured to be built in modules in the TI kernel.

    Best Regards,
    Schuyler