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.

TDA4VM: CPSWng Native Ethernet on linux

Part Number: TDA4VM
Other Parts Discussed in Thread: DP83TG720S-Q1

Hi TI,

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSWng-Native-Ethernet.html#cpswng-native-ethernet

1.hardware connection, RGMII1 ---dp83867-phy

2. add k3-j721e-gesi-exp-board.dts, config RGMII1

// SPDX-License-Identifier: GPL-2.0
/**
 * DT Overlay for CPSW9G in RGMII mode using J7 GESI EXP BRD board with
 * J721E board.
 *
 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/net/ti-dp83867.h>
#include <dt-bindings/pinctrl/k3.h>

/ {
	fragment@102 {
		target-path = "/";
		__overlay__ {
			aliases {
				ethernet1 = "/bus@100000/ethernet@c000000/ethernet-ports/port@1";
				ethernet2 = "/bus@100000/ethernet@c000000/ethernet-ports/port@2";
				ethernet3 = "/bus@100000/ethernet@c000000/ethernet-ports/port@3";
				ethernet4 = "/bus@100000/ethernet@c000000/ethernet-ports/port@4";
			};
		};
	};
};

&cpsw0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mdio_pins_default
		     &rgmii1_pins_default
		     &rgmii2_pins_default
		     &rgmii3_pins_default
		     &rgmii4_pins_default>;
};

&cpsw0_port1 {
	phy-handle = <&cpsw9g_phy0>;
	phy-mode = "rgmii-rxid";
	mac-address = [00 00 00 00 00 00];
	phys = <&cpsw0_phy_gmii_sel 1>;
};

&cpsw0_port2 {
	phy-handle = <&cpsw9g_phy15>;
	phy-mode = "rgmii-rxid";
	mac-address = [00 00 00 00 00 00];
	phys = <&cpsw0_phy_gmii_sel 2>;
	status = "disabled";
};

&cpsw0_port3 {
	phy-handle = <&cpsw9g_phy0>;
	phy-mode = "rgmii-rxid";
	mac-address = [00 00 00 00 00 00];
	phys = <&cpsw0_phy_gmii_sel 3>;
	status = "disabled";
};

&cpsw0_port4 {
	phy-handle = <&cpsw9g_phy3>;
	phy-mode = "rgmii-rxid";
	mac-address = [00 00 00 00 00 00];
	phys = <&cpsw0_phy_gmii_sel 4>;
	status = "disabled";
};

&cpsw0_port5 {
	status = "disabled";
};

&cpsw0_port6 {
	status = "disabled";
};

&cpsw0_port7 {
	status = "disabled";
};

&cpsw0_port8 {
	status = "disabled";
};

&cpsw9g_mdio {
	bus_freq = <1000000>;
	#address-cells = <1>;
	#size-cells = <0>;

	cpsw9g_phy0: ethernet-phy@0 {
		reg = <0>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
	cpsw9g_phy3: ethernet-phy@3 {
		reg = <6>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
	cpsw9g_phy12: ethernet-phy@12 {
		reg = <1>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
	cpsw9g_phy15: ethernet-phy@15 {
		reg = <2>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
};

&cpsw9g_virt_mac {
	status = "disabled";
};

&exp1 {
	p15-hog {
		/* P15 - EXP_MUX2 */
		gpio-hog;
		gpios = <13 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "EXP_MUX2";
	};

	p16-hog {
		/* P16 - EXP_MUX3 */
		gpio-hog;
		gpios = <14 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "EXP_MUX3";
	};
};

&main_pmx0 {
	mdio_pins_default: mdio-pins-default {
		pinctrl-single,pins = <
			J721E_IOPAD(0x1bc, PIN_OUTPUT, 0) /* (V24) MDIO0_MDC */
			J721E_IOPAD(0x1b8, PIN_INPUT, 0) /* (V26) MDIO0_MDIO */
		>;
	};

	rgmii1_pins_default: rgmii1-pins-default {
		pinctrl-single,pins = <
			J721E_IOPAD(0x4, PIN_INPUT, 4) /* (AC23) PRG1_PRU0_GPO0.RGMII1_RD0 */
			J721E_IOPAD(0x8, PIN_INPUT, 4) /* (AG22) PRG1_PRU0_GPO1.RGMII1_RD1 */
			J721E_IOPAD(0xc, PIN_INPUT, 4) /* (AF22) PRG1_PRU0_GPO2.RGMII1_RD2 */
			J721E_IOPAD(0x10, PIN_INPUT, 4) /* (AJ23) PRG1_PRU0_GPO3.RGMII1_RD3 */
			J721E_IOPAD(0x1c, PIN_INPUT, 4) /* (AD22) PRG1_PRU0_GPO6.RGMII1_RXC */
			J721E_IOPAD(0x14, PIN_INPUT, 4) /* (AH23) PRG1_PRU0_GPO4.RGMII1_RX_CTL */
			J721E_IOPAD(0x30, PIN_OUTPUT, 4) /* (AF24) PRG1_PRU0_GPO11.RGMII1_TD0 */
			J721E_IOPAD(0x34, PIN_OUTPUT, 4) /* (AJ24) PRG1_PRU0_GPO12.RGMII1_TD1 */
			J721E_IOPAD(0x38, PIN_OUTPUT, 4) /* (AG24) PRG1_PRU0_GPO13.RGMII1_TD2 */
			J721E_IOPAD(0x3c, PIN_OUTPUT, 4) /* (AD24) PRG1_PRU0_GPO14.RGMII1_TD3 */
			J721E_IOPAD(0x44, PIN_OUTPUT, 4) /* (AE24) PRG1_PRU0_GPO16.RGMII1_TXC */
			J721E_IOPAD(0x40, PIN_OUTPUT, 4) /* (AC24) PRG1_PRU0_GPO15.RGMII1_TX_CTL */
		>;
	};

	rgmii2_pins_default: rgmii2-pins-default {
		pinctrl-single,pins = <
			J721E_IOPAD(0x58, PIN_INPUT, 4) /* (AE22) PRG1_PRU1_GPO0.RGMII2_RD0 */
			J721E_IOPAD(0x5c, PIN_INPUT, 4) /* (AG23) PRG1_PRU1_GPO1.RGMII2_RD1 */
			J721E_IOPAD(0x60, PIN_INPUT, 4) /* (AF23) PRG1_PRU1_GPO2.RGMII2_RD2 */
			J721E_IOPAD(0x64, PIN_INPUT, 4) /* (AD23) PRG1_PRU1_GPO3.RGMII2_RD3 */
			J721E_IOPAD(0x70, PIN_INPUT, 4) /* (AE23) PRG1_PRU1_GPO6.RGMII2_RXC */
			J721E_IOPAD(0x68, PIN_INPUT, 4) /* (AH24) PRG1_PRU1_GPO4.RGMII2_RX_CTL */
			J721E_IOPAD(0x84, PIN_OUTPUT, 4) /* (AJ25) PRG1_PRU1_GPO11.RGMII2_TD0 */
			J721E_IOPAD(0x88, PIN_OUTPUT, 4) /* (AH25) PRG1_PRU1_GPO12.RGMII2_TD1 */
			J721E_IOPAD(0x8c, PIN_OUTPUT, 4) /* (AG25) PRG1_PRU1_GPO13.RGMII2_TD2 */
			J721E_IOPAD(0x90, PIN_OUTPUT, 4) /* (AH26) PRG1_PRU1_GPO14.RGMII2_TD3 */
			J721E_IOPAD(0x98, PIN_OUTPUT, 4) /* (AJ26) PRG1_PRU1_GPO16.RGMII2_TXC */
			J721E_IOPAD(0x94, PIN_OUTPUT, 4) /* (AJ27) PRG1_PRU1_GPO15.RGMII2_TX_CTL */
		>;
	};

	rgmii3_pins_default: rgmii3-pins-default {
		pinctrl-single,pins = <
			J721E_IOPAD(0xb0, PIN_INPUT, 4) /* (AF28) PRG0_PRU0_GPO0.RGMII3_RD0 */
			J721E_IOPAD(0xb4, PIN_INPUT, 4) /* (AE28) PRG0_PRU0_GPO1.RGMII3_RD1 */
			J721E_IOPAD(0xb8, PIN_INPUT, 4) /* (AE27) PRG0_PRU0_GPO2.RGMII3_RD2 */
			J721E_IOPAD(0xbc, PIN_INPUT, 4) /* (AD26) PRG0_PRU0_GPO3.RGMII3_RD3 */
			J721E_IOPAD(0xc8, PIN_INPUT, 4) /* (AE26) PRG0_PRU0_GPO6.RGMII3_RXC */
			J721E_IOPAD(0xc0, PIN_INPUT, 4) /* (AD25) PRG0_PRU0_GPO4.RGMII3_RX_CTL */
			J721E_IOPAD(0xdc, PIN_OUTPUT, 4) /* (AJ28) PRG0_PRU0_GPO11.RGMII3_TD0 */
			J721E_IOPAD(0xe0, PIN_OUTPUT, 4) /* (AH27) PRG0_PRU0_GPO12.RGMII3_TD1 */
			J721E_IOPAD(0xe4, PIN_OUTPUT, 4) /* (AH29) PRG0_PRU0_GPO13.RGMII3_TD2 */
			J721E_IOPAD(0xe8, PIN_OUTPUT, 4) /* (AG28) PRG0_PRU0_GPO14.RGMII3_TD3 */
			J721E_IOPAD(0xf0, PIN_OUTPUT, 4) /* (AH28) PRG0_PRU0_GPO16.RGMII3_TXC */
			J721E_IOPAD(0xec, PIN_OUTPUT, 4) /* (AG27) PRG0_PRU0_GPO15.RGMII3_TX_CTL */
		>;
	};

	rgmii4_pins_default: rgmii4-pins-default {
		pinctrl-single,pins = <
			J721E_IOPAD(0x100, PIN_INPUT, 4) /* (AE29) PRG0_PRU1_GPO0.RGMII4_RD0 */
			J721E_IOPAD(0x104, PIN_INPUT, 4) /* (AD28) PRG0_PRU1_GPO1.RGMII4_RD1 */
			J721E_IOPAD(0x108, PIN_INPUT, 4) /* (AD27) PRG0_PRU1_GPO2.RGMII4_RD2 */
			J721E_IOPAD(0x10c, PIN_INPUT, 4) /* (AC25) PRG0_PRU1_GPO3.RGMII4_RD3 */
			J721E_IOPAD(0x118, PIN_INPUT, 4) /* (AC26) PRG0_PRU1_GPO6.RGMII4_RXC */
			J721E_IOPAD(0x110, PIN_INPUT, 4) /* (AD29) PRG0_PRU1_GPO4.RGMII4_RX_CTL */
			J721E_IOPAD(0x12c, PIN_OUTPUT, 4) /* (AG26) PRG0_PRU1_GPO11.RGMII4_TD0 */
			J721E_IOPAD(0x130, PIN_OUTPUT, 4) /* (AF27) PRG0_PRU1_GPO12.RGMII4_TD1 */
			J721E_IOPAD(0x134, PIN_OUTPUT, 4) /* (AF26) PRG0_PRU1_GPO13.RGMII4_TD2 */
			J721E_IOPAD(0x138, PIN_OUTPUT, 4) /* (AE25) PRG0_PRU1_GPO14.RGMII4_TD3 */
			J721E_IOPAD(0x140, PIN_OUTPUT, 4) /* (AG29) PRG0_PRU1_GPO16.RGMII4_TXC */
			J721E_IOPAD(0x13c, PIN_OUTPUT, 4) /* (AF29) PRG0_PRU1_GPO15.RGMII4_TX_CTL */
		>;
	};
};
&mcu_cpsw {
	status = "disabled";
};

&main_r5fss0_core0 {
	firmware-name = "pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f";
};

3.add dp83867 driver

4.add debug info of the dp83867

5.No information found

U-Boot SPL 2021.01 (Mar 30 2023 - 15:31:33 +0800)
Model: Texas Instruments K3 J721E SoC
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Board: J721EX-PM1-SOM rev E2
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Trying to boot from MMC1
init_env from device 17 not supported!
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE:  BL31: Built : 22:56:45, Mar  3 2023
I/TC:
I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Fri Mar  3 22:59:24 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2021.01 (Mar 30 2023 - 15:31:15 +0800)
Model: Texas Instruments K3 J721E SoC
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Board: J721EX-PM1-SOM rev E2
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Trying to boot from MMC1


U-Boot 2021.01 (Mar 30 2023 - 15:31:15 +0800)

