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.

AM625: AM625 CAN Device Not Recognized

Part Number: AM625
Other Parts Discussed in Thread: ISOW1044, SYSCONFIG

Tool/software:

Hi, 

I’m working on a new board using the AM625, which has a built-in CAN interface. However, I’m having trouble getting the device recognized by the system.

  • I’m using the CAN device ISOW1044.
  • The TXD of the ISOW1044 is connected to MCU_MCAN1_TX, and the RXD is connected to MCU_MCAN1_RX.
  • I created the device tree file using sysconfig(SysConfig (ti.com)) and added the relevant entries to the k3-am625-lp.dts file.
  • I compiled the bts file following the instructions from Processor SDK Linux for AM62x 10_00_07_04.(3.2.1. Users Guide — Processor SDK AM62x Documentation
  • I moved the generated dtb file to /root/boot/dtb/ti on the SD card.
  • In U-Boot, I set env name_overlays ti/k3-am625-lp.dtb boot to overlay the dtb file.
  • After booting Linux, I checked /dev, but no CAN communication device was found.

Despite these efforts, the CAN device is still not recognized, and I’m stuck. Below is the device tree source code I created using sysconfig, and I’ve also provided the final xxx file.

I hope someone can help spot the issue or give me advice.

I would really appreciate any help or guidance on what I might be doing wrong.

Thanks in advance for your assistance!

  • I am attaching the device tree file and the Linux boot log.

    // SPDX-License-Identifier: GPL-2.0
    /*
     * AM625 SK: https://www.ti.com/lit/zip/sprr448
     *
     * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /dts-v1/;
    
    #include "k3-am62x-sk-common.dtsi"
    
    / {
    	compatible = "ti,am625-sk", "ti,am625";
    	model = "Texas Instruments AM625 SK";
    
    	opp-table {
    		/* Add 1.4GHz OPP for am625-sk board. Requires VDD_CORE to be at 0.85V */
    		opp-1400000000 {
    			opp-hz = /bits/ 64 <1400000000>;
    			opp-supported-hw = <0x01 0x0004>;
    			clock-latency-ns = <6000000>;
    		};
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		/* 2G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
    
    	};
    
    	vmain_pd: regulator-0 {
    		/* TPS65988 PD CONTROLLER OUTPUT */
    		bootph-all;
    		compatible = "regulator-fixed";
    		regulator-name = "vmain_pd";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vcc_5v0: regulator-1 {
    		/* Output of LM34936 */
    		bootph-all;
    		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;
    	};
    
    	vcc_3v3_sys: regulator-2 {
    		/* output of LM61460-Q1 */
    		bootph-all;
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_3v3_sys";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vmain_pd>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vdd_mmc1: regulator-3 {
    		/* TPS22918DBVR */
    		bootph-all;
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		enable-active-high;
    		vin-supply = <&vcc_3v3_sys>;
    		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
    	};
    
    	vdd_sd_dv: regulator-4 {
    		/* Output of TLV71033 */
    		bootph-all;
    		compatible = "regulator-gpio";
    		regulator-name = "tlv71033";
    		pinctrl-names = "default";
    		pinctrl-0 = <&vdd_sd_dv_pins_default>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		vin-supply = <&vcc_5v0>;
    		gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0>,
    			 <3300000 0x1>;
    	};
    
    	vcc_1v8: regulator-5 {
    		/* output of TPS6282518DMQ */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_1v8";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		vin-supply = <&vcc_3v3_sys>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    	
    	transceiver2: can-phy1 {
    		compatible = "ti,tcan1042";
    		#phy-cells = <0>;
    		max-bitrate = <5000000>;
    	};
    
    	transceiver3: can-phy2 {
    		compatible = "ti,tcan1042";
    		#phy-cells = <0>;
    		max-bitrate = <5000000>;
    	};
    };
    
    &main_pmx0 {
    	main_rgmii2_pins_default: main-rgmii2-default-pins {
    		bootph-all;
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */
    			AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */
    			AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */
    			AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */
    			AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */
    			AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */
    			AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */
    			AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */
    			AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */
    			AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */
    			AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */
    			AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */
    		>;
    	};
    
    	ospi0_pins_default: ospi0-default-pins {
    		bootph-all;
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */
    			AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */
    			AM62X_IOPAD(0x00c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */
    			AM62X_IOPAD(0x010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */
    			AM62X_IOPAD(0x014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */
    			AM62X_IOPAD(0x018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */
    			AM62X_IOPAD(0x01c, PIN_INPUT, 0) /* (J23) OSPI0_D4 */
    			AM62X_IOPAD(0x020, PIN_INPUT, 0) /* (J25) OSPI0_D5 */
    			AM62X_IOPAD(0x024, PIN_INPUT, 0) /* (H25) OSPI0_D6 */
    			AM62X_IOPAD(0x028, PIN_INPUT, 0) /* (J22) OSPI0_D7 */
    			AM62X_IOPAD(0x008, PIN_INPUT, 0) /* (J24) OSPI0_DQS */
    		>;
    	};
    
    	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
    		bootph-all;
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */
    		>;
    	};
    
    	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
    		bootph-all;
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */
    		>;
    	};
    
    	rs422_rs485_pins_default: rs422-rs485-default-pins {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0004, PIN_OUTPUT, 5) /* (G25) OSPI0_LBCLKO.UART5_RTSn */
    			AM62X_IOPAD(0x01d8, PIN_INPUT, 1) /* (C15) MCAN0_TX.UART5_RXD */
    			AM62X_IOPAD(0x01dc, PIN_OUTPUT, 1) /* (E15) MCAN0_RX.UART5_TXD */
    		>;
    	};
    };
    
    &mcu_pmx0 {
    	can0_pins_default: can0-default-pins {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0038, PIN_INPUT, 0) /* (B3) MCU_MCAN0_RX */
    			AM62X_MCU_IOPAD(0x0034, PIN_OUTPUT, 0) /* (D6) MCU_MCAN0_TX */
    		>;
    	};
    	can1_pins_default: can1-default-pins {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0040, PIN_INPUT, 0) /* (D4) MCU_MCAN1_RX */
    			AM62X_MCU_IOPAD(0x003c, PIN_OUTPUT, 0) /* (E5) MCU_MCAN1_TX */
    		>;
    	};
    };
    
    &main_gpio0 {
    	bootph-all;
    };
    
    &main_gpio1 {
    	bootph-all;
    };
    
    &main_i2c1 {
    	bootph-all;
    	exp1: gpio@22 {
    		bootph-all;
    		compatible = "ti,tca6424";
    		reg = <0x22>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
    				   "PRU_DETECT", "MMC1_SD_EN",
    				   "VPP_LDO_EN", "EXP_PS_3V3_En",
    				   "EXP_PS_5V0_En", "EXP_HAT_DETECT",
    				   "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn",
    				   "UART1_FET_BUF_EN", "WL_LT_EN",
    				   "GPIO_HDMI_RSTn", "CSI_GPIO1",
    				   "CSI_GPIO2", "PRU_3V3_EN",
    				   "HDMI_INTn", "PD_I2C_IRQ",
    				   "MCASP1_FET_EN", "MCASP1_BUF_BT_EN",
    				   "MCASP1_FET_SEL", "UART1_FET_SEL",
    				   "TSINT#", "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>;
    	};
    };
    
    &sdhci1 {
    	vmmc-supply = <&vdd_mmc1>;
    	vqmmc-supply = <&vdd_sd_dv>;
    };
    
    &cpsw3g {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_rgmii1_pins_default
    		     &main_rgmii2_pins_default>;
    
    	cpts@3d000 {
    		/* MAP HW3_TS_PUSH to GENF1 */
    		ti,pps = <2 1>;
    	};
    };
    
    &cpsw_port2 {
    	phy-mode = "rgmii-rxid";
    	phy-handle = <&cpsw3g_phy1>;
    };
    
    &cpsw3g_mdio {
    	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;
    	};
    };
    
    &mailbox0_cluster0 {
    	mbox_m4_0: mbox-m4-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &fss {
    	bootph-all;
    };
    
    &ospi0 {
    	bootph-all;
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&ospi0_pins_default>;
    
    	flash@0 {
    		bootph-all;
    		compatible = "jedec,spi-nor";
    		reg = <0x0>;
    		spi-tx-bus-width = <8>;
    		spi-rx-bus-width = <8>;
    		spi-max-frequency = <25000000>;
    		cdns,tshsl-ns = <60>;
    		cdns,tsd2d-ns = <60>;
    		cdns,tchsh-ns = <60>;
    		cdns,tslch-ns = <60>;
    		cdns,read-delay = <4>;
    
    		partitions {
    			bootph-all;
    			compatible = "fixed-partitions";
    			#address-cells = <1>;
    			#size-cells = <1>;
    
    			partition@0 {
    				label = "ospi.tiboot3";
    				reg = <0x0 0x80000>;
    			};
    
    			partition@80000 {
    				label = "ospi.tispl";
    				reg = <0x80000 0x200000>;
    			};
    
    			partition@280000 {
    				label = "ospi.u-boot";
    				reg = <0x280000 0x400000>;
    			};
    
    			partition@680000 {
    				label = "ospi.env";
    				reg = <0x680000 0x40000>;
    			};
    
    			partition@6c0000 {
    				label = "ospi.env.backup";
    				reg = <0x6c0000 0x40000>;
    			};
    
    			partition@800000 {
    				label = "ospi.rootfs";
    				reg = <0x800000 0x37c0000>;
    			};
    
    			partition@3fc0000 {
    				bootph-pre-ram;
    				label = "ospi.phypattern";
    				reg = <0x3fc0000 0x40000>;
    			};
    		};
    	};
    };
    
    &tlv320aic3106 {
    	DVDD-supply = <&vcc_1v8>;
    };
    
    #define K3_TS_OFFSET(pa, val)	(0x4+(pa)*4) (0x10000 | val)
    
    &timesync_router {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&cpsw_cpts>;
    
    	/* Use Time Sync Router to map GENF1 input to HW3_TS_PUSH output */
    	cpsw_cpts: cpsw-cpts {
    		pinctrl-single,pins = <
    			/* pps [cpsw cpts genf1] in17 -> out12 [cpsw cpts hw3_push] */
    			K3_TS_OFFSET(12, 17)
    			>;
    	};
    };
    
    &mcu_mcan0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&can0_pins_default>;
    	phys = <&transceiver2>;
    	status = "okay";
    };
    
    &mcu_mcan1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&can1_pins_default>;
    	phys = <&transceiver3>;
    	status = "okay";
    };
    U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    SPL initial stack usage: 13384 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE:  BL31: Built : 09:34:15, Aug 24 2023
    
    U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -1
    DRAM:  2 GiB
    Core:  72 devices, 32 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    EEPROM not available at 80, trying to read at 81
    Reading on-board EEPROM at 0x51 failed -1
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    574 bytes read in 14 ms (40 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    20302336 bytes read in 225 ms (86.1 MiB/s)
    61058 bytes read in 17 ms (3.4 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 000000008feee000, end 000000008fffffff ... OK
    Working FDT set to 8feee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.46-g247b2535b2 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Dec  6 17:54:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    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 19 pages/cpu s37992 r8192 d31640 u77824
    [    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] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=a490d7c9-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1847448K/2097152K available (12288K kernel code, 1266K rwdata, 4020K rodata, 2112K init, 438K bss, 118632K reserved, 131072K 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 @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008602] Console: colour dummy device 80x25
    [    0.013206] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023896] pid_max: default: 32768 minimum: 301
    [    0.028678] LSM: Security Framework initializing
    [    0.033558] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041154] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.051330] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.058795] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.065101] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.072495] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.078916] rcu: Hierarchical SRCU implementation.
    [    0.083828] rcu: 	Max phase no-delay instances is 1000.
    [    0.089491] Platform MSI: msi-controller@1820000 domain created
    [    0.095885] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.105322] EFI services will not be available.
    [    0.110310] smp: Bringing up secondary CPUs ...
    [    0.115727] Detected VIPT I-cache on CPU1
    [    0.115865] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.115889] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.115952] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.116791] Detected VIPT I-cache on CPU2
    [    0.116880] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.116900] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.116940] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.117639] Detected VIPT I-cache on CPU3
    [    0.117722] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.117735] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.117769] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.117851] smp: Brought up 1 node, 4 CPUs
    [    0.197595] SMP: Total of 4 processors activated.
    [    0.202412] CPU features: detected: 32-bit EL0 Support
    [    0.207689] CPU features: detected: CRC32 instructions
    [    0.213012] CPU: All CPU(s) started at EL2
    [    0.217214] alternatives: applying system-wide alternatives
    [    0.224983] devtmpfs: initialized
    [    0.238370] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.248408] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.260941] pinctrl core: initialized pinctrl subsystem
    [    0.267102] DMI not present or invalid.
    [    0.271781] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.279178] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.286723] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.294795] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.303007] audit: initializing netlink subsys (disabled)
    [    0.308743] audit: type=2000 audit(0.196:1): state=initialized audit_enabled=0 res=1
    [    0.309299] thermal_sys: Registered thermal governor 'step_wise'
    [    0.316676] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.322872] cpuidle: using governor menu
    [    0.333764] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.340811] ASID allocator initialised with 65536 entries
    [    0.358477] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.370087] platform connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.381876] KASLR disabled due to lack of seed
    [    0.393963] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.400950] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.407360] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.414300] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.420707] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.427648] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.434060] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.440998] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.449142] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.459765] iommu: Default domain type: Translated 
    [    0.464798] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.471560] SCSI subsystem initialized
    [    0.475805] usbcore: registered new interface driver usbfs
    [    0.481458] usbcore: registered new interface driver hub
    [    0.486928] usbcore: registered new device driver usb
    [    0.492634] pps_core: LinuxPPS API ver. 1 registered
    [    0.497712] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.507065] PTP clock support registered
    [    0.511217] EDAC MC: Ver: 3.0.0
    [    0.515495] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.522602] FPGA manager framework
    [    0.526211] Advanced Linux Sound Architecture Driver Initialized.
    [    0.533606] clocksource: Switched to clocksource arch_sys_counter
    [    0.540165] VFS: Disk quotas dquot_6.6.0
    [    0.544229] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.557850] NET: Registered PF_INET protocol family
    [    0.563199] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.572568] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.581401] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.589345] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.597566] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.605714] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.612676] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.619614] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.627211] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.633625] RPC: Registered named UNIX socket transport module.
    [    0.639688] RPC: Registered udp transport module.
    [    0.644498] RPC: Registered tcp transport module.
    [    0.649305] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.655895] NET: Registered PF_XDP protocol family
    [    0.660816] PCI: CLS 0 bytes, default 64
    [    0.665820] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.676137] Initialise system trusted keyrings
    [    0.681033] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.692541] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.699280] NFS: Registering the id_resolver key type
    [    0.704519] Key type id_resolver registered
    [    0.708798] Key type id_legacy registered
    [    0.712966] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.719825] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.762953] Key type asymmetric registered
    [    0.767153] Asymmetric key parser 'x509' registered
    [    0.772203] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.779979] io scheduler mq-deadline registered
    [    0.784624] io scheduler kyber registered
    [    0.792574] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.799147] pinctrl-single f4000.pinctrl: initialized with no interrupts
    [    0.806031] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.812956] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.826077] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.843759] loop: module loaded
    [    0.848421] megasas: 07.719.03.00-rc1
    [    0.855791] tun: Universal TUN/TAP device driver, 1.6
    [    0.861847] thunder_xcv, ver 1.0
    [    0.865194] thunder_bgx, ver 1.0
    [    0.868540] nicpf, ver 1.0
    [    0.871482] e1000: Intel(R) PRO/1000 Network Driver
    [    0.876469] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.882392] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.887467] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.893561] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.899080] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.904807] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.911220] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.917403] sky2: driver version 1.30
    [    0.921931] VFIO - User Level meta-driver version: 0.3
    [    0.928135] usbcore: registered new interface driver usb-storage
    [    0.934905] i2c_dev: i2c /dev entries driver
    [    0.941161] sdhci: Secure Digital Host Controller Interface driver
    [    0.947547] sdhci: Copyright(c) Pierre Ossman
    [    0.952227] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.958883] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.965265] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.972271] usbcore: registered new interface driver usbhid
    [    0.977978] usbhid: USB HID core driver
    [    0.982931] optee: probing for conduit method.
    [    0.987548] optee: revision 4.0 (2a5b1d12)
    [    0.987936] optee: dynamic shared memory is enabled
    [    0.997627] optee: initialized driver
    [    1.003574] Initializing XFRM netlink socket
    [    1.008025] NET: Registered PF_PACKET protocol family
    [    1.013296] Key type dns_resolver registered
    [    1.018206] registered taskstats version 1
    [    1.022449] Loading compiled-in X.509 certificates
    [    1.038248] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    [    1.105923] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.113763] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.121014] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.127069] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.136370] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.147142] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.155666] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.167221] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.177836] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.187914] irq: no irq domain found for pinctrl@f4000 !
    [    1.193845] printk: console [ttyS2] disabled
    [    1.198312] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 239, base_baud = 3000000) is a 8250
    [    1.207229] printk: console [ttyS2] enabled
    [    1.207229] printk: console [ttyS2] enabled
    [    1.215697] printk: bootconsole [ns16550a0] disabled
    [    1.215697] printk: bootconsole [ns16550a0] disabled
    [    1.229491] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.234634] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.241594] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.246992] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.253990] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.260548] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.267240] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.273673] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.280616] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.287490] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.296271] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.341637] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.351723] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.359837] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.367972] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.380986] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.387267] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.394392] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.400942] pps pps0: new PPS source ptp0
    [    1.405316] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.415949] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.428393] mmc0: CQHCI version 5.10
    [    1.434041] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.440841] pca953x 1-0022: using AI
    [    1.468295] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.474723] mmc1: CQHCI version 5.10
    [    1.476735] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.499039] ALSA device list:
    [    1.502074]   No soundcards found.
    [    1.520844] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.528753] Waiting for root device PARTUUID=a490d7c9-02...
    [    1.540457] mmc0: Command Queue Engine enabled
    [    1.544954] mmc0: new HS200 MMC card at address 0001
    [    1.555869] mmcblk0: mmc0:0001 AAM20F 59.3 GiB 
    [    1.564064] mmcblk0boot0: mmc0:0001 AAM20F 31.5 MiB 
    [    1.570461] mmcblk0boot1: mmc0:0001 AAM20F 31.5 MiB 
    [    1.576460] mmcblk0rpmb: mmc0:0001 AAM20F 4.00 MiB, chardev (240:0)
    [    1.583954] mmc1: new ultra high speed SDR104 SDXC card at address aaaa
    [    1.591615] mmcblk1: mmc1:aaaa SN128 119 GiB 
    [    1.598669]  mmcblk1: p1 p2
    [    1.648236] EXT4-fs (mmcblk1p2): recovery complete
    [    1.654402] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.663069] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.670246] devtmpfs: mounted
    [    1.674951] Freeing unused kernel memory: 2112K
    [    1.679617] Run /sbin/init as init process
    [    1.822218] systemd[1]: System time before build time, advancing clock.
    [    1.868206] NET: Registered PF_INET6 protocol family
    [    1.875015] Segment Routing with IPv6
    [    1.878779] In-situ OAM (IOAM) with IPv6
    [    1.914294] systemd[1]: systemd 250.5+ 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 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    1.946420] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.031039] systemd[1]: Hostname set to <am62xx-evm>.
    [    2.162510] systemd-sysv-generator[159]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.502472] 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.590236] systemd[1]: Queued start job for default target Multi-User System.
    [    2.668285] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    2.693388] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    2.717977] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    2.744866] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.769971] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �cts to Console Directory Watch.
    [    2.794339] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�cuests to Wall Directory Watch.
    [    2.818438] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    2.833941] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    2.853898] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    2.870076] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    2.944413] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    2.966136] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.005352] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.026854] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.052020] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    3.076678] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.100734] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.120146] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.143783] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.168285] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.192668] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.258448] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.282047] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.334493] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.351272] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.394493] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.421365] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.454976] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.481821] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.505496] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.526145] fuse: init (API version 7.37)
    [    3.546926] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    3.581492] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.598299] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.622552] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.648817] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.674418] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.675141] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network �cts from Kernel co[    3.691017] cryptodev: driver 1.12 loaded.
    mmand line...
    [    3.717251] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.746150] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.750687] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    3.777773] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.802795] 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 Create List of Static Device Nodes.
    [  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 Star�cprogress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    4.232154] systemd-journald[175]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    4.483306] audit: type=1334 audit(1651167747.660:2): prog-id=5 op=LOAD
    [    4.490076] audit: type=1334 audit(1651167747.668:3): prog-id=6 op=LOAD
             Starting Rule-based Manage�cfor Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    5.175497] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [    5.220702] at24 0-0051: supply vcc not found, using dummy regulator
    [  OK  ] Found device /dev/ttyS2.
    [    5.250967] at24 0-0051: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
    [    5.288140] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    5.296116] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [    5.370358] i2c i2c-1: Added multiplexed i2c bus 3
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stac[    5.390516] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    k Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [    5.427743] CAN device driver interface
    [    5.429312] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
             Starting Docker Socket for the API...
    [    5.442393] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    5.453720] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    5.464565] remoteproc remoteproc0: 5000000.m4fss is available
    [    5.472170] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    5.481979] remoteproc remoteproc0: powering up 5000000.m4fss
    [  OK  ] Listening on dropbear.socket.
    [    5.488660] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    5.503627] remoteproc remoteproc0: request_firmware failed: -2
    [    5.510726] m_can_platform 4e08000.can: m_can device registered (irq=0, version=32)
             Starting D-Bus System Message Bus...
    [  OK  ] Listening on Docker Socket for the API.
    [    5.575406] m_can_platform 4e18000.can: m_can device registered (irq=0, version=32)
    [    5.583607] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.584803] platform 78000000.r5f: configured R5F for IPC-only mode
    [    5.585077] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    5.585655] remoteproc remoteproc1: 78000000.r5f is available
    [    5.585806] remoteproc remoteproc1: attaching to 78000000.r5f
    [    5.586867] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    5.586910] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [    5.587740] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.587791] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [    5.587799] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    5.588836] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.589749] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.618666] Console: switching to colour frame buffer device 240x67
    [    5.623631] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    5.623757] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:12 UTC (12)
    [    5.628888] systemd-journald[175]: Time jumped backwards, rotating.
    [    5.845265] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting Expand the rootfs�cll size of the boot device....
    [    6.082938] audit: type=1334 audit(12.956:4): prog-id=7 op=LOAD
    [    6.089117] audit: type=1334 audit(12.960:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Finished Expand the rootfs�cfull size of the boot device..
    [  OK  ] Started User Login Management.[    6.948691] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    
    [    6.976893] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.984363] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    6.993177] cfg80211: failed to load regulatory.db
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    7.139623] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [    7.149695] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    7.247014] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    7.268042] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    7.495930] remoteproc remoteproc2: 30074000.pru is available
    [    7.503340] remoteproc remoteproc3: 30078000.pru is available
    [    7.690892] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [  OK  ] Listening on Load/Save RF �citch Status /dev/rfkill Watch.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [    8.060982] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [  OK  ] Started Serial Getty on ttyS2.[    8.068236] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    
    [  OK  ] Reached target Login Prompts.
    [    8.084690] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
             Starting Synchronize System and HW clocks.[    8.097429] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    ..
    [    8.112426] xhci-hcd xhci-hcd.3.auto: irq 422, io mem 0x31100000
    [    8.120084] hub 1-0:1.0: USB hub found
    [    8.124185] hub 1-0:1.0: 1 port detected
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Reached target Hardware activated USB gadget.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
    	bash
    	cifs-utils
    	dosfstools
    	grub-common
    	grub-editenv
    	grub-efi
    	less
    	libdw1
    	libelf1
    	libgcc1
    	libreadline8
    	libstdc++6
    	parted
    
    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 Save/Restore Sound Card State...
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Finished Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    [    8.381705] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [    8.599605] hub 1-1:1.0: USB hub found
    [    8.603832] hub 1-1:1.0: 4 ports detected
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
    [    8.897715] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [    9.083286] input: PIXART HP 230 Wireless Keyboard as /devices/platform/bus@f0000/f910000.dwc3-usb/31100000.usb/xhci-hcd.3.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:03F0:6343.0001/input/input0
    [  OK  ] Finished Synchronize System and HW clocks.
    [    9.158568] hid-generic 0003:03F0:6343.0001: input: USB HID v1.11 Keyboard [PIXART HP 230 Wireless Keyboard] on usb-xhci-hcd.3.auto-1.1/input0
    [    9.190439] input: PIXART HP 230 Wireless Keyboard Consumer Control as /devices/platform/bus@f0000/f910000.dwc3-usb/31100000.usb/xhci-hcd.3.auto/usb1/1-1/1-1.1/1-1.1:1.1/0003:03F0:6343.0002/input/input1
    [    9.268475] input: PIXART HP 230 Wireless Keyboard System Control as /devices/platform/bus@f0000/f910000.dwc3-usb/31100000.usb/xhci-hcd.3.auto/usb1/1-1/1-1.1/1-1.1:1.1/0003:03F0:6343.0002/input/input2
    [    9.286750] hid-generic 0003:03F0:6343.0002: input: USB HID v1.11 Device [PIXART HP 230 Wireless Keyboard] on usb-xhci-hcd.3.auto-1.1/input1
    [  OK  ] Started containerd container runtime.
    [  OK  ] Reached target Multi-User System.
    [    9.389725] usb 1-1.3: new low-speed USB device number 4 using xhci-hcd
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [    9.562978] input: PixArt USB Optical Mouse as /devices/platform/bus@f0000/f910000.dwc3-usb/31100000.usb/xhci-hcd.3.auto/usb1/1-1/1-1.3/1-1.3:1.0/0003:093A:2510.0003/input/input3
    [    9.579241] hid-generic 0003:093A:2510.0003: input: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-xhci-hcd.3.auto-1.3/input0
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62xx-evm -
    
    Arago 2023.10 am62xx-evm -
    
    am62xx-evm login: 


    Looking at the Linux boot log, it seems that the CAN device driver is functioning. Why doesn't 'can' appear under /dev?

    Best regards,

  • Hi, 

    Can you use the ip link commands to verify the working of CAN as mentioned in the below link:
    4.1.5. How to enable MCAN in Linux — Processor SDK AM62x Documentation

    Regards,
    Aparna

  • Here’s your response translated and formatted for the forum:


    Thank you for your assistance.

    Here are the steps I followed based on the webpage you referenced:

    1. I created a Yocto image and wrote it to the SD card.
    2. I confirmed that Linux boots on the custom board without using a DTB overlay.
    3. After rebooting, I overlaid the k3-am62x-sk-mcan.dtbo file as per your suggestion and proceeded with the boot.
    4. Using lsmod, I verified that the m_can and m_can_platform kernel modules are loaded.
    5. However, I could not find can0, can1, or can2 under /dev.

    On this custom board:

    • The MCAN0_RX and MCAN0_TX pins are connected to an RS485 device.
    • The MCU_MCAN0 and MCU_MCAN1 pins are connected to CAN-FD devices.

    Any insights into why the CAN devices are not appearing in /dev would be greatly appreciated!

  • The CAN communication ports were located under /sys/class/net/ with the names mcu_mcan0, mcu_mcan1, and main_mcu0.
    I followed the activation steps you provided in 4.1.5. How to enable MCAN in Linux — Processor SDK AM62x Documentation, but I encountered the following message.
    How can I resolve this issue?
    Thank you for your support.

    root@am62xx-evm:~# ls /sys/class/net/
    eth0 eth1 lo main_mcan0 mcu_mcan0 mcu_mcan1
    root@am62xx-evm:~# ip link mcu_mcan0 mcan0 show type can
    4: mcu_mcan0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
    link/can
    5: mcu_mcan1: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
    link/can
    6: main_mcan0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
    link/can
    root@am62xx-evm:~# ip link set mcu_mcan0 down
    root@am62xx-evm:~# ip link set mcu_mcan0 type can bitrate 125000
    root@am62xx-evm:~# ip link set mcu_mcan0 up
    root@am62xx-evm:~# [ 167.613996] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [ 167.620110] rcu: 3-...0: (44 ticks this GP) idle=9b0c/1/0x4000000000000002 softirq=5206/5207 fqs=2626
    [ 167.629404] rcu: (detected by 1, t=5254 jiffies, g=2413, q=435 ncpus=4)
    [ 167.636091] Task dump for CPU 3:
    [ 167.639308] task:swapper/3 state:R running task stack:0 pid:0 ppid:1 flags:0x0000000a
    [ 167.649210] Call trace:
    [ 167.651648] __switch_to+0xcc/0x12c
    [ 167.655144] 0x0
    [ 230.673997] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [ 230.680114] rcu: 3-...0: (44 ticks this GP) idle=9b0c/1/0x4000000000000002 softirq=5206/5207 fqs=10446
    [ 230.689495] rcu: (detected by 1, t=21020 jiffies, g=2413, q=1330 ncpus=4)
    [ 230.696355] Task dump for CPU 3:
    [ 230.699572] task:swapper/3 state:R running task stack:0 pid:0 ppid:1 flags:0x0000000a
    [ 230.709474] Call trace:
    [ 230.711910] __switch_to+0xcc/0x12c
    [ 230.715406] 0x0