(OSD3358) MDIO does not find PHY

Custom board with OSD3358 and two LAN8710 PHYs.

I am using am33xx.dtsi from

Here is my common.dtsi

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

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

	chosen {
		stdout-path = &uart0;
	};

	vmmcsd_fixed: fixedregulator0 {
		compatible = "regulator-fixed";
		regulator-name = "vmmcsd_fixed";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};

	leds {
		pinctrl-names = "default";
		pinctrl-0 = <&user_leds_s0>;

		compatible = "gpio-leds";

		led1 {
			label = "zcpu:green:usr0";
			gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led2 {
			label = "zcpu:yellow:usr1";
			gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

		led3 {
			label = "zcpu:red:usr2";
			gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};

	};

};

&am33xx_pinmux {
	pinctrl-names = "default", "default";
	pinctrl-0 = <&gpio1_pins_default>, <&gpio2_pins_default>;

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

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

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

	uart2_pins: pinmux_uart2_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE1)	/* (A17) spi0_sclk.uart2_rxd */
			AM33XX_IOPAD(0x954, PIN_OUTPUT_PULLDOWN | MUX_MODE1)	/* (B17) spi0_do.uart2_txd */
		>;
	};

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

	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			/* PHY1 */
			AM33XX_IOPAD(0x90c, PIN_INPUT_PULLUP | MUX_MODE1)    /* (H17) gmii1_crs.rmii1_crs_dv */
			AM33XX_IOPAD(0x910, PIN_INPUT_PULLUP | MUX_MODE1)    /* (J15) gmii1_rxer.rmii1_rxer */
			AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (J16) gmii1_txen.rmii1_txen */
			AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (K17) gmii1_txd0.rmii1_txd0 */
			AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (K16) gmii1_txd1.rmii1_txd1 */
			AM33XX_IOPAD(0x940, PIN_INPUT_PULLUP | MUX_MODE1)    /* (M16) gmii1_rxd0.rmii1_rxd0 */
			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLUP | MUX_MODE1)    /* (L15) gmii1_rxd1.rmii1_rxd1 */
			AM33XX_IOPAD(0x944, PIN_INPUT_PULLUP | MUX_MODE0)    /* (H18) rmii1_refclk.rmii1_refclk */
			/* PHY2 */
			AM33XX_IOPAD(0x888, PIN_INPUT | MUX_MODE2)  /* (T13) gpmc_csn3.rmii2_crs_dv */
			AM33XX_IOPAD(0x840, PIN_OUTPUT | MUX_MODE3) /* (R13) gpmc_a0.rmii2_txen */
			AM33XX_IOPAD(0x854, PIN_OUTPUT | MUX_MODE3) /* (V15) gpmc_a5.rmii2_txd0 */
			AM33XX_IOPAD(0x850, PIN_OUTPUT | MUX_MODE3) /* (R14) gpmc_a4.rmii2_txd1 */
			AM33XX_IOPAD(0x86c, PIN_INPUT | MUX_MODE3)  /* (V17) gpmc_a11.rmii2_rxd0 */
			AM33XX_IOPAD(0x868, PIN_INPUT | MUX_MODE3)  /* (T16) gpmc_a10.rmii2_rxd1 */
			AM33XX_IOPAD(0x874, PIN_INPUT | MUX_MODE3)  /* (U17) gpmc_wpn.rmii2_rxer */
			AM33XX_IOPAD(0x908, PIN_INPUT | MUX_MODE1)  /* (H16) gmii1_col.rmii2_refclk */
		>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
			/* PHY1 reset value */
			AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H17) gmii1_crs.gpio3_1 */
			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J15) gmii1_rxer.gpio3_2 */
			AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3_3 */
			AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.gpio0_28 */
			AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.gpio0_21 */
			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.gpio2_21 */
			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.gpio2_20 */
			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H18) rmii1_refclk.gpio0_29 */
			/* PHY2 reset value */
			AM33XX_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2_0 */
			AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gpio0_31 */
			AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gpio1_16 */
			AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gpio1_21 */
			AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gpio1_20 */
			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gpio1_27 */
			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gpio1_26 */
			AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H16) gmii1_col.gpio3_0 */
		>;
	};

	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			/* MDIO */
			AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* (M17) mdio_data.mdio_data */
			AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)			/* (M18) mdio_clk.mdio_clk */
		>;
	};

	davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			/* MDIO reset value */
			AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* (M17) mdio_data.gpio0_0 */
			AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* (M18) mdio_clk.gpio0_1 */
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7)		/* (C15) spio0_cs1.gpio0_6 */
			AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0)	/* (G16) mmc0_dat0.mmc0_dat0 */
			AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0)	/* (G15) mmc0_dat1.mmc0_dat1 */
			AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0)	/* (F18) mmc0_dat2.mmc0_dat2 */
			AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0)	/* (F17) mmc0_dat3.mmc0_dat3 */
			AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0)	/* (G18) mmc0_cmd.mmc0_cmd */
			AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0)	/* (G17) mmc0_clk.mmc0_clk */
		>;
	};

	emmc_pins: pinmux_emmc_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* (U9) gpmc_csn1.mmc1_clk */
			AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* (V9) gpmc_csn2.mmc1_cmd */
			AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1) /* (U7) gpmc_ad0.mmc1_dat0 */
			AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1) /* (V7) gpmc_ad1.mmc1_dat1 */
			AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1) /* (R8) gpmc_ad2.mmc1_dat2 */
			AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1) /* (T8) gpmc_ad3.mmc1_dat3 */
			AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE1) /* (U8) gpmc_ad4.mmc1_dat4 */
			AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE1) /* (V8) gpmc_ad5.mmc1_dat5 */
			AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE1) /* (R9) gpmc_ad6.mmc1_dat6 */
			AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE1) /* (T9) gpmc_ad7.mmc1_dat7 */
		>;
	};

	user_leds_s0: user_leds_s0 {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x85c, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (T15) gpmc_a7.gpio1[23] STATUS LED GREEN*/
			AM33XX_IOPAD(0x860, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (V16) gpmc_a8.gpio1[24] STATUS LED YELLOW*/
			AM33XX_IOPAD(0x864, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (U16) gpmc_a9.gpio1[25] STATUS LED RED*/
		>;
	};


	gpio1_pins_default: pinmux_gpio1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x830, PIN_INPUT_PULLUP | MUX_MODE7)  /* (T12) gpmc_ad12.gpio1[12] BCD SWITCH OUTPUT Y0*/
			AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7)  /* (R12) gpmc_ad13.gpio1[13] BCD SWITCH OUTPUT Y1*/
			AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7)  /* (V13) gpmc_ad14.gpio1[14] BCD SWITCH OUTPUT Y2*/
			AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)  /* (U13) gpmc_ad15.gpio1[15] BCD SWITCH OUTPUT Y3*/
			AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7)  /* (V14) gpmc_a1.gpio1[17] */
			AM33XX_IOPAD(0x848, PIN_INPUT_PULLUP | MUX_MODE7)  /* (U14) gpmc_a2.gpio1[18] */
			AM33XX_IOPAD(0x84c, PIN_INPUT_PULLUP | MUX_MODE7)  /* (T14) gpmc_a3.gpio1[19] */
			AM33XX_IOPAD(0x858, PIN_INPUT_PULLUP | MUX_MODE7)  /* (U15) gpmc_a6.gpio1[22] */
		>;
	};

	gpio2_pins_default: pinmux_gpio2_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x88c, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (V12) gpmc_clk.gpio2[1] CPU AMP/MOTION ENABLE*/
			AM33XX_IOPAD(0x890, PIN_INPUT_PULLUP | MUX_MODE7)  /* (R7) gpmc_advn_ale.gpio2[2] AMC FAULT INDICATOR FOR CPU (CPU_IN5)*/
			AM33XX_IOPAD(0x894, PIN_INPUT_PULLUP | MUX_MODE7)  /* (T7) gpmc_oen_ren.gpio2[3] J2-7 AVAILABLE*/
			AM33XX_IOPAD(0x898, PIN_INPUT_PULLUP | MUX_MODE7)  /* (U6) gpmc_wen.gpio2[4] E-STOP INDICATOR FOR CPU (CPU_IN6)*/
			AM33XX_IOPAD(0x89c, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (T6) gpmc_be0n_cle.gpio2[5] MASTER/SLAVE ENCODER SELECT*/
		>;
	};
