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.

TCI6638K2K: Ethernet NETCP dma rx_flow mapping

Part Number: TCI6638K2K
Other Parts Discussed in Thread: DP83867IS

Hi Everyone,

I am using custom K2HK board and PDK_06_00_00_07 for software (u-boot and kernel),

I need clarification on the device tree in LINUX for  NETCP DMA ( ti,navigator-dmas = <&dma_gbe 22>,  /* rx flow for CPSW port 0 */) , how to configure rx_flow value to bring up below mention phy-2 and phy-3 mapped to Gbe-2 and Gbe-3.

The K2HK EVM has two Marvell eth Phy, On our custom board we have 4 eth Phy (first two marvell 88e1111 and other two DP83867IS) all have configured for 4-wire SGMII between Phy and MAC.

At u-boot using first TI DP83867IS (Phy-2)we are able to ping (packet transmission is happing in both way, RX as well as TX),

but with second TI DP83867IS (Phy-3) ping is failing only one-way TX traffic is their (packet are coming out of K2HK board, but there is no RX packet),

At Linux using both TI DP83867IS Phy-2 and Phy3 ping is failing only one-way TX traffic is there.(DP83867 Linux driver is ported from u-boot ti.c driver)

Please find attached device tree file and NETCP node configure like below.

dma-coherent;
ti,navigator-dmas = <&dma_gbe 22>, /* rx flow for CPSW port 0 */
<&dma_gbe 23>, /* rx flow for CPSW port 1 */
<&dma_gbe 24>, /* rx flow for CPSW port 2 */
<&dma_gbe 25>, /* rx flow for CPSW port 3 */
<&dma_gbe 8>; /* CPSW tx channel */
ti,navigator-dma-names = "netrx0",
"netrx1",
"netrx2",
"netrx3",
"nettx";

While debugging at u-boot found that for both phy-2 and phy3 rx_flow is 24(as per device tree configuration rx_flow should be 24 for phy-2 and 25 for phy-3).

Any working  Reference for device tree for NETCP dma rx_flow at Linux is most welcome.

// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source for Keystone 2 Hawking Netcp driver
 *
 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
 */

qmss: qmss@2a40000 {
	compatible = "ti,keystone-navigator-qmss";
	dma-coherent;
	#address-cells = <1>;
	#size-cells = <1>;
	clocks = <&chipclk13>;
	ranges;
	queue-range	= <0 0x4000>;
	linkram0	= <0x100000 0x8000>;
	linkram1	= <0x0 0x10000>;

	qmgrs {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		qmgr0 {
			managed-queues = <0 0x2000>;
			reg = <0x2a40000 0x20000>,
			      <0x2a06000 0x400>,
			      <0x2a02000 0x1000>,
			      <0x2a03000 0x1000>,
			      <0x23a80000 0x20000>,
			      <0x2a80000 0x20000>;
			reg-names = "peek", "status", "config",
				    "region", "push", "pop";
		};

		qmgr1 {
			managed-queues = <0x2000 0x2000>;
			reg = <0x2a60000 0x20000>,
			      <0x2a06400 0x400>,
			      <0x2a04000 0x1000>,
			      <0x2a05000 0x1000>,
			      <0x23aa0000 0x20000>,
			      <0x2aa0000 0x20000>;
			reg-names = "peek", "status", "config",
				    "region", "push", "pop";
		};
	};

	queue-pools {
		qpend {
			qpend-0 {
				qrange = <658 8>;
				interrupts =<0 40 0xf04 0 41 0xf04 0 42 0xf04
					     0 43 0xf04 0 44 0xf04 0 45 0xf04
					     0 46 0xf04 0 47 0xf04>;
			};
			qpend-1 {
				qrange = <8704 16>;
				interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
					      0 51 0xf04 0 52 0xf04 0 53 0xf04
					      0 54 0xf04 0 55 0xf04 0 56 0xf04
					      0 57 0xf04 0 58 0xf04 0 59 0xf04
					      0 60 0xf04 0 61 0xf04 0 62 0xf04
					      0 63 0xf04>;
				qalloc-by-id;
			};
			qpend-2 {
				qrange = <8720 16>;
				interrupts = <0 64 0xf04 0 65 0xf04 0 66 0xf04
					      0 59 0xf04 0 68 0xf04 0 69 0xf04
					      0 70 0xf04 0 71 0xf04 0 72 0xf04
					      0 73 0xf04 0 74 0xf04 0 75 0xf04
					      0 76 0xf04 0 77 0xf04 0 78 0xf04
					      0 79 0xf04>;
			};
		};
		general-purpose {
			gp-0 {
				qrange = <4000 64>;
			};
			netcp-tx {
				qrange = <640 9>;
				qalloc-by-id;
			};
			netcpx-tx {
				qrange = <8752 8>;
				qalloc-by-id;
			};
		};
		accumulator {
			acc-low-0 {
				qrange = <480 32>;
				accumulator = <0 47 16 2 50>;
				interrupts = <0 226 0xf01>;
				multi-queue;
				qalloc-by-id;
			};
		};
	};

	descriptor-regions {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		region-12 {
			id = <12>;
			region-spec = <8192 128>;	/* num_desc desc_size */
			link-index = <0x4000>;
		};
	};

	pdsps {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		pdsp0@0x2a10000 {
			reg = <0x2a10000 0x1000    /*iram */
			       0x2a0f000 0x100     /*reg*/
			       0x2a0c000 0x3c8	   /*intd */
			       0x2a20000 0x4000>;  /*cmd*/
			id = <0>;
		};
	};
}; /* qmss */

knav_dmas: knav_dmas@0 {
	compatible = "ti,keystone-navigator-dma";
	clocks = <&papllclk>;
	#address-cells = <1>;
	#size-cells = <1>;
	ranges;
	ti,navigator-cloud-address = <0x23a80000 0x23a90000
				   0x23aa0000 0x23ab0000>;

	dma_gbe: dma_gbe@0 {
		reg = <0x2004000 0x100>,
			  <0x2004400 0x120>,
			  <0x2004800 0x300>,
			  <0x2004c00 0x120>,
			  <0x2005000 0x400>;
		reg-names = "global", "txchan", "rxchan",
				"txsched", "rxflow";
		ti,enable-all;
	};
};

gbe_subsys: subsys@2090000 {
	compatible = "syscon";
	reg = <0x02090000 0x100>;
};

gbe_serdes: phy@232a000 {
	compatible		= "ti,keystone-serdes-gbe";
	reg			= <0x0232a000 0x2000>;
	status			= "disabled";
	link-rate-kbps		= <1250000>;
	num-lanes		= <4>;
	#address-cells	= <1>;
	#size-cells	= <0>;

	serdes_lane0: lane@0 {
		#phy-cells	= <0>;
		reg		= <0>;
		status		= "ok";
		control-rate	= <2>;
		rx-start	= <7 5>;
		rx-force	= <1 1>;
		tx-coeff	= <0 0 0 12 4>;
	};
	serdes_lane1: lane@1 {
		#phy-cells	= <0>;
		reg		= <1>;
		status		= "ok";
		control-rate	= <2>;
		rx-start	= <7 5>;
		rx-force	= <1 1>;
		tx-coeff	= <0 0 0 12 4>;
	};
	serdes_lane2: lane@2 {
		#phy-cells	= <0>;
		reg		= <2>;
		status		= "ok";
		control-rate	= <2>;
		rx-start	= <7 5>;
		rx-force	= <1 1>;
		tx-coeff	= <0 0 0 12 4>;
	};
	serdes_lane3: lane@3 {
		#phy-cells	= <0>;
		reg		= <3>;
		status		= "ok";
		control-rate	= <2>;
		rx-start	= <7 5>;
		rx-force	= <1 1>;
		tx-coeff	= <0 0 0 12 4>;
	};
};

