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.

TMDS62LEVM: spidev_test code runs but no output on expansion header

Part Number: TMDS62LEVM
Other Parts Discussed in Thread: AM62L, SYSCONFIG,

Tool/software:

Hello, 

I'm trying to test SPI comunication on AM62L EVM but I'm having trouble getting it to work. I've read similar threads and tried those solutions with no luck. I hope you can help me to check if there is anything wrong or missing in my procedure. I'm using the default kernel as starting point.

What I've done so far and some of my outputs:

1. Modified kernel configuration with menuconfig

Device Drivers --->
[*] SPI support
<*> User mode SPI device driver support

2. Modified device tree (k3-am62l3-evm.dts), using sysconfig tool output. I also changed all to INPUTS according to a suggestion on other thread, but none of the configurations worked.

spi1_pins_default: spi1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x008c, PIN_INPUT, 4) /* (H22) GPMC0_AD5.SPI1_CLK */
			AM62LX_IOPAD(0x0080, PIN_INPUT, 4) /* (K22) GPMC0_AD2.SPI1_D0 */
			AM62LX_IOPAD(0x0084, PIN_INPUT, 4) /* (J23) GPMC0_AD3.SPI1_D1 */
			AM62LX_IOPAD(0x0088, PIN_INPUT, 4) /* (K23) GPMC0_AD4.SPI1_CS0 */
		>;
	};


&main_spi1 {
		#address-cells = <1>;
		#size-cells = <0>;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi1_pins_default>;
        spidev@0 {
                spi-max-frequency = <24000000>;
                reg = <0>;
                compatible = "rohm,dh2228fv";
				
        };
};

Also, here is the full device tree file: k3-am62l3-evm.dts (modifications: removed conflicting pin drivers -dss and gpmc- and added spi1 node)

// SPDX-License-Identifier: GPL-2.0-only or MIT
/*
 * Device Tree file for the AM62L3 Evaluation Module
 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
 *
 * Technical Reference Manual: https://www.ti.com/lit/pdf/sprujb4
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/net/ti-dp83867.h>
#include "k3-am62l3.dtsi"
#include "k3-pinctrl.h"

/ {
	compatible = "ti,am62l3-evm", "ti,am62l3";
	model = "Texas Instruments AM62L3 Evaluation Module";

	aliases {
		mmc0 = &sdhci0;
		mmc1 = &sdhci1;
	};

	chosen {
		stdout-path = &main_uart0;
	};

	memory@80000000 {
		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
		device_type = "memory";
		bootph-all;
	};


	gpio_keys: gpio-keys {
		compatible = "gpio-keys";
		autorepeat;
		pinctrl-names = "default";
		pinctrl-0 = <&usr_button_pins_default>;

		usr: button-usr {
			label = "User Key";
			linux,code = <BTN_0>;
			gpios = <&main_gpio0 90 GPIO_ACTIVE_LOW>;
		};
	};

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

		led-0 {
			label = "am62-sk:green:heartbeat";
			gpios = <&main_gpio0 123 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			function = LED_FUNCTION_HEARTBEAT;
			default-state = "on";
		};
	};

	vmain_pd: regulator-0 {
		/* TPS65988 PD CONTROLLER OUTPUT */
		bootph-all;
		compatible = "regulator-fixed";
		regulator-name = "vmain_pd";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vcc_3v3_sys: regulator-1 {
		/* output of LM61460-Q1 */
		compatible = "regulator-fixed";
		regulator-name = "vcc_3v3_sys";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		vin-supply = <&vmain_pd>;
		regulator-always-on;
		regulator-boot-on;
	};

	vcc_1v8: regulator-3 {
		/* output of TPS6282518DMQ */
		compatible = "regulator-fixed";
		regulator-name = "vcc_1v8";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		vin-supply = <&vcc_3v3_sys>;
		regulator-always-on;
		regulator-boot-on;
	};

	tlv320_mclk: clk-0 {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12288000>;
	};

	codec_audio: sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM62L-SKEVM";
		simple-audio-card,widgets =
			"Headphone",	"Headphone Jack",
			"Line",		"Line In",
			"Microphone",	"Microphone Jack";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT",
			"LINE1L",		"Line In",
			"LINE1R",		"Line In",
			"MIC3R",		"Microphone Jack",
			"Microphone Jack",	"Mic Bias";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound_master>;
		simple-audio-card,frame-master = <&sound_master>;
		simple-audio-card,bitclock-inversion;

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

		sound_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			clocks = <&tlv320_mclk>;
		};
	};
};

