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.

PROCESSOR-SDK-AM62P: UART (RS485) DTS configuration

Part Number: PROCESSOR-SDK-AM62P
Other Parts Discussed in Thread: AM62P

Tool/software:

My project uses the AM62P with SDK version 10.00.07.04 (Kernel 6.6) and requires 5 UARTs, some of which need to be configured as RS485.

My question is:

  1. In the EVM's DTS, main_uart0 has an additional interrupts-extended setting. Is this necessary?

    if this setting is necessary, how should the other UARTs be configured? I also need to enable mcu_uart0, wkup_uart0, main_uart1, and main_uart6

  2. Configure the UART port to RS485
    My schematic as below

    I'm not sure how to configure it for RS485. Could someone help me verify this?
    &mcu_pmx0 {
    	// UART3 - RS485
    	wkup_uart0_pins_default: wkup-uart0-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (D8) WKUP_UART0_RXD */
    			AM62PX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (D7) WKUP_UART0_TXD */
    			AM62PX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C6) WKUP_UART0_RTSn */
    		>;
    	};
    };
    
    // wkup_uart0 | UART3 | /dev/ttyS1 | RS485
    &wkup_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&wkup_uart0_pins_default>;
    	status = "okay";
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	linux,rs485-enabled-at-boot-time;
    	bootph-all;
    };
    
  • I looked at some examples, and it seems that the enable pin needs to be set as a GPIO, then passed in through rts-gpios
    &mcu_pmx0 {
    	// UART3 - RS485
    	wkup_uart0_pins_default: wkup-uart0-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (D8) WKUP_UART0_RXD */
    			AM62PX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (D7) WKUP_UART0_TXD */
    			
    		>;
    	};
    	// UART3 - RS485-Enable-pin
    	UART3EN_pins_default: UART3EN_pins_default {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0030, PIN_OUTPUT, 7) /* (C6) WKUP_UART0_RTSn.MCU_GPIO0_12 */
    		>;
    	};
    };
    
    // wkup_uart0 | UART3 | /dev/ttyS1 | RS485
    &wkup_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&wkup_uart0_pins_default &UART3EN_pins_default>;
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	rts-gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;
    	linux,rs485-enabled-at-boot-time;
    	status = "okay";
    	bootph-all;
    };
    
    
    is this correct?
  • Hi YuYuan,

    In the EVM's DTS, main_uart0 has an additional interrupts-extended setting. Is this necessary?

    This is for using UART0 to wake up the AM62Px device from Low Power mode. You don't need this if your project doesn't use any Low Power mode or don't use UART as the wakeup source.

    I looked at some examples, and it seems that the enable pin needs to be set as a GPIO, then passed in through rts-gpios

    The kernel driver supports both native RTS or gpio based (rts-gpios DT setting) RTS pin for RS-485 direction control. So technically you can use either way.

    However, the AM62Px UART controller supports RTS pin RS-485 mode, in which the controller manipulate the RTS pin for RS-485 direction control without software involvement. If you want to use this hardware feature, you would have to set the RTS pinmux to RTS mode, not GPIO mode, and don't set 'rts-gpios' in devicetree.

  • Hi Bin,

    Thanks, but do you know why "wkup_uart0" failed in my system (TI's EVM SK-AM62P-LP)?

    I tried this DTS in my kernel (I removed the other peripheral settings and kept only the UART settings that I need.)

    // SPDX-License-Identifier: GPL-2.0
    /*
     * Device Tree file for the AM62P5-SK
     * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
     *
     * Schematics: https://www.ti.com/lit/zip/sprr487
     */
    
    /dts-v1/;
    
    #include <dt-bindings/leds/common.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/net/ti-dp83867.h>
    #include "k3-am62p5.dtsi"
    
    / {
    	compatible = "ti,am62p5-sk", "ti,am62p5";
    	model = "Texas Instruments AM62P5 SK";
    
    	aliases {
    		serial0 = &main_uart1;
    		serial1 = &wkup_uart0;
    		serial2 = &main_uart0;
    		serial3 = &main_uart6;
    		serial4 = &mcu_uart0;
    		//mmc0 = &sdhci0;
    		mmc1 = &sdhci1;
    		//mmc2 = &sdhci2;
    		//spi0 = &ospi0;
    		ethernet0 = &cpsw_port1;
    		ethernet1 = &cpsw_port2;
    		//usb0 = &usb0;
    		//usb1 = &usb1;
    	};
    
    	chosen {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		stdout-path = &main_uart0;
    
    //		framebuffer0: framebuffer@0 {
    //			compatible = "simple-framebuffer";
    //			power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>,
    //					<&k3_pds 243 TI_SCI_PD_EXCLUSIVE>,	/* OLDI0 */
    //					<&k3_pds 244 TI_SCI_PD_EXCLUSIVE>;	/* OLDI1 */
    //			clocks = <&k3_clks 186 6>,
    //				 <&dss0_vp1_clk>,
    //				 <&k3_clks 186 2>;
    //			display = <&dss0>;
    //			status = "disabled";
    //		};
    	};
    
    	memory@80000000 {
    		/* 1G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
    		device_type = "memory";
    		bootph-pre-ram;
    	};
    
    	reserved_memory: reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		linux,cma {
    			compatible = "shared-dma-pool";
    			reusable;
    			size = <0x00 0x24000000>;
    			linux,cma-default;
    		};
    
    		rtos_ipc_memory_region: rtos-ipc-memory@9b500000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b500000 0x00 0x00300000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_dma_memory_region: mcu-r5fss-dma-memory-region@9b800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b800000 0x00 0x00100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_memory_region: mcu-r5fss-memory-region@9b900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b900000 0x00 0x00f00000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c800000 0x00 0x00100000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_memory_region: r5f-memory@9c900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c900000 0x00 0x01e00000>;
    			no-map;
    		};
    
    		secure_tfa_ddr: tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			no-map;
    		};
    
    		secure_ddr: optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
    			no-map;
    		};
    	};
    
    //	vmain_pd: regulator-0 {
    //		/* TPS65988 PD CONTROLLER OUTPUT */
    //		compatible = "regulator-fixed";
    //		regulator-name = "vmain_pd";
    //		regulator-min-microvolt = <5000000>;
    //		regulator-max-microvolt = <5000000>;
    //		regulator-always-on;
    //		regulator-boot-on;
    //		bootph-all;
    //	};
    //
    //	vcc_5v0: regulator-1 {
    //		/* Output of TPS630702RNMR */
    //		compatible = "regulator-fixed";
    //		regulator-name = "vcc_5v0";
    //		regulator-min-microvolt = <5000000>;
    //		regulator-max-microvolt = <5000000>;
    //		vin-supply = <&vmain_pd>;
    //		regulator-always-on;
    //		regulator-boot-on;
    //		bootph-all;
    //	};
    //
    //	vdd_mmc1: regulator-2 {
    //		/* TPS22918DBVR */
    //		compatible = "regulator-fixed";
    //		regulator-name = "vdd_mmc1";
    //		regulator-min-microvolt = <3300000>;
    //		regulator-max-microvolt = <3300000>;
    //		regulator-boot-on;
    //		enable-active-high;
    //		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
    //		bootph-all;
    //	};
    //
    //	vddshv_sdio: regulator-3 {
    //		compatible = "regulator-gpio";
    //		regulator-name = "vddshv_sdio";
    //		pinctrl-names = "default";
    //		pinctrl-0 = <&vddshv_sdio_pins_default>;
    //		regulator-min-microvolt = <1800000>;
    //		regulator-max-microvolt = <3300000>;
    //		regulator-boot-on;
    //		gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
    //		states = <1800000 0x0>,
    //			 <3300000 0x1>;
    //		bootph-all;
    //	};
    //
    //	leds {
    //		compatible = "gpio-leds";
    //		pinctrl-names = "default";
    //		pinctrl-0 = <&usr_led_pins_default>;
    //
    //		led-0 {
    //			label = "am62-sk:green:heartbeat";
    //			gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
    //			linux,default-trigger = "heartbeat";
    //			function = LED_FUNCTION_HEARTBEAT;
    //			default-state = "off";
    //		};
    //	};
    //
    	opp-table {
    		/* Add 1.4GHz OPP for am62p5-sk board. Requires VDD_CORE at 0v85 */
    		opp-1400000000 {
    			opp-hz = /bits/ 64 <1400000000>;
    			opp-supported-hw = <0x01 0x0004>;
    			clock-latency-ns = <6000000>;
    		};
    	};
    
    //	tlv320_mclk: clk-0 {
    //		#clock-cells = <0>;
    //		compatible = "fixed-clock";
    //		clock-frequency = <12288000>;
    //	};
    //
    //	codec_audio: sound {
    //		compatible = "simple-audio-card";
    //		simple-audio-card,name = "AM62x-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 = <&mcasp1>;
    //		};
    //
    //		sound_master: simple-audio-card,codec {
    //			sound-dai = <&tlv320aic3106>;
    //			clocks = <&tlv320_mclk>;
    //		};
    //	};
    //
    //	hdmi0: connector-hdmi {
    //		compatible = "hdmi-connector";
    //		label = "hdmi";
    //		type = "a";
    //		port {
    //			hdmi_connector_in: endpoint {
    //				remote-endpoint = <&sii9022_out>;
    //			};
    //		};
    //	};
    };
    
    &main_gpio0 {
    	bootph-all;
    };
    
    &main_gpio1 {
    	bootph-all;
    };
    
    &main_pmx0 {
    	bootph-all;
    
    //	main_i2c0_pins_default: main-i2c0-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (B25) I2C0_SCL */
    //			AM62PX_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (A24) I2C0_SDA */
    //		>;
    //	};
    //
    //	main_i2c1_pins_default: main-i2c1-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (C24) I2C1_SCL */
    //			AM62PX_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (B24) I2C1_SDA */
    //		>;
    //		bootph-all;
    //	};
    //
    //	main_i2c2_pins_default: main-i2c2-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x00b0, PIN_INPUT_PULLUP, 1) /* (T22) GPMC0_CSn2.I2C2_SCL */
    //			AM62PX_IOPAD(0x00b4, PIN_INPUT_PULLUP, 1) /* (U25) GPMC0_CSn3.I2C2_SDA */
    //		>;
    //	};
    //
    //	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C22) UART0_RTSn.GPIO1_23 */
    //		>;
    //	};
    //
    //	main_mcasp1_pins_default: main-mcasp1-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0090, PIN_INPUT, 2) /* (U24) GPMC0_BE0n_CLE.MCASP1_ACLKX */
    //			AM62PX_IOPAD(0x0098, PIN_INPUT, 2) /* (AA24) GPMC0_WAIT0.MCASP1_AFSX */
    //			AM62PX_IOPAD(0x008c, PIN_OUTPUT, 2) /* (T25) GPMC0_WEn.MCASP1_AXR0 */
    //			AM62PX_IOPAD(0x0084, PIN_INPUT, 2) /* (R25) GPMC0_ADVn_ALE.MCASP1_AXR2 */
    //		>;
    //	};
    
    	main_mdio1_pins_default: main-mdio1-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x0160, PIN_OUTPUT, 0) /* (F17) MDIO0_MDC */
    			AM62PX_IOPAD(0x015c, PIN_INPUT, 0) /* (F16) MDIO0_MDIO */
    		>;
    	};
    
    	main_mmc1_pins_default: main-mmc1-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x023c, PIN_INPUT, 0) /* (H20) MMC1_CMD */
    			AM62PX_IOPAD(0x0234, PIN_OUTPUT, 0) /* (J24) MMC1_CLK */
    			AM62PX_IOPAD(0x0230, PIN_INPUT, 0) /* (H21) MMC1_DAT0 */
    			AM62PX_IOPAD(0x022c, PIN_INPUT_PULLUP, 0) /* (H23) MMC1_DAT1 */
    			AM62PX_IOPAD(0x0228, PIN_INPUT_PULLUP, 0) /* (H22) MMC1_DAT2 */
    			AM62PX_IOPAD(0x0224, PIN_INPUT_PULLUP, 0) /* (H25) MMC1_DAT3 */
    			AM62PX_IOPAD(0x0240, PIN_INPUT, 0) /* (D23) MMC1_SDCD */
    		>;
    		bootph-all;
    	};
    
    //	main_mmc2_pins_default: main-mmc2-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0120, PIN_INPUT, 0) /* (K24) MMC2_CMD */
    //			AM62PX_IOPAD(0x0118, PIN_OUTPUT, 0) /* (K21) MMC2_CLK */
    //			AM62PX_IOPAD(0x011C, PIN_INPUT, 0) /* () MMC2_CLKLB */
    //			AM62PX_IOPAD(0x0114, PIN_INPUT, 0) /* (K23) MMC2_DAT0 */
    //			AM62PX_IOPAD(0x0110, PIN_INPUT_PULLUP, 0) /* (K22) MMC2_DAT1 */
    //			AM62PX_IOPAD(0x010c, PIN_INPUT_PULLUP, 0) /* (L20) MMC2_DAT2 */
    //			AM62PX_IOPAD(0x0108, PIN_INPUT_PULLUP, 0) /* (L21) MMC2_DAT3 */
    //		>;
    //		bootph-all;
    //	};
    
    	main_rgmii1_pins_default: main-rgmii1-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x014c, PIN_INPUT, 0) /* (B15) RGMII1_RD0 */
    			AM62PX_IOPAD(0x0150, PIN_INPUT, 0) /* (B16) RGMII1_RD1 */
    			AM62PX_IOPAD(0x0154, PIN_INPUT, 0) /* (A14) RGMII1_RD2 */
    			AM62PX_IOPAD(0x0158, PIN_INPUT, 0) /* (B14) RGMII1_RD3 */
    			AM62PX_IOPAD(0x0148, PIN_INPUT, 0) /* (A16) RGMII1_RXC */
    			AM62PX_IOPAD(0x0144, PIN_INPUT, 0) /* (A15) RGMII1_RX_CTL */
    			AM62PX_IOPAD(0x0134, PIN_INPUT, 0) /* (A18) RGMII1_TD0 */
    			AM62PX_IOPAD(0x0138, PIN_INPUT, 0) /* (C17) RGMII1_TD1 */
    			AM62PX_IOPAD(0x013c, PIN_INPUT, 0) /* (A17) RGMII1_TD2 */
    			AM62PX_IOPAD(0x0140, PIN_INPUT, 0) /* (C16) RGMII1_TD3 */
    			AM62PX_IOPAD(0x0130, PIN_INPUT, 0) /* (B17) RGMII1_TXC */
    			AM62PX_IOPAD(0x012c, PIN_INPUT, 0) /* (B18) RGMII1_TX_CTL */
    		>;
    		bootph-all;
    	};
    
    	main_rgmii2_pins_default: main-rgmii2-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x0184, PIN_INPUT, 0) /* (E19) RGMII2_RD0 */
    			AM62PX_IOPAD(0x0188, PIN_INPUT, 0) /* (E16) RGMII2_RD1 */
    			AM62PX_IOPAD(0x018c, PIN_INPUT, 0) /* (E17) RGMII2_RD2 */
    			AM62PX_IOPAD(0x0190, PIN_INPUT, 0) /* (C19) RGMII2_RD3 */
    			AM62PX_IOPAD(0x0180, PIN_INPUT, 0) /* (D19) RGMII2_RXC */
    			AM62PX_IOPAD(0x017c, PIN_INPUT, 0) /* (F19) RGMII2_RX_CTL */
    			AM62PX_IOPAD(0x016c, PIN_INPUT, 0) /* (B19) RGMII2_TD0 */
    			AM62PX_IOPAD(0x0170, PIN_INPUT, 0) /* (A21) RGMII2_TD1 */
    			AM62PX_IOPAD(0x0174, PIN_INPUT, 0) /* (D17) RGMII2_TD2 */
    			AM62PX_IOPAD(0x0178, PIN_INPUT, 0) /* (A19) RGMII2_TD3 */
    			AM62PX_IOPAD(0x0168, PIN_INPUT, 0) /* (D16) RGMII2_TXC */
    			AM62PX_IOPAD(0x0164, PIN_INPUT, 0) /* (A20) RGMII2_TX_CTL */
    		>;
    		bootph-all;
    	};
    
    	main_uart0_pins_default: main-uart0-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x1c8, PIN_INPUT, 0)	/* (A22) UART0_RXD */
    			AM62PX_IOPAD(0x1cc, PIN_OUTPUT, 0)	/* (B22) UART0_TXD */
    		>;
    		bootph-all;
    	};
    
    	// UART1 - RS485
    	main_uart6_pins_default: main-uart6-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x0194, PIN_INPUT, 3) /* (D25) MCASP0_AXR3.UART6_RXD */
    			AM62PX_IOPAD(0x0120, PIN_OUTPUT, 3) /* (K24) MMC2_CMD.UART6_TXD */	
    		>;
    	};
    	// UART1 - RS485-Enable-pin
    	UART1EN_pins_default: UART1EN_pins_default {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x0024, PIN_OUTPUT, 7) /* (P21) UART6_RTSn.GPIO0_9 */
    		>;
    	};
    
    	// UART4 - RS485
    	main_uart1_pins_default: main-uart1-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C24) I2C1_SCL.UART1_RXD */
    			AM62PX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (B24) I2C1_SDA.UART1_TXD */
    			
    		>;
    	};
    	// UART4 - RS485-Enable-pin
    	UART4EN_pins_default: UART4EN_pins_default {
    		pinctrl-single,pins = <
    			AM62PX_IOPAD(0x0198, PIN_OUTPUT, 7) /* (E25) UART1_RTSn.GPIO1_8 */
    		>;
    	};
    //	main_uart1_pins_default: main-uart1-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0194, PIN_INPUT, 2) /* (D25) MCASP0_AXR3.UART1_CTSn */
    //			AM62PX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (E25) MCASP0_AXR2.UART1_RTSn */
    //			AM62PX_IOPAD(0x01ac, PIN_INPUT, 2) /* (G23) MCASP0_AFSR.UART1_RXD */
    //			AM62PX_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (G20) MCASP0_ACLKR.UART1_TXD */
    //		>;
    //		bootph-all;
    //	};
    //
    //	main_usb1_pins_default: main-usb1-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0258, PIN_INPUT, 0) /* (G21) USB1_DRVVBUS */
    //		>;
    //	};
    //
    //	main_wlirq_pins_default: main-wlirq-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0128, PIN_INPUT, 7) /* (K25) MMC2_SDWP.GPIO0_72 */
    //		>;
    //	};
    //
    //	ospi0_pins_default: ospi0-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0000, PIN_OUTPUT, 0) /* (P23) OSPI0_CLK */
    //			AM62PX_IOPAD(0x002c, PIN_OUTPUT, 0) /* (M25) OSPI0_CSn0 */
    //			AM62PX_IOPAD(0x000c, PIN_INPUT, 0) /* (L25) OSPI0_D0 */
    //			AM62PX_IOPAD(0x0010, PIN_INPUT, 0) /* (N24) OSPI0_D1 */
    //			AM62PX_IOPAD(0x0014, PIN_INPUT, 0) /* (N25) OSPI0_D2 */
    //			AM62PX_IOPAD(0x0018, PIN_INPUT, 0) /* (M24) OSPI0_D3 */
    //			AM62PX_IOPAD(0x001c, PIN_INPUT, 0) /* (N21) OSPI0_D4 */
    //			AM62PX_IOPAD(0x0020, PIN_INPUT, 0) /* (N22) OSPI0_D5 */
    //			AM62PX_IOPAD(0x0024, PIN_INPUT, 0) /* (P21) OSPI0_D6 */
    //			AM62PX_IOPAD(0x0028, PIN_INPUT, 0) /* (N20) OSPI0_D7 */
    //			AM62PX_IOPAD(0x0008, PIN_INPUT, 0) /* (P22) OSPI0_DQS */
    //		>;
    //		bootph-all;
    //	};
    //
    //	usr_led_pins_default: usr-led-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0244, PIN_INPUT, 7) /* (D24) MMC1_SDWP.GPIO1_49 */
    //		>;
    //	};
    //
    //	vddshv_sdio_pins_default: vddshvr-sdio-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x007c, PIN_INPUT, 7) /* (Y25) GPMC0_CLK.GPIO0_31 */
    //		>;
    //		bootph-all;
    //	};
    //
    //	wlan_en_pins_default: wlan-en-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0124, PIN_INPUT, 7) /* (J25) MMC2_SDCD.GPIO0_71 */
    //		>;
    //	};
    //
    //	main_dpi_pins_default: main-dpi-default-pins {
    //		pinctrl-single,pins = <
    //			AM62PX_IOPAD(0x0100, PIN_OUTPUT, 0) /* (W20) VOUT0_VSYNC */
    //			AM62PX_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AC20) VOUT0_HSYNC */
    //			AM62PX_IOPAD(0x0104, PIN_OUTPUT, 0) /* (Y21) VOUT0_PCLK */
    //			AM62PX_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (W21) VOUT0_DE */
    //			AM62PX_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (AE24) VOUT0_DATA0 */
    //			AM62PX_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (W23) VOUT0_DATA1 */
    //			AM62PX_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA2 */
    //			AM62PX_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA3 */
    //			AM62PX_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (AB23) VOUT0_DATA4 */
    //			AM62PX_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (AD23) VOUT0_DATA5 */
    //			AM62PX_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (AC23) VOUT0_DATA6 */
    //			AM62PX_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AE23) VOUT0_DATA7 */
    //			AM62PX_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (AE22) VOUT0_DATA8 */
    //			AM62PX_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (AC22) VOUT0_DATA9 */
    //			AM62PX_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */
    //			AM62PX_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AE21) VOUT0_DATA11 */
    //			AM62PX_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AD21) VOUT0_DATA12 */
    //			AM62PX_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AC21) VOUT0_DATA13 */
    //			AM62PX_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (AA20) VOUT0_DATA14 */
    //			AM62PX_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (Y20) VOUT0_DATA15 */
    //			AM62PX_IOPAD(0x005c, PIN_OUTPUT, 1) /* (AC25) GPMC0_AD8.VOUT0_DATA16 */
    //			AM62PX_IOPAD(0x0060, PIN_OUTPUT, 1) /* (AB25) GPMC0_AD9.VOUT0_DATA17 */
    //			AM62PX_IOPAD(0x0064, PIN_OUTPUT, 1) /* (AA25) GPMC0_AD10.VOUT0_DATA18 */
    //			AM62PX_IOPAD(0x0068, PIN_OUTPUT, 1) /* (W24) GPMC0_AD11.VOUT0_DATA19 */
    //			AM62PX_IOPAD(0x006c, PIN_OUTPUT, 1) /* (Y24) GPMC0_AD12.VOUT0_DATA20 */
    //			AM62PX_IOPAD(0x0070, PIN_OUTPUT, 1) /* (AD25) GPMC0_AD13.VOUT0_DATA21 */
    //			AM62PX_IOPAD(0x0074, PIN_OUTPUT, 1) /* (AB24) GPMC0_AD14.VOUT0_DATA22 */
    //			AM62PX_IOPAD(0x0078, PIN_OUTPUT, 1) /* (AC24) GPMC0_AD15.VOUT0_DATA23 */
    //			AM62PX_IOPAD(0x009c, PIN_OUTPUT, 1) /* (AD24) GPMC0_WAIT1.VOUT0_EXTPCLKIN */
    //		>;
    //	};
    };
    
    //&main_i2c0 {
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_i2c0_pins_default>;
    //	clock-frequency = <400000>;
    //
    //	typec_pd0: usb-power-controller@3f {
    //		compatible = "ti,tps6598x";
    //		reg = <0x3f>;
    //
    //		connector {
    //			compatible = "usb-c-connector";
    //			label = "USB-C";
    //			self-powered;
    //			data-role = "dual";
    //			power-role = "sink";
    //			ports {
    //				#address-cells = <1>;
    //				#size-cells = <0>;
    //				port@0 {
    //					reg = <0>;
    //					usb_con_hs: endpoint {
    //						remote-endpoint = <&usb0_hs_ep>;
    //					};
    //				};
    //			};
    //		};
    //	};
    //};
    //
    //&main_i2c1 {
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_i2c1_pins_default>;
    //	clock-frequency = <100000>;
    //	bootph-all;
    //
    //	tlv320aic3106: audio-codec@1b {
    //		#sound-dai-cells = <0>;
    //		compatible = "ti,tlv320aic3106";
    //		reg = <0x1b>;
    //		ai3x-micbias-vg = <1>;  /* 2.0V */
    //	};
    //
    //	exp1: gpio@22 {
    //		compatible = "ti,tca6424";
    //		reg = <0x22>;
    //		gpio-controller;
    //		#gpio-cells = <2>;
    //		gpio-line-names = "OLDI_INT#", "x8_NAND_DETECT",
    //				   "UART1_FET_SEL", "MMC1_SD_EN",
    //				   "VPP_EN", "EXP_PS_3V3_EN",
    //				   "UART1_FET_BUF_EN", "EXP_HAT_DETECT",
    //				   "DSI_GPIO0", "DSI_GPIO1",
    //				   "OLDI_EDID", "BT_UART_WAKE_SOC_3V3",
    //				   "USB_TYPEA_OC_INDICATION", "CSI_GPIO0",
    //				   "CSI_GPIO1", "WLAN_ALERTn",
    //				   "HDMI_INTn", "TEST_GPIO2",
    //				   "MCASP1_FET_EN", "MCASP1_BUF_BT_EN",
    //				   "MCASP1_FET_SEL", "DSI_EDID",
    //				   "PD_I2C_IRQ", "IO_EXP_TEST_LED";
    //
    //		interrupt-parent = <&main_gpio1>;
    //		interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
    //		interrupt-controller;
    //		#interrupt-cells = <2>;
    //
    //		pinctrl-names = "default";
    //		pinctrl-0 = <&main_gpio1_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", "EXP_PS_5V0_EN",
    //				   "", "",
    //				   "", "",
    //				   "", "",
    //				   "WL_LT_EN", "",
    //				   "TP3", "TP6",
    //				   "TP4", "TP7",
    //				   "TP5", "TP8",
    //				   "SoC_I2C2_MCAN_SEL", "GPIO_HDMI_RSTn",
    //				   "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
    //				   "GPIO_OLDI_RSTn", "GPIO_AUD_RSTn",
    //				   "GPIO_eMMC_RSTn", "SoC_WLAN_SDIO_RST";
    //	};
    //
    //	sii9022: bridge-hdmi@3b {
    //		compatible = "sil,sii9022";
    //		reg = <0x3b>;
    //		interrupt-parent = <&exp1>;
    //		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
    //		#sound-dai-cells = <0>;
    //		sil,i2s-data-lanes = < 0 >;
    //
    //		hdmi_tx_ports: ports {
    //			#address-cells = <1>;
    //			#size-cells = <0>;
    //
    //			/*
    //			 * HDMI can be serviced with 3 potential VPs -
    //			 * (DSS0 VP1 / DSS1 VP0 / DSS1 VP1).
    //			 * For now, we will service it with DSS0 VP1.
    //			 */
    //			port@0 {
    //				reg = <0>;
    //
    //				sii9022_in: endpoint {
    //					remote-endpoint = <&dss0_dpi1_out>;
    //				};
    //			};
    //
    //			port@1 {
    //				reg = <1>;
    //
    //				sii9022_out: endpoint {
    //					remote-endpoint = <&hdmi_connector_in>;
    //				};
    //			};
    //		};
    //	};
    //};
    //
    //&main_i2c2 {
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_i2c2_pins_default>;
    //	clock-frequency = <400000>;
    //};
    
    &sdhci0 {
    	status = "okay";
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    	bootph-all;
    };
    
    &sdhci1 {
    	/* SD/MMC */
    	status = "okay";
    	//vmmc-supply = <&vdd_mmc1>;
    	//vqmmc-supply = <&vddshv_sdio>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc1_pins_default>;
    	disable-wp;
    	bootph-all;
    };
    
    &cpsw3g {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_rgmii1_pins_default>,
    		    <&main_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 = <&main_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;
    	};
    };
    
    //&usbss0 {
    //	status = "okay";
    //	ti,vbus-divider;
    //};
    //
    //&usbss1 {
    //	status = "okay";
    //	ti,vbus-divider;
    //};
    //
    //&usb0 {
    //	usb-role-switch;
    //	#address-cells = <1>;
    //	#size-cells = <0>;
    //
    //	port@0 {
    //		reg = <0>;
    //		usb0_hs_ep: endpoint {
    //			remote-endpoint = <&usb_con_hs>;
    //		};
    //	};
    //};
    //
    //&usb1 {
    //	dr_mode = "host";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_usb1_pins_default>;
    //};
    //
    //&mcasp1 {
    //	status = "okay";
    //	#sound-dai-cells = <0>;
    //
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_mcasp1_pins_default>;
    //
    //	op-mode = <0>;          /* MCASP_IIS_MODE */
    //	tdm-slots = <2>;
    //
    //	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    //	       1 0 2 0
    //	       0 0 0 0
    //	       0 0 0 0
    //	       0 0 0 0
    //	>;
    //	tx-num-evt = <0>;
    //	rx-num-evt = <0>;
    //};
    
    &fss {
    	bootph-all;
    };
    
    //&ospi0 {
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&ospi0_pins_default>;
    //	bootph-all;
    //
    //	flash@0{
    //		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>;
    //		bootph-all;
    //
    //		partitions {
    //			compatible = "fixed-partitions";
    //			#address-cells = <1>;
    //			#size-cells = <1>;
    //			bootph-all;
    //
    //			partition@0 {
    //				label = "ospi.tiboot3";
    //				reg = <0x00 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 {
    //				label = "ospi.phypattern";
    //				reg = <0x3fc0000 0x40000>;
    //				bootph-all;
    //			};
    //		};
    //	};
    //};
    
    &mailbox0_cluster0 {
    	mbox_r5_0: mbox-r5-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &mailbox0_cluster1 {
    	mbox_mcu_r5_0: mbox-mcu-r5-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &wkup_r5fss0 {
    	status = "okay";
    };
    
    &wkup_r5fss0_core0 {
    	mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
    	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
    			<&wkup_r5fss0_core0_memory_region>;
    };
    
    &mcu_r5fss0 {
    	status = "okay";
    };
    
    &mcu_r5fss0_core0 {
    	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5_0>;
    	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
    			<&mcu_r5fss0_core0_memory_region>;
    };
    
    &mcu_pmx0 {
    	bootph-all;
    	// UART2 - RS232
    	mcu_uart0_pins_default: mcu-uart0-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (B6) MCU_UART0_RXD */
    			AM62PX_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (C8) MCU_UART0_TXD */
    		>;
    	};
    
    	// UART3 - RS485
    	wkup_uart0_pins_default: wkup-uart0-default-pins {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (D8) WKUP_UART0_RXD */
    			AM62PX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (D7) WKUP_UART0_TXD */
    			
    		>;
    	};
    	// UART3 - RS485-Enable-pin
    	UART3EN_pins_default: UART3EN_pins_default {
    		pinctrl-single,pins = <
    			AM62PX_MCU_IOPAD(0x0030, PIN_OUTPUT, 7) /* (C6) WKUP_UART0_RTSn.MCU_GPIO0_12 */
    		>;
    	};
    };
    
    /* mcu_gpio0 and mcu_gpio_intr are reserved for mcu firmware usage */
    //&mcu_gpio0 {
    //	status = "reserved";
    //};
    //
    //&mcu_gpio_intr {
    //	status = "reserved";
    //};
    
    //&dss_oldi_io_ctrl {
    //	bootph-all;
    //};
    
    //&dss0 {
    //	bootph-all;
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&main_dpi_pins_default>;
    //};
    
    //&dss0_ports {
    //	/* DSS0-VP2: DPI/HDMI Output */
    //	hdmi0_dss: port@1 {
    //		reg = <1>;
    //
    //		dss0_dpi1_out: endpoint {
    //			remote-endpoint = <&sii9022_in>;
    //		};
    //	};
    //};
    
    // main_uart0 | UART0 | /dev/ttyS2 | RS232(Debug console)
    &main_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart0_pins_default>;
    	//interrupts-extended = <&gic500 GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
    	//		<&main_pmx0 0x1c8>; /* (D14) UART0_RXD PADCONFIG114 */
    	//interrupt-names = "irq", "wakeup";
    	status = "okay";
    	bootph-all;
    };
    
    // main_uart6 | UART1 | /dev/ttyS3 | RS485
    &main_uart6 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart6_pins_default &UART1EN_pins_default>;
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	rts-gpios = <&main_gpio0 9 GPIO_ACTIVE_HIGH>;
    	linux,rs485-enabled-at-boot-time;
    	status = "okay";
    	bootph-all;
    };
    
    // mcu_uart0 | UART2 | /dev/ttyS4 | RS232
    &mcu_uart0{
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcu_uart0_pins_default>;
    	status = "okay";
    	bootph-all;
    };
    
    // wkup_uart0 | UART3 | /dev/ttyS1 | RS485
    &wkup_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&wkup_uart0_pins_default &UART3EN_pins_default>;
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	rts-gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;
    	linux,rs485-enabled-at-boot-time;
    	status = "okay";
    	bootph-all;
    };
    
    // main_uart1 | UART4 | /dev/ttyS0 | RS485
    &main_uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart1_pins_default &UART4EN_pins_default>;
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	rts-gpios = <&main_gpio1 8 GPIO_ACTIVE_HIGH>;
    	linux,rs485-enabled-at-boot-time;
    	status = "okay";
    	bootph-all;
    };

    This is our project requirements.

  • Hi YuYuan,

    Please attach the kernel boot log.

  • boot log

    U-Boot SPL 2024.04-00001-ga3b4f6b1-dirty (Sep 06 2024 - 00:38:43 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 17048 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2024.04-00001-ga3b4f6b1-dirty (Sep 06 2024 - 00:41:41 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 1904 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-00001-ga3b4f6b1-dirty (Sep 06 2024 - 00:41:41 +0000)
    
    SoC:   AM62PX SR1.0 HS-FS
    Model: Texas Instruments AM62P5 SK
    DRAM:  1 GiB
    Core:  85 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    Net:   eth0: ethernet@8000000port@1
    Warning: ethernet@8000000port@2 (eth1) using random MAC address - 3a:3f:bc:3f:90:c5
    , eth1: ethernet@8000000port@2
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    574 bytes read in 8 ms (69.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    20285952 bytes read in 222 ms (87.1 MiB/s)
    54893 bytes read in 10 ms (5.2 MiB/s)
    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 000000008feef000, end 000000008fffffff ... OK
    Working FDT set to 8feef000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-ga5a0d48257ca-dirty (tisdk@b55d2a860d3c) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Fri Sep  6 00:40:21 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM62P5 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma': size 576 MiB
    [    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b500000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node rtos-ipc-memory@9b500000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b500000..0x000000009b7fffff (3072 KiB) nomap non-reusable rtos-ipc-memory@9b500000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node mcu-r5fss-dma-memory-region@9b800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b800000..0x000000009b8fffff (1024 KiB) nomap non-reusable mcu-r5fss-dma-memory-region@9b800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node mcu-r5fss-memory-region@9b900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b900000..0x000000009c7fffff (15360 KiB) nomap non-reusable mcu-r5fss-memory-region@9b900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009c8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c900000..0x000000009e6fffff (30720 KiB) nomap non-reusable r5f-memory@9c900000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] OF: reserved mem: 0x00000000bf700000..0x00000000bfffffff (9216 KiB) nomap non-reusable framebuffer@bf700000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
    [    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-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x000000009b4fffff]
    [    0.000000]   node   0: [mem 0x000000009b500000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000bf6fffff]
    [    0.000000]   node   0: [mem 0x00000000bf700000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000bc400000 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: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    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=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000b8300000-0x00000000bc300000] (64MB)
    [    0.000000] Memory: 823200K/1048576K available (11968K kernel code, 1250K rwdata, 4032K rodata, 2432K init, 502K bss, 192608K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 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: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @80c00000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080440000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080450000
    [    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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008517] Console: colour dummy device 80x25
    [    0.013099] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023771] pid_max: default: 32768 minimum: 301
    [    0.028568] LSM: initializing lsm=capability,integrity
    [    0.033911] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.041474] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.051142] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058444] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.066354] rcu: Hierarchical SRCU implementation.
    [    0.071254] rcu: 	Max phase no-delay instances is 1000.
    [    0.076842] Platform MSI: msi-controller@1820000 domain created
    [    0.083076] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092444] EFI services will not be available.
    [    0.097318] smp: Bringing up secondary CPUs ...
    [    0.102528] Detected VIPT I-cache on CPU1
    [    0.102597] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.102613] GICv3: CPU1: using allocated LPI pending table @0x0000000080460000
    [    0.102661] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.103329] Detected VIPT I-cache on CPU2
    [    0.103385] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.103399] GICv3: CPU2: using allocated LPI pending table @0x0000000080470000
    [    0.103432] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.104016] Detected VIPT I-cache on CPU3
    [    0.104065] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.104078] GICv3: CPU3: using allocated LPI pending table @0x0000000080480000
    [    0.104106] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.104184] smp: Brought up 1 node, 4 CPUs
    [    0.183835] SMP: Total of 4 processors activated.
    [    0.188644] CPU features: detected: 32-bit EL0 Support
    [    0.193912] CPU features: detected: CRC32 instructions
    [    0.199221] CPU: All CPU(s) started at EL2
    [    0.203415] alternatives: applying system-wide alternatives
    [    0.210519] devtmpfs: initialized
    [    0.221169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.231170] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.239238] pinctrl core: initialized pinctrl subsystem
    [    0.245092] DMI not present or invalid.
    [    0.249629] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.256542] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.263843] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.271831] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.279999] audit: initializing netlink subsys (disabled)
    [    0.285699] audit: type=2000 audit(0.176:1): state=initialized audit_enabled=0 res=1
    [    0.286123] thermal_sys: Registered thermal governor 'step_wise'
    [    0.293627] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.299801] cpuidle: using governor menu
    [    0.310627] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.317638] ASID allocator initialised with 65536 entries
    [    0.335581] Modules: 27680 pages in range for non-PLT usage
    [    0.335597] Modules: 519200 pages in range for PLT usage
    [    0.342012] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.354402] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.360804] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.367736] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.374137] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.381068] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.387470] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.394401] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.402144] k3-chipinfo 43000014.chipid: Family:AM62PX rev:SR1.0 JTAGID[0x0bb9d02f] Detected
    [    0.411334] iommu: Default domain type: Translated
    [    0.416254] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.422834] SCSI subsystem initialized
    [    0.426959] usbcore: registered new interface driver usbfs
    [    0.432595] usbcore: registered new interface driver hub
    [    0.438052] usbcore: registered new device driver usb
    [    0.443558] pps_core: LinuxPPS API ver. 1 registered
    [    0.448631] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.457971] PTP clock support registered
    [    0.462116] EDAC MC: Ver: 3.0.0
    [    0.465766] scmi_core: SCMI protocol bus registered
    [    0.471024] FPGA manager framework
    [    0.474576] Advanced Linux Sound Architecture Driver Initialized.
    [    0.481706] vgaarb: loaded
    [    0.484772] clocksource: Switched to clocksource arch_sys_counter
    [    0.491243] VFS: Disk quotas dquot_6.6.0
    [    0.495295] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.508602] NET: Registered PF_INET protocol family
    [    0.513758] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.522244] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.530841] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.538769] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.546737] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.554331] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.560932] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.567734] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.575082] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.581273] RPC: Registered named UNIX socket transport module.
    [    0.587339] RPC: Registered udp transport module.
    [    0.592145] RPC: Registered tcp transport module.
    [    0.596948] RPC: Registered tcp-with-tls transport module.
    [    0.602551] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.609133] NET: Registered PF_XDP protocol family
    [    0.614040] PCI: CLS 0 bytes, default 64
    [    0.619363] Initialise system trusted keyrings
    [    0.624118] workingset: timestamp_bits=46 max_order=18 bucket_order=0
    [    0.631014] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.637244] NFS: Registering the id_resolver key type
    [    0.642462] Key type id_resolver registered
    [    0.646737] Key type id_legacy registered
    [    0.650851] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.657700] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.698925] Key type asymmetric registered
    [    0.703115] Asymmetric key parser 'x509' registered
    [    0.708145] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.715703] io scheduler mq-deadline registered
    [    0.720332] io scheduler kyber registered
    [    0.724454] io scheduler bfq registered
    [    0.731302] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.737919] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.749810] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.766270] loop: module loaded
    [    0.770462] megasas: 07.725.01.00-rc1
    [    0.777646] tun: Universal TUN/TAP device driver, 1.6
    [    0.783719] VFIO - User Level meta-driver version: 0.3
    [    0.789918] usbcore: registered new interface driver usb-storage
    [    0.796584] i2c_dev: i2c /dev entries driver
    [    0.802399] sdhci: Secure Digital Host Controller Interface driver
    [    0.808744] sdhci: Copyright(c) Pierre Ossman
    [    0.813383] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.819727] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.826162] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.833442] usbcore: registered new interface driver usbhid
    [    0.839141] usbhid: USB HID core driver
    [    0.843371] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.850201] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.856929] omap-mailbox 29020000.mailbox: no available mbox devices found
    [    0.863989] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.872218] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.881090] optee: probing for conduit method.
    [    0.885656] optee: revision 4.2 (12d7c4ee)
    [    0.885948] optee: dynamic shared memory is enabled
    [    0.895364] optee: initialized driver
    [    0.900485] NET: Registered PF_PACKET protocol family
    [    0.905762] Key type dns_resolver registered
    [    0.917745] registered taskstats version 1
    [    0.922157] Loading compiled-in X.509 certificates
    [    0.939122] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.984930] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.993246] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.002452] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.011407] ti-sci-inta 4e400000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.020966] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.029650] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.040674] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.051641] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.061186] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.067827] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.077635] 4a00000.serial: ttyS4 at MMIO 0x4a00000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.087744] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 250, base_baud = 3000000) is a 8250
    [    1.096649] printk: console [ttyS2] enabled
    [    1.096649] printk: console [ttyS2] enabled
    [    1.105111] printk: bootconsole [ns16550a0] disabled
    [    1.105111] printk: bootconsole [ns16550a0] disabled
    [    1.156782] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
    [    1.171699] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.179815] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.187941] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01903, cpsw version 0x6BA81903 Ports: 3 quirks:00000006
    [    1.200815] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.207949] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.214527] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:500000000, add_val:1 pps:0
    [    1.228008] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.238383] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    1.250853] mmc2: CQHCI version 5.10
    [    1.250862] mmc1: CQHCI version 5.10
    [    1.258455] 2810000.serial: ttyS0 at MMIO 0x2810000 (irq = 443, base_baud = 3000000) is a 8250
    [    1.268512] 2860000.serial: ttyS3 at MMIO 0x2860000 (irq = 444, base_baud = 3000000) is a 8250
    [    1.278392] debugfs: Directory 'pd:244' with parent 'pm_genpd' already present!
    [    1.287108] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.294440] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.296814] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.298273] mmc2: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.302877] clk: Disabling unused clocks
    [    1.324991] ALSA device list:
    [    1.327956]   No soundcards found.
    [    1.331699] Waiting for root device PARTUUID=076c4a2a-02...
    [    1.356582] mmc1: new ultra high speed SDR104 SDHC card at address 5048
    [    1.363782] mmcblk1: mmc1:5048 SD32G 29.7 GiB
    [    1.370223]  mmcblk1: p1 p2
    [    1.398527] mmc2: Command Queue Engine enabled
    [    1.403032] mmc2: new HS400 MMC card at address 0001
    [    1.408674] mmcblk2: mmc2:0001 G1M15L 29.6 GiB
    [    1.414357]  mmcblk2: p1 p2
    [    1.417726] mmcblk2boot0: mmc2:0001 G1M15L 31.5 MiB
    [    1.423587] mmcblk2boot1: mmc2:0001 G1M15L 31.5 MiB
    [    1.429405] mmcblk2rpmb: mmc2:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    1.523123] EXT4-fs (mmcblk1p2): recovery complete
    [    1.528931] EXT4-fs (mmcblk1p2): mounted filesystem ec16c286-8676-4a33-8ef1-7465f3c64905 r/w with ordered data mode. Quota mode: none.
    [    1.541103] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.547925] devtmpfs: mounted
    [    1.551538] Freeing unused kernel memory: 2432K
    [    1.556141] Run /sbin/init as init process
    [    1.751060] systemd[1]: System time before build time, advancing clock.
    [    1.790998] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    1.822849] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    1.843360] systemd[1]: Hostname set to <am62pxx-evm>.
    [    2.049340] systemd[1]: Configuration file /usr/lib/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.082868] systemd[1]: Configuration file /usr/lib/systemd/system/seva-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.128367] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.137293] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.175242] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.288462] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.364393] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.398193] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    2.423054] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    2.447013] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    2.470514] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.493232] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    2.517121] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    2.540968] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    2.557023] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    2.572925] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    2.592887] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    2.608910] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    2.654029] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    2.677105] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    2.703825] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    2.725339] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    2.749986] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    2.773548] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    2.797593] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    2.813747] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    2.842598] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    2.865495] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    2.885503] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    2.933203] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    2.952855] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    2.981005] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    2.997439] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.015400] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.037407] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.32-ga5a0d48257ca-dirty/modules.devname).
    [    3.058629] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.081456] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.101404] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.121855] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    3.157578] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.173341] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.193413] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.222387] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.241910] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    3.269711] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.290426] systemd-journald[108]: Collecting audit messages is enabled.
    [    3.319098] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
             Starting Create Static Device Nodes in /dev gracefully...
    [    3.353744] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    3.377575] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.382627] EXT4-fs (mmcblk1p2): re-mounted ec16c286-8676-4a33-8ef1-7465f3c64905 r/w. Quota mode: none.
    [    3.399157] 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  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Start psplas…temd progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    3.809200] systemd-journald[108]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    3.999434] audit: type=1334 audit(1709054766.244:2): prog-id=6 op=LOAD
    [    4.006152] audit: type=1334 audit(1709054766.252: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 Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
    [    4.191174] audit: type=1334 audit(1709054766.436:4): prog-id=8 op=LOAD
             Starting Network Name Resolution...
    [    4.228755] audit: type=1334 audit(1709054766.472:5): prog-id=9 op=LOAD
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [    4.371393] audit: type=1334 audit(1709054766.616:6): prog-id=10 op=LOAD
             Starting User Database Manager...
    [    4.385710] audit: type=1334 audit(1709054766.624:7): prog-id=11 op=LOAD
    [    4.404868] audit: type=1334 audit(1709054766.624:8): prog-id=12 op=LOAD
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [    4.960835] random: crng init done
    [  OK  ] Finished Load/Save OS Random Seed.
    [  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.
             Starting Weston socket...
    [    5.347127] audit: type=1334 audit(1725674185.045: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.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [    5.562085] dbus-broker-lau[398]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting PulseAudio Sound System...
             Starting Expand the rootfs partiti…to full size of the boot device....
    [  OK  ] Started Seva Launcher Service.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [    5.840055] audit: type=1334 audit(1725674185.537:10): prog-id=14 op=LOAD
    [    5.848684] audit: type=1334 audit(1725674185.545:11): prog-id=15 op=LOAD
             Starting User Login Management...
    [    5.859525] audit: type=1334 audit(1725674185.545:12): prog-id=16 op=LOAD
             Starting Telnet Server...
    [  OK  ] Started ti-apps-launcher service.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Created slice Slice /system/systemd-fsck.
             Expecting device /dev/mmcblk1p1    6.026171] audit: type=1334 audit(1725674185.725:13): prog-id=17 op=LOAD
    0m...
             Expecting device /dev/mmcblk2p1...
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
             Starting Virtual Console Setup...
    [  OK  ] Found device /dev/mmcblk2p1.
             Starting File System Check on /dev/mmcblk2p1...
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started User Login Management.
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [  OK  ] Finished File System Check on /dev/mmcblk2p1.
             Mounting /run/media/mmcblk2p1...
    [  OK  ] Mounted /run/media/mmcblk2p1.
    [  OK  ] Finished Virtual Console Setup.
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [    6.689389] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    6.698873] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished File System Check on /dev/[    6.728075] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    mmcblk1p1.
    [    6.740675] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started PulseAudio Sound System.
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland compositor, as a system service...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [    7.563240] audit: type=1006 audit(1725674187.261:14): pid=565 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    7.576010] audit: type=1300 audit(1725674187.261:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe7b9ddc8 a2=4 a3=1 items=0 ppid=1 pid=565 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    7.602848] audit: type=1327 audit(1725674187.261:14): proctitle="(systemd)"
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User weston    8.409930] audit: type=1006 audit(1725674188.109:15): pid=555 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    0m.
    [    8.423857] audit: type=1300 audit(1725674188.109:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff8917988 a2=4 a3=1 items=0 ppid=1 pid=555 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    8.450803] audit: type=1327 audit(1725674188.109:15): proctitle="(weston)"
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland compositor, as a system service...
    [  OK  ] Started Session c2 of User weston.
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland compositor, as a system service...
    [  OK  ] Started Session c3 of User weston.
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland compositor, as a system service...
    [  OK  ] Started Session c4 of User weston.
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland compositor, as a system service...
    [  OK  ] Started Session c5 of User weston.
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Created slice Slice /system/systemd-coredump.
    [  OK  ] Started Process Core Dump (PID 616/UID 0).
    [   10.775059] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    ***************************************************************[   11.143597] kauditd_printk_skb: 16 callbacks suppressed
    
    **************************************************************[   11.143611] audit: type=1334 audit(1725674190.841:24): prog-id=21 op=LOAD
    *
    NOTICE: This file system contains the following GPL-3.0 packa[   11.162708] audit: type=1334 audit(1725674190.849:25): prog-id=22 op=LOAD
    ges:
    	adwaita-icon-theme-symbolic
    	autoconf
    	bash-dev
    	bash[   11.174215] audit: type=1334 audit(1725674190.861:26): prog-id=23 op=LOAD
    
    	bc
    	binutils
    	cifs-utils
    	coreutils-stdbuf
    	coreutils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	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
    	libgmp10
    	libidn2-0
    	libmpc3
    	libmpfr6
    	libopcodes
    	libqt5charts-examples
    	libqt5charts-plugins
    	libqt5charts-qmlplugins
    	libqt5charts5
    	libqt5serialport-examples
    	libqt5serialport-plugins
    	libqt5serialport-qmlplugins
    	libqt5serialport5
    	libqt5svg-examples
    	libqt5svg-plugins
    	libqt5svg-qmlplugins
    	libqt5svg5
    	libqt5virtualkeyboard-plugins
    	libqt5virtualkeyboard-qmlplugins
    	libqt5virtualkeyboard5
    	libreadline-dev
    	libreadline8
    	libstdc++-dev
    	libstdc++6
    	libunistring5
    	m4
    	make
    	nettle
    	parted
    	piglit
    	qt3d-plugins
    	qt3d-qmlplugins
    	qt3d
    	qtbase-examples
    	qtbase-plugins
    	qtbase-qmlplugins
    	qtbase
    	qtconnectivity-plugins
    	qtconnectivity-qmlplugins
    	qtconnectivity
    	qtdeclarative-plugins
    	qtdeclarative-qmlplugins
    	qtdeclarative-tools
    	qtdeclarative
    	qtgraphicaleffects-qmlplugins
    	qtlocation-examples
    	qtlocation-plugins
    	qtlocation-qmlplugins
    	qtlocation
    	qtmultimedia-examples
    	qtmultimedia-plugins
    	qtmultimedia-qmlplugins
    	qtmultimedia
    	qtquick3d-plugins
    	qtquick3d-qmlplugins
    	qtquick3d
    	qtquics-qmlplugins.control
    	qtquics2-plugins.control
    	qtquics2-qmlplugins.control
    	qtquics2.control
    	qtscript-examples
    	qtscript-plugins
    	qtscript-qmlplugins
    	qtscript
    	qtwayland-examples
    	qtwayland-plugins
    	qtwayland-qmlplugins
    	qtwayland
    	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
    ***************************************************************
    ***************************************************************
             Starting Hostname Service...
    [   11.413986] platform 2b300050.target-module: deferred probe pending
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [   17.296916] audit: type=1334 audit(1725674196.997:27): prog-id=20 op=UNLOAD
    [   17.303991] audit: type=1334 audit(1725674196.997:28): prog-id=19 op=UNLOAD
    [   17.310970] audit: type=1334 audit(1725674196.997:29): prog-id=18 op=UNLOAD
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62pxx-evm ttyS2
    
    Arago 2023.10 am62pxx-evm ttyS2
    
    am62pxx-evm login: root
    [   21.318953] audit: type=1006 audit(1725674201.017:30): pid=993 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=7 res=1
    [   21.331420] audit: type=1300 audit(1725674201.017:30): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd60f7348 a2=1 a3=1 items=0 ppid=1 pid=993 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   21.357942] audit: type=1327 audit(1725674201.017:30): proctitle="(systemd)"
    [   21.365030] audit: type=1334 audit(1725674201.029:31): prog-id=24 op=LOAD
    [   21.371865] audit: type=1300 audit(1725674201.029:31): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc6a06f88 a2=90 a3=0 items=0 ppid=1 pid=993 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   21.397640] audit: type=1327 audit(1725674201.029:31): proctitle="(systemd)"
    [   21.404787] audit: type=1334 audit(1725674201.057:32): prog-id=24 op=UNLOAD
    root@am62pxx-evm:~# [   43.097143] kauditd_printk_skb: 8 callbacks suppressed
    [   43.097156] audit: type=1334 audit(1725674353.474:35): prog-id=23 op=UNLOAD
    [   43.109387] audit: type=1334 audit(1725674353.474:36): prog-id=22 op=UNLOAD
    [   43.116365] audit: type=1334 audit(1725674353.474:37): prog-id=21 op=UNLOAD
    
    root@am62pxx-evm:~# cat/proc/tty/driver/serial 
    serinfo:1.0 driver revision:
    0: uart:8250 mmio:0x02810000 irq:443 tx:0 rx:0
    1: uart:unknown port:00000000 irq:0
    2: uart:8250 mmio:0x02800000 irq:250 tx:16983 rx:37 RTS|DTR|DSR
    3: uart:8250 mmio:0x02860000 irq:444 tx:0 rx:0 DSR
    4: uart:8250 mmio:0x04A00000 irq:249 tx:0 rx:0 DSR
    5: uart:unknown port:00000000 irq:0
    6: uart:unknown port:00000000 irq:0
    7: uart:unknown port:00000000 irq:0
    8: uart:unknown port:00000000 irq:0
    9: uart:unknown port:00000000 irq:0
    10: uart:unknown port:00000000 irq:0
    11: uart:unknown port:00000000 irq:0
    root@am62pxx-evm:~# 

    dmesg

     root@am62pxx-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-ga5a0d48257ca-dirty (tisdk@b55d2a860d3c) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Fri Sep  6 00:40:21 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM62P5 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma': size 576 MiB
    [    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b500000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node rtos-ipc-memory@9b500000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b500000..0x000000009b7fffff (3072 KiB) nomap non-reusable rtos-ipc-memory@9b500000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node mcu-r5fss-dma-memory-region@9b800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b800000..0x000000009b8fffff (1024 KiB) nomap non-reusable mcu-r5fss-dma-memory-region@9b800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node mcu-r5fss-memory-region@9b900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b900000..0x000000009c7fffff (15360 KiB) nomap non-reusable mcu-r5fss-memory-region@9b900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009c8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c900000..0x000000009e6fffff (30720 KiB) nomap non-reusable r5f-memory@9c900000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] OF: reserved mem: 0x00000000bf700000..0x00000000bfffffff (9216 KiB) nomap non-reusable framebuffer@bf700000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
    [    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-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x000000009b4fffff]
    [    0.000000]   node   0: [mem 0x000000009b500000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000bf6fffff]
    [    0.000000]   node   0: [mem 0x00000000bf700000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000bc400000 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: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    0.000000] pcpu-alloc: s42920 r8192 d30808 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    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=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000b8300000-0x00000000bc300000] (64MB)
    [    0.000000] Memory: 823200K/1048576K available (11968K kernel code, 1250K rwdata, 4032K rodata, 2432K init, 502K bss, 192608K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 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: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @80c00000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080440000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080450000
    [    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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008517] Console: colour dummy device 80x25
    [    0.013099] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023771] pid_max: default: 32768 minimum: 301
    [    0.028568] LSM: initializing lsm=capability,integrity
    [    0.033911] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.041474] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.051142] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058444] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.066354] rcu: Hierarchical SRCU implementation.
    [    0.071254] rcu: 	Max phase no-delay instances is 1000.
    [    0.076842] Platform MSI: msi-controller@1820000 domain created
    [    0.083076] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092444] EFI services will not be available.
    [    0.097318] smp: Bringing up secondary CPUs ...
    [    0.102528] Detected VIPT I-cache on CPU1
    [    0.102597] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.102613] GICv3: CPU1: using allocated LPI pending table @0x0000000080460000
    [    0.102661] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.103329] Detected VIPT I-cache on CPU2
    [    0.103385] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.103399] GICv3: CPU2: using allocated LPI pending table @0x0000000080470000
    [    0.103432] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.104016] Detected VIPT I-cache on CPU3
    [    0.104065] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.104078] GICv3: CPU3: using allocated LPI pending table @0x0000000080480000
    [    0.104106] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.104184] smp: Brought up 1 node, 4 CPUs
    [    0.183835] SMP: Total of 4 processors activated.
    [    0.188644] CPU features: detected: 32-bit EL0 Support
    [    0.193912] CPU features: detected: CRC32 instructions
    [    0.199221] CPU: All CPU(s) started at EL2
    [    0.203415] alternatives: applying system-wide alternatives
    [    0.210519] devtmpfs: initialized
    [    0.221169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.231170] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.239238] pinctrl core: initialized pinctrl subsystem
    [    0.245092] DMI not present or invalid.
    [    0.249629] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.256542] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.263843] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.271831] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.279999] audit: initializing netlink subsys (disabled)
    [    0.285699] audit: type=2000 audit(0.176:1): state=initialized audit_enabled=0 res=1
    [    0.286123] thermal_sys: Registered thermal governor 'step_wise'
    [    0.293627] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.299801] cpuidle: using governor menu
    [    0.310627] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.317638] ASID allocator initialised with 65536 entries
    [    0.335581] Modules: 27680 pages in range for non-PLT usage
    [    0.335597] Modules: 519200 pages in range for PLT usage
    [    0.342012] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.354402] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.360804] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.367736] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.374137] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.381068] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.387470] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.394401] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.402144] k3-chipinfo 43000014.chipid: Family:AM62PX rev:SR1.0 JTAGID[0x0bb9d02f] Detected
    [    0.411334] iommu: Default domain type: Translated
    [    0.416254] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.422834] SCSI subsystem initialized
    [    0.426794] libata version 3.00 loaded.
    [    0.426959] usbcore: registered new interface driver usbfs
    [    0.432595] usbcore: registered new interface driver hub
    [    0.438052] usbcore: registered new device driver usb
    [    0.443558] pps_core: LinuxPPS API ver. 1 registered
    [    0.448631] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.457971] PTP clock support registered
    [    0.462116] EDAC MC: Ver: 3.0.0
    [    0.465766] scmi_core: SCMI protocol bus registered
    [    0.471024] FPGA manager framework
    [    0.474576] Advanced Linux Sound Architecture Driver Initialized.
    [    0.481706] vgaarb: loaded
    [    0.484772] clocksource: Switched to clocksource arch_sys_counter
    [    0.491243] VFS: Disk quotas dquot_6.6.0
    [    0.495295] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.508602] NET: Registered PF_INET protocol family
    [    0.513758] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.522244] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.530841] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.538769] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.546737] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.554331] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.560932] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.567734] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.575082] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.581273] RPC: Registered named UNIX socket transport module.
    [    0.587339] RPC: Registered udp transport module.
    [    0.592145] RPC: Registered tcp transport module.
    [    0.596948] RPC: Registered tcp-with-tls transport module.
    [    0.602551] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.609133] NET: Registered PF_XDP protocol family
    [    0.614040] PCI: CLS 0 bytes, default 64
    [    0.619363] Initialise system trusted keyrings
    [    0.624118] workingset: timestamp_bits=46 max_order=18 bucket_order=0
    [    0.631014] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.637244] NFS: Registering the id_resolver key type
    [    0.642462] Key type id_resolver registered
    [    0.646737] Key type id_legacy registered
    [    0.650851] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.657700] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.698925] Key type asymmetric registered
    [    0.703115] Asymmetric key parser 'x509' registered
    [    0.708145] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.715703] io scheduler mq-deadline registered
    [    0.720332] io scheduler kyber registered
    [    0.724454] io scheduler bfq registered
    [    0.731302] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.737919] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.749810] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.766270] loop: module loaded
    [    0.770462] megasas: 07.725.01.00-rc1
    [    0.777646] tun: Universal TUN/TAP device driver, 1.6
    [    0.783719] VFIO - User Level meta-driver version: 0.3
    [    0.789918] usbcore: registered new interface driver usb-storage
    [    0.796584] i2c_dev: i2c /dev entries driver
    [    0.802399] sdhci: Secure Digital Host Controller Interface driver
    [    0.808744] sdhci: Copyright(c) Pierre Ossman
    [    0.813383] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.819727] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.826162] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.833442] usbcore: registered new interface driver usbhid
    [    0.839141] usbhid: USB HID core driver
    [    0.843371] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.850201] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.856929] omap-mailbox 29020000.mailbox: no available mbox devices found
    [    0.863989] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.872218] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.881090] optee: probing for conduit method.
    [    0.885656] optee: revision 4.2 (12d7c4ee)
    [    0.885948] optee: dynamic shared memory is enabled
    [    0.895364] optee: initialized driver
    [    0.900485] NET: Registered PF_PACKET protocol family
    [    0.905762] Key type dns_resolver registered
    [    0.917745] registered taskstats version 1
    [    0.922157] Loading compiled-in X.509 certificates
    [    0.939122] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.984930] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.993246] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.002452] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.011407] ti-sci-inta 4e400000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.020966] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.029650] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.040674] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.051641] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.061186] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.067827] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.077635] 4a00000.serial: ttyS4 at MMIO 0x4a00000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.087744] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 250, base_baud = 3000000) is a 8250
    [    1.096649] printk: console [ttyS2] enabled
    [    1.105111] printk: bootconsole [ns16550a0] disabled
    [    1.156782] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
    [    1.171699] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.179815] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.187941] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01903, cpsw version 0x6BA81903 Ports: 3 quirks:00000006
    [    1.200815] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.207949] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.214527] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:500000000, add_val:1 pps:0
    [    1.228008] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.238383] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    1.250853] mmc2: CQHCI version 5.10
    [    1.250862] mmc1: CQHCI version 5.10
    [    1.258455] 2810000.serial: ttyS0 at MMIO 0x2810000 (irq = 443, base_baud = 3000000) is a 8250
    [    1.268512] 2860000.serial: ttyS3 at MMIO 0x2860000 (irq = 444, base_baud = 3000000) is a 8250
    [    1.278392] debugfs: Directory 'pd:244' with parent 'pm_genpd' already present!
    [    1.287108] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.294440] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.296814] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.298273] mmc2: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.302877] clk: Disabling unused clocks
    [    1.324991] ALSA device list:
    [    1.327956]   No soundcards found.
    [    1.331699] Waiting for root device PARTUUID=076c4a2a-02...
    [    1.356582] mmc1: new ultra high speed SDR104 SDHC card at address 5048
    [    1.363782] mmcblk1: mmc1:5048 SD32G 29.7 GiB
    [    1.370223]  mmcblk1: p1 p2
    [    1.398527] mmc2: Command Queue Engine enabled
    [    1.403032] mmc2: new HS400 MMC card at address 0001
    [    1.408674] mmcblk2: mmc2:0001 G1M15L 29.6 GiB
    [    1.414357]  mmcblk2: p1 p2
    [    1.417726] mmcblk2boot0: mmc2:0001 G1M15L 31.5 MiB
    [    1.423587] mmcblk2boot1: mmc2:0001 G1M15L 31.5 MiB
    [    1.429405] mmcblk2rpmb: mmc2:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    1.523123] EXT4-fs (mmcblk1p2): recovery complete
    [    1.528931] EXT4-fs (mmcblk1p2): mounted filesystem ec16c286-8676-4a33-8ef1-7465f3c64905 r/w with ordered data mode. Quota mode: none.
    [    1.541103] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.547925] devtmpfs: mounted
    [    1.551538] Freeing unused kernel memory: 2432K
    [    1.556141] Run /sbin/init as init process
    [    1.560232]   with arguments:
    [    1.560235]     /sbin/init
    [    1.560238]   with environment:
    [    1.560241]     HOME=/
    [    1.560244]     TERM=linux
    [    1.751060] systemd[1]: System time before build time, advancing clock.
    [    1.790998] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    1.822849] systemd[1]: Detected architecture arm64.
    [    1.843360] systemd[1]: Hostname set to <am62pxx-evm>.
    [    2.049340] systemd[1]: Configuration file /usr/lib/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.082868] systemd[1]: Configuration file /usr/lib/systemd/system/seva-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.128367] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.137293] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.175242] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.288462] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.364393] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.398193] systemd[1]: Created slice Slice /system/getty.
    [    2.423054] systemd[1]: Created slice Slice /system/modprobe.
    [    2.447013] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.470514] systemd[1]: Created slice User and Session Slice.
    [    2.493232] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.517121] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.540968] systemd[1]: Expecting device /dev/ttyS2...
    [    2.557023] systemd[1]: Reached target Path Units.
    [    2.572925] systemd[1]: Reached target Remote File Systems.
    [    2.592887] systemd[1]: Reached target Slice Units.
    [    2.608910] systemd[1]: Reached target Swaps.
    [    2.654029] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    2.677105] systemd[1]: Reached target RPC Port Mapper.
    [    2.703825] systemd[1]: Listening on Process Core Dump Socket.
    [    2.725339] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.749986] systemd[1]: Listening on Journal Audit Socket.
    [    2.773548] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.797593] systemd[1]: Listening on Journal Socket.
    [    2.813747] systemd[1]: Listening on Network Service Netlink Socket.
    [    2.842598] systemd[1]: Listening on udev Control Socket.
    [    2.865495] systemd[1]: Listening on udev Kernel Socket.
    [    2.885503] systemd[1]: Listening on User Database Manager Socket.
    [    2.933203] systemd[1]: Mounting Huge Pages File System...
    [    2.952855] systemd[1]: Mounting POSIX Message Queue File System...
    [    2.981005] systemd[1]: Mounting Kernel Debug File System...
    [    2.997439] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.015400] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.037407] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.32-ga5a0d48257ca-dirty/modules.devname).
    [    3.058629] systemd[1]: Starting Load Kernel Module configfs...
    [    3.081456] systemd[1]: Starting Load Kernel Module drm...
    [    3.101404] systemd[1]: Starting Load Kernel Module fuse...
    [    3.121855] systemd[1]: Starting Start psplash boot splash screen...
    [    3.157578] systemd[1]: Starting RPC Bind...
    [    3.173341] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.193413] systemd[1]: Starting Journal Service...
    [    3.222387] systemd[1]: Starting Load Kernel Modules...
    [    3.241910] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.269711] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.290426] systemd-journald[108]: Collecting audit messages is enabled.
    [    3.319098] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
    [    3.353744] systemd[1]: Starting Coldplug All udev Devices...
    [    3.377575] systemd[1]: Started RPC Bind.
    [    3.382627] EXT4-fs (mmcblk1p2): re-mounted ec16c286-8676-4a33-8ef1-7465f3c64905 r/w. Quota mode: none.
    [    3.399157] systemd[1]: Started Journal Service.
    [    3.809200] systemd-journald[108]: Received client request to flush runtime journal.
    [    3.999434] audit: type=1334 audit(1709054766.244:2): prog-id=6 op=LOAD
    [    4.006152] audit: type=1334 audit(1709054766.252:3): prog-id=7 op=LOAD
    [    4.191174] audit: type=1334 audit(1709054766.436:4): prog-id=8 op=LOAD
    [    4.228755] audit: type=1334 audit(1709054766.472:5): prog-id=9 op=LOAD
    [    4.371393] audit: type=1334 audit(1709054766.616:6): prog-id=10 op=LOAD
    [    4.385710] audit: type=1334 audit(1709054766.624:7): prog-id=11 op=LOAD
    [    4.404868] audit: type=1334 audit(1709054766.624:8): prog-id=12 op=LOAD
    [    4.960835] random: crng init done
    [    5.347127] audit: type=1334 audit(1725674185.045:9): prog-id=13 op=LOAD
    [    5.562085] dbus-broker-lau[398]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    5.840055] audit: type=1334 audit(1725674185.537:10): prog-id=14 op=LOAD
    [    5.848684] audit: type=1334 audit(1725674185.545:11): prog-id=15 op=LOAD
    [    5.859525] audit: type=1334 audit(1725674185.545:12): prog-id=16 op=LOAD
    [    6.026171] audit: type=1334 audit(1725674185.725:13): prog-id=17 op=LOAD
    [    6.689389] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    6.698873] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    6.728075] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [    6.740675] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    7.563240] audit: type=1006 audit(1725674187.261:14): pid=565 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    7.576010] audit: type=1300 audit(1725674187.261:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe7b9ddc8 a2=4 a3=1 items=0 ppid=1 pid=565 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    7.602848] audit: type=1327 audit(1725674187.261:14): proctitle="(systemd)"
    [    8.409930] audit: type=1006 audit(1725674188.109:15): pid=555 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [    8.423857] audit: type=1300 audit(1725674188.109:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff8917988 a2=4 a3=1 items=0 ppid=1 pid=555 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    8.450803] audit: type=1327 audit(1725674188.109:15): proctitle="(weston)"
    [   10.775059] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   11.143597] kauditd_printk_skb: 16 callbacks suppressed
    [   11.143611] audit: type=1334 audit(1725674190.841:24): prog-id=21 op=LOAD
    [   11.162708] audit: type=1334 audit(1725674190.849:25): prog-id=22 op=LOAD
    [   11.174215] audit: type=1334 audit(1725674190.861:26): prog-id=23 op=LOAD
    [   11.413986] platform 2b300050.target-module: deferred probe pending
    [   17.296916] audit: type=1334 audit(1725674196.997:27): prog-id=20 op=UNLOAD
    [   17.303991] audit: type=1334 audit(1725674196.997:28): prog-id=19 op=UNLOAD
    [   17.310970] audit: type=1334 audit(1725674196.997:29): prog-id=18 op=UNLOAD
    [   21.318953] audit: type=1006 audit(1725674201.017:30): pid=993 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=7 res=1
    [   21.331420] audit: type=1300 audit(1725674201.017:30): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd60f7348 a2=1 a3=1 items=0 ppid=1 pid=993 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   21.357942] audit: type=1327 audit(1725674201.017:30): proctitle="(systemd)"
    [   21.365030] audit: type=1334 audit(1725674201.029:31): prog-id=24 op=LOAD
    [   21.371865] audit: type=1300 audit(1725674201.029:31): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc6a06f88 a2=90 a3=0 items=0 ppid=1 pid=993 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   21.397640] audit: type=1327 audit(1725674201.029:31): proctitle="(systemd)"
    [   21.404787] audit: type=1334 audit(1725674201.057:32): prog-id=24 op=UNLOAD
    [   43.097143] kauditd_printk_skb: 8 callbacks suppressed
    [   43.097156] audit: type=1334 audit(1725674353.474:35): prog-id=23 op=UNLOAD
    [   43.109387] audit: type=1334 audit(1725674353.474:36): prog-id=22 op=UNLOAD
    [   43.116365] audit: type=1334 audit(1725674353.474:37): prog-id=21 op=UNLOAD
    root@am62pxx-evm:~# 

  • Hi Bin,

    This is a bit odd. The same modification doesn't cause any issues when applied to the full Yocto build.

    My Yocto env was created by the following command

    $ git clone https://git.ti.com/git/arago-project/oe-layersetup.git ${tmp_folder} && cd ${tmp_folder}
    $ git checkout 8c2145fdb5c2d1196468350dcd6c54c72935459a
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-scarthgap-chromium-10.00.07.04-config.txt

    I updated the kernel from the "makefile SDK" using the following commands. Is there anything wrong with this process?

    MYSD="/dev/sda"
    rm -rf rootfs
    make linux_clean
    make linux
    make linux_stage
    mkdir rootfs && \
    sudo mount ${MYSD}2 rootfs && \
    sudo DESTDIR=rootfs make linux_install && sync && \
    sudo umount rootfs && rm -r rootfs

  • Hi YuYuan,

    The kernel boot log doesn't show the wkup_uart related messages.

    dev@ula:tmp$ grep 'serial: ttyS' 20240907.log 
    [    1.077635] 4a00000.serial: ttyS4 at MMIO 0x4a00000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.087744] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 250, base_baud = 3000000) is a 8250
    [    1.258455] 2810000.serial: ttyS0 at MMIO 0x2810000 (irq = 443, base_baud = 3000000) is a 8250
    [    1.268512] 2860000.serial: ttyS3 at MMIO 0x2860000 (irq = 444, base_baud = 3000000) is a 8250

    Then I checked the kernel devicetree which you posted on last Friday, it doesn't show wkup_uart0 is enabled.

  • Hi Bin,

    Does this not indicate that wkup_uart0 is enabled? If not, could you guide me on how to enable it?

    Thanks!

  • Hi YuYuan,

    Yes, it should be enabled based on this devicetree settings. I missed it earlier when searching for it.

    What is the output of the following command on your board?

    # zcat /proc/config.gz |grep UARTS

  • Please attach the kernel dtb file from your SD card. I'd like to review it.

  • Hi Bin,

    Thanks!

    I copied the file from my SD-Card: rootfs/boot/dtb/ti/k3-am62p5-sk.dtb

    I've uploaded it to my onedrive sd_card

  • Hi YuYuan,

    Thanks for providing the dtb file, it doesn't seem to have anything wrong either.

    Now I am not sure what else could cause the wkup uart not enabled during kernel boot. I will have to test this on my SK-AM62P EVM tomorrow.

  • Hi Bin,

    Thanks! 

    I’ve also uploaded the U-Boot & Kernel DTS and U-Boot patch.  sd_card

    $ tree
    .
    ├── kernel
    │   └── k3-am62p5-sk.dts
    └── u-boot
        ├── k3-am62p5-sk.dts
        └── u-boot-2024.04-ram-usage-fixed.patch

  • Hi YuYuan,

    Okay here is the problem - your wkup uart device tree used rts-gpios, which points to a gpio pin in the mcu gpio module. However the mcu gpio module is disabled in device tree by default. This causes kernel failed to enable the wkup uart.

    Please apply the following kernel device tree patch to enable the mcu gpio module.

    diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    index 4f8557d3e8b1..9105a0c90bd1 100644
    --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    @@ -822,17 +823,21 @@ &mcu_gpio0 {
    -       status = "reserved";
    +       status = "okay";
     };
     
     &mcu_gpio_intr {
    -       status = "reserved";
    +       status = "okay";
     };
    

  • Hi Bin,

    I tried your solution, but it did not work.

    If you look at my DTS, I had already commented out those lines before.

  • Hi YuYuan,

    For debugging, can you please try to remove the following line from the &wkup_uart0 node in the kernel device tree to see if kernel can initialize the wkup uart?

        rts-gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;

  • Hi Bin,

    I removed the rts-gpio, but the result is still the same.

  • Please attach the kernel log with the rts-gpios removed.

  • Hi Bin, I've attached to the shared folder   sd_card

    * 0913.log - all logs for boot

    * 0913_dmesg.log - dmesg log

  • Hi YuYuan,

    I copied your kernel dtb k3-am62p5-sk.dtb that you uploaded 6 days ago to my SDK10.0 SD card,, and booted on my SK-AM62P evm, I can see the wkup uart is initialized.

    root@am62pxx-evm:~# dmesg|grep ttyS
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=dc89dda9-02 rw rootfstype=ext
    4 rootwait
    [    1.104256] 4a00000.serial: ttyS4 at MMIO 0x4a00000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.114445] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 250, base_baud = 3000000) is a 8250
    [    1.123346] printk: console [ttyS2] enabled
    [    1.290735] 2810000.serial: ttyS0 at MMIO 0x2810000 (irq = 443, base_baud = 3000000) is a 8250
    [    1.300659] 2860000.serial: ttyS3 at MMIO 0x2860000 (irq = 444, base_baud = 3000000) is a 8250
    [    2.550847] systemd[1]: Expecting device /dev/ttyS2...
    [    5.659752] 2b300000.serial: ttyS1 at MMIO 0x2b300000 (irq = 448, base_baud = 3000000) is a 8250
    root@am62pxx-evm:~# cat /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:8250 mmio:0x02810000 irq:443 tx:0 rx:0
    1: uart:8250 mmio:0x2B300000 irq:448 tx:0 rx:0 DSR
    2: uart:8250 mmio:0x02800000 irq:250 tx:12616 rx:63 RTS|DTR|DSR
    3: uart:8250 mmio:0x02860000 irq:444 tx:0 rx:0 DSR
    4: uart:8250 mmio:0x04A00000 irq:249 tx:0 rx:0 DSR
    5: uart:unknown port:00000000 irq:0
    6: uart:unknown port:00000000 irq:0
    7: uart:unknown port:00000000 irq:0
    8: uart:unknown port:00000000 irq:0
    9: uart:unknown port:00000000 irq:0
    10: uart:unknown port:00000000 irq:0
    11: uart:unknown port:00000000 irq:0

  • This is really strange. When I build the entire image using Yocto, everything works fine. However, this issue occurs when I use the legacy SDK(Makefile) to update only the kernel and U-Boot.

  • Please show the details (command & logs) about how exactly you did in using the SDK Makefile to update the kernel and U-Boot.