SoC:   J721E SR1.1 GP
Model: Texas Instruments K3 J721E SoC
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from FAT... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
cdns,sierra serdes@5000000: PHY not found 0x7364 vs 0x0
Sierra init failed:-22
Net:   eth0: ethernet@46000000port@1
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
527 bytes read in 9 ms (56.6 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
1 bytes read in 9 ms (0 Bytes/s)
Already setup.
GPIO: 'gpio@22_17' not found
Command 'gpio' failed: Error -22
GPIO: 'gpio@22_16' not found
Command 'gpio' failed: Error -22
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
896344 bytes read in 58 ms (14.7 MiB/s)
Load Remote Processor 2 with data@addr=0x82000000 896344 bytes: Success!
302028 bytes read in 28 ms (10.3 MiB/s)
Load Remote Processor 3 with data@addr=0x82000000 302028 bytes: Success!
Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
1325844 bytes read in 82 ms (15.4 MiB/s)
Load Remote Processor 6 with data@addr=0x82000000 1325844 bytes: Success!
1325844 bytes read in 81 ms (15.6 MiB/s)
Load Remote Processor 7 with data@addr=0x82000000 1325844 bytes: Success!
12849160 bytes read in 268 ms (45.7 MiB/s)
Load Remote Processor 8 with data@addr=0x82000000 12849160 bytes: Success!
19081728 bytes read in 967 ms (18.8 MiB/s)
112026 bytes read in 14 ms (7.6 MiB/s)
5400 bytes read in 8 ms (659.2 KiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 5.10.162-g76b3e88d56 (cesar@cesar-pc) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #5 SMP PREEMPT Thu Apr 6 15:58:47 CST 2023
[    0.000000] Machine model: Texas Instruments K3 J721E SoC
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
[    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
[    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
[    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=ce82315b-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
[    0.000000] Memory: 3271284K/4194304K available (11200K kernel code, 1162K rwdata, 4300K rodata, 1856K init, 431K bss, 398732K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000880030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
[    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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008408] Console: colour dummy device 80x25
[    0.012975] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023646] pid_max: default: 32768 minimum: 301
[    0.028404] LSM: Security Framework initializing
[    0.033163] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.040743] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.049635] rcu: Hierarchical SRCU implementation.
[    0.054716] Platform MSI: msi-controller@1820000 domain created
[    0.060991] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.070294] EFI services will not be available.
[    0.075023] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[    0.088285] Detected PIPT I-cache on CPU1
[    0.088312] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.088323] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.088359] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.088412] smp: Brought up 1 node, 2 CPUs
[    0.117758] SMP: Total of 2 processors activated.
[    0.122564] CPU features: detected: 32-bit EL0 Support
[    0.127819] CPU features: detected: CRC32 instructions
[    0.142053] CPU: All CPU(s) started at EL2
[    0.146248] alternatives: patching kernel code
[    0.151330] devtmpfs: initialized
[    0.160918] KASLR disabled due to lack of seed
[    0.165576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.175541] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.189289] pinctrl core: initialized pinctrl subsystem
[    0.194972] DMI not present or invalid.
[    0.199237] NET: Registered protocol family 16
[    0.204483] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.211798] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.219857] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.228179] thermal_sys: Registered thermal governor 'step_wise'
[    0.228181] thermal_sys: Registered thermal governor 'power_allocator'
[    0.234801] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.248441] ASID allocator initialised with 65536 entries
[    0.273054] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.279912] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.286758] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.293603] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.301097] cryptd: max_cpu_qlen set to 1000
[    0.307313] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.316148] vsys_3v3: supplied by evm_12v0
[    0.320514] vsys_5v0: supplied by evm_12v0
[    0.324822] vdd_mmc1: supplied by vsys_3v3
[    0.329591] iommu: Default domain type: Translated
[    0.334731] SCSI subsystem initialized
[    0.338940] mc: Linux media interface: v0.10
[    0.343320] videodev: Linux video capture interface: v2.00
[    0.348952] pps_core: LinuxPPS API ver. 1 registered
[    0.354022] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.363363] PTP clock support registered
[    0.367382] EDAC MC: Ver: 3.0.0
[    0.371214] FPGA manager framework
[    0.374728] Advanced Linux Sound Architecture Driver Initialized.
[    0.381353] clocksource: Switched to clocksource arch_sys_counter
[    0.387684] VFS: Disk quotas dquot_6.6.0
[    0.391716] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.401443] NET: Registered protocol family 2
[    0.406208] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.414821] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.423581] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.431782] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.439634] TCP: Hash tables configured (established 32768 bind 32768)
[    0.446454] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.453355] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.460774] NET: Registered protocol family 1
[    0.465539] RPC: Registered named UNIX socket transport module.
[    0.471593] RPC: Registered udp transport module.
[    0.476397] RPC: Registered tcp transport module.
[    0.481200] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.487782] NET: Registered protocol family 44
[    0.492327] PCI: CLS 0 bytes, default 64
[    0.496742] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.507270] Initialise system trusted keyrings
[    0.511925] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.520130] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.526415] NFS: Registering the id_resolver key type
[    0.531598] Key type id_resolver registered
[    0.535871] Key type id_legacy registered
[    0.539990] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.546839] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.554485] 9p: Installing v9fs 9p2000 file system support
[    0.580131] Key type asymmetric registered
[    0.584317] Asymmetric key parser 'x509' registered
[    0.589319] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.596878] io scheduler mq-deadline registered
[    0.601503] io scheduler kyber registered
[    0.607260] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.613475] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.622503] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.628948] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
[    0.636945] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.643365] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
[    0.651308] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.657729] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
[    0.665660] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.671986] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
[    0.679938] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.686267] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
[    0.696032] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.704344] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.712627] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.719729] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.728479] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.741968] brd: module loaded
[    0.748708] loop: module loaded
[    0.752444] megasas: 07.714.04.00-rc1
[    0.758355] tun: Universal TUN/TAP device driver, 1.6
[    0.763824] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.770236] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.776314] sky2: driver version 1.30
[    0.780802] VFIO - User Level meta-driver version: 0.3
[    0.786615] i2c /dev entries driver
[    0.791124] sdhci: Secure Digital Host Controller Interface driver
[    0.797460] sdhci: Copyright(c) Pierre Ossman
[    0.802125] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.808539] ledtrig-cpu: registered to indicate activity on CPUs
[    0.814902] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.822305] optee: probing for conduit method.
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
[    0.826867] optee: revision 3.20 (8e74d476)
[    0.843289] optee: dynamic shared memory is enabled
[    0.852758] optee: initialized driver
[    0.858073] NET: Registered protocol family 17
[    0.862710] 9pnet: Installing 9P2000 support
[    0.867105] Key type dns_resolver registered
[    0.871574] Loading compiled-in X.509 certificates
[    0.885333] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
[    0.951136] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    0.958958] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.965069] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.971406] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.977777] pca953x 3-0020: supply vcc not found, using dummy regulator
[    0.984599] pca953x 3-0020: using no AI
[    1.009395] pca953x 3-0020: failed writing register
[    1.014439] pca953x: probe of 3-0020 failed with error -121
[    1.020370] pca953x 3-0022: supply vcc not found, using dummy regulator
[    1.027182] pca953x 3-0022: using AI
[    1.030884] pca953x 3-0022: failed writing register
[    1.035908] pca953x: probe of 3-0022 failed with error -121
[    1.041644] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    1.048001] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[    1.056190] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
[    1.062441] pca953x 6-0020: supply vcc not found, using dummy regulator
[    1.069265] pca953x 6-0020: using no AI
[    1.093395] pca953x 6-0020: failed writing register
[    1.098432] pca953x: probe of 6-0020 failed with error -121
[    1.104433] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[    1.110537] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[    1.116525] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[    1.122695] pca953x 9-0020: supply vcc not found, using dummy regulator
[    1.129514] pca953x 9-0020: using no AI
[    1.157398] pca953x 9-0020: failed writing register
[    1.162435] pca953x: probe of 9-0020 failed with error -121
[    1.168183] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[    1.174697] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    1.184680] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[    1.193492] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
[    1.203368] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.215907] cdns-sierra-phy: probe of 5000000.serdes failed with error -22
[    1.235445] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    1.245335] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    1.252096] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.261161] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    1.271323] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    1.278082] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.286109] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
[    1.295522] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 30, base_baud = 3000000) is a 8250
[    1.304270] printk: console [ttyS2] enabled
[    1.304270] printk: console [ttyS2] enabled
[    1.312708] printk: bootconsole [ns16550a0] disabled
[    1.312708] printk: bootconsole [ns16550a0] disabled
[    1.323191] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 31, base_baud = 3000000) is a 8250
[    1.332150] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250
[    1.343052] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    1.353567] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[    1.363721] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[    1.373963] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[    1.385140] scsi host0: ufshcd
[    1.394328] 3007_____________________am65_cpsw_nuss_probe
[    1.400091] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
[    1.445355] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.453238] mdio_bus c000f00.mdio: MDIO device at address 2 is missing.
[    1.460155] mdio_bus c000f00.mdio: MDIO device at address 1 is missing.
[    1.467072] mdio_bus c000f00.mdio: MDIO device at address 6 is missing.
[    1.473989] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
[    1.480627] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
[    1.493420] am65-cpsw-nuss c000000.ethernet: Use random MAC address
[    1.499699] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
[    1.506821] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
[    1.513180] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    1.525062] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    1.634867] mmc0: CQHCI version 5.10
[    1.635083] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    1.651038] pca953x 4-0020: supply vcc not found, using dummy regulator
[    1.657715] pca953x 4-0020: using no AI
[    1.673368] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    1.766223] mmc0: Command Queue Engine enabled
[    1.770665] mmc0: new HS200 MMC card at address 0001
[    1.775937] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
[    1.780579] mmcblk0boot0: mmc0:0001 G1M15L partition 1 31.5 MiB
[    1.786623] mmcblk0boot1: mmc0:0001 G1M15L partition 2 31.5 MiB
[    1.792629] mmcblk0rpmb: mmc0:0001 G1M15L partition 3 4.00 MiB, chardev (237:0)
[    1.800746]  mmcblk0: p1 p2 p3 p4
[    1.805216] cdns-ufshcd 4e84000.ufs: link startup failed 1
[    1.810703] cdns-ufshcd 4e84000.ufs: UFS Host state=0
[    1.815740] cdns-ufshcd 4e84000.ufs: outstanding reqs=0x0 tasks=0x0
[    1.821997] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
[    1.828423] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
[    1.835282] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
[    1.841879] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
[    1.848217] cdns-ufshcd 4e84000.ufs: Clk gate=1
[    1.852734] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt=0
[    1.860891] cdns-ufshcd 4e84000.ufs: last intr at 1710718 us, last intr status=0x404
[    1.868615] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
[    1.876079] cdns-ufshcd 4e84000.ufs: hba->ufs_version=0x210, Host capabilities=0x1587031f, caps=0x0
[    1.885103] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
[    1.891094] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
[    1.897359] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
[    1.903439] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
[    1.909519] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
[    1.921691] host_regs: 00000000: 1587031f 00000000 00000210 00000000
[    1.928032] host_regs: 00000010: 00000000 00000000 00000000 00000000
[    1.934373] host_regs: 00000020: 00000000 00000470 00000000 00000000
[    1.940711] host_regs: 00000030: 00000008 00000001 00000000 00000000
[    1.947049] host_regs: 00000040: 00000000 00000000 00000000 00000000
[    1.953387] host_regs: 00000050: 00000000 00000000 00000000 00000000
[    1.959726] host_regs: 00000060: 00000000 00000000 00000000 00000000
[    1.966063] host_regs: 00000070: 00000000 00000000 00000000 00000000
[    1.972400] host_regs: 00000080: 00000000 00000000 00000000 00000000
[    1.978737] host_regs: 00000090: 00000000 00000000 00000000 00000000
[    1.985076] cdns-ufshcd 4e84000.ufs: No record of pa_err
[    1.990373] cdns-ufshcd 4e84000.ufs: No record of dl_err
[    1.995671] cdns-ufshcd 4e84000.ufs: No record of nl_err
[    2.000968] cdns-ufshcd 4e84000.ufs: No record of tl_err
[    2.006266] cdns-ufshcd 4e84000.ufs: No record of dme_err
[    2.011650] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err
[    2.017816] cdns-ufshcd 4e84000.ufs: No record of fatal_err
[    2.023376] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 1711861 us
[    2.030494] cdns-ufshcd 4e84000.ufs: No record of resume_fail
[    2.036226] cdns-ufshcd 4e84000.ufs: No record of suspend_fail
[    2.042044] cdns-ufshcd 4e84000.ufs: No record of dev_reset
[    2.047603] cdns-ufshcd 4e84000.ufs: No record of host_reset
[    2.053247] cdns-ufshcd 4e84000.ufs: No record of task_abort
[    2.673354] omap_i2c 2010000.i2c: timeout waiting for bus ready
[    2.679271] pca953x 4-0020: failed writing register
[    2.684244] pca953x: probe of 4-0020 failed with error -16
[    2.690209] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.697072] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.703913] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    2.710752] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    2.717572] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    2.728445] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.739217] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    2.754113] spi-nor spi7.0: unrecognized JEDEC id bytes: c8 68 1b ff c8 68
[    2.760990] spi-nor: probe of spi7.0 failed with error -2
[    2.768939] spi-nor spi8.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.775820] spi-nor: probe of spi8.0 failed with error -2
[    2.781763] 3007_____________________am65_cpsw_nuss_probe
[    2.787434] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
[    2.833362] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.841248] mdio_bus c000f00.mdio: MDIO device at address 2 is missing.
[    2.848174] mdio_bus c000f00.mdio: MDIO device at address 1 is missing.
[    2.855090] mdio_bus c000f00.mdio: MDIO device at address 6 is missing.
[    2.862009] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
[    2.868647] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
[    2.881428] am65-cpsw-nuss c000000.ethernet: Use random MAC address
[    2.887696] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
[    2.894818] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
[    2.901156] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    2.912983] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 140
[    2.921433] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    2.936412] mmc1: CQHCI version 5.10
[    2.941067] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
[    2.948369] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
[    2.956819] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
[    2.964143] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[    2.971450] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    2.978763] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[    2.987227] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.009572] ALSA device list:
[    3.012533]   No soundcards found.
[    4.006275] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    4.015163] Waiting for root device PARTUUID=ce82315b-02...
[    4.050846] mmc1: Problem switching card into high-speed mode!
[    4.056783] mmc1: new SDXC card at address 2141
[    4.061706] mmcblk1: mmc1:2141 APPSD 125 GiB
[    4.067380]  mmcblk1: p1 p2
[    8.991970] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
[    9.003038] EXT4-fs (mmcblk1p2): recovery complete
[    9.010235] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    9.018348] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    9.028441] devtmpfs: mounted
[    9.032391] Freeing unused kernel memory: 1856K
[    9.037021] Run /sbin/init as init process
[    9.601275] systemd[1]: System time before build time, advancing clock.
[    9.738135] NET: Registered protocol family 10
[    9.743110] Segment Routing with IPv6
[    9.805199] systemd[1]: systemd 244.5+ 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)
[    9.826942] systemd[1]: Detected architecture arm64.