/*
	mcasp0_pins: mcasp0_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x9ac, PIN_INPUT_PULLUP | MUX_MODE0)	// (A14) mcasp0_ahcklx.mcasp0_ahclkx
			AM33XX_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	// (C12) mcasp0_ahclkr.mcasp0_axr2
			AM33XX_IOPAD(0x994, PIN_OUTPUT_PULLUP | MUX_MODE0)	// (B13) mcasp0_fsx.mcasp0_fsx
			AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	// (A13) mcasp0_aclkx.mcasp0_aclkx
			AM33XX_IOPAD(0x86c, PIN_OUTPUT_PULLDOWN | MUX_MODE7)	// (V17) gpmc_a11.GPIO1_27
		>;
	};
*/
};

/*
&mcasp0	{
	#sound-dai-cells = <0>;
	pinctrl-names = "default";
	pinctrl-0 = <&mcasp0_pins>;
	status = "okay";
	op-mode = <0>;	/* MCASP_IIS_MODE
	tdm-slots = <2>;
	serial-dir = <	/* 0: INACTIVE, 1: TX, 2: RX
			0 0 1 0
		>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

/ {
	clk_mcasp0_fixed: clk_mcasp0_fixed {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <24576000>;
	};

	clk_mcasp0: clk_mcasp0 {
		#clock-cells = <0>;
		compatible = "gpio-gate-clock";
		clocks = <&clk_mcasp0_fixed>;
		enable-gpios = <&gpio1 27 0>; // BeagleBone Black Clk enable on GPIO1_27
	};
};
*/
&uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins>;
	status = "okay";
};

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

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

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

&usb {
	status = "okay";
};

&usb_ctrl_mod {
	status = "okay";
};

&usb0_phy {
	status = "okay";
};

&usb1_phy {
	status = "okay";
};

&usb1 {
	status = "okay";
	dr_mode = "peripheral";
	interrupts-extended = <&intc 18 &tps 0>;
	interrupt-names = "mc", "vbus";
};

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

&cppi41dma  {
	status = "okay";
};

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

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

	tps: tps@24 {
		reg = <0x24>;
	};

	baseboard_eeprom: baseboard_eeprom@50 {
		compatible = "atmel,24c256";
		reg = <0x50>;

		#address-cells = <1>;
		#size-cells = <1>;
		baseboard_data: baseboard_data@0 {
			reg = <0 0x100>;
		};
	};
};


/include/ "tps65217.dtsi"