netcp: netcp@2000000 {
	reg = <0x2620110 0x8>;
	reg-names = "efuse";
	compatible = "ti,netcp-1.0";
	#address-cells = <1>;
	#size-cells = <1>;

	/* NetCP address range */
	ranges  = <0 0x2000000 0x100000>;

	clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
	clock-names = "pa_clk", "ethss_clk", "cpts";
	dma-coherent;
  ti,navigator-dmas = <&dma_gbe 22>,  /* rx flow for CPSW port 0 */
                      <&dma_gbe 23>,  /* rx flow for CPSW port 1 */
                      <&dma_gbe 24>,  /* rx flow for CPSW port 2 */
                      <&dma_gbe 25>,  /* rx flow for CPSW port 3 */
                      <&dma_gbe 8>;   /* CPSW tx channel */
  ti,navigator-dma-names = "netrx0",
                           "netrx1",
                           "netrx2",
                           "netrx3",
                           "nettx";
	netcp-devices {
		ranges;
		#address-cells = <1>;
		#size-cells = <1>;
		gbe@90000 { /* ETHSS */
			#address-cells = <1>;
			#size-cells = <1>;
			label = "netcp-gbe";
			compatible = "ti,netcp-gbe";
			syscon-subsys = <&gbe_subsys>;
			reg = <0x90100 0x200>, <0x90400 0x200>, <0x90800 0x700>;
			tx-queue = <648>;
			tx-channel = "nettx";

			interfaces {
				gbe0: interface-0 {
					phys = <&serdes_lane0>;
					slave-port = <0>;
					link-interface = <1>;
					phy-handle = <&ethphy0>;
				};
				gbe1: interface-1 {
					phys = <&serdes_lane1>;
					slave-port = <1>;
					link-interface = <1>;
					phy-handle = <&ethphy1>;
				};
        gbe2: interface-2 {
          status = "ok";
          phys = <&serdes_lane2>;
          slave-port = <2>;
          link-interface = <1>;
          phy-handle = <&ethphy2>;
        };
        gbe3: interface-3 {
          status = "ok";
          phys = <&serdes_lane3>;
          slave-port = <3>;
          link-interface = <1>;
          phy-handle = <&ethphy3>;
        };
			};
		};
	};

	netcp-interfaces {
		interface-0 {
			rx-channel = "netrx0";
			rx-pool = <1024 12>;
			tx-pool = <1024 12>;
			rx-queue-depth = <128 128 0 0>;
			rx-buffer-size = <1518 4096 0 0>;
			rx-queue = <8704>;
			tx-completion-queue = <8708>;
			efuse-mac = <1>;
			netcp-gbe = <&gbe0>;

		};
		interface-1 {
			rx-channel = "netrx1";
			rx-pool = <1024 12>;
			tx-pool = <1024 12>;
			rx-queue-depth = <128 128 0 0>;
			rx-buffer-size = <1518 4096 0 0>;
			rx-queue = <8705>;
			tx-completion-queue = <8709>;
			efuse-mac = <0>;
			local-mac-address = [02 18 31 7e 3e 6f];
			netcp-gbe = <&gbe1>;
		};
    interface-2 {
      status = "ok";
      rx-channel = "netrx2";
      rx-pool = <1024 12>;
      tx-pool = <1024 12>;
      rx-queue-depth = <128 128 0 0>;
      rx-buffer-size = <1518 4096 0 0>;
      rx-queue = <8706>;
      tx-completion-queue = <8710>;
      efuse-mac = <0>;
      local-mac-address = [02 18 31 7e 3e 6e];
      netcp-gbe = <&gbe2>;
     };
    interface-3 {
      status = "ok";
      rx-channel = "netrx3";
      rx-pool = <1024 12>;
      tx-pool = <1024 12>;
      rx-queue-depth = <128 128 0 0>;
      rx-buffer-size = <1518 4096 0 0>;
      rx-queue = <8707>;
      tx-completion-queue = <8711>;
      efuse-mac = <0>;
      local-mac-address = [02 18 31 7e 3e 6d];
      netcp-gbe = <&gbe3>;
      };
	};
};

sa_subsys: subsys@20c0000 {
	compatible = "simple-bus";
	#address-cells = <1>;
	#size-cells = <1>;
	ranges = <0 0x20c0000 0x40000>;

	sa_config: subsys@0 {
		compatible = "syscon";
		reg = <0x0 0x100>;
	};

	rng@24000 {
		compatible = "ti,keystone-rng";
		reg = <0x24000 0x1000>;
		ti,syscon-sa-cfg = <&sa_config>;
		clocks = <&clksa>;
		clock-names = "fck";
	};
};
// SPDX-License-Identifier: GPL-2.0
/*
 * Keystone 2 Kepler/Hawking EVM device tree
 *
 * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/
 */
/dts-v1/;

#include "keystone.dtsi"
#include "keystone-k2hk.dtsi"
#include <dt-bindings/net/ti-dp83867.h> 
/ {
	compatible =  "ti,k2hk-evm", "ti,k2hk", "ti,keystone";
	model = "Texas Instruments Keystone 2 Kepler/Hawking EVM";

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		dsp_common_memory: dsp-common-memory@81f800000 {
			compatible = "shared-dma-pool";
			reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
			reusable;
			status = "okay";
		};

		dsp_common_mpm_memory: dsp-common-mpm-memory@820000000 {
			compatible = "ti,keystone-dsp-mem-pool";
			reg = <0x00000008 0x20000000 0x00000000 0x10000000>;
			no-map;
			status = "okay";
		};
	};

	leds {
		compatible = "gpio-leds";
		debug1_1 {
			label = "keystone:green:debug1";
			gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */
		};

		debug1_2 {
			label = "keystone:red:debug1";
			gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */
		};

		debug2 {
			label = "keystone:blue:debug2";
			gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */
		};

		debug3 {
			label = "keystone:blue:debug3";
			gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */
		};
	};
};

&soc0 {
		clocks {
			refclksys: refclksys {
				#clock-cells = <0>;
				compatible = "fixed-clock";
				clock-frequency = <122880000>;
				clock-output-names = "refclk-sys";
			};

			refclkpass: refclkpass {
				#clock-cells = <0>;
				compatible = "fixed-clock";
				clock-frequency = <122880000>;
				clock-output-names = "refclk-pass";
			};

			refclkarm: refclkarm {
				#clock-cells = <0>;
				compatible = "fixed-clock";
				clock-frequency = <125000000>;
				clock-output-names = "refclk-arm";
			};

			refclkddr3a: refclkddr3a {
				#clock-cells = <0>;
				compatible = "fixed-clock";
				clock-frequency = <100000000>;
				clock-output-names = "refclk-ddr3a";
			};

			refclkddr3b: refclkddr3b {
				#clock-cells = <0>;
				compatible = "fixed-clock";
				clock-frequency = <100000000>;
				clock-output-names = "refclk-ddr3b";
			};
		};
};