Welcome to Arago 2021.09!

[    9.858096] systemd[1]: Set hostname to <j7-evm>.
[   10.451511] random: systemd: uninitialized urandom read (16 bytes read)
[   10.459560] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   10.481443] random: systemd: uninitialized urandom read (16 bytes read)
[   10.488612] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   10.509428] random: systemd: uninitialized urandom read (16 bytes read)
[   10.516494] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   10.537576] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   10.561489] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   10.585476] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   10.601418] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   10.621411] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   10.637409] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   10.673491] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   10.697504] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   10.719897] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   10.741613] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   10.767182] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[   10.777332] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   10.801719] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   10.821738] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   10.845648] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   10.865560] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   10.887571] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   10.911579] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   10.935673] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   10.960186] systemd[1]: Mounting Temporary Directory (/tmp)...
         Mounting Temporary Directory (/tmp)...
[   10.983713] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   11.011777] systemd[1]: Starting Start psplash boot splash screen...
         Starting Start psplash boot splash screen...
[   11.035696] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   11.049557] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   11.061662] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   11.102832] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   11.126693] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   11.149820] cryptodev: loading out-of-tree module taints kernel.
[   11.155307] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[   11.156163] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...[   11.171092] cryptodev: driver 1.10 loaded.

[   11.185540] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   11.205803] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Create list of sta… nodes for the current kernel.
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star…progress communication helper.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
[   11.422568] systemd-journald[183]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
[   12.190040] random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Reached target Local File Systems (Pre).
[   12.217460] random: systemd: uninitialized urandom read (16 bytes read)
         Mounting /media/ram...
[   12.227700] random: systemd-journal: uninitialized urandom read (16 bytes read)
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /media/ram.
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting set host name as per compatible name...
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
[  OK  ] Started irqbalance daemon.
         Starting Reboot and dump vmcore via kexec...
         Starting Update pmic regis…fety feature on power rails...
         Starting rc.pvr.service...
         Starting Login Service...
[  OK  ] Started TEE Supplicant.
         Starting My Advanced Service...
[   12.974158] random: crng init done
[   12.981394] random: 94 urandom warning(s) missed due to ratelimiting
ExecStartPre
[   13.670146] CAN device driver interface
[   13.729427] ina2xx 5-0040: error configuring the device: -121
[   13.735498] ina2xx 5-0041: error configuring the device: -121
[   13.742538] ina2xx 5-0042: error configuring the device: -121
[   13.749008] ina2xx 5-0043: error configuring the device: -121
[   13.756026] ina2xx 5-0044: error configuring the device: -121
[   13.762558] ina2xx 5-0045: error configuring the device: -121
[   13.772546] ina2xx 5-0046: error configuring the device: -121
[   13.779158] ina2xx 5-0047: error configuring the device: -121
[   13.785662] ina2xx 5-0048: error configuring the device: -121
[   13.792220] ina2xx 5-0049: error configuring the device: -121
[   13.798698] ina2xx 5-004a: error configuring the device: -121
[   13.805720] ina2xx 5-004b: error configuring the device: -121
[   13.812238] ina2xx 5-004c: error configuring the device: -121
[   13.818712] ina2xx 5-004d: error configuring the device: -121
[   13.825208] ina2xx 5-004e: error configuring the device: -121
[   13.831664] ina2xx 5-004f: error configuring the device: -121
[   14.060531] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains
[   14.086100] PVR_K:  276: Read BVNC 22.104.208.318 from HW device registers
[   14.094135] PVR_K:  276: RGX Device registered with BVNC 22.104.208.318
[   14.105747] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
[   14.119259] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
[   14.181679] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
[   14.190471] remoteproc remoteproc0: 4d80800000.dsp is available
[   14.196517] remoteproc remoteproc0: attaching to 4d80800000.dsp
[   14.202552] k3-dsp-rproc 4d80800000.dsp: DSP initialized in IPC-only mode
[   14.215277] remoteproc remoteproc0: remote processor 4d80800000.dsp is now attached
[   14.228251] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
[   14.239082] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
[   14.246009] remoteproc remoteproc1: 4d81800000.dsp is available
[   14.254910] remoteproc remoteproc1: attaching to 4d81800000.dsp
[   14.260974] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
[   14.270193] remoteproc remoteproc1: remote processor 4d81800000.dsp is now attached
[   14.279805] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
[   14.294459] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
[   14.307616] remoteproc remoteproc2: 64800000.dsp is available
[   14.334074] remoteproc remoteproc2: attaching to 64800000.dsp
[   14.341570] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
[   14.352060]  remoteproc2#vdev0buffer: assigned reserved memory node c71-dma-memory@a8000000
[   14.367203] virtio_rpmsg_bus virtio0: rpmsg host is online
[   14.381851]  remoteproc2#vdev0buffer: registered virtio0 (type 7)
[   14.410487] remoteproc remoteproc2: remote processor 64800000.dsp is now attached
[   14.757484] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
[   14.767481] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
[   14.782083] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[   14.800767] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
[   14.813210] platform 41000000.r5f: configured R5F for IPC-only mode
[   14.826471] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[   14.841984] remoteproc remoteproc3: 41000000.r5f is available
[   14.876658] remoteproc remoteproc3: attaching to 41000000.r5f
[   14.882787] platform 41000000.r5f: R5F core initialized in IPC-only mode
[   14.892629] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
[  OK  ] Started Load/Save Random Seed.[   14.912636]  remoteproc3#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000

[  OK  ] Started set host name as per compatible name.
[   14.945517] virtio_rpmsg_bus virtio1: rpmsg host is online
[   14.951564] img_enc 4200000.video-encoder: encoder registered as /dev/video0
[   14.954324]  remoteproc3#vdev0buffer: registered virtio1 (type 7)
[   14.965136] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
[   14.965227] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
[  OK  ] Started IPv6 Packet Filtering Frame[   14.981785] img_dec 4300000.video-decoder: decoder registered as /dev/video1
work.
[   14.990109] remoteproc remoteproc3: remote processor 41000000.r5f is now attached
[  OK  ] Started IPv4 Packet Filtering Framework.
[   15.013458] platform 5c00000.r5f: configured R5F for IPC-only mode
[  OK  ] Started Reboot and dump vmcore via [   15.025648] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
kexec.
[   15.038018] remoteproc remoteproc4: 5c00000.r5f is available
[  OK  ] Started Update pmic regist…safety[   15.050239] remoteproc remoteproc4: attaching to 5c00000.r5f
 feature on power rails.
[   15.069574] platform 5c00000.r5f: R5F core initialized in IPC-only mode
ExecStartPre1
[  OK  ] Reached target Network (Pre).
[   15.110571]  remoteproc4#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
         Starting Network Service...
[   15.137233] virtio_rpmsg_bus virtio2: rpmsg host is online
ExecStartPre2
[   15.152422] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
ExecStart
ExecStartPost
ExecStop
[   15.202423]  remoteproc4#vdev0buffer: registered virtio2 (type 7)
ExecStopPost
[  OK  ] Started Login Service.
[   15.227946] remoteproc remoteproc4: remote processor 5c00000.r5f is now attached
[  OK  ] Started My Advanced Service.
[   15.258894] m_can_platform 40528000.can: m_can device registered (irq=23, version=32)
[  OK  ] Started Network Service.[   15.276400] m_can_platform 40568000.can: m_can device registered (irq=25, version=32)

[   15.296946] m_can_platform 2721000.can: m_can device registered (irq=54, version=32)
         Starting Wait for Network to be Configured[   15.320620] platform 5d00000.r5f: configured R5F for IPC-only mode
...
         Starting Network Name Resolution...
[   15.362292] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
[   15.453180] remoteproc remoteproc5: 5d00000.r5f is available
[   15.549140] remoteproc remoteproc5: attaching to 5d00000.r5f
[   15.628394] remoteproc remoteproc5: rsc table is truncated
[   15.644709] remoteproc remoteproc5: Failed to process resources: -22
[   15.714036] k3_r5_rproc bus@100000:r5fss@5c00000: rproc_add failed, ret = -22
[   15.742983] platform 5c00000.r5f: R5F core deinitialized in IPC-only mode
[   15.760137] remoteproc remoteproc4: detached remote processor 5c00000.r5f
[   15.785650] remoteproc remoteproc4: releasing 5c00000.r5f
[   15.791174] k3_r5_rproc bus@100000:r5fss@5c00000: k3_r5_cluster_rproc_init failed, ret = -22
[   15.803819] k3_r5_rproc: probe of bus@100000:r5fss@5c00000 failed with error -22
[   15.825590] platform 5e00000.r5f: configured R5F for remoteproc mode
[   15.861893] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
[   15.873144] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   15.883791] remoteproc remoteproc4: 5e00000.r5f is available
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[   15.940855] remoteproc remoteproc4: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[   15.961631] remoteproc remoteproc4: powering up 5e00000.r5f
[   15.970023] platform 5f00000.r5f: configured R5F for remoteproc mode
         Starting Permit User Sessions...[   15.982909] remoteproc remoteproc4: Direct firmware load for j7-main-r5f1_0-fw failed with error -2

[  OK  ] Started Permit User Sessions.
[   16.022057] remoteproc remoteproc4: request_firmware failed: -2
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Started Serial Getty on ttyS3.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[FAILED] Failed to start Synchronize System and HW clocks.
[   16.138012] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
See 'systemctl status sync-clocks.service' for details.
[   16.238277] remoteproc remoteproc6: 5f00000.r5f is available
[   16.323277] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
[   16.336929] remoteproc remoteproc6: powering up 5f00000.r5f
[   16.348537] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
[   16.364965] remoteproc remoteproc6: request_firmware failed: -2
[   16.379858] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Found device /dev/mmcblk0p2.
         Starting File System Check on /dev/mmcblk0p2...
[   16.881162] usbcore: registered new interface driver usbfs
[  OK  ] Found device /dev/mmcblk0p3.
         Starting File System Check on /dev/mmcblk0p3...
[   16.923500] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   16.936788] usbcore: registered new interface driver hub
[   16.950868] usbcore: registered new device driver usb
[   16.969015] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   16.979978] remoteproc remoteproc7: b034000.pru is available
[   16.987716] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.004164] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.020595] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.060456] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.067620] remoteproc remoteproc8: b004000.rtu is available
[   17.076427] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.103033] remoteproc remoteproc9: b00a000.txpru is available
[  OK  ] Started File System Check on /dev/mmcblk0p3.
         Mounting /run/media/mmcblk0p3...
[  OK  ] Started File System Check on /dev/mmcblk0p2.
[   17.174275] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Found device /dev/mmcblk0p4.[   17.186053] ext4 filesystem being mounted at /run/media/mmcblk0p3 supports timestamps until 2038 (0x7fffffff)

[  OK  ] Mounted /run/media/mmcblk0p3.
[   17.222356] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
         Mounting /run/media/mmcblk0p2...[   17.236594] remoteproc remoteproc10: b038000.pru is available

[   17.251088] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.258204] remoteproc remoteproc11: b006000.rtu is available
         Starting File System Check on /dev/mmcblk0p4...
[   17.277784] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.280690] remoteproc remoteproc12: b00c000.txpru is available
[   17.292690] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.293108] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
[   17.302602] remoteproc remoteproc13: b134000.pru is available
[  OK  ] Mounted /run/media/mmcblk0p2.[   17.315168] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517

[   17.327629] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.336980] remoteproc remoteproc14: b104000.rtu is available
[   17.343587] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[  OK  ] Started File System Check on /dev/m[   17.362763] cdns-csi2rx: probe of 4504000.csi-bridge failed with error -22
mcblk0p4.
         Mounting /run/media/mmcblk0p4...[   17.391958] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517

[   17.401698] cdns-csi2rx: probe of 4514000.csi-bridge failed with error -22
[   17.405262] remoteproc remoteproc15: b10a000.txpru is available
[  OK  ] Found device /dev/mmcblk0p1.
         Starting File System Check on /dev/mmcblk0p1...
[   17.456802] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /run/media/mmcblk0p4.
[   17.493642] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[  OK  ] Started File System Check on /dev/mmcblk0p1.
[   17.512513] remoteproc remoteproc16: b138000.pru is available
         Mounting /run/media/mmcblk0p1...
[   17.543141] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[  OK  ] Mounted /run/media/mmcblk0p1.
[   17.597778] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.604815] remoteproc remoteproc17: b106000.rtu is available
[   17.613655] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   17.629602] remoteproc remoteproc18: b10c000.txpru is available
[   17.648016] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
         Starting udev Wait for Complete Device Initialization...