&pmx0 {
	main_uart0_pins_default: main-uart0-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01b4, PIN_INPUT, 0)	/* (D13) UART0_RXD */
			AM62LX_IOPAD(0x01b8, PIN_OUTPUT, 0)	/* (C13) UART0_TXD */
		>;
		bootph-all;
	};

	main_uart1_pins_default: main-uart1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0180, PIN_INPUT, 2) /* (A8) MCASP0_AXR3.UART1_CTSn */
			AM62LX_IOPAD(0x0184, PIN_OUTPUT, 2) /* (B10) MCASP0_AXR2.UART1_RTSn */
			AM62LX_IOPAD(0x0198, PIN_INPUT, 2) /* (C11) MCASP0_AFSR.UART1_RXD */
			AM62LX_IOPAD(0x019c, PIN_OUTPUT, 2) /* (A12) MCASP0_ACLKR.UART1_TXD */
		>;
		bootph-all;
	};

	main_i2c0_pins_default: main-i2c0-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01cc, PIN_INPUT_PULLUP, 0) /* (B7) I2C0_SCL */
			AM62LX_IOPAD(0x01d0, PIN_INPUT_PULLUP, 0) /* (A7) I2C0_SDA */
		>;
		bootph-all;
	};

	main_i2c1_pins_default: main-i2c1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01d4, PIN_INPUT_PULLUP, 0) /* (D7) I2C1_SCL */
			AM62LX_IOPAD(0x01d8, PIN_INPUT_PULLUP, 0) /* (A6) I2C1_SDA */
		>;
		bootph-all;
	};

	main_i2c2_pins_default: main-i2c2-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01dc, PIN_INPUT_PULLUP, 0) /* (B8) I2C2_SCL */
			AM62LX_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (D8) I2C2_SDA */
		>;
	};

	ospi0_pins_default: ospi0-default-pins {
		bootph-all;
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x003c, PIN_OUTPUT, 0) /* (D22) OSPI0_CLK */
			AM62LX_IOPAD(0x0068, PIN_OUTPUT, 0) /* (C20) OSPI0_CSn0 */
			AM62LX_IOPAD(0x0074, PIN_OUTPUT, 0) /* (C23) OSPI0_CSn3 */
			AM62LX_IOPAD(0x0048, PIN_INPUT, 0) /* (C22) OSPI0_D0 */
			AM62LX_IOPAD(0x004c, PIN_INPUT, 0) /* (D21) OSPI0_D1 */
			AM62LX_IOPAD(0x0050, PIN_INPUT, 0) /* (E23) OSPI0_D2 */
			AM62LX_IOPAD(0x0054, PIN_INPUT, 0) /* (D23) OSPI0_D3 */
			AM62LX_IOPAD(0x0058, PIN_INPUT, 0) /* (F21) OSPI0_D4 */
			AM62LX_IOPAD(0x005c, PIN_INPUT, 0) /* (F19) OSPI0_D5 */
			AM62LX_IOPAD(0x0060, PIN_INPUT, 0) /* (G20) OSPI0_D6 */
			AM62LX_IOPAD(0x0064, PIN_INPUT, 0) /* (F20) OSPI0_D7 */
			AM62LX_IOPAD(0x0044, PIN_INPUT, 0) /* (E22) OSPI0_DQS */
			AM62LX_IOPAD(0x0040, PIN_INPUT, 0) /* (E18) OSPI0_LBCLKO */
		>;
	};

	main_gpio0_ioexp_intr_pins_default: main-gpio0-ioexp-intr-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01b0, PIN_INPUT, 7) /* (B12) SPI0_D1.GPIO0_91 */
		>;
		bootph-all;
	};

	usr_led_pins_default: usr-led-pins-default {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0238, PIN_OUTPUT, 7) /* (D24) MMC1_SDWP.GPIO0_123 */
		>;
	};

	usr_button_pins_default: usr-button-pins-default {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01ac, PIN_INPUT, 7) /* (E12) SPI0_D0.GPIO0_90 */
		>;
	};

	main_mmc0_pins_default: main-mmc0-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0214, PIN_INPUT_PULLUP, 0) /* (D2) MMC0_CMD */
			AM62LX_IOPAD(0x020c, PIN_OUTPUT, 0) /* (B2) MMC0_CLK */
			AM62LX_IOPAD(0x0208, PIN_INPUT_PULLUP, 0) /* (D3) MMC0_DAT0 */
			AM62LX_IOPAD(0x0204, PIN_INPUT_PULLUP, 0) /* (D4) MMC0_DAT1 */
			AM62LX_IOPAD(0x0200, PIN_INPUT_PULLUP, 0) /* (C1) MMC0_DAT2 */
			AM62LX_IOPAD(0x01fc, PIN_INPUT_PULLUP, 0) /* (C2) MMC0_DAT3 */
			AM62LX_IOPAD(0x01f8, PIN_INPUT_PULLUP, 0) /* (C4) MMC0_DAT4 */
			AM62LX_IOPAD(0x01f4, PIN_INPUT_PULLUP, 0) /* (B3) MMC0_DAT5 */
			AM62LX_IOPAD(0x01f0, PIN_INPUT_PULLUP, 0) /* (A3) MMC0_DAT6 */
			AM62LX_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (B4) MMC0_DAT7 */
		>;
		bootph-all;
	};

	main_mmc1_pins_default: main-mmc1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0178, PIN_INPUT, 0) /* (Y3) MMC1_CMD */
			AM62LX_IOPAD(0x0228, PIN_OUTPUT, 0) /* (Y2) MMC1_CLK */
			AM62LX_IOPAD(0x0224, PIN_INPUT, 0) /* (AA1) MMC1_DAT0 */
			AM62LX_IOPAD(0x0220, PIN_INPUT_PULLUP, 0) /* (Y4) MMC1_DAT1 */
			AM62LX_IOPAD(0x021c, PIN_INPUT_PULLUP, 0) /* (AA2) MMC1_DAT2 */
			AM62LX_IOPAD(0x0218, PIN_INPUT_PULLUP, 0) /* (AB2) MMC1_DAT3 */
			AM62LX_IOPAD(0x0234, PIN_INPUT, 0) /* (B6) MMC1_SDCD */
		>;
		bootph-all;
	};


	main_mcan0_pins_default: main-mcan0-pins-default {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01c8, PIN_INPUT, 0) /* (B15) MCAN0_RX */
			AM62LX_IOPAD(0x01c4, PIN_OUTPUT, 0) /* (B16) MCAN0_TX */
		>;
	};

	main_mcan2_pins_default: main-mcan2-pins-default {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x01bc, PIN_INPUT, 6) /* (B14) UART0_CTSn.MCAN2_RX */
			AM62LX_IOPAD(0x01c0, PIN_OUTPUT, 6) /* (B13) UART0_RTSn.MCAN2_TX */
		>;
	};

	gpmc0_pins_default: gpmc0-pins-default {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0078, PIN_INPUT, 0) /* (L22) GPMC0_AD0 */
			AM62LX_IOPAD(0x007c, PIN_INPUT, 0) /* (L23) GPMC0_AD1 */
			/* AM62LX_IOPAD(0x0080, PIN_INPUT, 0)  (K22) GPMC0_AD2 */
			/* AM62LX_IOPAD(0x0084, PIN_INPUT, 0)  (J23) GPMC0_AD3 */
			/* AM62LX_IOPAD(0x0088, PIN_INPUT, 0)  (K23) GPMC0_AD4 */
			/* AM62LX_IOPAD(0x008c, PIN_INPUT, 0)  (H22) GPMC0_AD5 */
			AM62LX_IOPAD(0x0090, PIN_INPUT, 0) /* (H23) GPMC0_AD6 */
			AM62LX_IOPAD(0x0094, PIN_INPUT, 0) /* (J22) GPMC0_AD7 */
			AM62LX_IOPAD(0x00d4, PIN_INPUT, 0) /* (N23) GPMC0_WAIT0 */
			AM62LX_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (L20) GPMC0_CSn0 */
			AM62LX_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (N19) GPMC0_ADVn_ALE */
			AM62LX_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (N20) GPMC0_OEn_REn */
			AM62LX_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (M19) GPMC0_WEn */
			AM62LX_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (P23) GPMC0_BE0n_CLE */
			AM62LX_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (N21) GPMC0_WPn */
		>;
	};

	rgmii1_pins_default: rgmii1-default-pins {
		pinctrl-single,pins = <
			AM62PX_IOPAD(0x0138, PIN_INPUT, 0) /* (Y8) RGMII1_RD0 */
			AM62PX_IOPAD(0x013c, PIN_INPUT, 0) /* (AA6) RGMII1_RD1 */
			AM62PX_IOPAD(0x0140, PIN_INPUT, 0) /* (AA8) RGMII1_RD2 */
			AM62PX_IOPAD(0x0144, PIN_INPUT, 0) /* (W8) RGMII1_RD3 */
			AM62PX_IOPAD(0x0134, PIN_INPUT, 0) /* (Y7) RGMII1_RXC */
			AM62PX_IOPAD(0x0130, PIN_INPUT, 0) /* (Y6) RGMII1_RX_CTL */
			AM62PX_IOPAD(0x0120, PIN_OUTPUT, 0) /* (AC10) RGMII1_TD0 */
			AM62PX_IOPAD(0x0124, PIN_OUTPUT, 0) /* (W13) RGMII1_TD1 */
			AM62PX_IOPAD(0x0128, PIN_OUTPUT, 0) /* (Y11) RGMII1_TD2 */
			AM62PX_IOPAD(0x012c, PIN_OUTPUT, 0) /* (AA11) RGMII1_TD3 */
			AM62PX_IOPAD(0x011c, PIN_OUTPUT, 0) /* (W11) RGMII1_TXC */
			AM62PX_IOPAD(0x0118, PIN_OUTPUT, 0) /* (AB11) RGMII1_TX_CTL */
		>;
	};

	rgmii2_pins_default: rgmii2-default-pins {
		pinctrl-single,pins = <
			AM62PX_IOPAD(0x0170, PIN_INPUT, 0) /* (AB9) RGMII2_RD0 */
			AM62PX_IOPAD(0x0174, PIN_INPUT, 0) /* (AC9) RGMII2_RD1 */
			AM62PX_IOPAD(0x0178, PIN_INPUT, 0) /* (AB10) RGMII2_RD2 */
			AM62PX_IOPAD(0x017c, PIN_INPUT, 0) /* (AB8) RGMII2_RD3 */
			AM62PX_IOPAD(0x016c, PIN_INPUT, 0) /* (AC7) RGMII2_RXC */
			AM62PX_IOPAD(0x0168, PIN_INPUT, 0) /* (AC8) RGMII2_RX_CTL */
			AM62PX_IOPAD(0x0158, PIN_OUTPUT, 0) /* (AC12) RGMII2_TD0 */
			AM62PX_IOPAD(0x015c, PIN_OUTPUT, 0) /* (AB13) RGMII2_TD1 */
			AM62PX_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AA12) RGMII2_TD2 */
			AM62PX_IOPAD(0x0164, PIN_OUTPUT, 0) /* (AA13) RGMII2_TD3 */
			AM62PX_IOPAD(0x0154, PIN_OUTPUT, 0) /* (Y13) RGMII2_TXC */
			AM62PX_IOPAD(0x0150, PIN_OUTPUT, 0) /* (AB12) RGMII2_TX_CTL */
		>;
	};

	mdio1_pins_default: mdio1-default-pins {
		pinctrl-single,pins = <
			AM62PX_IOPAD(0x014c, PIN_OUTPUT, 0) /* (AC15) MDIO0_MDC */
			AM62PX_IOPAD(0x0148, PIN_INPUT, 0) /* (AC13) MDIO0_MDIO */
		>;
	};

	main_usb1_default_pins: main-usb1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x0248, PIN_INPUT | PIN_DS_PULLUD_ENABLE | PIN_DS_PULL_UP, 0) /* (A5) USB1_DRVVBUS */
		>;
	};

	main_mcasp0_pins_default: main-mcasp0-default-pins {
		pinctrl-single,pins = <
			AM62PX_IOPAD(0x0190, PIN_INPUT, 0) /* (A11) MCASP0_ACLKX */
			AM62PX_IOPAD(0x0194, PIN_INPUT, 0) /* (B11) MCASP0_AFSX */
			AM62PX_IOPAD(0x018c, PIN_INPUT, 0) /* (B9) MCASP0_AXR0 */
			AM62PX_IOPAD(0x0188, PIN_INPUT, 0) /* (A9) MCASP0_AXR1 */
		>;
	};
	spi1_pins_default: spi1-default-pins {
		pinctrl-single,pins = <
			AM62LX_IOPAD(0x008c, PIN_INPUT, 4) /* (H22) GPMC0_AD5.SPI1_CLK */
			AM62LX_IOPAD(0x0080, PIN_INPUT, 4) /* (K22) GPMC0_AD2.SPI1_D0 */
			AM62LX_IOPAD(0x0084, PIN_INPUT, 4) /* (J23) GPMC0_AD3.SPI1_D1 */
			AM62LX_IOPAD(0x0088, PIN_INPUT, 4) /* (K23) GPMC0_AD4.SPI1_CS0 */
		>;
	};
};