&tps {
	/*
	 * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
	 * mode") at poweroff.  Most BeagleBone versions do not support RTC-only
	 * mode and risk hardware damage if this mode is entered.
	 *
	 * For details, see linux-omap mailing list May 2015 thread
	 *	[PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
	 * In particular, messages:
	 *	http://www.spinics.net/lists/linux-omap/msg118585.html
	 *	http://www.spinics.net/lists/linux-omap/msg118615.html
	 *
	 * You can override this later with
	 *	&tps {  /delete-property/ ti,pmic-shutdown-controller;  }
	 * if you want to use RTC-only mode and made sure you are not affected
	 * by the hardware problems. (Tip: double-check by performing a current
	 * measurement after shutdown: it should be less than 1 mA.)
	 */

	interrupts = <7>; /* NMI */
	interrupt-parent = <&intc>;

	ti,pmic-shutdown-controller;

	charger {
		status = "okay";
	};

	pwrbutton {
		status = "okay";
	};

	regulators {
		dcdc1_reg: regulator@0 {
			regulator-name = "vdds_dpr";
			regulator-always-on;
		};

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

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

		ldo1_reg: regulator@3 {
			regulator-name = "vio,vrtc,vdds";
			regulator-always-on;
		};

		ldo2_reg: regulator@4 {
			regulator-name = "vdd_3v3aux";
			regulator-always-on;
		};

		ldo3_reg: regulator@5 {
			regulator-name = "vdd_1v8";
			regulator-always-on;
		};

		ldo4_reg: regulator@6 {
			regulator-name = "vdd_3v3a";
			regulator-always-on;
		};
	};
};

&ldo3_reg {
	regulator-min-microvolt = <1800000>;
	regulator-max-microvolt = <1800000>;
	regulator-always-on;
};

&mmc1 {
	vmmc-supply = <&vmmcsd_fixed>;
};

&mmc2 {
	vmmc-supply = <&vmmcsd_fixed>;
	pinctrl-names = "default";
	pinctrl-0 = <&emmc_pins>;
	bus-width = <8>;
	status = "okay";
};

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

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

&mac {
	slaves = <2>;
	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";
};

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

&aes {
	status = "okay";
};

&sham {
	status = "okay";
};

&rtc {
	clocks = <&clk_32768_ck>, <&l4_per_clkctrl AM3_CLKDIV32K_CLKCTRL 0>;
	clock-names = "ext-clk", "int-clk";
	system-power-controller;
};

&wkup_m3_ipc {
	ti,scale-data-fw = "am335x-bone-scale-data.bin";
};

Here is my boot log

U-Boot SPL 2019.04 (May 05 2020 - 23:45:56 -0500)
Trying to boot from MMC2
Loading Environment from EXT4... OK


U-Boot 2019.04 (May 05 2020 - 23:45:56 -0500)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.

                                                                                                                                    
RTC 32KCLK Source: External.                                                                                                        
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                                                                               
Loading Environment from EXT4... OK                                                                                                 
Board: BeagleBone Black                                                                                                             
BeagleBone Black:                                                                                                                   
BeagleBone: cape eeprom: i2c_probe: 0x54:                                                                                           
BeagleBone: cape eeprom: i2c_probe: 0x55:                                                                                           
BeagleBone: cape eeprom: i2c_probe: 0x56:                                                                                           
BeagleBone: cape eeprom: i2c_probe: 0x57:                                                                                           
Net:   eth0: MII MODE                                                                                                               
Could not get PHY for cpsw: addr 0                                                                                                  
cpsw, usb_ether                                                                                                                     
Press SPACE to abort autoboot in 0 seconds                                                                                          
board_name=[A335BNLT] ...                                                                                                           
switch to partitions #0, OK                                                                                                         
mmc0 is current device                                                                                                              
SD/MMC found on device 0                                                                                                            
switch to partitions #0, OK                                                                                                         
mmc0 is current device                                                                                                              
Scanning mmc 0:1...                                                                                                                 
gpio: pin 56 (gpio 56) value is 0                                                                                                   
gpio: pin 55 (gpio 55) value is 0                                                                                                   
gpio: pin 54 (gpio 54) value is 0                                                                                                   
gpio: pin 53 (gpio 53) value is 1                                                                                                   
switch to partitions #0, OK                                                                                                         
mmc0 is current device                                                                                                              
gpio: pin 54 (gpio 54) value is 1                                                                                                   
Checking for: /uEnv.txt ...                                                                                                         
Checking for: /boot.scr ...                                                                                                         
Checking for: /boot/boot.scr ...                                                                                                    
Checking for: /boot/uEnv.txt ...                                                                                                    
gpio: pin 55 (gpio 55) value is 1                                                                                                   
969 bytes read in 30 ms (31.3 KiB/s)                                                                                                
Loaded environment from /boot/uEnv.txt                                                                                              
debug: [dtb=zcpu-main.dtb] ...                                                                                                      
Using: dtb=zcpu-main.dtb ...                                                                                                        
Checking if uname_r is set in /boot/uEnv.txt...                                                                                     
gpio: pin 56 (gpio 56) value is 1                                                                                                   
Running uname_boot ...                                                                                                              
loading /boot/vmlinuz-4.19.106-bone-rt-r49 ...                                                                                      
8004096 bytes read in 541 ms (14.1 MiB/s)                                                                                           
debug: [enable_uboot_overlays=] ...                                                                                                 
loading /boot/dtbs/4.19.106-bone-rt-r49/zcpu-main.dtb ...                                                                           
52665 bytes read in 210 ms (244.1 KiB/s)                                                                                            
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...                                                        
debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait loglevel=7 coherent_pool=1M net.ifnames=0] ...       
debug: [bootz 0x82000000 - 0x88000000] ...                                                                                          
## Flattened Device Tree blob at 88000000                                                                                           
   Booting using the fdt blob at 0x88000000                                                                                         
   Loading Device Tree to 8fff0000, end 8ffffdb8 ... OK                                                                             
                                                                                                                                    
Starting kernel ...                                                                                                                 
                                                                                                                                    