&usb_phy {
	status = "okay";
};

&keystone_usb0 {
	status = "okay";
};

&usb0 {
	dr_mode = "host";
};

&aemif {
	cs0 {
		#address-cells = <2>;
		#size-cells = <1>;
		clock-ranges;
		ranges;

		ti,cs-chipselect = <0>;
		/* all timings in nanoseconds */
		ti,cs-min-turnaround-ns = <12>;
		ti,cs-read-hold-ns = <6>;
		ti,cs-read-strobe-ns = <23>;
		ti,cs-read-setup-ns = <9>;
		ti,cs-write-hold-ns = <8>;
		ti,cs-write-strobe-ns = <23>;
		ti,cs-write-setup-ns = <8>;

		nand@0,0 {
			compatible = "ti,keystone-nand","ti,davinci-nand";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0 0 0x4000000
			       1 0 0x0000100>;

			ti,davinci-chipselect = <0>;
			ti,davinci-mask-ale = <0x2000>;
			ti,davinci-mask-cle = <0x4000>;
			ti,davinci-mask-chipsel = <0>;
			nand-ecc-mode = "hw";
			ti,davinci-ecc-bits = <4>;
			nand-on-flash-bbt;

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

			partition@100000 {
				label = "params";
				reg = <0x100000 0x80000>;
				read-only;
			};

			partition@180000 {
				label = "ubifs";
				reg = <0x180000 0x1fe80000>;
			};
		};
	};
};

&i2c0 {
	dtt@50 {
		compatible = "atmel,24c1024";
		reg = <0x50>;
	};
};

&spi0 {
	nor_flash: n25q128a11@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "Micron,n25q128a11";
		spi-max-frequency = <54000000>;
		m25p,fast-read;
		reg = <0>;

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

		partition@1 {
			label = "misc";
			reg = <0x80000 0xf80000>;
		};
	};
};

&mdio {
	status = "ok";
	ethphy0: ethernet-phy@0 {
		compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
		reg = <0>;
	};

	ethphy1: ethernet-phy@1 {
		compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
		reg = <1>;
	};

  ethphy2: ethernet-phy@2 {
	  status = "ok";
    compatible = "ti,dp83867" , "ethernet-phy-ieee802.3-c22";
    reg = <2>;
    ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
    ti,min-output-impedance;
   };

  ethphy3: ethernet-phy@3 {
	 status = "ok";
   compatible = "ti,dp83867" , "ethernet-phy-ieee802.3-c22";
   reg = <3>;
   ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
   ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
   ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
   ti,min-output-impedance;
   };

};

&dsp0 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp1 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp2 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp3 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp4 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp5 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp6 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&dsp7 {
	memory-region = <&dsp_common_memory>;
	status = "okay";
};

&gbe_serdes {
	status = "okay";
};

#include "k2hk-evm-cmem.dtsi"
#include "keystone-uio.dtsi"
#include "k2hk-uio.dtsi"

Regards,