&main_uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_uart0_pins_default>;
	status = "okay";
	bootph-all;
};

&main_uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_uart1_pins_default>;
	status = "okay";
	bootph-all;
};

&main_i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c0_pins_default>;
	clock-frequency = <400000>;
	bootph-all;

	eeprom@51 {
		/* AT24C512C-MAHM-T or M24512-DFMC6TG */
		compatible = "atmel,24c512";
		reg = <0x51>;
	};
};

&main_i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c1_pins_default>;
	clock-frequency = <100000>;
	bootph-all;

	exp1: gpio@22 {
		compatible = "ti,tca6424";
		reg = <0x22>;
		gpio-controller;
		#gpio-cells = <2>;
		gpio-line-names = "", "",
				   "UART1_FET_SEL", "MMC1_SD_EN",
				   "VPP_EN", "EXP_PS_3V3_EN",
				   "UART1_FET_BUF_EN", "",
				   "DSI_GPIO0", "DSI_GPIO1",
				   "", "BT_UART_WAKE_SOC_3V3",
				   "USB_TYPEA_OC_INDICATION", "",
				   "", "WLAN_ALERTn",
				   "HDMI_INTn", "TEST_GPIO2",
				   "MCASP0_FET_EN", "MCASP0_BUF_BT_EN",
				   "MCASP0_FET_SEL", "DSI_EDID",
				   "PD_I2C_IRQ", "IO_EXP_TEST_LED";

		interrupt-parent = <&main_gpio0>;
		interrupts = <91 IRQ_TYPE_EDGE_FALLING>;
		interrupt-controller;
		#interrupt-cells = <2>;

		pinctrl-names = "default";
		pinctrl-0 = <&main_gpio0_ioexp_intr_pins_default>;
		bootph-all;
	};

	exp2: gpio@23 {
		compatible = "ti,tca6424";
		reg = <0x23>;
		gpio-controller;
		#gpio-cells = <2>;
		gpio-line-names = "BT_EN_SOC", "VOUT0_FET_SEL0",
				   "", "",
				   "", "",
				   "", "",
				   "WL_LT_EN", "EXP_PS_5V0_EN",
				   "TP45", "TP48",
				   "TP46", "TP49",
				   "TP47", "TP50",
				   "GPIO_QSPI_NAND_RSTn", "GPIO_HDMI_RSTn",
				   "GPIO_CPSW1_RST", "GPIO_CPSW2_RST",
				   "", "GPIO_AUD_RSTn",
				   "GPIO_eMMC_RSTn", "SoC_WLAN_SDIO_RST";
		bootph-all;
	};


	tlv320aic3106: audio-codec@1b {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x1b>;
		ai3x-micbias-vg = <1>;	/* 2.0V */

		/* Regulators */
		AVDD-supply = <&vcc_3v3_sys>;
		IOVDD-supply = <&vcc_3v3_sys>;
		DRVDD-supply = <&vcc_3v3_sys>;
		DVDD-supply = <&vcc_1v8>;
	};
};

&main_i2c2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c2_pins_default>;
	clock-frequency = <400000>;

	typec_pd0: tps6598x@3f {
		compatible = "ti,tps6598x";
		reg = <0x3f>;

		connector {
			compatible = "usb-c-connector";
			label = "USB-C";
			self-powered;
			data-role = "dual";
			power-role = "sink";
			port {
				usb_con_hs: endpoint {
					remote-endpoint = <&usb0_hs_ep>;
				};
			};
		};
	};
};

&main_gpio0 {
	status = "okay";
	bootph-all;
};

&main_gpio2 {
	status = "okay";
	bootph-all;
};

&sdhci0 {
	/* eMMC */
	non-removable;
	pinctrl-names = "default";
	pinctrl-0 = <&main_mmc0_pins_default>;
	status = "okay";
	bootph-all;
};

&sdhci1 {
	/* SD/MMC */
	pinctrl-names = "default";
	pinctrl-0 = <&main_mmc1_pins_default>;
	status = "okay";
	bootph-all;
};

&ospi0 {
	bootph-all;
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ospi0_pins_default>;

	ospi0_nor: flash@0 {
		bootph-all;
		compatible = "jedec,spi-nor";
		reg = <0x0>;
		spi-tx-bus-width = <8>;
		spi-rx-bus-width = <8>;
		spi-max-frequency = <25000000>;
		cdns,tshsl-ns = <60>;
		cdns,tsd2d-ns = <60>;
		cdns,tchsh-ns = <60>;
		cdns,tslch-ns = <60>;
		cdns,read-delay = <4>;
		cdns,phy-mode;

		partitions {
			bootph-all;
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "ospi.tiboot3";
				reg = <0x0 0x80000>;
			};

			partition@80000 {
				label = "ospi.tispl";
				reg = <0x80000 0x200000>;
			};

			partition@280000 {
				label = "ospi.u-boot";
				reg = <0x280000 0x400000>;
			};

			partition@680000 {
				label = "ospi.env";
				reg = <0x680000 0x40000>;
			};

			partition@6c0000 {
				label = "ospi.env.backup";
				reg = <0x6c0000 0x40000>;
			};

			partition@800000 {
				label = "ospi.rootfs";
				reg = <0x800000 0x37c0000>;
			};

			partition@3fc0000 {
				bootph-all;
				label = "ospi.phypattern";
				reg = <0x3fc0000 0x40000>;
			};
		};
	};

	ospi0_nand: flash@3 {
		bootph-all;
		compatible = "spi-nand";
		reg = <0x3>;
		spi-tx-bus-width = <4>;
		spi-rx-bus-width = <4>;
		spi-max-frequency = <25000000>;
		cdns,tshsl-ns = <60>;
		cdns,tsd2d-ns = <60>;
		cdns,tchsh-ns = <60>;
		cdns,tslch-ns = <60>;
		cdns,read-delay = <2>;
		cdns,phy-mode;

		partitions {
			bootph-all;
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "ospi_nand.tiboot3";
				reg = <0x0 0x80000>;
			};

			partition@80000 {
				label = "ospi_nand.tispl";
				reg = <0x80000 0x200000>;
			};

			partition@280000 {
				label = "ospi_nand.u-boot";
				reg = <0x280000 0x400000>;
			};

			partition@680000 {
				label = "ospi_nand.env";
				reg = <0x680000 0x40000>;
			};

			partition@6c0000 {
				label = "ospi_nand.env.backup";
				reg = <0x6c0000 0x40000>;
			};

			partition@2000000 {
				label = "ospi_nand.rootfs";
				reg = <0x2000000 0x5fe0000>;
			};

			partition@7fe0000 {
				bootph-all;
				label = "ospi_nand.phypattern";
				reg = <0x7fe0000 0x20000>;
			};
		};
	};
};


&dphy_tx0 {
	status = "okay";
	bootph-all;
};