[    0.000000] Booting Linux on physical CPU 0x0                                                                                    
[    0.000000] Linux version 4.19.106-bone49 (jak@ws271) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.0
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d                                                      
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                             
[    0.000000] OF: fdt: Machine model: WMI OSD3358 ZCPU                                                                             
[    0.000000] Memory policy: Data cache writeback                                                                                  
[    0.000000] efi: Getting EFI parameters from FDT:                                                                                
[    0.000000] efi: UEFI not found.                                                                                                 
[    0.000000] cma: Reserved 48 MiB at 0x9d000000                                                                                   
[    0.000000] CPU: All CPU(s) started in SVC mode.                                                                                 
[    0.000000] AM335X ES2.1 (sgx neon)                                                                                              
[    0.000000] random: get_random_bytes called from start_kernel+0x83/0x400 with crng_init=0                                        
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920                                                        
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait loglevel=7 coherent_pool0
[    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: 455172K/524288K available (8192K kernel code, 1002K rwdata, 2972K rodata, 1024K init, 315K bss, 19964K reser)
[    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 : 0xbf800000 - 0xbfe00000   (   6 MB)                                                                    
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)                                                                    
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)                                                                    
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   (1003 kB)                                                                    
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 316 kB)                                                                    
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                                           
[    0.000000] ftrace: allocating 37707 entries in 74 pages                                                                         
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                                                                    
[    0.000000]  Tasks RCU enabled.                                                                                                  
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                      
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts                                                  
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                                                                        
[    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns                                            
[    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns                            
[    0.000043] OMAP clocksource: timer1 at 24000000 Hz                                                                              
[    0.000405] timer_probe: no matching timers found                                                                                
[    0.000593] Console: colour dummy device 80x30                                                                                   
[    0.000617] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'                                                           
[    0.000624] This ensures that you still see kernel messages. Please                                                              
[    0.000629] update your kernel commandline.                                                                                      
[    0.000673] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)                                                              
[    0.047208] pid_max: default: 32768 minimum: 301                                                                                 
[    0.047469] Security Framework initialized                                                                                       
[    0.047485] Yama: becoming mindful.                                                                                              
[    0.047609] AppArmor: AppArmor initialized                                                                                       
[    0.047694] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                          
[    0.047707] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                     
[    0.048550] CPU: Testing write buffer coherency: ok                                                                              
[    0.048602] CPU0: Spectre v2: using BPIALL workaround                                                                            
[    0.049456] Setting up static identity map for 0x80100000 - 0x80100054                                                           
[    0.049607] rcu: Hierarchical SRCU implementation.                                                                               
[    0.052493] EFI services will not be available.                                                                                  
[    0.053947] devtmpfs: initialized                                                                                                
[    0.062984] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3                                              
[    0.063474] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns                      
[    0.063497] futex hash table entries: 256 (order: -1, 3072 bytes)                                                                
[    0.067081] xor: measuring software checksum speed                                                                               
[    0.103263]    arm4regs  :  1222.000 MB/sec                                                                                      
[    0.143208]    8regs     :  1095.000 MB/sec                                                                                      
[    0.183206]    32regs    :  1055.000 MB/sec                                                                                      
[    0.223206]    neon      :  1699.000 MB/sec                                                                                      
[    0.223214] xor: using function: neon (1699.000 MB/sec)                                                                          
[    0.223229] pinctrl core: initialized pinctrl subsystem                                                                          
[    0.223928] DMI not present or invalid.                                                                                          
[    0.224314] NET: Registered protocol family 16                                                                                   
[    0.227805] DMA: preallocated 1024 KiB pool for atomic coherent allocations                                                      
[    0.253209] l4_wkup_cm:clk:0010:0: failed to disable                                                                             
[    0.293132] audit: initializing netlink subsys (disabled)                                                                        
[    0.294057] cpuidle: using governor menu                                                                                         
[    0.299065] audit: type=2000 audit(0.284:1): state=initialized audit_enabled=0 res=1                                             
[    0.299292] OMAP GPIO hardware version 0.1                                                                                       
[    0.308034] No ATAGs?                                                                                                            
[    0.308044] hw-breakpoint: debug architecture 0x4 unsupported.                                                                   
[    0.316872] raid6: using algorithm neonx8 gen() 0 MB/s                                                                           
[    0.316890] raid6: .... xor() 0 MB/s, rmw enabled                                                                                
[    0.316898] raid6: using neon recovery algorithm                                                                                 
[    0.322119] edma 49000000.edma: TI EDMA DMA engine driver                                                                        
[    0.324214] SCSI subsystem initialized                                                                                           
[    0.324484] usbcore: registered new interface driver usbfs                                                                       
[    0.324542] usbcore: registered new interface driver hub                                                                         
[    0.324651] usbcore: registered new device driver usb                                                                            
[    0.325228] pps_core: LinuxPPS API ver. 1 registered                                                                             
[    0.325238] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                             
[    0.325259] PTP clock support registered                                                                                         
[    0.325705] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400                                                                
[    0.326739] NetLabel: Initializing                                                                                               
[    0.326753] NetLabel:  domain hash size = 128                                                                                    
[    0.326760] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO                                                                     
[    0.326834] NetLabel:  unlabeled traffic allowed by default                                                                      
[    0.327341] clocksource: Switched to clocksource timer1                                                                          
[    0.445467] VFS: Disk quotas dquot_6.6.0                                                                                         
[    0.445546] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                                      
[    0.446157] AppArmor: AppArmor Filesystem Enabled                                                                                
[    0.454930] NET: Registered protocol family 2                                                                                    
[    0.455796] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)                                              
[    0.455827] TCP established hash table entries: 4096 (order: 2, 16384 bytes)                                                     
[    0.455867] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                                                            
[    0.455906] TCP: Hash tables configured (established 4096 bind 4096)                                                             
[    0.456013] UDP hash table entries: 256 (order: 0, 4096 bytes)                                                                   
[    0.456033] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                              
[    0.456235] NET: Registered protocol family 1                                                                                    
[    0.456893] RPC: Registered named UNIX socket transport module.                                                                  
[    0.456907] RPC: Registered udp transport module.                                                                                
[    0.456913] RPC: Registered tcp transport module.                                                                                
[    0.456919] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                            
[    0.457821] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available                                         
[    0.460615] Initialise system trusted keyrings                                                                                   
[    0.460901] workingset: timestamp_bits=14 max_order=17 bucket_order=3                                                            
[    0.466427] zbud: loaded                                                                                                         
[    0.468940] NFS: Registering the id_resolver key type                                                                            
[    0.468982] Key type id_resolver registered                                                                                      
[    0.468990] Key type id_legacy registered                                                                                        
[    0.469007] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                                         
[    0.469271] fuse init (API version 7.27)                                                                                         
[    0.476188] Key type asymmetric registered                                                                                       
[    0.476208] Asymmetric key parser 'x509' registered                                                                              
[    0.476281] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)                                                 
[    0.476503] io scheduler noop registered                                                                                         
[    0.476514] io scheduler deadline registered                                                                                     
[    0.476834] io scheduler cfq registered (default)                                                                                
[    0.476845] io scheduler mq-deadline registered                                                                                  
[    0.478115] pinctrl-single 44e10800.pinmux: 142 pins, size 568                                                                   
[    0.480273] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle                                                         
[    0.481218] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled                                                             
[    0.484066] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250                                  
[    1.209010] console [ttyS0] enabled                                                                                              
[    1.213390] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250                                  
[    1.222927] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250                                  
[    1.232431] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250                                  
[    1.243069] omap_rng 48310000.rng: Random Number Generator ver. 20                                                               
[    1.249399] random: fast init done                                                                                               
[    1.256118] libphy: Fixed MDIO Bus: probed                                                                                       
[    1.260547] random: crng init done                                                                                               
[    1.319402] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000                                              
[    1.327126] davinci_mdio 4a101000.mdio: no live phy, scanning all                                                                
[    1.340219] libphy: 4a101000.mdio: probed                                                                                        
[    1.344908] cpsw 4a100000.ethernet: Detected MACID = f4:5e:ab:32:87:04                                                           
[    1.351599] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4                                                             
[    1.358005] cpsw 4a100000.ethernet: ALE Table size 1024                                                                          
[    1.363288] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)                                                   
[    1.371405] cpsw 4a100000.ethernet: cpsw: Detected MACID = f4:5e:ab:32:87:06                                                     
[    1.379559] usbcore: registered new interface driver smsc95xx                                                                    
[    1.385655] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                           
[    1.392279] ehci-omap: OMAP-EHCI Host Controller driver                                                                          
[    1.397650] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                               
[    1.403954] usbcore: registered new interface driver usb-storage                                                                 
[    1.411823] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator                     
[    1.421867] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0                                              
[    1.432048] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                                                                         
[    1.437444] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1                                                 
[    1.445160] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19                                       
[    1.453491] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                   
[    1.460760] usb usb1: Product: MUSB HDRC host driver                                                                             
[    1.465758] usb usb1: Manufacturer: Linux 4.19.106-bone49 musb-hcd                                                               
[    1.471977] usb usb1: SerialNumber: musb-hdrc.0                                                                                  
[    1.477145] hub 1-0:1.0: USB hub found                                                                                           
[    1.481024] hub 1-0:1.0: 1 port detected                                                                                         
[    1.486468] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator                     
[    1.496591] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0                                              
[    1.512493] omap_rtc 44e3e000.rtc: registered as rtc0                                                                            
[    1.518283] i2c /dev entries driver                                                                                              
[    1.523618] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec                                                       
[    1.530871] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)                                     
[    1.540336] /cpus/cpu@0: unsupported enable-method property: ti,am3352                                                           
[    1.546950] CPUidle arm: CPU 0 failed to init idle CPU ops                                                                       
[    1.553192] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)                                  
[    1.561977] omap_hsmmc 48060000.mmc: Got CD GPIO                                                                                 
[    1.567077] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1                                                         
[    1.600562] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1                                                         
[    1.634005] ledtrig-cpu: registered to indicate activity on CPUs                                                                 
[    1.640756] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2                                                                    
[    1.646675] mmc0: host does not support reading read-only switch, assuming write-enable                                          
[    1.654998] omap-aes 53500000.aes: will run requests pump with realtime priority                                                 
[    1.662494] mmc0: Problem switching card into high-speed mode!                                                                   
[    1.668567] mmc0: new SDHC card at address 0001                                                                                  
[    1.674877] mmcblk0: mmc0:0001 SD16G 3.75 GiB                                                                                    
[    1.680514] omap-sham 53100000.sham: hw accel on OMAP rev 4.3                                                                    
[    1.689099]  mmcblk0: p1                                                                                                         
[    1.692724] hidraw: raw HID events driver (C) Jiri Kosina                                                                        
[    1.700137] usbcore: registered new interface driver usbhid                                                                      
[    1.705824] usbhid: USB HID core driver                                                                                          
[    1.710031] remoteproc remoteproc0: wkup_m3 is available                                                                         
[    1.716881] gnss: GNSS driver registered with major 242                                                                          
[    1.723270] NET: Registered protocol family 10                                                                                   
[    1.730867] Segment Routing with IPv6                                                                                            
[    1.734820] mip6: Mobile IPv6                                                                                                    
[    1.737889] NET: Registered protocol family 17                                                                                   
[    1.742665] Key type dns_resolver registered                                                                                     
[    1.747030] mpls_gso: MPLS GSO support                                                                                           
[    1.751046] ThumbEE CPU extension supported.                                                                                     
[    1.755391] Registering SWP/SWPB emulation handler                                                                               
[    1.760242] omap_voltage_late_init: Voltage driver support not added                                                             
[    1.767101] mmc1: switch to bus width 8 failed                                                                                   
[    1.772563] registered taskstats version 1                                                                                       
[    1.776772] Loading compiled-in X.509 certificates                                                                               
[    1.781814] zswap: loaded using pool lzo/zbud                                                                                    
[    1.786373] mmc1: new high speed MMC card at address 0001                                                                        
[    1.794172] Btrfs loaded, crc32c=crc32c-generic                                                                                  
[    1.799880] mmcblk1: mmc1:0001 004GA0 3.69 GiB                                                                                   
[    1.804587] AppArmor: AppArmor sha1 policy hashing enabled                                                                       
[    1.810707] mmcblk1boot0: mmc1:0001 004GA0 partition 1 2.00 MiB                                                                  
[    1.820007] mmcblk1boot1: mmc1:0001 004GA0 partition 2 2.00 MiB                                                                  
[    1.833671] mmcblk1rpmb: mmc1:0001 004GA0 partition 3 512 KiB, chardev (244:0)                                                   
[    1.842527]  mmcblk1: p1                                                                                                         
[    1.877052] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set                                                              
[    1.883958] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0           
[    1.895200] tps65217 0-0024: TPS65217 ID 0xe version 1.2                                                                         
[    1.901181] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write                                                       
[    1.908194] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz                                                                      
[    1.914847] remoteproc remoteproc0: powering up wkup_m3                                                                          
[    1.920205] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168                                         
[    1.930674] cpu cpu0: Linked as a consumer to regulator.3                                                                        
[    1.936374] remoteproc remoteproc0: remote processor wkup_m3 is now up                                                           
[    1.942943] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193                                                       
[    1.949956] cpu cpu0: Dropping the link to regulator.3                                                                           
[    1.955586] cpu cpu0: Linked as a consumer to regulator.3                                                                        
[    1.962849] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)                                   
[    1.992802] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)                                         
[    2.001090] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.                                                        
[    2.023546] devtmpfs: mounted                                                                                                    
[    2.030350] Freeing unused kernel memory: 1024K                                                                                  
[    2.035403] Run /sbin/init as init process                                                                                       
[    3.044718] systemd[1]: System time before build time, advancing clock.                                                          
[    3.120355] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYP)
[    3.142491] systemd[1]: Detected architecture arm.                                                                               
                                                                                                                                    