Snehal 

  • Hi,

    Let me check this and I will update the thread.

    Best Regards,
    Yordan

  • Hi Yordan,

    I have debugged more on kernel NETCP driver, rx-flow seems fine as configured in device tree but there is a problem to receive a packet from PHY-2 and PHY 3.

    Please give some pointer to debug further.

    Regards,

    Snehal

  • Hi,

    I noticed that you say DP83867 PHY driver is ported from u-boot, is that correct? What is the reason for porting this driver from u-boot? Linux kernel has a DP83867 driver, you should have CONFIG_DP83867_PHY=y in your defconfig file.  It is possible that the u-boot driver has limited functionality enabled.

    Best Regards,
    Yordan

  • Hi Yordan,

    DP83867 Phy driver SGMII portion is ported from u-boot as PDK_06 Linux DP83867 driver does not have SGMII support. rest of the Linux driver remains untouched.

    Regards,

    Snehal

  • Hi,

    Okay, do you get some errors in your bootlog? Can you share the bootlog (dmesg)?

    Best Regards,
    Yordan

  • Hi Yordan,

    There are no errors on boot log for eth phy, PFA boot log.

    U-Boot SPL 2019.01-g8b90adfb16 (Aug 16 2019 - 06:31:45 +0000)
    Trying to boot from SPI
    
    
    U-Boot 2019.01-g8b90adfb16 (Aug 16 2019 - 06:31:45 +0000)
    
    CPU: 66AK2Hx SRModel: Texas Instruments Keystone 2 Kepler/Hawking EVM
    DRAM:  DDR3A Speed will be configured for 1600 Operation.
    Detected SO-DIMM [18KSF1G72HZ-1G6E2 ]
    DDR3 speed 1600
    DRAM: 8 GiB (includes reported below)
    
    Clear entire DDR3 memory to enable ECC
    2 GiB
    NAND:  512 MiB
    Loading Environment from NAND... OK
    Net:
    Warning: netcp@2000000 using MAC address from ROM
    eth0: netcp@2000000
    Warning: netcp@slave-1 (eth1) using random MAC address - ce:1f:e3:64:07:1d
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - 1e:50:69:7e:7b:91
    , eth2: netcp@slave-2Could not get PHY for ethernet-mdio: addr 3
    
    Warning: netcp@slave-3 (eth3) using random MAC address - 7a:c7:b3:d3:c4:a8
    , eth3: netcp@slave-3
    Hit any key to stop autoboot:  0
    
    netcp@slave-2 Waiting for SGMII auto negotiation to complete. done
    netcp@slave-2 Waiting for PHY auto negotiation to complete. done
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 192.168.9.224 (1262 ms)
    Using netcp@slave-2 device
    TFTP from server 192.168.11.111; our IP address is 192.168.9.224
    Filename '/tftpboot/pdk_06/skern-k2hk.bin'.
    Load address: 0x87000000
    Loading: #######
             1.3 MiB/s
    done
    Bytes transferred = 32832 (8040 hex)
    K2_BM_15.07-53-ge1f885a SoC:k2hk built:07:44:37, Aug  8 2019
    
    ## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
    
    netcp@slave-2 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 192.168.9.224 (5 ms)
    Using netcp@slave-2 device
    TFTP from server 192.168.11.111; our IP address is 192.168.9.224
    Filename '/tftpboot/pdk_06/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ###############################
             1.5 MiB/s
    done
    Bytes transferred = 4149760 (3f5200 hex)
    
    netcp@slave-2 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 192.168.9.224 (10 ms)
    Using netcp@slave-2 device
    TFTP from server 192.168.11.111; our IP address is 192.168.9.224
    Filename '/tftpboot/pdk_06/k2-fw-initrd.cpio.gz'.
    Load address: 0x88080000
    Loading: ##########
             1.4 MiB/s
    done
    Bytes transferred = 50081 (c3a1 hex)
    
    netcp@slave-2 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 192.168.9.224 (6 ms)
    Using netcp@slave-2 device
    TFTP from server 192.168.11.111; our IP address is 192.168.9.224
    Filename '/tftpboot/pdk_06/keystone-k2hk-evm.dtb'.
    Load address: 0x88000000
    Loading: ########
             1.1 MiB/s
    done
    Bytes transferred = 40564 (9e74 hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8fff3000, end 8ffff3a1 ... OK
       Loading Device Tree to 8ffe6000, end 8fff2e73 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.38-g4dae378bbe (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Thu Aug 8 07:49:18 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1932160
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.11.111:/opt/pdk_06_k2hk,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
    [    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: 7616736K/7733248K available (8192K kernel code, 275K rwdata, 2604K rodata, 2048K init, 265K bss, 83744K reserved, 32768K cma-reserved, 7184384K 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 : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 276 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000015] Switching to timer-based delay loop, resolution 5ns
    [    0.000236] keystone timer clock @200000000 Hz
    [    0.000442] Console: colour dummy device 80x30
    [    0.000485] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000500] pid_max: default: 32768 minimum: 301
    [    0.000609] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000620] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001164] CPU: Testing write buffer coherency: ok
    [    0.001193] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.001418] /cpus/cpu@0 missing clock-frequency property
    [    0.001446] /cpus/cpu@1 missing clock-frequency property
    [    0.001472] /cpus/cpu@2 missing clock-frequency property
    [    0.001499] /cpus/cpu@3 missing clock-frequency property
    [    0.001511] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060009] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080015] rcu: Hierarchical SRCU implementation.
    [    0.100186] EFI services will not be available.
    [    0.120067] smp: Bringing up secondary CPUs ...
    [    0.205317] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.205323] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.285437] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.285444] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365555] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.365561] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365713] smp: Brought up 1 node, 4 CPUs
    [    0.365725] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.365735] CPU: All CPU(s) started in HYP mode.
    [    0.365742] CPU: Virtualization extensions available.
    [    0.366258] devtmpfs: initialized
    [    0.373362] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.373612] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.373628] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.374179] pinctrl core: initialized pinctrl subsystem
    [    0.374596] DMI not present or invalid.
    [    0.374839] NET: Registered protocol family 16
    [    0.375855] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.376647] cpuidle: using governor ladder
    [    0.376679] cpuidle: using governor menu
    [    0.376780] No ATAGs?
    [    0.376887] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.376899] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.396536] media: Linux media interface: v0.10
    [    0.396571] videodev: Linux video capture interface: v2.00
    [    0.396639] pps_core: LinuxPPS API ver. 1 registered
    [    0.396648] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.396666] PTP clock support registered
    [    0.396694] EDAC MC: Ver: 3.0.0
    [    0.397053] Advanced Linux Sound Architecture Driver Initialized.
    [    0.397755] clocksource: Switched to clocksource arch_sys_counter
    [    0.404679] NET: Registered protocol family 2
    [    0.405140] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.405166] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.405200] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.405261] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.405327] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.405348] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.405527] NET: Registered protocol family 1
    [    0.405886] RPC: Registered named UNIX socket transport module.
    [    0.405895] RPC: Registered udp transport module.
    [    0.405903] RPC: Registered tcp transport module.
    [    0.405910] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.406064] Trying to unpack rootfs image as initramfs...
    [    0.409374] Freeing initrd memory: 52K
    [    0.409600] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.409884] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.410365] platform alarmtimer: set dma_pfn_offset00780000
    [    0.410951] Initialise system trusted keyrings
    [    0.411071] workingset: timestamp_bits=14 max_order=21 bucket_order=7
    [    0.415514] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.415938] NFS: Registering the id_resolver key type
    [    0.415957] Key type id_resolver registered
    [    0.415965] Key type id_legacy registered
    [    0.416000] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.416302] pstore: using deflate compression
    [    0.417524] Key type asymmetric registered
    [    0.417534] Asymmetric key parser 'x509' registered
    [    0.417576] bounce: pool size: 64 pages
    [    0.417605] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.417615] io scheduler noop registered
    [    0.417624] io scheduler deadline registered
    [    0.417711] io scheduler cfq registered (default)
    [    0.417720] io scheduler mq-deadline registered
    [    0.417729] io scheduler kyber registered
    [    0.418092] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [    0.418876] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    0.423547] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.423701] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.423715] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.423845] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.424010] keystone-navigator-qmss soc@0:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [    0.426857] keystone-navigator-dma soc@0:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.468290] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.468354] platform serial8250: set dma_pfn_offset00780000
    [    0.471407] console [ttyS0] disabled
    [    0.471472] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.356992] console [ttyS0] enabled
    [    1.361383] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.381135] brd: module loaded
    [    1.390782] loop: module loaded
    [    1.395486] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.402123] m25p80 spi0.0: unrecognized JEDEC id bytes: 9d, 70, 19
    [    1.408370] spi_davinci 21000400.spi: Controller at 0x(ptrval)
    [    1.414504] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.420876] spi_davinci 21000600.spi: Controller at 0x(ptrval)
    [    1.426996] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.433354] spi_davinci 21000800.spi: Controller at 0x(ptrval)
    [    1.439528] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.445797] libphy: Fixed MDIO Bus: probed
    [    1.507783] davinci_mdio 2090300.mdio: davinci mdio revision 1.5, bus freq 2500000
    [    1.515383] libphy: 2090300.mdio: probed
    [    1.521679] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    1.530260] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    1.538834] davinci_mdio 2090300.mdio: phy[2]: device 2090300.mdio:02, driver TI DP83867
    [    1.547176] ### netcp-core: rx-chan =netrx0
    [    1.551392] ### netcp-core: rx-queue =8704
    [    1.555502] ### netcp-core: rx-pool sz = 1024 , region id = 12
    [    1.561472] ### netcp-core: rx-chan =netrx1
    [    1.565670] ### netcp-core: rx-queue =8705
    [    1.569795] ### netcp-core: rx-pool sz = 1024 , region id = 12
    [    1.575748] ### netcp-core: rx-chan =netrx2
    [    1.579964] ### netcp-core: rx-queue =8706
    [    1.584075] ### netcp-core: rx-pool sz = 1024 , region id = 12
    [    1.590088] ### netcp-ethss: max number of port =5
    [    1.595065] ### channel 8 opened from DMA dma_gbe
    [    2.107758] ti,keystone-serdes 232a000.phy: init_lane_rx wait sd valid FAILED -110
    [    2.115368] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
    [    2.121850] netcp-1.0 2620110.netcp: ALE Table size 1024
    [    2.127202] netcp-1.0 2620110.netcp: cpts: overflow check period 350 (jiffies)
    [    2.134471] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:600000000 calc_mult:3579139413 calc_shift:31 error:-1 nsec/sec
    [    2.146336] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    2.153531] i2c /dev entries driver
    [    2.158855] sdhci: Secure Digital Host Controller Interface driver
    [    2.165059] sdhci: Copyright(c) Pierre Ossman
    [    2.169692] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.176489] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.183422] platform snd-soc-dummy: set dma_pfn_offset00780000
    [    2.190306] NET: Registered protocol family 10
    [    2.195740] Segment Routing with IPv6
    [    2.199491] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.205870] NET: Registered protocol family 17
    [    2.210468] Key type dns_resolver registered
    [    2.214896] Registering SWP/SWPB emulation handler
    [    2.220199] Loading compiled-in X.509 certificates
    [    2.231176] hctosys: unable to open rtc device (rtc0)
    [    2.237006] ### netcp: open rx completion q id=8704 name=rx-compl-eth0,  netcp->rx_queue =(ptrval)
    [    2.246028] ### netcp: open rx completion q id=8704
    [    2.250946] ### netcp: open rx fdq q-eth0-0
    [    2.255151] ### netcp: open rx fdq q-eth0-1
    [    2.259384] ### channel 22 opened from DMA dma_gbe
    [    2.264191] opened RX channel: (ptrval), name =netrx0
    [    2.468246] netcp-1.0 2620110.netcp eth0: Link is Down
    [    2.475612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.481922] ### netcp: open rx completion q id=8705 name=rx-compl-eth1,  netcp->rx_queue =(ptrval)
    [    2.490949] ### netcp: open rx completion q id=8705
    [    2.495846] ### netcp: open rx fdq q-eth1-0
    [    2.500068] ### netcp: open rx fdq q-eth1-1
    [    2.504279] ### channel 23 opened from DMA dma_gbe
    [    2.509104] opened RX channel: (ptrval), name =netrx1
    [    2.718238] netcp-1.0 2620110.netcp eth1: Link is Down
    [    2.724276] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    2.730517] ### netcp: open rx completion q id=8706 name=rx-compl-eth2,  netcp->rx_queue =(ptrval)
    [    2.739531] ### netcp: open rx completion q id=8706
    [    2.744428] ### netcp: open rx fdq q-eth2-0
    [    2.748648] ### netcp: open rx fdq q-eth2-1
    [    2.752860] ### channel 24 opened from DMA dma_gbe
    [    2.757667] opened RX channel: (ptrval), name =netrx2
    [    2.771032] ###   DP83867 SGMII Start
    [    2.777084] DP83867 PHY identifier(2 3) = 2000 a231)
    [    2.782301] LWS:BMCR(0x00)=1140
    [    2.785667] LWS:BMSR(0x01)=7949
    [    2.789292] LWS:ANAR(0x04)=181
    [    2.792574] LWS:ANLPAR(0x05)=0
    [    2.795854] LWS:STS1(0x0A)=0
    [    2.798980] LWS:PHYCR(0x10)=f840
    [    2.802435] LWS:PHYSTS(0x11)=2
    [    2.805497] LWS:CONF4(0x31)=ffffffea
    [    2.809102] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [    2.813472] LWS:STRAP_STS1(0x6e)=ffffffea
    [    2.817494] LWS:STRAP_STS2(0x6f)=ffffffea
    [    2.821547] ###   DP83867 SGMII Done
    [    2.826472] ###   DP83867 SGMII Start
    [    2.833672] DP83867 PHY identifier(2 3) = 2000 a231)
    [    2.838891] LWS:BMCR(0x00)=1140
    [    2.842260] LWS:BMSR(0x01)=7949
    [    2.845627] LWS:ANAR(0x04)=181
    [    2.848926] LWS:ANLPAR(0x05)=0
    [    2.852208] LWS:STS1(0x0A)=0
    [    2.855314] LWS:PHYCR(0x10)=f840
    [    2.858788] LWS:PHYSTS(0x11)=2
    [    2.861851] LWS:CONF4(0x31)=ffffffea
    [    2.865435] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [    2.869824] LWS:STRAP_STS1(0x6e)=ffffffea
    [    2.873845] LWS:STRAP_STS2(0x6f)=ffffffea
    [    2.877882] ###   DP83867 SGMII Done
    [    2.881933] netcp-1.0 2620110.netcp eth2: Link is Down
    [    2.888027] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [    5.688867] netcp-1.0 2620110.netcp eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    5.707824] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.737834] Sending DHCP requests .
    [    6.009097] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
    [    6.747772] , OK
    [    6.769649] IP-Config: Got DHCP answer from 192.168.10.1, my address is 192.168.11.228
    [    6.777597] IP-Config: Complete:
    [    6.780873]      device=eth0, hwaddr=50:8c:b1:60:99:4b, ipaddr=192.168.11.228, mask=255.255.252.0, gw=192.168.10.1
    [    6.791278]      host=192.168.11.228, domain=lekhaws.com, nis-domain=(none)
    [    6.798283]      bootserver=0.0.0.0, rootserver=192.168.11.111, rootpath=
    [    6.798289]      nameserver0=8.8.8.8, nameserver1=192.168.10.10
    [    6.827572] ALSA device list:
    [    6.830568]   No soundcards found.
    [    6.849758] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    6.855981] devtmpfs: mounted
    [    6.860220] Freeing unused kernel memory: 2048K
    [    6.864892] Run /sbin/init as init process
    [    6.882154] random: fast init done
    [    7.238360] systemd[1]: System time before build time, advancing clock.
    [    7.280977] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    7.302835] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.05!
    
    [    7.348984] systemd[1]: Set hostname to <k2hk-evm>.
    [    7.592442] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    7.609645] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    7.960903] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.968687] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    8.009749] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.021625] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st…ce nodes for the current kernel...
    [    8.067914] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.075206] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    8.109010] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    8.148080] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [    8.199672] random: crng init done
    [    8.203087] random: 3 urandom warning(s) missed due to ratelimiting
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Remote File Systems.
             Starting Journal Service...
             Mounting Kernel Debug File System...
    [  OK  ] Listening on udev Control Socket.
             Starting udev Coldplug all Devices...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-syslog\x2dng.slice.
    [    8.838666] cmemk: loading out-of-tree module taints kernel.
    [    8.845422] CMEMK module: reference Linux version 4.19.38
    [    8.851294] allocated heap buffer 0xc100000 of size 0x480000
    [    8.857022] cmemk initialized
    [  OK  ] Created slice User and Session Slice.
    [    8.870475] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Slices.
    [    8.898381] NET: Registered protocol family 45
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [    9.732704] keystone-rproc 10800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.739086] systemd-journald[98]: Received request to flush runtime journal from PID 1
    [    9.748676] remoteproc remoteproc0: 10800000.dsp is available
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [    9.782962] keystone-rproc 11800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.792301] remoteproc remoteproc1: 11800000.dsp is available
    [    9.800368] keystone-rproc 12800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.809473] remoteproc remoteproc2: 12800000.dsp is available
    [  OK  ] Started Flush Journal to Pers[    9.820949] keystone-rproc 13800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.831903] remoteproc remoteproc3: 13800000.dsp is available
    
    [    9.839605] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    9.855939] keystone-rproc 14800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.865987] remoteproc remoteproc4: 14800000.dsp is available
    [    9.873951] keystone-rproc 15800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.883763] remoteproc remoteproc5: 15800000.dsp is available
    [    9.893279] keystone-rproc 16800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.904924] remoteproc remoteproc6: 16800000.dsp is available
    [    9.915431] keystone-rproc 17800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    9.925506] remoteproc remoteproc7: 17800000.dsp is available
    [    9.969772] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [   10.008607] keystone-usbphy 2620738.usb_phy: 2620738.usb_phy supply vcc not found, using dummy regulator
    [   10.018379] keystone-usbphy 2620738.usb_phy: Linked as a consumer to regulator.0
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Found device /dev/ttyS0.
    [   11.227941] dwc3 2690000.dwc3: Failed to get clk 'ref': -2
    [   11.234024] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [   11.289861] usbcore: registered new interface driver usbfs
    [   11.296828] usbcore: registered new interface driver hub
    [   11.303150] usbcore: registered new device driver usb
    [   11.332853] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   11.338811] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   11.346907] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x0000000002010010
    [   11.356382] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0x02690000
    [   11.362730] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   11.371057] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.378335] usb usb1: Product: xHCI Host Controller
    [   11.383232] usb usb1: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   11.389804] usb usb1: SerialNumber: xhci-hcd.0.auto
    [   11.397876] hub 1-0:1.0: USB hub found
    [   11.401679] hub 1-0:1.0: 1 port detected
    [   11.406936] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   11.412480] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   11.420255] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
    [   11.427016] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.435292] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   11.443614] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.450885] usb usb2: Product: xHCI Host Controller
    [   11.455781] usb usb2: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   11.462354] usb usb2: SerialNumber: xhci-hcd.0.auto
    [   11.468548] hub 2-0:1.0: USB hub found
    [   11.472344] hub 2-0:1.0: 1 port detected
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Periodic Command Scheduler.
             Starting rng-tools.service...
             Starting TI Multiproc Manager...
             Starting Matrix GUI...
             Starting RPC Bind Service...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting System Logger Daemon "default" instance...
             Starting TI IPC Daemon...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Login Service...
    [  OK  ] Started Job spooling tools.
             Starting Ethernet Bridge Filtering Tables...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started rng-tools.service.
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started TI IPC Daemon.
             Starting softhsm-daemon.service...
             Starting run_srss_tc.service...
             Starting telnetd.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Network.
    [  OK  ] Started Vsftpd ftp daemon.
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [   17.840818] registered dspmem misc device
    [  OK  ] Started Ethernet Bridge Filtering Tables.
    [  OK  ] Started Login Service.
    [  OK  ] Started run_srss_tc.service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started softhsm-daemon.service.
             Starting thttpd.service...
             Starting syslog.service...
    [  OK  ] Started TI Multiproc Manager.
             Starting TI MultiCore Tools Daemon...
    [  OK  ] Started thttpd.service.
    [   18.734491] NET: Registered protocol family 15
    [   18.941343] Initializing XFRM netlink socket
    [  OK  ] Started syslog.service.
             Starting gdbserverproxy.service...
    [  OK  ] Started System Logger Daemon "default" instance.
    [  OK  ] Started gdbserverproxy.service.
             Starting parse-ip.service...
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    
    
    #>>>>> LCD 12
    IP Address:
    192.168.11.228
    [   21.541609] remoteproc remoteproc0: powering up 10800000.dsp
    [   21.547338] remoteproc remoteproc0: Booting unspecified pre-loaded fw image
    [   21.556727] remoteproc remoteproc0: registered virtio0 (type 7)
    [   21.562759] remoteproc remoteproc0: remote processor 10800000.dsp is now up
    [   21.576115] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   21.576189] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [   21.591144] remoteproc remoteproc1: powering up 11800000.dsp
    [   21.596853] remoteproc remoteproc1: Booting unspecified pre-loaded fw image
    [   21.605060] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   21.605170] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
    [   21.612209] remoteproc remoteproc1: registered virtio1 (type 7)
    [   21.624457] remoteproc remoteproc1: remote processor 11800000.dsp is now up
    [   21.655101] remoteproc remoteproc2: powering up 12800000.dsp
    [   21.660871] remoteproc remoteproc2: Booting unspecified pre-loaded fw image
    [   21.670113] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   21.675785] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   21.683461] remoteproc remoteproc2: registered virtio2 (type 7)
    [   21.689518] remoteproc remoteproc2: remote processor 12800000.dsp is now up
    [   21.718083] remoteproc remoteproc3: powering up 13800000.dsp
    [   21.723837] remoteproc remoteproc3: Booting unspecified pre-loaded fw image
    [   21.733605] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   21.739259] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   21.746717] remoteproc remoteproc3: registered virtio3 (type 7)
    [   21.752778] remoteproc remoteproc3: remote processor 13800000.dsp is now up
    [   21.781565] remoteproc remoteproc4: powering up 14800000.dsp
    [   21.787343] remoteproc remoteproc4: Booting unspecified pre-loaded fw image
    [   21.798805] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   21.798952] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [   21.811886] remoteproc remoteproc4: registered virtio4 (type 7)
    [   21.818302] remoteproc remoteproc4: remote processor 14800000.dsp is now up
    [   21.847565] remoteproc remoteproc5: powering up 15800000.dsp
    [   21.853352] remoteproc remoteproc5: Booting unspecified pre-loaded fw image
    [   21.864965] virtio_rpmsg_bus virtio5: rpmsg host is online
    [   21.865119] virtio_rpmsg_bus virtio5: creating channel rpmsg-proto addr 0x3d
    [   21.870934] remoteproc remoteproc5: registered virtio5 (type 7)
    [   21.883732] remoteproc remoteproc5: remote processor 15800000.dsp is now up
    [   21.912607] remoteproc remoteproc6: powering up 16800000.dsp
    [   21.918376] remoteproc remoteproc6: Booting unspecified pre-loaded fw image
    [   21.927878] virtio_rpmsg_bus virtio6: rpmsg host is online
    [   21.928615] virtio_rpmsg_bus virtio6: creating channel rpmsg-proto addr 0x3d
    [   21.933595] remoteproc remoteproc6: registered virtio6 (type 7)
    [   21.946525] remoteproc remoteproc6: remote processor 16800000.dsp is now up
    [   21.975479] remoteproc remoteproc7: powering up 17800000.dsp
    [   21.981245] remoteproc remoteproc7: Booting unspecified pre-loaded fw image
    [   21.991833] virtio_rpmsg_bus virtio7: rpmsg host is online
    [   21.992012] virtio_rpmsg_bus virtio7: creating channel rpmsg-proto addr 0x3d
    [   21.997461] remoteproc remoteproc7: registered virtio7 (type 7)
    [   22.010586] remoteproc remoteproc7: remote processor 17800000.dsp is now up
    [  OK  ] Started TI MultiCore Tools Daemon.
    [  OK  ] Started parse-ip.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            nettle
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm ttyS0
    
    Arago 2019.05 k2hk-evm ttyS0
    
    k2hk-evm login:
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm ttyS0
    
    Arago 2019.05 k2hk-evm ttyS0
    
    k2hk-evm login: root
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:60:99:4B
              inet addr:192.168.11.228  Bcast:192.168.11.255  Mask:255.255.252.0
              inet6 addr: fe80::528c:b1ff:fe60:994b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:62443 errors:0 dropped:84 overruns:0 frame:0
              TX packets:48536 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:62895609 (59.9 MiB)  TX bytes:7702662 (7.3 MiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:140 (140.0 B)  TX bytes:140 (140.0 B)
    
    root@k2hk-evm:~# ifconfig eth2 up
    [  126.265806] ### netcp: open rx completion q id=8706 name=rx-compl-eth2,  netcp->rx_queue =da2403b4
    [  126.274911] ### netcp: open rx completion q id=8706
    [  126.281036] ### netcp: open rx fdq q-eth2-0
    [  126.285260] ### netcp: open rx fdq q-eth2-1
    [  126.285321] ### channel 24 opened from DMA dma_gbe
    [  126.295083] opened RX channel: 20409c25, name =netrx2
    [  126.815832] ###   DP83867 SGMII Start
    [  126.821870] DP83867 PHY identifier(2 3) = 2000 a231)
    [  126.827070] LWS:BMCR(0x00)=1140
    [  126.830644] LWS:BMSR(0x01)=7949
    [  126.830868] LWS:ANAR(0x04)=181
    [  126.837144] LWS:ANLPAR(0x05)=0
    [  126.840453] LWS:STS1(0x0A)=0
    [  126.843678] LWS:PHYCR(0x10)=f840
    [  126.847132] LWS:PHYSTS(0x11)=2
    [  126.850225] LWS:CONF4(0x31)=ffffffea
    [  126.853845] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [  126.853852] LWS:STRAP_STS1(0x6e)=ffffffea
    [  126.862264] LWS:STRAP_STS2(0x6f)=ffffffea
    [  126.862269] ###   DP83867 SGMII Done
    [  126.863197] ###   DP83867 SGMII Start
    [  126.875968] DP83867 PHY identifier(2 3) = 2000 a231)
    [  126.881332] LWS:BMCR(0x00)=1140
    [  126.884700] LWS:BMSR(0x01)=7949
    [  126.888066] LWS:ANAR(0x04)=181
    [  126.891383] LWS:ANLPAR(0x05)=0
    [  126.894877] LWS:STS1(0x0A)=0
    [  126.897985] LWS:PHYCR(0x10)=f840
    [  126.901546] LWS:PHYSTS(0x11)=2
    [  126.904610] LWS:CONF4(0x31)=ffffffea
    [  126.908197] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [  126.912610] LWS:STRAP_STS1(0x6e)=ffffffea
    [  126.916635] LWS:STRAP_STS2(0x6f)=ffffffea
    [  126.916638] ###   DP83867 SGMII Done
    [  126.917140] netcp-1.0 2620110.netcp eth2: Link is Down
    [  126.932345] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    root@k2hk-evm:~# [  130.090991] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
    
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 50:8C:B1:60:99:4B
              inet addr:192.168.11.228  Bcast:192.168.11.255  Mask:255.255.252.0
              inet6 addr: fe80::528c:b1ff:fe60:994b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:76018 errors:0 dropped:321 overruns:0 frame:0
              TX packets:49918 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:66283037 (63.2 MiB)  TX bytes:7914430 (7.5 MiB)
    
    eth2      Link encap:Ethernet  HWaddr 02:18:31:7E:3E:6E
              inet6 addr: fe80::18:31ff:fe7e:3e6e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:3966 (3.8 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:140 (140.0 B)  TX bytes:140 (140.0 B)
    
    root@k2hk-evm:~# tcpdump -i eth2 -v &
    [1] 780
    root@k2hk-evm:~# [  456.298889] device eth2 entered promiscuous mode
    tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 262144 bytes
    
    root@k2hk-evm:~# dhclient eth2 &
    [2] 786
    root@k2hk-evm:~# 07:56:17.360734 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
        0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 02:18:31:7e:3e:6e (oui Unknown), length 300, xid 0x51b08b26, Flags [none]
              Client-Ethernet-Address 02:18:31:7e:3e:6e (oui Unknown)
              Vendor-rfc1048 Extensions
                Magic Cookie 0x63825363
                DHCP-Message Option 53, length 1: Discover
                Parameter-Request Option 55, length 9:
                  Subnet-Mask, BR, Time-Zone, Default-Gateway
                  Domain-Name, Domain-Name-Server, Hostname, Netbios-Name-Server
                  Netbios-Scope
    07:56:22.409422 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
        0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 02:18:31:7e:3e:6e (oui Unknown), length 300, xid 0x51b08b26, secs 5, Flags [none]
              Client-Ethernet-Address 02:18:31:7e:3e:6e (oui Unknown)
              Vendor-rfc1048 Extensions
                Magic Cookie 0x63825363
                DHCP-Message Option 53, length 1: Discover
                Parameter-Request Option 55, length 9:
                  Subnet-Mask, BR, Time-Zone, Default-Gateway
                  Domain-Name, Domain-Name-Server, Hostname, Netbios-Name-Server
                  Netbios-Scope
    
    root@k2hk-evm:~#

    Regards,

    Snehal

  • Hi,

    Can you check the following e2e thread:


    It deals with similar issue on K2H board having 4 eth ports and provides a working dts file, which should be similar for K2K devices.


    Best Regards,
    Yordan

  • Hi Yordan,

    Thanks for the response,

    I have check this device tree, only qmss qpend-1 interrupt was different and there is not for xgbe and pa, which I am not using.

    qmss qpend-1 interrupt changes I have corrected as below, but this device tree did not help much.

    qpend-1 {
    qrange = <8704 16>;
    interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
    0 51 0xf04 0 52 0x104 0 53 0x204
    0 54 0xf04 0 55 0xf04 0 56 0xf04
    0 57 0xf04 0 58 0xf04 0 59 0xf04
    0 60 0xf04 0 61 0xf04 0 62 0xf04
    0 63 0xf04>;
    qalloc-by-id;
    };

     I have put debug log in DP83867 and related driver code and come to know that K2Hk SOC MAC SGMII link status is zero maens sgmii is down,

    TI Phy DP83867
    root@k2hk-evm:~# ifconfig eth2 up
    [ 37.586561] ### netcp: open rx completion q id=8706 name=rx-compl-eth2, netcp->rx_queue =74e8b67c
    [ 37.595608] ### netcp: open rx completion q id=8706
    [ 37.601000] ### netcp: open rx fdq q-eth2-0
    [ 37.605758] ### netcp: open rx fdq q-eth2-1
    [ 37.610139] ### channel 24 opened from DMA dma_gbe
    [ 37.615164] opened RX channel: de42ff22, name =netrx2
    [ 38.135302] MAC: SGMII[2] STATUS REG =0x30
    [ 38.135309] MAC: SGMII[2] CONTROL =0x1
    [ 38.139565] ### NETCP sgmii config: SGMII Base=2, slave=792848846
    [ 38.150115] Phy write: addr=0x2, regnum=0x1f, val=0x8000
    [ 38.150562] Phy write: addr=0x2, regnum=0x1f, val=0x4000
    [ 38.156116] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, devad=0x1f
    [ 38.168261] Phy-write: indirect addr=0x2, MII_MMD_DATA=0xe, renum=0x6f
    [ 38.175030] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, renum=0x401f
    [ 38.182231] ### DP83867 SGMII Start
    [ 38.182238] Phy write: addr=0x2, regnum=0x0, val=0x1140
    [ 38.186340] Phy write: addr=0x2, regnum=0x14, val=0x29c7
    [ 38.191839] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, devad=0x1f
    [ 38.203978] Phy-write: indirect addr=0x2, MII_MMD_DATA=0xe, renum=0x32
    [ 38.210781] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, renum=0x401f
    [ 38.217985] Phy write: addr=0x2, regnum=0x10, val=0xf840
    [ 38.218211] Phy write: addr=0x2, regnum=0x16, val=0x0
    [ 38.223757] ### DP83867 SGMII Done
    [ 38.232473] ### phy interrupt valid = -1
    [ 38.232477] ### Dp83867IS: Pool mode
    [ 38.232483] ### PHY AUTONEG_ENABLE OK
    [ 38.232704] Phy write: addr=0x2, regnum=0x4, val=0x1e1
    [ 38.244484] Phy write: addr=0x2, regnum=0x9, val=0x300
    [ 38.249887] ### PHY ADVERT OK
    [ 38.259000] DP83867 PHY identifier(2 3) = 2000 a231)
    [ 38.264199] LWS:BMCR(0x00)=1140
    [ 38.267563] LWS:BMSR(0x01)=7949
    [ 38.270963] LWS:ANAR(0x04)=1e1
    [ 38.274249] LWS:ANLPAR(0x05)=0
    [ 38.277529] LWS:STS1(0x0A)=0
    [ 38.280664] LWS:PHYCR(0x10)=f840
    [ 38.280884] LWS:PHYSTS(0x11)=2
    [ 38.286980] LWS:CONF4(0x31)=ffffffea
    [ 38.286985] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [ 38.286988] LWS:STRAP_STS1(0x6e)=ffffffea
    [ 38.286993] LWS:STRAP_STS2(0x6f)=ffffffea
    [ 38.287217] Phy write: addr=0x2, regnum=0x1f, val=0x4000
    [ 38.303279] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, devad=0x1f
    [ 38.303500] Phy-write: indirect addr=0x2, MII_MMD_DATA=0xe, renum=0x6f
    [ 38.321971] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, renum=0x401f
    [ 38.329154] ### DP83867 SGMII Start
    [ 38.332829] Phy write: addr=0x2, regnum=0x0, val=0x1140
    [ 38.333265] Phy write: addr=0x2, regnum=0x14, val=0x29c7
    [ 38.338754] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, devad=0x1f
    [ 38.350877] Phy-write: indirect addr=0x2, MII_MMD_DATA=0xe, renum=0x32
    [ 38.357645] Phy-write: indirect addr=0x2, MII_MMD_CTRL=0xd, renum=0x401f
    [ 38.364829] Phy write: addr=0x2, regnum=0x10, val=0xf840
    [ 38.365052] Phy write: addr=0x2, regnum=0x16, val=0x0
    [ 38.370629] ### DP83867 SGMII Done
    [ 38.379307] ### phy interrupt valid = -1
    [ 38.379311] ### Dp83867IS: Pool mode
    [ 38.379314] ### PHY AUTONEG_ENABLE OK
    [ 38.379963] Phy write: addr=0x2, regnum=0x9, val=0x300
    [ 38.390879] ### PHY ADVERT OK
    [ 38.391528] DP83867 PHY identifier(2 3) = 2000 a231)
    [ 38.404329] LWS:BMCR(0x00)=1140
    [ 38.407702] LWS:BMSR(0x01)=7949
    [ 38.411102] LWS:ANAR(0x04)=1e1
    root@k2hk-evm:~#[ 38.411323] LWS:ANLPAR(0x05)=0
    [ 38.411542] LWS:STS1(0x0A)=0
    [ 38.411760] LWS:PHYCR(0x10)=f840
    [ 38.411979] LWS:PHYSTS(0x11)=2
    [ 38.411982] LWS:CONF4(0x31)=ffffffea
    [ 38.411987] LWS:SGMII_ANEG_STS(0x37)=ffffffea
    [ 38.411991] LWS:STRAP_STS1(0x6e)=ffffffea
    [ 38.411996] LWS:STRAP_STS2(0x6f)=ffffffea
    [ 38.412435] ### phy start
    [ 38.412463] ### PHY AUTONEG_ENABLE OK
    [ 38.412488] ### NETCP:netcp_ethss_link_state_action
    [ 38.412506] netcp-1.0 2620110.netcp eth2: Link is Down
    [ 38.413601] Phy write: addr=0x2, regnum=0x9, val=0x300
    [ 38.414431] ### PHY ADVERT OK
    [ 38.416595] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [ 39.449075] ### phy link down
    [ 41.529285] Phy state: nolink
    [ 41.532265] ### phy link up
    [ 41.535100] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready

    Marvel PHY 

    root@k2hk-evm:~# ifconfig eth1 up
    [ 49.896311] ### netcp: open rx completion q id=8705 name=rx-compl-eth1, netcp->rx_queue =4a2506ce
    [ 49.905403] ### netcp: open rx completion q id=8705
    [ 49.910367] ### netcp: open rx fdq q-eth1-0
    [ 49.914607] ### netcp: open rx fdq q-eth1-1
    [ 49.914681] ### channel 23 opened from DMA dma_gbe
    [ 49.923734] opened RX channel: 1b3b40df, name =netrx1
    [ 49.931465] MAC: SGMII[1] STATUS REG =0x3d
    [ 49.931472] MAC: SGMII[1] CONTROL =0x1
    [ 49.935585] ### NETCP sgmii config: SGMII Base=1, slave=792848846
    [ 49.946147] Phy write: addr=0x1, regnum=0x0, val=0x8000
    [ 50.038375] Phy write: addr=0x1, regnum=0x16, val=0x0
    [ 50.043844] Phy write: addr=0x1, regnum=0x0, val=0x8000
    [ 50.148385] ### phy start
    [ 50.156279] Phy write: addr=0x1, regnum=0x0, val=0x8000
    [ 50.156303] ### NETCP:netcp_ethss_link_state_action
    [ 50.166540] netcp-1.0 2620110.netcp eth1: Link is Down
    [ 50.176805] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    root@k2hk-evm:~# [ 50.258145] Phy write: addr=0x1, regnum=0x18, val=0x4100
    [ 50.258371] ### PHY AUTONEG_ENABLE OK
    [ 50.268024] Phy write: addr=0x1, regnum=0x9, val=0xf00
    [ 50.268256] ### PHY ADVERT OK
    [ 51.288813] ### phy link down
    [ 53.369022] Phy state: nolink
    [ 53.372005] ### phy link up
    [ 53.374823] ### NETCP:netcp_ethss_link_state_action
    [ 53.379756] ### NETCP: link up phy call
    [ 53.383662] ### phy print status
    [ 53.383678] netcp-1.0 2620110.netcp eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 53.383707] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

    Is there any DP83867 SGMII supported driver is avalable ?

    DP83867 SGMII ported driver from u-boot is not helping out.

    I have check latest kernel 5.2.10 has partial support for SGMII https://elixir.bootlin.com/linux/latest/source/drivers/net/phy/dp83867.c setting sgmii autoneg timer to 16ms but there is no phy configuration done for enable autoneg .

    Regards,

    Snehal

  • Hi,

    The driver is dp83867.c, which is included with CONFIG_DP83867_PHY=y.

    This is what's supported in Processor SDK Linux.

    Best Regards,
    Yordan

  • Hi Yordan,

    I have use dp83867.c driver comes along with PDK_06_00_00_07, also CONFIG_DP83867_PHY=y is enabled in configs, but only missing part with this driver is sgmii configs. I will try the latest kernel 5.2.1 for this driver and update you.

    Regards,

    Snehal