&dsi0 {
	status = "okay";
	bootph-all;
};

&main_mcan0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_mcan0_pins_default>;
	status = "okay";
};

&main_mcan2 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_mcan2_pins_default>;
	status = "okay";
};

&tscadc0 {
	status = "okay";

	adc {
		ti,adc-channels = <0 1 2 3>;
	};
};

&cpsw3g {
	pinctrl-names = "default";
	pinctrl-0 = <&rgmii1_pins_default>,
		    <&rgmii2_pins_default>;
};

&cpsw_port1 {
	phy-mode = "rgmii-rxid";
	phy-handle = <&cpsw3g_phy0>;
};

&cpsw_port2 {
	phy-mode = "rgmii-rxid";
	phy-handle = <&cpsw3g_phy1>;
};

&cpsw3g_mdio {
	pinctrl-names = "default";
	pinctrl-0 = <&mdio1_pins_default>;
	status = "okay";

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

	cpsw3g_phy1: ethernet-phy@1 {
		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;
	};
};

&elm0 {
	/*
	 * status = "okay";
	 * disable dss when enabling this
	 */
};

&gpmc0 {
	/*
	 * status = "okay";
	 * disable dss when enabling this
	 */
	pinctrl-names = "default";
	pinctrl-0 = <&gpmc0_pins_default>;
	#address-cells = <2>;
	#size-cells = <1>;
	ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */

	nand@0,0 {
		compatible = "ti,am64-nand";
		reg = <0 0 64>;		/* device IO registers */
		interrupt-parent = <&gpmc0>;
		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
			     <1 IRQ_TYPE_NONE>;	/* termcount */
		rb-gpios = <&gpmc0 0 GPIO_ACTIVE_HIGH>;	/* gpmc_wait0 */
		ti,nand-xfer-type = "prefetch-polled";
		ti,nand-ecc-opt = "bch8";	/* BCH8: Bootrom limitation */
		ti,elm-id = <&elm0>;
		nand-bus-width = <8>;
		gpmc,device-width = <1>;
		gpmc,sync-clk-ps = <0>;
		gpmc,cs-on-ns = <0>;
		gpmc,cs-rd-off-ns = <40>;
		gpmc,cs-wr-off-ns = <40>;
		gpmc,adv-on-ns = <0>;
		gpmc,adv-rd-off-ns = <25>;
		gpmc,adv-wr-off-ns = <25>;
		gpmc,we-on-ns = <0>;
		gpmc,we-off-ns = <20>;
		gpmc,oe-on-ns = <3>;
		gpmc,oe-off-ns = <30>;
		gpmc,access-ns = <30>;
		gpmc,rd-cycle-ns = <40>;
		gpmc,wr-cycle-ns = <40>;
		gpmc,bus-turnaround-ns = <0>;
		gpmc,cycle2cycle-delay-ns = <0>;
		gpmc,clk-activation-ns = <0>;
		gpmc,wr-access-ns = <40>;
		gpmc,wr-data-mux-bus-ns = <0>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "NAND.tiboot3";
				reg = <0x00000000 0x00080000>;	/* 512KB */
			};
			partition@80000 {
				label = "NAND.tispl";
				reg = <0x80000 0x180000>; /* 1.5M */
			};
			partition@200000 {
				label = "NAND.u-boot";
				reg = <0x00200000 0x00200000>;	/* 2M */
			};
			partition@400000 {
				label = "NAND.tiboot3.backup";	/* 512KB */
				reg = <0x00400000 0x00080000>;	/* BootROM looks at 4M */
			};
			partition@480000 {
				label = "NAND.tispl.bin.backup";
				reg = <0x00480000 0x180000>; /* 1.5M */
			};
			partition@600000 {
				label = "NAND.u-boot.backup";
				reg = <0x00600000 0x00200000>;	/* 2M */
			};
			partition@800000 {
				label = "NAND.u-boot-env";
				reg = <0x00800000 0x00040000>;	/* 256K */
			};
			partition@840000 {
				label = "NAND.u-boot-env.backup";
				reg = <0x00840000 0x00040000>;	/* 256K */
			};
			partition@880000 {
				label = "NAND.file-system";
				reg = <0x00880000 0x1f780000>;
			};
		};
	};
};

&usbss0 {
	status = "okay";
	ti,vbus-divider;
};

&usb0 {
	usb-role-switch;

	port {
		usb0_hs_ep: endpoint {
			remote-endpoint = <&usb_con_hs>;
		};
	};
};

&usbss1 {
	status = "okay";
	ti,vbus-divider;
};

&usb1 {
	dr_mode = "host";
	pinctrl-names = "default";
	pinctrl-0 = <&main_usb1_default_pins>;
};

&mcasp0 {
	status = "okay";
	#sound-dai-cells = <0>;

	pinctrl-names = "default";
	pinctrl-0 = <&main_mcasp0_pins_default>;

	op-mode = <0>;          /* MCASP_IIS_MODE */
	tdm-slots = <2>;

	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
	       1 2 0 0
	       0 0 0 0
	       0 0 0 0
	       0 0 0 0
	>;
};

&main_spi1 {
		#address-cells = <1>;
		#size-cells = <0>;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi1_pins_default>;
        spidev@0 {
                spi-max-frequency = <24000000>;
                reg = <0>;
                compatible = "rohm,dh2228fv";
				
        };
};

3. Compiled Image, device tree and modules following this guide

* There was a warning that appeared on DT compilation. As far as I could search it shouldn't be a problem, but just in case:

make DTC_FLAGS=-@ ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" ti/k3-am62l3-evm.dtb
  DTC     arch/arm64/boot/dts/ti/k3-am62l3-evm.dtb
arch/arm64/boot/dts/ti/k3-am62l.dtsi:101.30-112.5: Warning (simple_bus_reg): /bus@f0000/bus@43000000: simple-bus unit address format error, expected "b00000"
  also defined at arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi:11.15-144.3