[  OK  ] Found device /dev/mmcblk1p1.
         Starting File System Check on /dev/mmcblk1p1...
[  OK  ] Started File System Check on /dev/mmcblk1p1.
         Mounting /run/media/mmcblk1p1...
[   18.593031] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[   19.665774] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   19.671292] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[   19.679436] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
[  OK  ] Mounted /run/media/mmcblk1p1.
[   19.689905] xhci-hcd xhci-hcd.2.auto: irq 662, io mem 0x06010000
[   19.700839] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[   19.700842] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.700845] usb usb1: Product: xHCI Host Controller
[   19.700847] usb usb1: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd
[   19.700849] usb usb1: SerialNumber: xhci-hcd.2.auto
[   19.702825] hub 1-0:1.0: USB hub found
[   19.736581] hub 1-0:1.0: 1 port detected
[  OK  ] Started weston.service.
[   19.742018] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   19.745894] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   19.752226] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[   19.766751] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[   19.774351] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   19.774418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[   19.774421] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.774424] usb usb2: Product: xHCI Host Controller
         Starting telnetd.service...[   19.774426] usb usb2: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd

[   19.774428] usb usb2: SerialNumber: xhci-hcd.2.auto
[   19.778776] hub 2-0:1.0: USB hub found
[   19.822855] hub 2-0:1.0: 1 port detected
[   19.828499] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   19.830129] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   19.836962] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   19.844181] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[   19.855693] xhci-hcd xhci-hcd.3.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
[   19.865137] xhci-hcd xhci-hcd.3.auto: irq 665, io mem 0x06410000
[  OK  ] Started telnetd.service.[   19.871459] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10

[   19.884526] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.891902] usb usb3: Product: xHCI Host Controller
[   19.896775] usb usb3: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd
[   19.903407] usb usb3: SerialNumber: xhci-hcd.3.auto
[   19.908954] hub 3-0:1.0: USB hub found
[   19.912747] hub 3-0:1.0: 1 port detected
[   19.917672] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   19.923540] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[   19.923897] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   19.932302] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[   19.944791] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   19.952988] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[   19.961280] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.968516] usb usb4: Product: xHCI Host Controller
[   19.973413] usb usb4: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd
[   19.980105] usb usb4: SerialNumber: xhci-hcd.3.auto
[   19.985336] hub 4-0:1.0: USB hub found
[   19.989109] hub 4-0:1.0: 1 port detected
[   19.994315] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   20.001389] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   20.011954] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   20.158103] usb 1-1: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[   20.166460] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.173688] usb 1-1: Product: USB 10/100 LAN
[   20.177965] usb 1-1: Manufacturer: Realtek
[   20.182117] usb 1-1: SerialNumber: 00E04C2802A7
[   20.189680] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   20.385672] usbcore: registered new interface driver r8152
[   20.447587] usbcore: registered new interface driver cdc_ether
[   20.517672] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
[   20.698269] r8152 1-1:1.0: skip request firmware
[   20.713935] PVR_K:  1074: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
[   20.730195] r8152 1-1:1.0 eth1: v1.11.11
[   20.737068] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
[   20.752909] PVR_K:  1074: Shader binary image 'rgx.sh.22.104.208.318' loaded
[  OK  ] Started udev Wait for Complete Device Initialization.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.