Welcome to Debian GNU/Linux 10 (buster)!                                                                                            
                                                                                                                                    
[    3.173149] systemd[1]: Set hostname to <arm>.                                                                                   
[    4.549571] systemd[1]: Listening on fsck to fsckd communication Socket.                                                         
[  OK  ] Listening on fsck to fsckd communication Socket.                                                                           
[    4.572605] systemd[1]: Listening on Journal Socket.                                                                             
[  OK  ] Listening on Journal Socket.                                                                                               
[    4.588355] systemd[1]: Condition check resulted in Huge Pages File System being skipped.                                        
[    4.607890] systemd[1]: Starting Restore / save the current clock...                                                             
         Starting Restore / save the current clock...                                                                               
[    4.631711] systemd[1]: Condition check resulted in Create list of required static device nodes for the current kernel being ski.
[    4.651095] systemd[1]: Listening on Journal Socket (/dev/log).                                                                  
[  OK  ] Listening on Journal Socket (/dev/log).                                                                                    
[    4.676615] systemd[1]: Listening on Syslog Socket.                                                                              
[  OK  ] Listening on Syslog Socket.                                                                                                
[  OK  ] Started Forward Password R��…uests to Wall Directory Watch.                                                                
         Starting File System Check on Root Device...                                                                               
[  OK  ] Listening on initctl Compatibility Named Pipe.                                                                             
         Starting Load Kernel Modules...                                                                                            
         Mounting Kernel Debug File System...                                                                                       