4. Installed Image, dtb into targetNFS/boot, and modules into targetNFS (I'm not using SD card as rootfs since I have another unresolved issue with it)

Here is the full boot log:

Welcome to minicom 2.8

OPTIONS: I18n 
Port /dev/ttyUSB0, 17:50:31

Press CTRL-A Z for help on special keys

NOTICE:  bl1_plat_arch_setup arch setup 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.12.0(release):11.00.04-10-gdd46885ec-dirty
NOTICE:  BL1: Built : 05:00:39, Feb 26 2025
NOTICE:  lpdd4_init <-- 
NOTICE:  DDR ram size =80000000 
NOTICE:  bl1_platform_setup DDR init done
NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
NOTICE:  bl1_plat_arch_setup arch setup 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.12.0(release):11.00.04-10-gdd46885ec-dirty
NOTICE:  BL1: Built : 05:00:39, Feb 26 2025
NOTICE:  lpdd4_init <-- 
NOTICE:  DDR ram size =80000000 
NOTICE:  bl1_platform_setup DDR init done
NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
NOTICE:  BL31: v2.12.0(release):11.00.04-10-gdd46885ec-dirty
NOTICE:  BL31: Built : 05:00:39, Feb 26 2025
ERROR:   Failed to get response (-19)
ERROR:   Transfer send failed (-19)
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported

U-Boot SPL 2025.01-00253-g9a3137c5c11a (Feb 26 2025 - 17:07:57 +0000)
SPL initial stack usage: 1872 bytes
Trying to boot from MMC2
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported


U-Boot 2025.01-00253-g9a3137c5c11a (Feb 26 2025 - 17:07:57 +0000)

SoC:   AM62LX SR1.0 HS-FS
Model: Texas Instruments AM62L3 Evaluation Module
DRAM:  2 GiB
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
Core:  66 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Warning: ethernet@8000000port@2 (eth1) using random MAC address - 86:0c:88:21:be:54
, eth1: ethernet@8000000port@2
Hit any key to stop autobo 0 
=>env default -f -a
## Resetting to default environment
=>reset
resetting ...
NOTICE:  bl1_plat_arch_setup arch setup 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.12.0(release):11.00.04-10-gdd46885ec-dirty
NOTICE:  BL1: Built : 05:00:39, Feb 26 2025
NOTICE:  lpdd4_init <-- 
NOTICE:  DDR ram size =80000000 
NOTICE:  bl1_platform_setup DDR init done
NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
NOTICE:  BL31: v2.12.0(release):11.00.04-10-gdd46885ec-dirty
NOTICE:  BL31: Built : 05:00:39, Feb 26 2025
ERROR:   Failed to get response (-19)
ERROR:   Transfer send failed (-19)
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported

U-Boot SPL 2025.01-00253-g9a3137c5c11a (Feb 26 2025 - 17:07:57 +0000)
SPL initial stack usage: 1872 bytes
Trying to boot from MMC2
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported


U-Boot 2025.01-00253-g9a3137c5c11a (Feb 26 2025 - 17:07:57 +0000)

SoC:   AM62LX SR1.0 HS-FS
Model: Texas Instruments AM62L3 Evaluation Module
DRAM:  2 GiB
ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
Core:  66 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Warning: ethernet@8000000port@2 (eth1) using random MAC address - 8e:f3:d2:18:83:3b
, eth1: ethernet@8000000port@2
Hit any key to stop autobo 0 
=>setenv serverip 192.168.100.6
=>setenv nfs_root /home/fiorella/ti-processor-sdk-linux-am62lxx-evm-11.00.05.02/targetNFS
=>setenv name_kern Image
=>setenv bootcmd 'run envboot; run setup_${kern_boot}; run init_${rootfs_boot}; run get_kern_${kern_boot}; run get_fdt_${kern_boot}; run get_ove'
=>setenv init_net 'run args_all args_net; setenv autoload no; dhcp'
=>setenv args_net 'setenv bootargs console=${console} ${optargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} '
=>setenv get_kern_net 'tftp ${loadaddr} ${name_kern}'
=>setenv get_fdt_net 'tftp ${fdtaddr} ${fdtfile}'
=>setenv get_overlay_net 'fdt address ${fdtaddr};fdt resize 0x100000;for overlay in ${name_overlays};do;tftp ${overlayaddr} ${overlay};fdt apply'
=>setenv nfs_options 'nolock,v3,tcp,rsize=4096,wsize=4096'
=>setenv setup_mmc ''
=>setenv setup_net 'setenv autoload no; dhcp'
=>setenv kern_boot net
=>setenv rootfs_boot net
=>boot
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
610 bytes read in 2 ms (297.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 192.168.100.124 (2109 ms)
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 192.168.100.124 (2113 ms)
link up on port 1, speed 1000, full duplex
Using ethernet@8000000port@1 device
TFTP from server 192.168.100.6; our IP address is 192.168.100.124
Filename 'Image'.
Load address: 0x82000000
Loading: #################################################################
         #################################################################
         ####################################T #############################
         ##########################T #######################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################T ###########################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################T ###########################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################T ###########################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######T ###########################################################
         ##########################################T #######################
         #################################################################
         #################################################################
         #########################T ########################################
         ###########################################T ######################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################  0 Bytes
         162.1 KiB/s
done
Bytes transferred = 21383680 (1464a00 hex)
link up on port 1, speed 1000, full duplex
Using ethernet@8000000port@1 device
TFTP from server 192.168.100.6; our IP address is 192.168.100.124
Filename 'ti/k3-am62l3-evm.dtb'.
Load address: 0x88000000
Loading: #########  0 Bytes
         193.4 KiB/s
done
Bytes transferred = 44636 (ae5c hex)
Working FDT set to 88000000
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK
Working FDT set to 8fef2000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.12.13-g8c67f800c64c (fiorella@fiorella-Precision-7670) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 5
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM62L3 Evaluation Module
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: legacy bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000080200000..0x00000000809fffff (8192 KiB) nomap non-reusable optee@80200000
[    0.000000] OF: reserved mem: 0x0000000080000000..0x00000000801fffff (2048 KiB) nomap non-reusable tfa@80000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000809fffff]
[    0.000000]   node   0: [mem 0x0000000080a00000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    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: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.5
[    0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n8 vt.global_cursor_default=0 earlycon=ns16550a,mmio32,0x02800000 rootfstype=nfs root=/dp
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 524288
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000fb500000-0x00000000fb700000] (2MB)
[    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=512 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] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
[    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 @81400000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080c50000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008589] Console: colour dummy device 80x25
[    0.013187] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023856] pid_max: default: 32768 minimum: 301
[    0.028668] LSM: initializing lsm=capability
[    0.033170] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.040740] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.061319] rcu: Hierarchical SRCU implementation.
[    0.066270] rcu:     Max phase no-delay instances is 1000.
[    0.071817] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.080510] EFI services will not be available.
[    0.089204] smp: Bringing up secondary CPUs ...
[    0.098176] Detected VIPT I-cache on CPU1
[    0.098278] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
[    0.098297] GICv3: CPU1: using allocated LPI pending table @0x0000000080c60000
[    0.098351] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.098543] smp: Brought up 1 node, 2 CPUs
[    0.127907] SMP: Total of 2 processors activated.
[    0.132717] CPU: All CPU(s) started at EL2
[    0.136916] CPU features: detected: 32-bit EL0 Support
[    0.142166] CPU features: detected: CRC32 instructions
[    0.147467] alternatives: applying system-wide alternatives
[    0.153761] Memory: 1981228K/2097152K available (12416K kernel code, 1234K rwdata, 4448K rodata, 2624K init, 602K bss, 75184K reserved, 32768)
[    0.169270] devtmpfs: initialized
[    0.179131] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.189125] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.197133] 27376 pages in range for non-PLT usage
[    0.197162] 518896 pages in range for PLT usage
[    0.202474] pinctrl core: initialized pinctrl subsystem
[    0.212907] DMI not present or invalid.
[    0.219248] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.226439] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.233897] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.242100] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.250272] audit: initializing netlink subsys (disabled)
[    0.256362] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.256862] thermal_sys: Registered thermal governor 'step_wise'
[    0.264321] thermal_sys: Registered thermal governor 'power_allocator'
[    0.270524] cpuidle: using governor menu
[    0.281391] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.288399] ASID allocator initialised with 65536 entries
[    0.299687] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
[    0.311188] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/tps6598x@3f/connector
[    0.323253] /bus@f0000/i2c@20020000/tps6598x@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
[    0.337958] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/tps6598x@3f/connector
[    0.350701] /bus@f0000/i2c@20020000/tps6598x@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
[    0.366101] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.373071] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.379475] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.386407] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.392807] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.399737] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.406137] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.413068] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.421695] k3-chipinfo 43000014.chipid: Family:AM62LX rev:SR1.0 JTAGID[0x0bba702f] Detected
[    0.434438] iommu: Default domain type: Translated
[    0.439371] iommu: DMA domain TLB invalidation policy: strict mode
[    0.446550] SCSI subsystem initialized
[    0.450974] usbcore: registered new interface driver usbfs
[    0.456632] usbcore: registered new interface driver hub
[    0.462106] usbcore: registered new device driver usb
[    0.467745] pps_core: LinuxPPS API ver. 1 registered
[    0.472830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.482169] PTP clock support registered
[    0.486212] EDAC MC: Ver: 3.0.0
[    0.489860] scmi_core: SCMI protocol bus registered
[    0.495294] FPGA manager framework
[    0.498881] Advanced Linux Sound Architecture Driver Initialized.
[    0.506132] vgaarb: loaded
[    0.509400] clocksource: Switched to clocksource arch_sys_counter
[    0.516003] VFS: Disk quotas dquot_6.6.0
[    0.520056] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.534543] NET: Registered PF_INET protocol family
[    0.539821] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.548996] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.557831] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.565771] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.573964] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.582005] TCP: Hash tables configured (established 16384 bind 16384)
[    0.588929] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.595859] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.603369] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.609799] RPC: Registered named UNIX socket transport module.
[    0.615891] RPC: Registered udp transport module.
[    0.620696] RPC: Registered tcp transport module.
[    0.625510] RPC: Registered tcp-with-tls transport module.
[    0.631114] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637707] PCI: CLS 0 bytes, default 64
[    0.642980] Initialise system trusted keyrings
[    0.647856] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.654863] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.661263] NFS: Registering the id_resolver key type
[    0.666501] Key type id_resolver registered
[    0.670782] Key type id_legacy registered
[    0.674905] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.681754] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.742141] Key type asymmetric registered
[    0.746359] Asymmetric key parser 'x509' registered
[    0.751444] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.759007] io scheduler mq-deadline registered
[    0.763635] io scheduler kyber registered
[    0.767775] io scheduler bfq registered
[    0.785072] pinctrl-single 4084000.pinctrl: 8192 pins, size 32768
[    0.793441] ledtrig-cpu: registered to indicate activity on CPUs
[    0.801335] ti-udma-am62l 485c4000.dma-controller: Number of rings: 144
[    0.808308] ti-udma-am62l 485c4000.dma-controller: Channels: 144 (bchan: 16, tchan + rchan: 128)
[    0.823736] ti-udma-am62l 485c0000.dma-controller: Number of rings: 112
[    0.830685] ti-udma-am62l 485c0000.dma-controller: Channels: 97 (tchan + rchan: 97)
[    0.846985] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.862701] loop: module loaded
[    0.867057] megasas: 07.727.03.00-rc1
[    0.874934] tun: Universal TUN/TAP device driver, 1.6
[    0.881326] VFIO - User Level meta-driver version: 0.3
[    0.887665] usbcore: registered new interface driver usb-storage
[    0.894476] i2c_dev: i2c /dev entries driver
[    0.899883] sdhci: Secure Digital Host Controller Interface driver
[    0.906296] sdhci: Copyright(c) Pierre Ossman
[    0.910992] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.919344] arm-scmi arm-scmi.0.auto: Using scmi_smc_transport
[    0.925416] arm-scmi arm-scmi.0.auto: SCMI max-rx-timeout: 30ms
[    0.931688] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[    0.939748] arm-scmi arm-scmi.0.auto: SCMI Notifications - Core Enabled.
[    0.946678] arm-scmi arm-scmi.0.auto: SCMI Protocol v2.0 'Texas:Instruments' Firmware version 0x0
[    0.978346] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.987438] usbcore: registered new interface driver usbhid
[    0.993209] usbhid: USB HID core driver
[    0.998151] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available
[    1.008345] optee: probing for conduit method.
[    1.012948] optee: api uid mismatch
[    1.016529] optee firmware:optee: probe with driver optee failed with error -22
[    1.025748] NET: Registered PF_PACKET protocol family
[    1.031052] Key type dns_resolver registered
[    1.043572] registered taskstats version 1
[    1.047940] Loading compiled-in X.509 certificates
[    1.099529] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.107015] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.114077] pca953x 1-0022: using AI
[    1.136772] pca953x 1-0023: supply vcc not found, using dummy regulator
[    1.143754] pca953x 1-0023: using AI
[    1.150014] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
[    1.157626] /bus@f0000/i2c@20020000/tps6598x@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
[    1.169813] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
[    1.177288] printk: legacy console [ttyS0] disabled
[    1.182716] 2800000.serial: ttyS0 at MMIO 0x2800000 (irq = 242, base_baud = 3000000) is a 8250
[    1.191622] printk: legacy console [ttyS0] enabled
[    1.191622] printk: legacy console [ttyS0] enabled
[    1.201359] printk: legacy bootconsole [ns16550a0] disabled
[    1.201359] printk: legacy bootconsole [ns16550a0] disabled
[    1.215366] 2810000.serial: ttyS1 at MMIO 0x2810000 (irq = 243, base_baud = 3000000) is a 8250
[    1.227313] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.234315] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.239712] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.246705] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.253561] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.260347] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.266858] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.274149] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.280985] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.301735] spi-nand spi0.3: Winbond SPI NAND was found.
[    1.307087] spi-nand spi0.3: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.315693] 7 fixed-partitions partitions found on MTD device spi0.3
[    1.322081] Creating 7 MTD partitions on "spi0.3":
[    1.326883] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
[    1.334578] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
[    1.342937] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
[    1.352410] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
[    1.359623] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
[    1.367585] 0x000002000000-0x000007fe0000 : "ospi_nand.rootfs"
[    1.424892] 0x000007fe0000-0x000008000000 : "ospi_nand.phypattern"
[    1.481411] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
[    2.442474] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[    2.450597] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
[    2.458741] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00103, cpsw version 0x6BA80103 Ports: 3 quirks:00000002
[    2.471930] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[    2.478305] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    2.485453] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512, Policers 32
[    2.493530] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:250000000, add_val:3 pps:0
[    2.513823] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 96
[    2.523595] /bus@f0000/i2c@20020000/tps6598x@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
[    2.535601] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/tps6598x@3f/connector
[    2.552043] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.557705] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.565572] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
[    2.573411] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000808020000010
[    2.582885] xhci-hcd xhci-hcd.1.auto: irq 258, io mem 0x31100000
[    2.589943] hub 1-0:1.0: USB hub found
[    2.593755] hub 1-0:1.0: 1 port detected
[    2.599218] pinctrl-single 4084000.pinctrl: pin PIN94 already requested by 8000000.ethernet; cannot claim for fa00000.mmc
[    2.599840] mmc0: CQHCI version 5.10
[    2.610270] pinctrl-single 4084000.pinctrl: error -EINVAL: pin-94 (fa00000.mmc)
[    2.610283] pinctrl-single 4084000.pinctrl: error -EINVAL: could not request pin 94 (PIN94) from group main-mmc1-default-pins on device pincte
[    2.619074] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.621185] sdhci-am654 fa00000.mmc: Error applying setting, reverse things back
[    2.685436] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[    2.757475] random: crng init done
[    2.813556] mmc0: Command Queue Engine enabled
[    2.818059] mmc0: new high speed MMC card at address 0001
[    2.824425] mmcblk0: mmc0:0001 0IM20E 29.6 GiB
[    2.845589]  mmcblk0: p1 p2
[    2.849113] mmcblk0boot0: mmc0:0001 0IM20E 31.5 MiB
[    2.855292] mmcblk0boot1: mmc0:0001 0IM20E 31.5 MiB
[    2.861750] mmcblk0rpmb: mmc0:0001 0IM20E 4.00 MiB, chardev (239:0)
[    4.282830] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[    4.292163] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[    6.480961] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
[    6.490300] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
[    8.599302] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    8.621394] Sending DHCP requests ., OK
[   10.753291] IP-Config: Got DHCP answer from 192.168.100.1, my address is 192.168.100.124
[   10.761405] IP-Config: Complete:
[   10.764671]      device=eth0, hwaddr=44:6b:1f:35:2d:a6, ipaddr=192.168.100.124, mask=255.255.255.0, gw=192.168.100.1
[   10.775192]      host=192.168.100.124, domain=, nis-domain=(none)
[   10.781276]      bootserver=0.0.0.0, rootserver=192.168.100.6, rootpath=
[   10.781283]      nameserver0=192.168.100.1
[   11.045184] clk: Disabling unused clocks
[   11.052981] PM: genpd: Disabling unused power domains
[   11.058191] ALSA device list:
[   11.061151]   No soundcards found.
[   11.200289] VFS: Mounted root (nfs filesystem) on device 0:22.
[   11.208233] devtmpfs: mounted
[   11.212594] Freeing unused kernel memory: 2624K
[   11.217243] Run /sbin/init as init process
[   15.508110] systemd[1]: System time before build time, advancing clock.
[   17.345358] NET: Registered PF_INET6 protocol family
[   17.355695] Segment Routing with IPv6
[   17.359423] In-situ OAM (IOAM) with IPv6
[   17.816518] systemd[1]: systemd 255.17^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL )
[   17.848617] systemd[1]: Detected architecture arm64.