cesar

  • Hi Cesar,

    Have you built and included the " k3-j721e-gesi-exp-board.dts" as a device-tree overlay?

    Have a look at this FAQ and let me know if you see same problem after following its steps.

    Regards,
    Tanmay

  • Hi Tanmay,

    1. "Have you built and included the " k3-j721e-gesi-exp-board.dts" as a device-tree overlay?"

    reply: yes, and add personal definition "vt,cesar"

    find:

    2. other question

    How do I know if it's clause 22 or clause 45.

  • Hi Cesar,

    How do I know if it's clause 22 or clause 45.

    The phy is a clause 22 phy. This could be found from the datasheet of the phy.

    Can you confirm that the phy is bought out of reset. It seems from the logs that the CPSW isn't able to read the MDIO registers of the phy. Hence, its not being probed correctly.

    Regards,
    Tanmay

  • Hi Tanmay,

    I'm sorry, the dp83x phy is 'NC', no patch on our board; only the TJA1101.

    1.TI-pinmux-tool has prompts "Pin conflict"

    2. the connect to RMII7, the &cpsw0_portn is choice port5 or choice port7, the dts:

    3.Crystal oscillator is not working, RST-pin & EN-pin are high level,

    Do you know any other reasons.

    Thanks & Regards,

    Cesar

  • Hi Cesar,

    Crystal oscillator is not working, RST-pin & EN-pin are high level,

    What is the cocking scheme being used? Who is providing all the clocks? phy or the MAC?

    Is the pin AD18 being used anywhere else in the pinmuxing? As there is conflict there, it might be being used somewhere else.

    the connect to RMII7, the &cpsw0_portn is choice port5 or choice port7, the dts:

    The dts and pinmuxing seem correct. Have you tried booting up? What do you see after booting up? can you share the logs here.

    Regards,
    Tanmay

  • 1.The crystal oscillator is provided for the chip to work;

       TI-pinmux-tool has prompts "Pin conflict", default AD18,your EVM board,it might be being used somewhere else. where.

    2.RMII7 config: Is it right?

    3.logs:

    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    527 bytes read in 10 ms (50.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 9 ms (0 Bytes/s)
    Already setup.
    GPIO: 'gpio@22_17' not found
    Command 'gpio' failed: Error -22
    GPIO: 'gpio@22_16' not found
    Command 'gpio' failed: Error -22
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-main-r5f0_0-fw'
    302028 bytes read in 29 ms (9.9 MiB/s)
    k3_r5f_rproc r5f@5d00000: Invalid seq: Enable primary core before loading secondary core
    Load Remote Processor 3 with data@addr=0x82000000 302028 bytes: Failed!
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    1325844 bytes read in 84 ms (15.1 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 1325844 bytes: Success!
    1325844 bytes read in 83 ms (15.2 MiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 1325844 bytes: Success!
    12849160 bytes read in 271 ms (45.2 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 12849160 bytes: Success!
    19081728 bytes read in 979 ms (18.6 MiB/s)
    112026 bytes read in 14 ms (7.6 MiB/s)
    5412 bytes read in 10 ms (528.3 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (cesar@cesar-pc) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #22 SMP PREEMPT Tue Apr 11 10:53:59 CST 2023
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=ce82315b-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3271284K/4194304K available (11200K kernel code, 1162K rwdata, 4300K rodata, 1856K init, 431K bss, 398732K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008428] Console: colour dummy device 80x25
    [    0.012993] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023665] pid_max: default: 32768 minimum: 301
    [    0.028420] LSM: Security Framework initializing
    [    0.033178] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040757] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049618] rcu: Hierarchical SRCU implementation.
    [    0.054699] Platform MSI: msi-controller@1820000 domain created
    [    0.060968] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070274] EFI services will not be available.
    [    0.074998] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.088251] Detected PIPT I-cache on CPU1
    [    0.088278] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.088289] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.088323] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.088374] smp: Brought up 1 node, 2 CPUs
    [    0.117721] SMP: Total of 2 processors activated.
    [    0.122526] CPU features: detected: 32-bit EL0 Support
    [    0.127781] CPU features: detected: CRC32 instructions
    [    0.141982] CPU: All CPU(s) started at EL2
    [    0.146178] alternatives: patching kernel code
    [    0.151242] devtmpfs: initialized
    [    0.160824] KASLR disabled due to lack of seed
    [    0.165478] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.175442] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.190531] pinctrl core: initialized pinctrl subsystem
    [    0.196196] DMI not present or invalid.
    [    0.200451] NET: Registered protocol family 16
    [    0.205685] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.212992] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.221044] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.229361] thermal_sys: Registered thermal governor 'step_wise'
    [    0.229364] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.235977] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.249617] ASID allocator initialised with 65536 entries
    [    0.274032] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.280891] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.287737] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.294583] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.302065] cryptd: max_cpu_qlen set to 1000
    [    0.308242] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.317076] vsys_3v3: supplied by evm_12v0
    [    0.321443] vsys_5v0: supplied by evm_12v0
    [    0.325755] vdd_mmc1: supplied by vsys_3v3
    [    0.330539] iommu: Default domain type: Translated
    [    0.335678] SCSI subsystem initialized
    [    0.339882] mc: Linux media interface: v0.10
    [    0.344262] videodev: Linux video capture interface: v2.00
    [    0.349892] pps_core: LinuxPPS API ver. 1 registered
    [    0.354962] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.364302] PTP clock support registered
    [    0.368322] EDAC MC: Ver: 3.0.0
    [    0.372173] FPGA manager framework
    [    0.375686] Advanced Linux Sound Architecture Driver Initialized.
    [    0.382301] clocksource: Switched to clocksource arch_sys_counter
    [    0.388632] VFS: Disk quotas dquot_6.6.0
    [    0.392665] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.402324] NET: Registered protocol family 2
    [    0.407081] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.415672] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.424444] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.432644] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.440492] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.447308] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.454210] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.461615] NET: Registered protocol family 1
    [    0.466353] RPC: Registered named UNIX socket transport module.
    [    0.472415] RPC: Registered udp transport module.
    [    0.477219] RPC: Registered tcp transport module.
    [    0.482022] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.488605] NET: Registered protocol family 44
    [    0.493150] PCI: CLS 0 bytes, default 64
    [    0.497546] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.508072] Initialise system trusted keyrings
    [    0.512702] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.520902] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.527133] NFS: Registering the id_resolver key type
    [    0.532310] Key type id_resolver registered
    [    0.536584] Key type id_legacy registered
    [    0.540706] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.547555] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.555203] 9p: Installing v9fs 9p2000 file system support
    [    0.580216] Key type asymmetric registered
    [    0.584403] Asymmetric key parser 'x509' registered
    [    0.589400] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.596960] io scheduler mq-deadline registered
    [    0.601585] io scheduler kyber registered
    [    0.607358] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.613555] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.622617] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.629045] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.637042] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.643462] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.651399] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.657818] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.665757] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.672081] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.680030] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.686373] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.696108] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.704407] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.712669] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.719743] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.728466] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.742165] brd: module loaded
    [    0.748866] loop: module loaded
    [    0.752629] megasas: 07.714.04.00-rc1
    [    0.757969] 874_____________________get_phy_device addr=0, phy_id=0xffffffff
    [    0.765187] 874_____________________get_phy_device addr=1, phy_id=0xffffffff
    [    0.772390] 874_____________________get_phy_device addr=2, phy_id=0xffffffff
    [    0.779592] 874_____________________get_phy_device addr=3, phy_id=0xffffffff
    [    0.786794] 874_____________________get_phy_device addr=4, phy_id=0xffffffff
    [    0.794005] 874_____________________get_phy_device addr=5, phy_id=0xffffffff
    [    0.801211] 874_____________________get_phy_device addr=6, phy_id=0xffffffff
    [    0.808414] 874_____________________get_phy_device addr=7, phy_id=0xffffffff
    [    0.815615] 874_____________________get_phy_device addr=8, phy_id=0xffffffff
    [    0.822817] 874_____________________get_phy_device addr=9, phy_id=0xffffffff
    [    0.830019] 874_____________________get_phy_device addr=10, phy_id=0xffffffff
    [    0.837313] 874_____________________get_phy_device addr=11, phy_id=0xffffffff
    [    0.844605] 874_____________________get_phy_device addr=12, phy_id=0xffffffff
    [    0.851896] 874_____________________get_phy_device addr=13, phy_id=0xffffffff
    [    0.859190] 874_____________________get_phy_device addr=14, phy_id=0xffffffff
    [    0.866482] 874_____________________get_phy_device addr=15, phy_id=0xffffffff
    [    0.873778] 874_____________________get_phy_device addr=16, phy_id=0xffffffff
    [    0.881071] 874_____________________get_phy_device addr=17, phy_id=0xffffffff
    [    0.888361] 874_____________________get_phy_device addr=18, phy_id=0xffffffff
    [    0.895651] 874_____________________get_phy_device addr=19, phy_id=0xffffffff
    [    0.902942] 874_____________________get_phy_device addr=20, phy_id=0xffffffff
    [    0.910233] 874_____________________get_phy_device addr=21, phy_id=0xffffffff
    [    0.917524] 874_____________________get_phy_device addr=22, phy_id=0xffffffff
    [    0.924843] 874_____________________get_phy_device addr=23, phy_id=0xffffffff
    [    0.932139] 874_____________________get_phy_device addr=24, phy_id=0xffffffff
    [    0.939434] 874_____________________get_phy_device addr=25, phy_id=0xffffffff
    [    0.946725] 874_____________________get_phy_device addr=26, phy_id=0xffffffff
    [    0.954016] 874_____________________get_phy_device addr=27, phy_id=0xffffffff
    [    0.961310] 874_____________________get_phy_device addr=28, phy_id=0xffffffff
    [    0.968600] 874_____________________get_phy_device addr=29, phy_id=0xffffffff
    [    0.975891] 874_____________________get_phy_device addr=30, phy_id=0xffffffff
    [    0.983185] 874_____________________get_phy_device addr=31, phy_id=0xffffffff
    [    0.991095] tun: Universal TUN/TAP device driver, 1.6
    [    0.996598] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    1.003003] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    1.009077] sky2: driver version 1.30
    [    1.013547] VFIO - User Level meta-driver version: 0.3
    [    1.019368] i2c /dev entries driver
    [    1.023881] sdhci: Secure Digital Host Controller Interface driver
    [    1.030199] sdhci: Copyright(c) Pierre Ossman
    [    1.034946] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.041378] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.047725] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.055134] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    1.059699] optee: revision 3.20 (8e74d476)
    [    1.076107] optee: dynamic shared memory is enabled
    [    1.085577] optee: initialized driver
    [    1.090857] NET: Registered protocol family 17
    [    1.095482] 9pnet: Installing 9P2000 support
    [    1.099878] Key type dns_resolver registered
    [    1.104344] Loading compiled-in X.509 certificates
    [    1.117990] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    1.183411] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    1.191194] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.197305] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.203638] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.209968] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    1.216792] pca953x 3-0020: using no AI
    [    1.242346] pca953x 3-0020: failed writing register
    [    1.247386] pca953x: probe of 3-0020 failed with error -121
    [    1.253317] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    1.260118] pca953x 3-0022: using AI
    [    1.263820] pca953x 3-0022: failed writing register
    [    1.268844] pca953x: probe of 3-0022 failed with error -121
    [    1.274580] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.280945] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.289105] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.295363] pca953x 6-0020: supply vcc not found, using dummy regulator
    [    1.302182] pca953x 6-0020: using no AI
    [    1.326344] pca953x 6-0020: failed writing register
    [    1.331380] pca953x: probe of 6-0020 failed with error -121
    [    1.337370] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.343476] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.349475] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    1.355635] pca953x 9-0020: supply vcc not found, using dummy regulator
    [    1.362454] pca953x 9-0020: using no AI
    [    1.390346] pca953x 9-0020: failed writing register
    [    1.395381] pca953x: probe of 9-0020 failed with error -121
    [    1.401127] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.407626] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.417605] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.426424] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.436298] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.448777] cdns-sierra-phy: probe of 5000000.serdes failed with error -22
    [    1.468295] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.478184] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.484944] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.494013] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.504170] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.510929] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.518924] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    1.528334] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.537086] printk: console [ttyS2] enabled
    [    1.537086] printk: console [ttyS2] enabled
    [    1.545524] printk: bootconsole [ns16550a0] disabled
    [    1.545524] printk: bootconsole [ns16550a0] disabled
    [    1.556008] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.564974] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.575828] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    1.586345] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    1.596500] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    1.606738] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    1.617893] scsi host0: ufshcd
    [    1.627044] 3007_____________________am65_cpsw_nuss_probe
    [    1.632774] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    1.678311] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.685870] 219_____________________of_mdiobus_child_is_phy
    [    1.691435] 123_____________________of_mdiobus_register_phy addr=6
    [    1.697919] 874_____________________get_phy_device addr=6, phy_id=0xffffffff
    [    1.704950] mdio_bus c000f00.mdio: MDIO device at address 6 is missing.
    [    1.711549] 219_____________________of_mdiobus_child_is_phy
    [    1.717108] 123_____________________of_mdiobus_register_phy addr=0
    [    1.723589] 874_____________________get_phy_device addr=0, phy_id=0xffffffff
    [    1.730620] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
    [    1.737259] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
    [    1.750051] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    1.756388] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    1.762648] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    1.769766] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    1.776139] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.787764] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.897395] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    1.897730] mmc0: CQHCI version 5.10
    [    1.913501] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    1.920186] pca953x 4-0020: using no AI
    [    1.942309] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.028919] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    2.034411] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    2.039517] cdns-ufshcd 4e84000.ufs: outstanding reqs=0x0 tasks=0x0
    [    2.045804] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    2.052272] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    2.059164] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    2.065781] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    2.072139] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    2.076682] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt=0
    [    2.084862] cdns-ufshcd 4e84000.ufs: last intr at 1937507 us, last intr status=0x404
    [    2.092609] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    2.100095] cdns-ufshcd 4e84000.ufs: hba->ufs_version=0x210, Host capabilities=0x1587031f, caps=0x0
    [    2.109185] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
    [    2.115260] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    2.121533] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    2.127634] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    2.133733] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    2.145972] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    2.152337] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    2.158697] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    2.165056] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    2.171416] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    2.177774] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    2.184134] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    2.190493] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    2.196853] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    2.203222] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    2.209581] cdns-ufshcd 4e84000.ufs: No record of pa_err
    [    2.214906] cdns-ufshcd 4e84000.ufs: No record of dl_err
    [    2.220231] cdns-ufshcd 4e84000.ufs: No record of nl_err
    [    2.225552] cdns-ufshcd 4e84000.ufs: No record of tl_err
    [    2.230871] cdns-ufshcd 4e84000.ufs: No record of dme_err
    [    2.236278] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err
    [    2.242464] cdns-ufshcd 4e84000.ufs: No record of fatal_err
    [    2.248065] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 1938623 us
    [    2.255207] cdns-ufshcd 4e84000.ufs: No record of resume_fail
    [    2.260961] cdns-ufshcd 4e84000.ufs: No record of suspend_fail
    [    2.266854] mmc0: Command Queue Engine enabled
    [    2.271292] mmc0: new HS200 MMC card at address 0001
    [    2.271295] cdns-ufshcd 4e84000.ufs: No record of dev_reset
    [    2.276531] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.281811] cdns-ufshcd 4e84000.ufs: No record of host_reset
    [    2.286449] mmcblk0boot0: mmc0:0001 G1M15L partition 1 31.5 MiB
    [    2.291966] cdns-ufshcd 4e84000.ufs: No record of task_abort
    [    2.303663] mmcblk0boot1: mmc0:0001 G1M15L partition 2 31.5 MiB
    [    2.309677] mmcblk0rpmb: mmc0:0001 G1M15L partition 3 4.00 MiB, chardev (237:0)
    [    2.317754]  mmcblk0: p1 p2 p3 p4
    [    2.930307] omap_i2c 2010000.i2c: timeout waiting for bus ready
    [    2.936228] pca953x 4-0020: failed writing register
    [    2.941197] pca953x: probe of 4-0020 failed with error -16
    [    2.947148] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    2.954008] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    2.960851] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    2.967688] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    2.974501] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    2.985339] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.996089] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    3.010886] spi-nor spi7.0: unrecognized JEDEC id bytes: c8 68 1b ff c8 68
    [    3.017764] spi-nor: probe of spi7.0 failed with error -2
    [    3.025745] spi-nor spi8.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    3.032626] spi-nor: probe of spi8.0 failed with error -2
    [    3.038512] 3007_____________________am65_cpsw_nuss_probe
    [    3.044166] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    3.090312] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    3.097872] 219_____________________of_mdiobus_child_is_phy
    [    3.103435] 123_____________________of_mdiobus_register_phy addr=6
    [    3.109919] 874_____________________get_phy_device addr=6, phy_id=0xffffffff
    [    3.116951] mdio_bus c000f00.mdio: MDIO device at address 6 is missing.
    [    3.123549] 219_____________________of_mdiobus_child_is_phy
    [    3.129109] 123_____________________of_mdiobus_register_phy addr=0
    [    3.135591] 874_____________________get_phy_device addr=0, phy_id=0xffffffff
    [    3.142622] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
    [    3.149260] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
    [    3.162048] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    3.168373] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    3.174630] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    3.181749] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    3.188087] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    3.199645] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 140
    [    3.208303] pinctrl-single 11c000.pinctrl: pin PIN86 already requested by c000000.ethernet; cannot claim for 2ba0000.mcasp
    [    3.208767] mmc1: CQHCI version 5.10
    [    3.219351] pinctrl-single 11c000.pinctrl: pin-86 (2ba0000.mcasp) status -22
    [    3.229933] pinctrl-single 11c000.pinctrl: could not request pin 86 (PIN86) from group mcasp10-pins-default  on device pinctrl-single
    [    3.241905] davinci-mcasp 2ba0000.mcasp: Error applying setting, reverse things back
    [    3.249640] davinci-mcasp: probe of 2ba0000.mcasp failed with error -22
    [    3.258278] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    3.265535] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    3.273984] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    3.281319] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    3.288635] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    3.295943] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    3.304409] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    3.326748] ALSA device list:
    [    3.329709]   No soundcards found.
    [    4.273059] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    4.281972] Waiting for root device PARTUUID=ce82315b-02...
    [    4.318371] mmc1: Problem switching card into high-speed mode!
    [    4.324307] mmc1: new SDXC card at address 2141
    [    4.329209] mmcblk1: mmc1:2141 APPSD 125 GiB
    [    4.334850]  mmcblk1: p1 p2
    [   11.256465] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
    [   11.267471] EXT4-fs (mmcblk1p2): recovery complete
    [   11.274658] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   11.282772] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [   11.292818] devtmpfs: mounted
    [   11.296696] Freeing unused kernel memory: 1856K
    [   11.301326] Run /sbin/init as init process
    [   11.864040] systemd[1]: System time before build time, advancing clock.
    [   11.994037] NET: Registered protocol family 10
    [   11.999014] Segment Routing with IPv6
    [   12.060996] systemd[1]: systemd 244.5+ 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)
    [   12.082738] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    

    Regards,

    Cesar

  • Hi Cesar,

       TI-pinmux-tool has prompts "Pin conflict", default AD18,your EVM board,it might be being used somewhere else. where.

    The EVM does not use the pin AD18 by default so its unlikely that it would be included in the design as you are using only one rmii.

    RMII7 config: Is it right?

    The configuration is correct.

    The problem seems to be that the phy is not responding to the MDIO reads from the SoC. Can you check this from the phy side once.

    What is the cocking scheme being used? Who is providing all the clocks? phy or the MAC?

    So can you confirm that the clock is being provided from Phy to MAC.

    Regards,
    Tanmay

  • Hi Tanmay,

    1. Crystal oscillator is not working of the  TJA1101 phy, Let's check the hardware first.

    but the tda4-evm linux has no  DP83TG720S drivers, only the following models, can you offer the drivers

    Regards,

    Cesar

  • Hi Cesar,

    Here is the driver for dp83tg720 : 

    // SPDX-License-Identifier: GPL-2.0-only
    /* Driver for the Texas Instruments DP83TG720 PHY
     * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
     */
    
    #include <linux/ethtool.h>
    #include <linux/etherdevice.h>
    #include <linux/kernel.h>
    #include <linux/mii.h>
    #include <linux/module.h>
    #include <linux/phy.h>
    #include <linux/netdevice.h>
    
    #define DP83TG720ES1_PHY_ID	0x2000a280
    #define DP83TG720ES2_PHY_ID	0x2000a281
    #define DP83TG720CS_1_0_PHY_ID	0x2000a283
    #define DP83TG720CS_1_1_PHY_ID	0x2000a284
    #define DP83720_DEVADDR		0x1f
    #define DP83720_DEVADDR_MMD1	0x1
    
    #define MII_DP83720_INT_STAT1	0x12
    #define MII_DP83720_INT_STAT2	0x13
    #define MII_DP83720_INT_STAT3	0x18
    #define MII_DP83720_RESET_CTRL	0x1f
    
    #define DP83720_HW_RESET	BIT(15)
    #define DP83720_SW_RESET	BIT(14)
    
    #define DP83720_STRAP		0x45d
    #define DP83720_SGMII_CTRL	0x608
    #define SGMII_CONFIG_VAL	0x027B
    
    /* INT_STAT1 bits */
    #define DP83720_ANEG_COMPLETE_INT_EN	BIT(2)
    #define DP83720_ESD_EVENT_INT_EN	BIT(3)
    #define DP83720_LINK_STAT_INT_EN	BIT(5)
    #define DP83720_ENERGY_DET_INT_EN	BIT(6)
    #define DP83720_LINK_QUAL_INT_EN	BIT(7)
    
    /* INT_STAT2 bits */
    #define DP83720_SLEEP_MODE_INT_EN	BIT(2)
    #define DP83720_OVERTEMP_INT_EN		BIT(3)
    #define DP83720_OVERVOLTAGE_INT_EN	BIT(6)
    #define DP83720_UNDERVOLTAGE_INT_EN	BIT(7)
    
    /* INT_STAT3 bits */
    #define DP83720_LPS_INT_EN	BIT(0)
    #define DP83720_WAKE_REQ_EN	BIT(1)
    #define DP83720_NO_FRAME_INT_EN	BIT(2)
    #define DP83720_POR_DONE_INT_EN	BIT(3)
    
    /* SGMII CTRL bits */
    #define DP83720_SGMII_AUTO_NEG_EN	BIT(0)
    #define DP83720_SGMII_EN		BIT(9)
    
    /* Strap bits */
    #define DP83720_MASTER_MODE	BIT(5)
    #define DP83720_RGMII_IS_EN	BIT(12)
    #define DP83720_SGMII_IS_EN	BIT(13)
    #define DP83720_RX_SHIFT_EN	BIT(14)
    #define DP83720_TX_SHIFT_EN	BIT(15)
    
    /* RGMII ID CTRL */
    #define DP83720_RGMII_ID_CTRL	0x602
    #define DP83720_RX_CLK_SHIFT	BIT(1)
    #define DP83720_TX_CLK_SHIFT	BIT(0)
    
    enum dp83720_chip_type {
    	DP83720_ES1,
    	DP83720_ES2,
    	DP83720_CS1,
    	DP83720_CS1_1,
    };
    
    struct dp83720_init_reg {
    	int reg;
    	int val;
    };
    
    static const struct dp83720_init_reg dp83720_es1_init[] = {
    	{0x182, 0x3000},
    	{0x56a, 0xfc5},
    	{0x510, 0x2d51},
    	{0x408, 0x400},
    	{0x409, 0x2b},
    	{0x509, 0x4c04},
    	{0x8a1, 0xbff},
    	{0x802, 0x422},
    	{0x853, 0x632},
    	{0x824, 0x15e0},
    	{0x86a, 0x106},
    	{0x852, 0x3261},
    	{0x851, 0x5141},
    	{0x852, 0x327a},
    	{0x851, 0x6652},
    	{0x405, 0x1a0},
    	{0x423, 0x2},
    	{0x422, 0x0},
    	{0x420, 0x5510},
    	{0x421, 0x4077},
    	{0x412, 0x10},
    	{0x40f, 0x10},
    	{0x85d, 0x6405},
    	{0x894, 0x5557},
    	{0x892, 0x1b0},
    	{0x877, 0x55},
    	{0x80b, 0x16},
    	{0x864, 0x1fd0},
    	{0x865, 0xa},
    };
    
    static const struct dp83720_init_reg dp83720_es2_master_init[] = {
    	{0x408, 0x580},
    	{0x409, 0x2a},
    	{0x8a1, 0xbff},
    	{0x802, 0x422},
    	{0x840, 0x4120},
    	{0x841, 0x6151},
    	{0x8a3, 0x24e9},
    	{0x800, 0x2090},
    	{0x864, 0x1fd0},
    	{0x865, 0x2},
    	{0x405, 0x6800},
    	{0x420, 0x3310},
    	{0x412, 0x10},
    	{0x40f, 0xe4ce},
    	{0x844, 0x3f10},
    	{0x8a0, 0x1e7},
    	{0x843, 0x327a},
    	{0x842, 0x6652},
    	{0x50b, 0x7e7c},
    	{0x56a, 0x7f41},
    	{0x56b, 0xffb4},
    	{0x813, 0x3fa0},
    	{0x88d, 0x3fa0},
    	{0x899, 0x3fa0},
    };
    
    static const struct dp83720_init_reg dp83720_es2_slave_init[] = {
    	{0x408, 0x580},
    	{0x409, 0x2a},
    	{0x8a1, 0xbff},
    	{0x802, 0x422},
    	{0x853, 0x632},
    	{0x824, 0x15e0},
    	{0x86a, 0x106},
    	{0x852, 0x327a},
    	{0x851, 0x6652},
    	{0x405, 0x6800},
    	{0x420, 0x3310},
    	{0x412, 0x10},
    	{0x40f, 0x10},
    	{0x85d, 0x6405},
    	{0x894, 0x5057},
    	{0x892, 0x1b0},
    	{0x877, 0x55},
    	{0x80b, 0x16},
    	{0x864, 0x1fd0},
    	{0x865, 0x2},
    	{0x50b, 0x7e7c},
    	{0x56a, 0x7f41},
    	{0x56c, 0xffb4},
    	{0x813, 0x3fa0},
    	{0x88d, 0x3fa0},
    	{0x899, 0x3fa0},
    };
    
    static const struct dp83720_init_reg dp83720_cs1_master_init[] = {
    	{0x408, 0x580},
    	{0x409, 0x2a},
    	{0x8a1, 0xbff},
    	{0x802, 0x422},
    	{0x864, 0x1fd0},
    	{0x865, 0x2},
    	{0x8a3, 0x24e9},
    	{0x800, 0x2090},
    	{0x840, 0x4120},
    	{0x841, 0x6151},
    	{0x8a0, 0x01e7},
    	{0x879, 0xe4ce},
    	{0x89f, 0x1},
    	{0x844, 0x3f10},
    	{0x843, 0x327a},
    	{0x842, 0x6652},
    	{0x8a8, 0xe080},
    	{0x8a9, 0x3f0},
    	{0x88d, 0x3fa0},
    	{0x889, 0x3fa0},
    	{0x50b, 0x7e7c},
    	{0x56a, 0x5f41},
    	{0x56b, 0xffb4},
    	{0x56c, 0xffb4},
    	{0x573, 0x1},
    };
    
    static const struct dp83720_init_reg dp83720_cs1_slave_init[] = {
    	{0x408, 0x580},
    	{0x409, 0x2a},
    	{0x8a1, 0xbff},
    	{0x802, 0x422},
    	{0x864, 0x1fd0},
    	{0x865, 0x2},
    	{0x853, 0x632},
    	{0x824, 0x15e0},
    	{0x86a, 0x106},
    	{0x894, 0x5057},
    	{0x85d, 0x6405},
    	{0x892, 0x1b0},
    	{0x852, 0x327a},
    	{0x851, 0x6652},
    	{0x877, 0x55},
    	{0x80b, 0x16},
    	{0x8a8, 0xe080},
    	{0x8a9, 0x3f0},
    	{0x88d, 0x3fa0},
    	{0x899, 0x3fa0},
    	{0x1f, 0x4000},
    	{0x56a, 0x5f41},
    	{0x56b, 0xffb4},
    	{0x56c, 0xffb4},
    	{0x573, 0x1},
    };
    
    static const struct dp83720_init_reg dp83720_cs1_1_master_init[] = {
    	{0x405, 0x5800},
    	{0x8ad, 0x3c51},
    	{0x894, 0x5df7},
    	{0x8a0, 0x9e7},
    	{0x8c0, 0x4000},
    	{0x814, 0x4800},
    	{0x80d, 0x2ebf},
    	{0x8c1, 0xb00},
    	{0x87d, 0x001},
    	{0x82e, 0x000},
    	{0x837, 0x0f4},
    	{0x8be, 0x200},
    	{0x8c5, 0x4000},
    	{0x8c7, 0x2000},
    	{0x8b3, 0x05a},
    	{0x8b4, 0x05a},
    	{0x8b0, 0x202},
    	{0x8b5, 0x0ea},
    	{0x8ba, 0x2828},
    	{0x8bb, 0x6828},
    	{0x8bc, 0x028},
    	{0x8bf, 0x000},
    	{0x8b1, 0x014},
    	{0x8b2, 0x008},
    	{0x8ec, 0x000},
    	{0x8c8, 0x003},
    	{0x8be, 0x201},
    	{0x18c, 0x001},
    };
    
    static const struct dp83720_init_reg dp83720_cs1_1_slave_init[] = {
    	{0x894, 0x5df7},
    	{0x56a, 0x5f40},
    	{0x405, 0x5800},
    	{0x8ad, 0x3c51},
    	{0x894, 0x5df7},
    	{0x8a0, 0x9e7},
    	{0x8c0, 0x4000},
    	{0x814, 0x4800},
    	{0x80d, 0x2ebf},
    	{0x8c1, 0xb00},
    	{0x87d, 0x001},
    	{0x82e, 0x000},
    	{0x837, 0x0f4},
    	{0x8be, 0x200},
    	{0x8c5, 0x4000},
    	{0x8c7, 0x2000},
    	{0x8b3, 0x05a},
    	{0x8b4, 0x05a},
    	{0x8b0, 0x202},
    	{0x8b5, 0x0ea},
    	{0x8ba, 0x2828},
    	{0x8bb, 0x6828},
    	{0x8bc, 0x028},
    	{0x8bf, 0x000},
    	{0x8b1, 0x014},
    	{0x8b2, 0x008},
    	{0x8ec, 0x000},
    	{0x8c8, 0x003},
    	{0x8be, 0x201},
    	{0x56a, 0x5f40},
    	{0x18c, 0x001},
    };
    
    struct dp83720_private {
    	int chip;
    	bool is_master;
    	bool is_rgmii;
    	bool is_sgmii;
    	bool rx_shift;
    	bool tx_shift;
    };
    
    #if 0
    static irqreturn_t dp83720_handle_interrupt(struct phy_device *phydev)
    {
    	int irq_status;
    
    	irq_status = phy_read(phydev, MII_DP83720_INT_STAT1);
    	if (irq_status < 0) {
    		phy_error(phydev);
    		return IRQ_NONE;
    	}
    	if (irq_status & ((irq_status & GENMASK(7, 0)) << 8))
    		goto trigger_machine;
    
    	irq_status = phy_read(phydev, MII_DP83720_INT_STAT2);
    	if (irq_status < 0) {
    		phy_error(phydev);
    		return IRQ_NONE;
    	}
    	if (irq_status & ((irq_status & GENMASK(7, 0)) << 8))
    		goto trigger_machine;
    
    	irq_status = phy_read(phydev, MII_DP83720_INT_STAT3);
    	if (irq_status < 0) {
    		phy_error(phydev);
    		return IRQ_NONE;
    	}
    	if (irq_status & ((irq_status & GENMASK(7, 0)) << 8))
    		goto trigger_machine;
    
    	return IRQ_NONE;
    
    trigger_machine:
    	phy_trigger_machine(phydev);
    
    	return IRQ_HANDLED;
    }
    #endif
    
    static int dp83720_config_intr(struct phy_device *phydev)
    {
    	int misr_status, ret;
    
    	if (phydev->interrupts == PHY_INTERRUPT_ENABLED) {
    		misr_status = phy_read(phydev, MII_DP83720_INT_STAT1);
    		if (misr_status < 0)
    			return misr_status;
    
    		misr_status |= (DP83720_ANEG_COMPLETE_INT_EN |
    				DP83720_ESD_EVENT_INT_EN |
    				DP83720_LINK_STAT_INT_EN |
    				DP83720_ENERGY_DET_INT_EN |
    				DP83720_LINK_QUAL_INT_EN);
    
    		ret = phy_write(phydev, MII_DP83720_INT_STAT1, misr_status);
    		if (ret < 0)
    			return ret;
    
    		misr_status = phy_read(phydev, MII_DP83720_INT_STAT2);
    		if (misr_status < 0)
    			return misr_status;
    
    		misr_status |= (DP83720_SLEEP_MODE_INT_EN |
    				DP83720_OVERTEMP_INT_EN |
    				DP83720_OVERVOLTAGE_INT_EN |
    				DP83720_UNDERVOLTAGE_INT_EN);
    
    		ret = phy_write(phydev, MII_DP83720_INT_STAT2, misr_status);
    		if (ret < 0)
    			return ret;
    
    		misr_status = phy_read(phydev, MII_DP83720_INT_STAT3);
    		if (misr_status < 0)
    			return misr_status;
    
    		misr_status |= (DP83720_LPS_INT_EN |
    				DP83720_WAKE_REQ_EN |
    				DP83720_NO_FRAME_INT_EN |
    				DP83720_POR_DONE_INT_EN);
    
    		ret = phy_write(phydev, MII_DP83720_INT_STAT3, misr_status);
    
    	} else {
    		ret = phy_write(phydev, MII_DP83720_INT_STAT1, 0);
    		if (ret < 0)
    			return ret;
    
    		ret = phy_write(phydev, MII_DP83720_INT_STAT2, 0);
    		if (ret < 0)
    			return ret;
    
    		ret = phy_write(phydev, MII_DP83720_INT_STAT3, 0);
    		if (ret < 0)
    			return ret;
    
    		ret = phy_read(phydev, MII_DP83720_INT_STAT1);
    		if (ret < 0)
    			return ret;
    
    		ret = phy_read(phydev, MII_DP83720_INT_STAT2);
    		if (ret < 0)
    			return ret;
    
    		ret = phy_read(phydev, MII_DP83720_INT_STAT3);
    		if (ret < 0)
    			return ret;
    
    		ret = 0;
    
    	}
    
    	return ret;
    }
    
    static int dp83720_config_aneg(struct phy_device *phydev)
    {
    	int value, ret;
    
    	if (phydev->interface == PHY_INTERFACE_MODE_SGMII) {
    		value = phy_read(phydev, DP83720_SGMII_CTRL);
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, DP83720_SGMII_CTRL,
    				SGMII_CONFIG_VAL);
    		if (ret < 0)
    			return ret;
    	}
    
    	return genphy_config_aneg(phydev);
    }
    
    static int dp83720_read_straps(struct phy_device *phydev)
    {
    	struct dp83720_private *dp83720 = phydev->priv;
    	int strap;
    
    	strap = phy_read_mmd(phydev, DP83720_DEVADDR, DP83720_STRAP);
    	if (strap < 0)
    		return strap;
    
    	if (strap & DP83720_MASTER_MODE)
    		dp83720->is_master = true;
    
    	if (strap & DP83720_RGMII_IS_EN)
    		dp83720->is_rgmii = true;
    
    	if (strap & DP83720_SGMII_IS_EN)
    		dp83720->is_sgmii = true;
    
    	if (strap & DP83720_RX_SHIFT_EN)
    		dp83720->rx_shift = true;
    
    	if (strap & DP83720_TX_SHIFT_EN)
    		dp83720->tx_shift = true;
    
    	return 0;
    };
    
    static int dp83720_reset(struct phy_device *phydev, bool hw_reset)
    {
    	int ret;
    
    	if (hw_reset)
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, MII_DP83720_RESET_CTRL,
    				DP83720_HW_RESET);
    	else
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, MII_DP83720_RESET_CTRL,
    				DP83720_SW_RESET);
    	if (ret)
    		return ret;
    
    	mdelay(100);
    
    	return 0;
    }
    
    static int dp83720_phy_reset(struct phy_device *phydev)
    {
    	int ret;
    
    	ret = dp83720_reset(phydev, false);
    	if (ret)
    		return ret;
    
    	ret = dp83720_read_straps(phydev);
    	if (ret)
    		return ret;
    
    	return 0;
    }
    
    static int dp83720_write_seq(struct phy_device *phydev,
    			     const struct dp83720_init_reg *init_data, int size)
    {
    	int ret;
    	int i;
    
    	for (i = 0; i < size; i++) {
    			ret = phy_write_mmd(phydev, DP83720_DEVADDR, init_data[i].reg,
    				init_data[i].val);
    			if (ret)
    					return ret;
    	}
    
    	return 0;
    }
    
    static int dp83720_chip_init(struct phy_device *phydev)
    {
    	struct dp83720_private *dp83720 = phydev->priv;
    	int ret;
    
    	ret = dp83720_reset(phydev, true);
    	if (ret)
    		return ret;
    	
    	phydev->autoneg = AUTONEG_DISABLE;
        phydev->speed = SPEED_1000;
    	phydev->duplex = DUPLEX_FULL;
        linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT,
                                  phydev->supported);
    
    
    	if (dp83720->chip == DP83720_CS1 && dp83720->is_master) {
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, MII_BMSR, 0x940);
    		if (ret)
    			return ret;
    
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, MII_BMSR, 0x140);
    		if (ret)
    			return ret;
    	}
    
    	if (dp83720->is_master)
    	        ret = phy_write_mmd(phydev, DP83720_DEVADDR_MMD1, 0x834,
    				0xc001);
    	else
    	        ret = phy_write_mmd(phydev, DP83720_DEVADDR_MMD1, 0x834,
    				0x8001);
    	if (ret)
    		return ret;
    
    	switch (dp83720->chip) {
    	case DP83720_ES1:
    		ret = dp83720_write_seq(phydev, dp83720_es1_init,
    					ARRAY_SIZE(dp83720_es1_init));
    		break;
    	case DP83720_ES2:
    		if (dp83720->is_master)
    			ret = dp83720_write_seq(phydev, dp83720_es2_master_init,
    						ARRAY_SIZE(dp83720_es2_master_init));
    		else
    			ret = dp83720_write_seq(phydev, dp83720_es2_slave_init,
    						ARRAY_SIZE(dp83720_es2_slave_init));
    		break;
    	case DP83720_CS1:
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, 0x573, 0x101);
    		if (ret)
    			return ret;
    
    		if (dp83720->is_master)
    			ret = dp83720_write_seq(phydev, dp83720_cs1_master_init,
    						ARRAY_SIZE(dp83720_cs1_master_init));
    		else
    			ret = dp83720_write_seq(phydev, dp83720_cs1_slave_init,
    						ARRAY_SIZE(dp83720_cs1_slave_init));
    		break;
    	case DP83720_CS1_1:
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, 0x573, 0x101);
    		if (ret)
    			return ret;
    
    		if (dp83720->is_master)
    			ret = dp83720_write_seq(phydev, dp83720_cs1_1_master_init,
    						ARRAY_SIZE(dp83720_cs1_1_master_init));
    		else
    			ret = dp83720_write_seq(phydev, dp83720_cs1_1_slave_init,
    						ARRAY_SIZE(dp83720_cs1_1_slave_init));
    
    		ret = dp83720_reset(phydev, false);
    
    		ret = phy_write_mmd(phydev, DP83720_DEVADDR, 0x573, 0x001);
    	        if (ret)
    	                return ret;
    
    		return phy_write_mmd(phydev, DP83720_DEVADDR, 0x56a, 0x5f41);
    	default:
    		return -EINVAL;
    	};
    
    	if (ret)
    		return ret;
    
    	/* Enable the PHY */
    	ret = phy_write_mmd(phydev, DP83720_DEVADDR, 0x18c, 0x1);
    	if (ret)
    		return ret;
    
    	mdelay(10);
    
    	/* Do a software reset to restart the PHY with the updated values */
    	return dp83720_reset(phydev, false);
    }
    
    static int dp83720_config_init(struct phy_device *phydev)
    {
    	struct device *dev = &phydev->mdio.dev;
    	s32 rx_int_delay;
    	s32 tx_int_delay;
    	int rgmii_delay;
    	int value, ret;
    
    	ret = dp83720_chip_init(phydev);
    	if (ret)
    		return ret;
    
    	if (phy_interface_is_rgmii(phydev)) {
    		rx_int_delay = phy_get_internal_delay(phydev, dev, NULL, 0,
    						      true);
    
    		if (rx_int_delay <= 0)
    			rgmii_delay = 0;
    		else
    			rgmii_delay = DP83720_RX_CLK_SHIFT;
    
    		tx_int_delay = phy_get_internal_delay(phydev, dev, NULL, 0,
    						      false);
    		if (tx_int_delay <= 0)
    			rgmii_delay &= ~DP83720_TX_CLK_SHIFT;
    		else
    			rgmii_delay |= DP83720_TX_CLK_SHIFT;
    
    		if (rgmii_delay) {
    			ret = phy_set_bits_mmd(phydev, DP83720_DEVADDR_MMD1,
    					       DP83720_RGMII_ID_CTRL,
    					       rgmii_delay);
    			if (ret)
    				return ret;
    		}
    	}
    
    	value = phy_read_mmd(phydev, DP83720_DEVADDR, DP83720_SGMII_CTRL);
    	if (value < 0)
    		return value;
    
    	if (phydev->interface == PHY_INTERFACE_MODE_SGMII)
    		value |= DP83720_SGMII_EN;
    	else
    		value &= ~DP83720_SGMII_EN;
    
    	ret = phy_write_mmd(phydev, DP83720_DEVADDR, DP83720_SGMII_CTRL, value);
    	if (ret < 0)
    		return ret;
    
    	return 0;
    }
    
    static int dp83720_probe(struct phy_device *phydev)
    {
    	struct dp83720_private *dp83720;
    	int ret;
    
    	dp83720 = devm_kzalloc(&phydev->mdio.dev, sizeof(*dp83720),
    			       GFP_KERNEL);
    	if (!dp83720)
    		return -ENOMEM;
    
    	phydev->priv = dp83720;
    
    	ret = dp83720_read_straps(phydev);
    	if (ret)
    		return ret;
    
    	switch (phydev->phy_id) {
    	case DP83TG720ES1_PHY_ID:
    		dp83720->chip = DP83720_ES1;
    		break;
    	case DP83TG720ES2_PHY_ID:
    		dp83720->chip = DP83720_ES2;
    		break;
    	case DP83TG720CS_1_0_PHY_ID:
    		dp83720->chip = DP83720_CS1;
    		break;
    	case DP83TG720CS_1_1_PHY_ID:
    		dp83720->chip = DP83720_CS1_1;
    		break;
    	default:
    		return -EINVAL;
    	};
    
    	return dp83720_config_init(phydev);
    }
    
    #define DP83720_PHY_DRIVER(_id, _name)				\
    	{							\
    		PHY_ID_MATCH_EXACT(_id),			\
    		.name		= (_name),			\
    		.probe          = dp83720_probe,		\
    		/* PHY_GBIT_FEATURES */				\
    		.soft_reset	= dp83720_phy_reset,		\
    		.config_init	= dp83720_config_init,		\
    		.config_aneg = dp83720_config_aneg,		\
    /*if 0								\
    		.handle_interrupt = dp83720_handle_interrupt,	\
    #endif	*/							\
    		.config_intr = dp83720_config_intr,		\
    		.suspend = genphy_suspend,			\
    		.resume = genphy_resume,			\
    	}
    
    static struct phy_driver dp83720_driver[] = {
    	DP83720_PHY_DRIVER(DP83TG720ES1_PHY_ID, "TI DP83TG720ES1"),
    	DP83720_PHY_DRIVER(DP83TG720ES2_PHY_ID, "TI DP83TG720ES2"),
    	DP83720_PHY_DRIVER(DP83TG720CS_1_0_PHY_ID, "TI DP83TG720CS1.0"),
    	DP83720_PHY_DRIVER(DP83TG720CS_1_1_PHY_ID, "TI DP83TG720CS1.1"),
    };
    module_phy_driver(dp83720_driver);
    
    static struct mdio_device_id __maybe_unused dp83720_tbl[] = {
    	{ PHY_ID_MATCH_EXACT(DP83TG720ES1_PHY_ID) },
    	{ PHY_ID_MATCH_EXACT(DP83TG720ES2_PHY_ID) },
    	{ PHY_ID_MATCH_EXACT(DP83TG720CS_1_0_PHY_ID) },
    	{ PHY_ID_MATCH_EXACT(DP83TG720CS_1_1_PHY_ID) },
    	{ },
    };
    MODULE_DEVICE_TABLE(mdio, dp83720_tbl);
    
    MODULE_DESCRIPTION("Texas Instruments DP83TG720 PHY driver");
    MODULE_AUTHOR("Dan Murphy <dmurphy@ti.com");
    MODULE_LICENSE("GPL");
    

    1. Rename this as "dp83tg720.c" and copy it over to "drivers/net/phy/"
    2. Update the "drivers/net/phy/Makefile" to include the driver in the build process using either adding a config or combining it with an existing one.

    Regards,
    Tanmay

  • Hi Tanmay,

    load the dp83tg720 driver, how to test 

    [    2.343022] 3007_____________________am65_cpsw_nuss_probe
    [    2.348760] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    2.395240] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.402801] 219_____________________of_mdiobus_child_is_phy
    [    2.408366] 124_____________________of_mdiobus_register_phy addr=0
    [    2.414791] 876_____________________get_phy_device addr=0, phy_id=0x2000a284
    [    2.422063] 631_____________________phy_device_create
    [    2.427104] 68_____________________of_mdiobus_phy_device_register addr=0
    [    2.433796] 892_____________________phy_device_register, mdio.dev.bus->name = mdio_bus
    [    2.441817] 2953________________________phy_probe
    [    2.447021] _______________________________dp83720_config_init
    [    2.673159] davinci_mdio c000f00.mdio: phy[0]: device c000f00.mdio:00, driver TI DP83TG720CS1.1
    [    2.681882] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
    [    2.694655] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.700929] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    2.708049] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    2.714374] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    2.726106] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    2.745090] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    2.750568] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    2.755613] cdns-ufshcd 4e84000.ufs: outstanding reqs=0x0 tasks=0x0
    [    2.761868] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    2.768298] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    2.775156] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    2.781753] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    2.788090] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    2.792608] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt=0
    [    2.800767] cdns-ufshcd 4e84000.ufs: last intr at 2640741 us, last intr status=0x404
    [    2.808492] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    2.815958] cdns-ufshcd 4e84000.ufs: hba->ufs_version=0x210, Host capabilities=0x1587031f, caps=0x0
    [    2.824981] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
    [    2.830972] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    2.837309] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    2.843419] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    2.843591] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    2.855320] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    2.855325] mmc0: CQHCI version 5.10
    [    2.867503] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    2.877385] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    2.883738] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    2.890094] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    2.896446] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    2.902792] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    2.909141] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    2.911951] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.915493] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    2.929357] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    2.935754] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    2.942104] cdns-ufshcd 4e84000.ufs: No record of pa_err
    [    2.947464] cdns-ufshcd 4e84000.ufs: No record of dl_err
    [    2.952835] cdns-ufshcd 4e84000.ufs: No record of nl_err
    [    2.958195] cdns-ufshcd 4e84000.ufs: No record of tl_err
    [    2.963549] cdns-ufshcd 4e84000.ufs: No record of dme_err
    [    2.968991] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err
    [    2.975216] cdns-ufshcd 4e84000.ufs: No record of fatal_err
    [    2.980835] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 2641856 us
    [    2.988016] cdns-ufshcd 4e84000.ufs: No record of resume_fail
    [    2.993806] cdns-ufshcd 4e84000.ufs: No record of suspend_fail
    [    2.999634] cdns-ufshcd 4e84000.ufs: No record of dev_reset
    [    3.005197] cdns-ufshcd 4e84000.ufs: No record of host_reset
    [    3.010848] cdns-ufshcd 4e84000.ufs: No record of task_abort
    [    3.020032] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    3.026693] pca953x 4-0020: using no AI
    [    3.082684] mmc0: Command Queue Engine enabled
    [    3.087124] mmc0: new HS200 MMC card at address 0001
    [    3.092385] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    3.097023] mmcblk0boot0: mmc0:0001 G1M15L partition 1 31.5 MiB
    [    3.103041] mmcblk0boot1: mmc0:0001 G1M15L partition 2 31.5 MiB
    [    3.109049] mmcblk0rpmb: mmc0:0001 G1M15L partition 3 4.00 MiB, chardev (237:0)
    [    4.031408] pca953x 4-0020: failed writing register
    [    4.036382] pca953x: probe of 4-0020 failed with error -16
    [    4.042319] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    4.049190] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    4.056028] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    4.062857] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    4.069664] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    4.080329] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    4.090993] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    4.105539] spi-nor spi7.0: unrecognized JEDEC id bytes: c8 68 1b ff c8 68
    [    4.112416] spi-nor: probe of spi7.0 failed with error -2
    [    4.120240] spi-nor spi8.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    4.127118] spi-nor: probe of spi8.0 failed with error -2
    [    4.132972] 3007_____________________am65_cpsw_nuss_probe
    [    4.138611] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    4.183246] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.190806] 219_____________________of_mdiobus_child_is_phy
    [    4.196373] 124_____________________of_mdiobus_register_phy addr=0
    [    4.202799] 876_____________________get_phy_device addr=0, phy_id=0x2000a284
    [    4.210049] 631_____________________phy_device_create
    [    4.215090] 68_____________________of_mdiobus_phy_device_register addr=0
    [    4.221782] 892_____________________phy_device_register, mdio.dev.bus->name = mdio_bus
    [    4.229762] 2953________________________phy_probe
    [    4.234965] _______________________________dp83720_config_init
    [    4.460999] davinci_mdio c000f00.mdio: phy[0]: device c000f00.mdio:00, driver TI DP83TG720CS1.1
    [    4.469721] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
    [    4.482494] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    4.488768] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    4.495887] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    4.502184] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.513934] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 140
    [    4.522054] pinctrl-single 11c000.pinctrl: pin PIN86 already requested by c000000.ethernet; cannot claim for 2ba0000.mcasp
    [    4.533105] pinctrl-single 11c000.pinctrl: pin-86 (2ba0000.mcasp) status -22
    [    4.540140] pinctrl-single 11c000.pinctrl: could not request pin 86 (PIN86) from group mcasp10-pins-default  on device pinctrl-single
    [    4.552115] davinci-mcasp 2ba0000.mcasp: Error applying setting, reverse things back
    [    4.559847] davinci-mcasp: probe of 2ba0000.mcasp failed with error -22
    [    4.567470] mmc1: CQHCI version 5.10
    [    4.572057] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    4.579381] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    4.587767] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    4.595115] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    4.602427] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    4.609746] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    4.618117] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    4.639911] ALSA device list:
    [    4.642870]   No soundcards found.
    [    5.633971] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    5.641728] Waiting for root device PARTUUID=ce82315b-02...
    [    5.679252] mmc1: Problem switching card into high-speed mode!
    [    5.685187] mmc1: new SDXC card at address 2141
    [    5.690056] mmcblk1: mmc1:2141 APPSD 125 GiB
    [    5.695744]  mmcblk1: p1 p2
    [   14.668643] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
    [   15.267272] EXT4-fs (mmcblk1p2): recovery complete
    [   15.273981] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   15.282091] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [   15.291876] devtmpfs: mounted
    [   15.295705] Freeing unused kernel memory: 1856K
    [   15.300317] Run /sbin/init as init process
    [   15.873026] systemd[1]: System time before build time, advancing clock.
    [   16.002804] NET: Registered protocol family 10
    [   16.007722] Segment Routing with IPv6
    [   16.069550] systemd[1]: systemd 244.5+ 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)
    [   16.091284] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [   16.123989] systemd[1]: Set hostname to <j7-evm>.
    [   16.707653] random: systemd: uninitialized urandom read (16 bytes read)
    [   16.715654] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   16.735320] random: systemd: uninitialized urandom read (16 bytes read)
    [   16.742465] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   16.763308] random: systemd: uninitialized urandom read (16 bytes read)
    [   16.770356] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   16.791436] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [   16.815359] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [   16.839352] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   16.855303] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   16.875294] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   16.891294] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   16.926358] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [   16.947367] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [   16.969763] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [   16.991455] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [   17.016962] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [   17.027055] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   17.051586] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   17.071609] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   17.095536] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   17.115463] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   17.137295] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   17.161345] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   17.185360] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   17.201915] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [   17.221467] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [   17.249415] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   17.273478] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   17.287444] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [   17.299336] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   17.342440] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   17.362424] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   17.382060] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [   17.382086] systemd[1]: Starting udev Coldplug all Devices...
    [   17.393417] cryptodev: loading out-of-tree module taints kernel.
             Starting udev Coldplug all Devices...
    [   17.407453] cryptodev: driver 1.10 loaded.
    [   17.408193] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   17.432469] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [   17.663728] systemd-journald[188]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [   17.771917] random: systemd: uninitialized urandom read (16 bytes read)
    [  OK  ] Reached target Local File Systems (Pre).
    [   17.795397] random: systemd: uninitialized urandom read (16 bytes read)
             Mounting /media/ram...
    [   17.805542] random: systemd-journal: uninitialized urandom read (16 bytes read)
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting set host name as per compatible name...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework..[   18.357566] random: crng init done
    .
    [   18.367289] random: 80 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started irqbalance daemon.
             Starting Reboot and dump vmcore via kexec...
             Starting Update pmic regis…fety feature on power rails...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
             Starting My Advanced Service...
    [   19.099343] ina2xx 5-0040: error configuring the device: -121
    [   19.105602] ina2xx 5-0041: error configuring the device: -121
    [   19.112437] ina2xx 5-0042: error configuring the device: -121
    [   19.119122] ina2xx 5-0043: error configuring the device: -121
    [   19.139333] ina2xx 5-0044: error configuring the device: -121
    [   19.146561] ina2xx 5-0045: error configuring the device: -121
    [   19.159449] ina2xx 5-0046: error configuring the device: -121
    [   19.165588] ina2xx 5-0047: error configuring the device: -121
    [   19.176421] ina2xx 5-0048: error configuring the device: -121
    [   19.184242] ina2xx 5-0049: error configuring the device: -121
    [   19.190904] ina2xx 5-004a: error configuring the device: -121
    [   19.198033] ina2xx 5-004b: error configuring the device: -121
    [   19.205099] ina2xx 5-004c: error configuring the device: -121
    [   19.211693] ina2xx 5-004d: error configuring the device: -121
    [   19.219443] CAN device driver interface
    [   19.235661] ina2xx 5-004e: error configuring the device: -121
    [   19.244833] ina2xx 5-004f: error configuring the device: -121
    ExecStartPre
    [   19.672298] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains
    [   19.689977] PVR_K:  296: Read BVNC 22.104.208.318 from HW device registers
    [   19.696957] PVR_K:  296: RGX Device registered with BVNC 22.104.208.318
    [   19.711699] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    [   19.714998] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [   19.756450] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [   19.765278] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [   19.877237] k3-dsp-rproc 4d80800000.dsp: configured DSP for IPC-only mode
    [   19.947331] remoteproc remoteproc0: 4d80800000.dsp is available
    [   20.004512] remoteproc remoteproc0: attaching to 4d80800000.dsp
    [   20.011526] remoteproc remoteproc0: Carveout already associated to resource table
    [   20.019786] remoteproc remoteproc0: Failed to process resources: -12
    [   20.044987] k3-dsp-rproc 4d80800000.dsp: failed to add register device with remoteproc core, status = -12
    [   20.101918] k3-dsp-rproc: probe of 4d80800000.dsp failed with error -12
    [   20.119705] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    [   20.135759] k3-dsp-rproc 4d81800000.dsp: configured DSP for IPC-only mode
    [   20.157355] remoteproc remoteproc1: 4d81800000.dsp is available
    [   20.163692] remoteproc remoteproc1: attaching to 4d81800000.dsp
    [   20.169696] k3-dsp-rproc 4d81800000.dsp: DSP initialized in IPC-only mode
    [   20.203564] remoteproc remoteproc1: remote processor 4d81800000.dsp is now attached
    [   20.233159] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [   20.264397] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [   20.272820] remoteproc remoteproc2: 64800000.dsp is available
    [   20.278684] remoteproc remoteproc2: attaching to 64800000.dsp
    [   20.284609] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [   20.292780]  remoteproc2#vdev0buffer: assigned reserved memory node c71-dma-memory@a8000000
    [   20.303199] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   20.308837]  remoteproc2#vdev0buffer: registered virtio0 (type 7)
    [   20.315505] remoteproc remoteproc2: remote processor 64800000.dsp is now attached
    [   20.386374] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [   20.408910] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [   20.422940] platform 41000000.r5f: configured R5F for IPC-only mode
    [   20.432707] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   20.441518] remoteproc remoteproc3: 41000000.r5f is available
    [   20.447622] remoteproc remoteproc3: attaching to 41000000.r5f
    [   20.453940] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [   20.460973]  remoteproc3#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [   20.473743] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   20.484153]  remoteproc3#vdev0buffer: registered virtio1 (type 7)
    [   20.487826] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [   20.490622] remoteproc remoteproc3: remote processor 41000000.r5f is now attached
    [   20.502448] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [   20.532314] platform 5c00000.r5f: configured R5F for remoteproc mode
    [   20.543796] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [   20.574026] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [   20.588889] m_can_platform 40528000.can: m_can device registered (irq=23, version=32)
    [   20.603912] remoteproc remoteproc4: 5c00000.r5f is available
    [  OK  ] Started Login Service.[   20.611052] img_dec 4300000.video-decoder: decoder registered as /dev/video0
    
    [   20.614256] m_can_platform 40568000.can: m_can device registered (irq=25, version=32)
    [  OK  ] Started Load/Save Random Seed.[   20.633226] img_enc 4200000.video-encoder: encoder registered as /dev/video1
    
    [   20.648051] m_can_platform 2721000.can: m_can device registered (irq=54, version=32)
    [  OK  ] Started set host name as per compatible name.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Frame[   20.690282] platform 5d00000.r5f: configured R5F for remoteproc mode
    work.
    [   20.701187] remoteproc remoteproc4: powering up 5c00000.r5f
    [   20.707400] remoteproc remoteproc4: Booting fw image pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f, size 148812
    [  OK  ] Started Reboot and dump vmcore via [   20.725630]  remoteproc4#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
    kexec.
    [   20.736683] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   20.742936]  remoteproc4#vdev0buffer: registered virtio2 (type 7)
    [  OK  ] Started Update pmic regist…safety[   20.755456] remoteproc remoteproc4: remote processor 5c00000.r5f is now up
     feature on power rails.
    [   20.766142] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [   20.775452] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    ExecStartPre1
    [   20.795801] remoteproc remoteproc5: 5d00000.r5f is available
    [   20.798842] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    ExecStartPre2
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    ExecStart
    ExecStartPost
    ExecStop
    ExecStopPost
    [  OK  ] Started My Advanced Service.
    [   21.015514] platform 5e00000.r5f: configured R5F for remoteproc mode
    [   21.049774] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [   21.111869] remoteproc remoteproc6: 5e00000.r5f is available
    [   21.121087] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [   21.132601] remoteproc remoteproc6: powering up 5e00000.r5f
    [   21.138241] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [   21.149389] platform 5f00000.r5f: configured R5F for remoteproc mode
    [   21.157401] remoteproc remoteproc6: request_firmware failed: -2
    [   21.171957] remoteproc remoteproc5: powering up 5d00000.r5f
    [   21.177598] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 302028
    [   21.190543] remoteproc remoteproc5: bad phdr da 0xa4100000 mem 0x8c
    [   21.199284] remoteproc remoteproc5: Failed to load program segments: -22
    [   21.216518] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
    [   21.244414] remoteproc remoteproc7: 5f00000.r5f is available
    [   21.264279] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   21.301648] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [   21.316900] remoteproc remoteproc7: powering up 5f00000.r5f
    [   21.319576] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   21.327424] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [   21.349125] remoteproc remoteproc7: request_firmware failed: -2
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [   21.554842] _______________________________dp83720_config_init
    [   21.873227] am65-cpsw-nuss c000000.ethernet eth0: PHY [c000f00.mdio:00] driver [TI DP83TG720CS1.1] (irq=POLL)
    [   21.898232] am65-cpsw-nuss c000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   21.912664] am65-cpsw-nuss c000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv[   22.054436] usbcore: registered new interface driver usbfs
    2/3 locking..
    [   22.065093] remoteproc remoteproc8: b034000.pru is available
    [   22.066037] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   22.078554] remoteproc remoteproc9: b004000.rtu is available
             Starting Permit User Sessions...
    [   22.089559] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   22.112268] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [  OK  ] Started Permit User Sessions.
    [   22.123845] remoteproc remoteproc10: b00a000.txpru is available
    [   22.128071] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [  OK  ] Started Getty on tty1.
    [   22.147014] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   22.151648] usbcore: registered new interface driver hub
    [   22.172188] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [   22.176303] remoteproc remoteproc11: b038000.pru is available
    
    [   22.189014] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [  OK  ] Started Serial Getty on ttyS3.[   22.201047] usbcore: registered new device driver usb
    
    [  OK  ] Reached target Login Prompts.
    

    Regards,

    Cesar

  • Hi Cesar,

    You should be able to ping an interface connected to the dp83tg720 phy after assigning a static IP to eth0 interface or if connected to a dhcp server, you should be able to get an IP assigned to the interface.

    Regards,
    Tanmay

  • Hi Tanmay,

    1.Is there a tool that can read the phy address and Phy status.

    2. This phy chip register address is more than 5 bits, shouldn't it be changed to clause 45

        modify it, don't read the phy id.

    log:

    Regards,

    Cesar

  • Hi Tanmay,

    Adding a question:

    3. open RGMII loopback, ping fail.

    write reg:

    log:

    Regards,

    Cesar

  • Hi Tanmay,

    1.Hardware connection status:

    the  cpsw-port1 only connect phy, but the phy is not connected to the Internet right now, so it's time to test the phy self-test,

    switch RGMII Loopback,or do you have any better suggestions

  • Hi Cesar,

    The MAC loopback test is passing. The ping fails in MAC loopback because the src MAC addr is the same as the device's MAC addr.

    Can you try the phy-loopback test next to check if the phy has any issues.

    Regards,
    Tanmay

  • Hi Tanmay,

    Could you please provide the specific operation steps

  • Hi,

    Apologies for the delay in response.

    Are you still facing this issue?

    Regards,
    Tanmay