[  OK  ] Reached target Swap.                                                                                                       
         Mounting POSIX Message Queue File System...                                                                                
[  OK  ] Reached target Remote File Systems.                                                                                        
[  OK  ] Listening on udev Control Socket.                                                                                          
[  OK  ] Created slice User and Session Slice.                                                                                      
[  OK  ] Reached target Slices.                                                                                                     
[  OK  ] Listening on Journal Audit Socket.                                                                                         
         Starting Journal Service...                                                                                                
[  OK  ] Set up automount Arbitrary��…s File System Automount Point.                                                                
[  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.                                                                
[  OK  ] Reached target Paths.                                                                                                      
[  OK  ] Reached target Local Encrypted Volumes.                                                                                    
[  OK  ] Created slice system-serial\x2dgetty.slice.                                                                                
[  OK  ] Created slice system-getty.slice.                                                                                          
[  OK  ] Listening on udev Kernel Socket.                                                                                           
         Starting udev Coldplug all Devices...                                                                                      
[  OK  ] Started Restore / save the current clock.                                                                                  
[  OK  ] Started File System Check on Root Device.                                                                                  
[  OK  ] Started Load Kernel Modules.                                                                                               
[  OK  ] Mounted Kernel Debug File System.                                                                                          
[  OK  ] Mounted POSIX Message Queue File System.                                                                                   
[  OK  ] Started File System Check Daemon to report status.                                                                         
         Mounting Kernel Configuration File System...                                                                               
         Mounting FUSE Control File System...                                                                                       
         Starting Apply Kernel Variables...                                                                                         
         Starting Remount Root and Kernel File Systems...                                                                           
[  OK  ] Mounted Kernel Configuration File System.                                                                                  
[  OK  ] Started Journal Service.                                                                                                   
[  OK  ] Mounted FUSE Control File System.                                                                                          
[  OK  ] Started Apply Kernel Variables.                                                                                            
[    5.902424] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro                                                             
[  OK  ] Started Remount Root and Kernel File Systems.                                                                              
         Starting Load/Save Random Seed...                                                                                          
         Starting Create System Users...                                                                                            
         Starting Flush Journal to Persistent Storage...                                                                            
[  OK  ] Started Load/Save Random Seed.                                                                                             
[  OK  ] Started Create System Users.                                                                                               
[    6.369981] systemd-journald[126]: Received request to flush runtime journal from PID 1                                          
         Starting Create Static Device Nodes in /dev...                                                                             
[  OK  ] Started Flush Journal to Persistent Storage.                                                                               
[  OK  ] Started Create Static Device Nodes in /dev.                                                                                
[  OK  ] Reached target Local File Systems (Pre).                                                                                   
[  OK  ] Reached target Local File Systems.                                                                                         
         Starting Create Volatile Files and Directories...                                                                          
         Starting udev Kernel Device Manager...                                                                                     
[  OK  ] Started udev Coldplug all Devices.                                                                                         
[  OK  ] Started Create Volatile Files and Directories.                                                                             
         Starting Network Time Synchronization...                                                                                   
         Starting Update UTMP about System Boot/Shutdown...                                                                         
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.                                                                         
[  OK  ] Started udev Kernel Device Manager.                                                                                        
[  OK  ] Started Update UTMP about System Boot/Shutdown.                                                                            
[  OK  ] Started Network Time Synchronization.                                                                                      
[  OK  ] Reached target System Initialization.                                                                                      
[  OK  ] Started Daily Cleanup of Temporary Directories.                                                                            
[  OK  ] Listening on D-Bus System Message Bus Socket.                                                                              
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                                                                    
[  OK  ] Reached target Sockets.                                                                                                    
[  OK  ] Reached target Basic System.                                                                                               
         Starting Avahi mDNS/DNS-SD Stack...                                                                                        
[  OK  ] Started Regular background program processing daemon.                                                                      
         Starting Login Service...                                                                                                  
         Starting LSB: Load kernel ��…d to enable cpufreq scaling...                                                                
         Starting Generic Board Startup...                                                                                          
         Starting System Logging Service...                                                                                         
         Starting LSB: Start busybox udhcpd at boot time...                                                                         
[  OK  ] Started D-Bus System Message Bus.                                                                                          
         Starting Connection service...                                                                                             
         Starting WPA supplicant...                                                                                                 
[  OK  ] Reached target System Time Synchronized.                                                                                   
[  OK  ] Started Daily rotation of log files.                                                                                       
[  OK  ] Reached target Timers.                                                                                                     
[  OK  ] Started System Logging Service.                                                                                            
[  OK  ] Started Generic Board Startup.                                                                                             
[  OK  ] Started LSB: Start busybox udhcpd at boot time.                                                                            
[  OK  ] Started WPA supplicant.                                                                                                    
[  OK  ] Started Login Service.                                                                                                     
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                                                                           
[  OK  ] Started Connection service.                                                                                                
[  OK  ] Reached target Network.                                                                                                    
         Starting A high performanc��… and a reverse proxy server...                                                                
         Starting OpenBSD Secure Shell server...                                                                                    
         Starting Permit User Sessions...                                                                                           
[   10.560178] net eth0: initializing cpsw version 1.12 (0)                                                                         
[   10.597812] libphy: PHY 4a101000.mdio:00 not found                                                                               
[  OK  ] Started LSB: Load kernel m��…ded to [   10.635583] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19          
enable cpufreq scaling.                                                                                                             
[  OK  ] Started Permit User Sessions.                                                                                              
[   10.731457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready                                                                   
[  OK  ] Started Getty on tty1.                                                                                                     
[   10.811475] net eth1: initializing cpsw version 1.12 (0)                                                                         
[   10.849842] libphy: PHY 4a101000.mdio:01 not found                                                                               
         Starting LSB: set CPUFreq kernel parameters...                                                                             
[   10.907536] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19                                                       
[   10.974105] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready                                                                   
         Starting Hostname Service...                                                                                               
[  OK  ] Started OpenBSD Secure Shell server.                                                                                       
[  OK  ] Started LSB: set CPUFreq kernel parameters.                                                                                
[  OK  ] Started Hostname Service.                                                                                                  
[  OK  ] Started A high performance��…er and a reverse proxy server.                                                                
[  OK  ] Found device /dev/ttyS0.                                                                                                   
[  OK  ] Started Serial Getty on ttyS0.                                                                                             
                                                                                                                                    
Debian GNU/Linux 10 arm ttyS0                                                                                                       
                                                                                                                                    
default username:password is [debian:temppwd]                                                                                       
                                                                                                                                    
arm login: 

I have temporarly disabled networking in ubuntu because the kernel is not finding the PHYs.
I think this is where the PHYs are probed but not found.
[ 1.340219] libphy: 4a101000.mdio: probed

I beleive the davinci_mdio_default pinmux is correct for the MDIO_DATA and MDIO_CLK lines because using an o-scope I can see activity on both lines at the PHY chip when the kernel is probing for the PHYs. PHY1 address = 0, mode = RMII. PHY2 address = 1, mode = RMMI. I never see any activity on the RMII lines with the o-scope.

I think I am missing something in my common.dtsi file but don’t know what.
Is there something obvious missing from common.dtsi file that would prevent MDIO from communicating with the PHYs?

I don’t what Ubuntu command line programs are available to help troublshoot the problem but the problem occurs before the rootfs loads.

I would appreciate any help.
Thank you,

-19 is : ENODEV : No such device

That is very Odd, i assume you have the driver enabled. I also double checked your values in ti’s pinmux tool for rmii1/rmii2 and those look fine…

So the mdio bus is reporting:

[    1.256118] libphy: Fixed MDIO Bus: probed
[    1.260547] random: crng init done
[    1.319402] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.327126] davinci_mdio 4a101000.mdio: no live phy, scanning all
[    1.340219] libphy: 4a101000.mdio: probed

So the mdio is not working… We have a little pinmuxing script that can be used for debugging in our images, let’s see what it shows for mdio…

debian@bbb-pwr01-ser09:~$ sudo /opt/scripts/device/bone/show-pins.pl -v | grep mdio
eth mdio                          82 M17 fast rx  up  0 mdio data        mdio@4a101000 (davinci_mdio_default)
eth mdc                           83 M18 fast     up  0 mdio clk         mdio@4a101000 (davinci_mdio_default)

PS, can you share a screenshot of the schematic of the MDIO bus (and PHY Clock)?

Regards,

Robert,
My attempt to run the script as root,

root@arm:~# /opt/scripts/device/bone/show-pins.pl -v | grep mdio
Can’t locate Inline/Files.pm in @INC (you may need to install the Inline::Files module) (@INC contains: /etc/perl /usr/local/lib/ar.
BEGIN failed–compilation aborted at /opt/scripts/device/bone/show-pins.pl line 11.
root@arm:~#

I am working on the screenshots of the schematic. Our design was based upon the Octavo lessons and reference to the BBB rev-C schematic. We discovered problems while trying to get the PHYs working. 25mhz crystals where used instead of 50mhz. OSD3358 pad H18 (rmii1_refclk) and H16 (rmii2_refclk) are not connected to anything. PHY-1 and PHY-2 pin-20 (txclk) also are not connected. I was hoping that MDIO communications would still work without the REFCLK signals being connected. I don’t think an ethernet link can be established, but at least the MDIO should find the PHYs because the MDIO_CLK and MDIO are supplied by the OSD3358.

Thank you,
Jack

Doh, that’s the missing libinline-files-perl package…

Oh, that’s a fun situation, so looking at the LAN8710 datasheet, it’s not clear if the MDIO_CLK will actual drive the internal logic when REFCLK is not available. It might only be used to synchronize the communication. While it is pretty clear REFCLK is needed for normal operation.

Regards,

It seems like a two sided question.
First to Octavo, can the MDIO of the OSD3358 communicate with PHYs (RMII) if there is no 50mhz clock signal connected REFCLK .
Second to Microchip, will the LAN8710 (RMII) respond to MDIO requests if clock signal provided by a 50mhz crystal connected to the pin-5 (CLKIN) is not connected to the MAC’s REFCLK.

Can you suggest a better way to word the question(s)?

Thank you,

Robert,

I am about to open a rabbit hole but curiosity has gotten the better of me. I used grep to search for ‘no live phy, scanning all’ and found a match in function ‘static int davinci_mdio_reset(struct mii_bus *bus)’ in the KERNEL/drivers/net/ethernet/ti/davinci_mdio.c.
I would like to know which source file is responsible for the ‘libphy: Fixed MDIO Bus: probed’ and ‘random: crng init done’ messages.
My o-scope shows activity on the MDIO (pad M17) but I want to know what is being said. Does the kernel have a built-in debug setting that would output to dmesg (and/or ttyS0) ‘I sent this request out the MDIO, I received this response or I timed out’? I understand the request and response won’t be ascii text but knowing a PHY replied is a step in the right direction.

Thank you,
Jack

Robert,

I have found that the MDIO_CLK, MDIO_DATA, address/mode straps and power to the PHY(s) is all that are needed for successful MDIO communications. You also need the correct external pullup resistor value for the MDIO_DATA line. The OSD3358 REFCLK is only used to synchronize the RMII signals.

We followed the beaglebone black rev-C schematic too closely when laying out our custom board. We added an external MDIO pullup resistor to each PHY. The resistance of two parallel resistors was causing the low rail voltage of the MDIO_DATA signal to go no lower than 1.2vdc. After removing one of the resistors the the low rail dropped to 0.2vdc. At that point u-boot and the kernel probed and found the PHYs.
Because REFCLK inputs are not connected and we are using the wrong crystal frequency (25mhz instead of 50mhz for RMII mode) then the RMII signals are broken.

Note: I found that the MDIO_DATA external pullup resistor can be removed and the communication will still work but the high rail of the MDIO drops from 3.3 to 3.1vdc. I recommend having a pullup in production design.

I know much more about how to decode the MDIO_DATA (SMI) signal using an o-scope. I also learned what printk() does while hacking the davinci_mdio.c file. Here is a screen shot of the MDIO_CLK and MDIO_DATA signals during a read PHY address zero, register 1 request. The clock channel (blue) is 1.0mhz provided by the OSD3358. The data channel (yellow). The start of frame, OP-code, PHY Address, Register Address are put on the line by the OSD3358. The Turn Around allows the PHY to take over the line. The Data is put on the line by the PHY after the turn around. My hope is someone finds the screenshot useful.

Thank you for your help.