Welcome to Arago 2025.01!

[   18.018106] systemd[1]: Hostname set to <am62lxx-evm>.
[   20.238520] systemd[1]: Configuration file /usr/lib/systemd/system/ti-lvgl-demo.service is marked executable. Please remove executable permis.
[   20.724037] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journ.
[   21.113020] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journa.
[   21.448130] systemd[1]: Queued start job for default target Graphical Interface.
[   21.532393] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   21.552236] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   21.572213] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   21.591582] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   21.610070] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   21.630008] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   21.649772] systemd[1]: Expecting device /dev/ttyS0...
         Expecting device /dev/ttyS0...
[   21.665851] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   21.681735] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   21.697718] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   21.713740] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   21.777199] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   21.801774] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   21.833078] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   21.850256] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   21.873191] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   21.897059] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   21.914672] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   21.936713] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   21.961941] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   21.978457] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   22.000623] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[   22.066032] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   22.106106] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   22.150688] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   22.173477] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   22.246210] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   22.287137] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   22.338486] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   22.394483] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   22.438332] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   22.502527] systemd[1]: Starting Start psplash boot splash screen...
         Starting Start psplash boot splash screen...
[   22.567248] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   22.586543] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[   22.630764] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   22.754416] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   22.818372] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network units from Kernel command line...
[   23.378389] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   23.842310] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   23.870972] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[   23.891165] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   23.910630] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   23.934588] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   23.955879] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   23.975168] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   23.983211] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   24.002675] systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION
[   24.012790] systemd[1]: psplash-start.service: Failed with result 'exit-code'.
[   24.021266] systemd[1]: Failed to start Start psplash boot splash screen.
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[   24.049651] systemd[1]: Dependency failed for Start psplash-systemd progress communication helper.
[DEPEND] Dependency failed for Start psplas…temd progress communication helper.
[   24.069641] systemd[1]: psplash-systemd.service: Job psplash-systemd.service/start failed with result 'dependency'.
[   24.373695] fuse: init (API version 7.41)
[   24.433872] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   24.650476] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
         Starting Create Static Device Nodes in /dev gracefully...
[   24.671278] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   24.679150] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   25.089947] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[***   ] (1 of 11) A start job is running for /dev/ttyS0 (6s / 1min 30s)
[   28.668516] systemd[1]: modprobe@drm.service: Deactivated successfully.
[  OK  ] Finished Load Kernel Module drm.
[   29.266316] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[   29.281561] systemd-journald[105]: Collecting audit messages is enabled.
[   29.300007] systemd[1]: Mounted FUSE Control File System.
[  OK  ] Mounted FUSE Control File System.
[   29.352331] systemd[1]: Finished Generate network units from Kernel command line.
[  OK  ] Finished Generate network units from Kernel command line.
[   29.418543] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started RPC Bind.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Apply Kernel Variables...
[  OK  ] Finished Coldplug All udev Devices.
[   31.818879] systemd-journald[105]: Received client request to flush runtime journal.
[  OK  ] Finished Create Static Device Nodes in /dev gracefully.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
[   32.285077] audit: type=1334 audit(1736360593.772:2): prog-id=6 op=LOAD
[   32.293970] audit: type=1334 audit(1736360593.780:3): prog-id=7 op=LOAD
         Starting Rule-based Manager for Device Events and Files...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save OS Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create System Files and Directories...
[  OK  ] Finished Load/Save OS Random Seed.
[   34.747865] audit: type=1334 audit(1736360596.236:4): prog-id=8 op=LOAD
[   34.756093] audit: type=1334 audit(1736360596.244:5): prog-id=9 op=LOAD
[   34.762845] audit: type=1334 audit(1736360596.244:6): prog-id=10 op=LOAD
         Starting User Database Manager...
[  OK  ] Finished Create System Files and Directories.
[   35.094386] audit: type=1334 audit(1736360596.584:7): prog-id=11 op=LOAD
         Starting Network Name Resolution...
[   35.137601] audit: type=1334 audit(1736360596.624:8): prog-id=12 op=LOAD
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Started User Database Manager.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Docker Socket for the API...
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[   40.114890] audit: type=1334 audit(1749766389.120:9): prog-id=13 op=LOAD
         Starting D-Bus System Message Bus...
         Starting Reboot and dump vmcore via kexec...
[  OK  ] Listening on Docker Socket for the API.
[   40.232046] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
[   40.234608] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
[   40.257169] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
[   40.262459] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
[   40.270744] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
[   40.306097] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
[   40.322855] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Socket Units.
[  OK  ] Finished Reboot and dump vmcore via kexec.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Reached target Basic System.
[  OK  ] Started Job spooling tools.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Periodic Command Scheduler.
[   43.201861] clk: failed to reparent 0_ADC0 to 2_ADC0: -22
         Starting Print notice about GPLv3 packages...
[   43.383589] at24 0-0051: supply vcc not found, using dummy regulator
[   43.410171] at24 0-0051: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
[   44.289519] CAN device driver interface
[  OK  ] Started irqbalance daemon.
         Starting Telephony service...
[   44.708290] tps6598x 2-003f: Unable to find the interrupt, switching to polling
         Starting Expand the rootfs partiti…to full size of the boot device....
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[   45.300377] audit: type=1334 audit(1749768868.515:10): prog-id=14 op=LOAD
[   45.318761] audit: type=1334 audit(1749768868.535:11): prog-id=15 op=LOAD
[   45.325892] audit: type=1334 audit(1749768868.543:12): prog-id=16 op=LOAD
[   46.352104] m_can_platform 20701000.can: m_can device registered (irq=265, version=32)
[   46.361830] m_can_platform 20721000.can: m_can device registered (irq=266, version=32)
         Starting User Login Management...
         Starting Telnet Server...
[  OK  ] Reached target Hardware activated USB gadget.
[   47.962972] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
[   48.027808] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
[  OK  ] Finished Telnet Server.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Reached target Preparation for Network.
[   48.275510] audit: type=1334 audit(1749768871.491:13): prog-id=17 op=LOAD
         Starting Network Configuration...
[   48.468013] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
[  OK  ] Finished Expand the rootfs partition to full size of the boot device..
[   48.574832] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
[   48.619711] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
[   48.643769] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
[   48.695807] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
[  OK  ] Started Telephony service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   50.161001] m_can_platform 20701000.can main_mcan0: renamed from can0
[  OK  ] Started User Login Management.
         Starting Virtual Console Setup...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   53.574351] Bluetooth: Core ver 2.22
[   53.578175] NET: Registered PF_BLUETOOTH protocol family
[   53.586897] Bluetooth: HCI device and connection manager initialized
[   53.596898] Bluetooth: HCI socket layer initialized
[   53.602341] Bluetooth: L2CAP socket layer initialized
[   53.607908] Bluetooth: SCO socket layer initialized
         Starting Save/Restore Sound Card State...
[   56.123332] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   56.478465] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   56.485074] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Created slice Slice /system/systemd-fsck.
         Expecting device /dev/mmcblk0p1...
[  OK  ] Reached target Sound Card.
[  OK  ] Started Network Configuration.
[  OK  ] Reached target Network.
         Starting Enable and configure wl18xx bluetooth stack...
         Starting containerd container runtime...
         Starting LLDP daemon...
         Starting Mosquitto MQTT Broker...
[  OK  ] Started Netperf Benchmark Server.
         Starting Simple Network Management Protocol (SNMP) Daemon....
         Starting Permit User Sessions...
[  OK  ] Found device /dev/mmcblk0p1.
         Starting File System Check on /dev/mmcblk0p1...
[   60.091235] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
[   60.100590] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
[  OK  ] Finished Enable and configure wl18xx bluetooth stack.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started LLDP daemon.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Finished File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...

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

Arago Project am62lxx-evm ttyS0

Arago 2025.01 am62lxx-evm ttyS0

am62lxx-evm login: ***************************************************************
***************************************************************
NOTICE: This file system contains the following GPL-3.0 packages:
        adwaita-icon-theme-symbolic
        autoconf
        bash-dev
        bash
        bc
        binutils
        cifs-utils
        coreutils-stdbuf
        coreutils
        cpio
        cpp-symlinks
        cpp
        dosfstools
        elfutils-dev
        elfutils
        findutils
        g++-symlinks
        g++
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbserver
        gettext
        glmark2
        gnu-config
        grub-common
        grub-editenv
        grub-efi
        gzip
        hidapi
        kbd-dev
        kbd-keymaps-pine
        less
        libasm1
        libatomic-dev
        libatomic1
        libbfd
        libdebuginfod1
        libdw1
        libelf1
        libgcc-s-dev
        libgcc1
        libgdbm-compat4
        libgdbm-dev
        libgdbm6
        libgettextlib
        libgettextsrc
        libgmp-dev
        libgmp10
        libgmpxx4
        libgnutls-dev
        libgnutls-openssl27
        libidn2-0
        libidn2-dev
        libmpc3
        libmpfr6
        libopcodes
        libreadline-dev
        libreadline8
        libstdc++-dev
        libstdc++6
        libtasn1-dev
        libunistring-dev
        libunistring5
        m4
        make
        nettle-dev
        nettle
        parted
        piglit
        tar
        which

If you do not wish to distribute GPL-3.0 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************

am62lxx-evm login: root
[  364.425869] audit: type=1006 audit(1749769187.641:14): pid=1464 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[  364.439360] audit: type=1300 audit(1749769187.641:14): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffff751be68 a2=1 a3=1 items=0 ppi)
[  364.466721] audit: type=1327 audit(1749769187.641:14): proctitle="(systemd)"
[  364.624687] audit: type=1334 audit(1749769187.841:15): prog-id=18 op=LOAD
[  364.631604] audit: type=1300 audit(1749769187.841:15): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffeaf49898 a2=90 a3=0 items=0 p)
[  364.657508] audit: type=1327 audit(1749769187.841:15): proctitle="(systemd)"
[  364.664673] audit: type=1334 audit(1749769187.841:16): prog-id=18 op=UNLOAD
[  364.671784] audit: type=1300 audit(1749769187.841:16): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff816b0c60 items=0 ppi)
[  364.698695] audit: type=1327 audit(1749769187.841:16): proctitle="(systemd)"
[  364.705867] audit: type=1334 audit(1749769187.841:17): prog-id=19 op=LOAD

I crossed compiled spidev_test.c and tried:

root@am62lxx-evm:/home# sudo ./spidev_test -D /dev/spidev1.0 -v -p ABC
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 kHz)
TX | 41 42 43 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |ABC|
RX | 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |...|

Apparently it works fine but there is no output on the pin headers. Also D0 and D1 are connected together with a jumper and there is no data on RX.


Oscilloscope probes are on CLK and CS0 (header pins 30 and 27) and D0 - D1 (pins 28 and 29) are connected together with a jumper to test loopback communication. I don't see any activity on any line. I've already double checked my probes and jumpers.

Here I got device tree configurations applied on the target. It seems good to me, but maybe I'm missing something:

root@am62lxx-evm:/home# dtc -I dtb -O dts -o /tmp/running_dt.dts /boot/dtb/ti/k3-am62l3-evm.dtb                                                  
/tmp/running_dt.dts: Warning (simple_bus_reg): /bus@f0000/bus@43000000: simple-bus unit address format error, expected "b00000"
root@am62lxx-evm:/home# grep -A 20 -B 5 "spi@20110000" /tmp/running_dt.dts
                        clocks = <0x04 0x12b>;
                        status = "disabled";
                        phandle = <0x66>;
                };

                spi@20110000 {
                        compatible = "ti,am654-mcspi\0ti,omap4-mcspi";
                        reg = <0x00 0x20110000 0x00 0x400>;
                        interrupts = <0x00 0x51 0x04>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        power-domains = <0x03 0x49>;
                        clocks = <0x04 0x12e>;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = <0x18>;
                        phandle = <0x67>;

                        spidev@0 {
                                spi-max-frequency = <0x16e3600>;
                                reg = <0x00>;
                                compatible = "rohm,dh2228fv";
                        };
                };

root@am62lxx-evm:/home# grep -A 20 -B 5 -i "spi1_pins_default" /tmp/running_dt.dts                                                               
                rgmii1_pins_default = "/bus@f0000/bus@43000000/pinctrl@4084000/rgmii1-default-pins";
                rgmii2_pins_default = "/bus@f0000/bus@43000000/pinctrl@4084000/rgmii2-default-pins";
                mdio1_pins_default = "/bus@f0000/bus@43000000/pinctrl@4084000/mdio1-default-pins";
                main_usb1_default_pins = "/bus@f0000/bus@43000000/pinctrl@4084000/main-usb1-default-pins";
                main_mcasp0_pins_default = "/bus@f0000/bus@43000000/pinctrl@4084000/main-mcasp0-default-pins";
                spi1_pins_default = "/bus@f0000/bus@43000000/pinctrl@4084000/spi1-default-pins";
                wkup_gpio0 = "/bus@f0000/bus@43000000/gpio@4201000";
                wkup_timer0 = "/bus@f0000/bus@43000000/timer@2b100000";
                wkup_timer1 = "/bus@f0000/bus@43000000/timer@2b110000";
                wkup_i2c0 = "/bus@f0000/bus@43000000/i2c@2b200000";
                wkup_uart0 = "/bus@f0000/bus@43000000/target-module@2b300050/serial@0";
                wkup_conf = "/bus@f0000/bus@43000000/bus@43000000";
                chipid = "/bus@f0000/bus@43000000/bus@43000000/chipid@14";
                cpsw_mac_syscon = "/bus@f0000/bus@43000000/bus@43000000/ethernet-mac-syscon@2000";
                usb0_phy_ctrl = "/bus@f0000/bus@43000000/bus@43000000/syscon@45000";
                usb1_phy_ctrl = "/bus@f0000/bus@43000000/bus@43000000/syscon@45004";
                gic500 = "/bus@f0000/interrupt-controller@1800000";
                gic_its = "/bus@f0000/interrupt-controller@1800000/msi-controller@1820000";
                main_gpio0 = "/bus@f0000/gpio@600000";
                main_gpio2 = "/bus@f0000/gpio@610000";
                main_timer0 = "/bus@f0000/timer@2400000";
                main_timer1 = "/bus@f0000/timer@2410000";
                main_timer2 = "/bus@f0000/timer@2420000";
                main_timer3 = "/bus@f0000/timer@2430000";
                main_uart0 = "/bus@f0000/serial@2800000";
                main_uart1 = "/bus@f0000/serial@2810000";

root@am62lxx-evm:/home# cat /sys/kernel/debug/pinctrl/pinctrl-maps  
Pinctrl maps:
(...)
device 20110000.spi
state default
type MUX_GROUP (2)
controlling device 4084000.pinctrl
group spi1-default-pins
function spi1-default-pins

(...)

root@am62lxx-evm:/home# cat /sys/kernel/debug/pinctrl/4084000.pinctrl-pinctrl-single/pinmux-pins | grep spi
pin 15 (PIN15): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 16 (PIN16): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 17 (PIN17): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 18 (PIN18): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 19 (PIN19): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 20 (PIN20): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 21 (PIN21): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 22 (PIN22): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 23 (PIN23): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 24 (PIN24): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 25 (PIN25): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 26 (PIN26): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 29 (PIN29): fc40000.spi (GPIO UNCLAIMED) function ospi0-default-pins group ospi0-default-pins
pin 32 (PIN32): 20110000.spi (GPIO UNCLAIMED) function spi1-default-pins group spi1-default-pins
pin 33 (PIN33): 20110000.spi (GPIO UNCLAIMED) function spi1-default-pins group spi1-default-pins
pin 34 (PIN34): 20110000.spi (GPIO UNCLAIMED) function spi1-default-pins group spi1-default-pins
pin 35 (PIN35): 20110000.spi (GPIO UNCLAIMED) function spi1-default-pins group spi1-default-pins

Also, bit 18 is set in all registers. 

root@am62lxx-evm:/home# devmem2 0x04084080
/dev/mem opened.
Memory mapped at address 0xffffaf1fc000.
Read at address  0x04084080 (0xffffaf1fc080): 0x00050004
root@am62lxx-evm:/home# devmem2 0x04084084
/dev/mem opened.
Memory mapped at address 0xffffa44de000.
Read at address  0x04084084 (0xffffa44de084): 0x00050004
root@am62lxx-evm:/home# devmem2 0x04084088
/dev/mem opened.
Memory mapped at address 0xffff96224000.
Read at address  0x04084088 (0xffff96224088): 0x00050004
root@am62lxx-evm:/home# devmem2 0x0408408C
/dev/mem opened.
Memory mapped at address 0xffffbde82000.
Read at address  0x0408408C (0xffffbde8208c): 0x00050004

Please let me know if there is anything else I can try.

Thanks in advance