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: Use MCU_UART0 in Linux

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62,

Tool/software:

Hi TI Experts,

Customer is working on AM62x SDK9.2 SK-AM62 board.

They want to use MCU_UART0 in Linux and follow the following guide to add the pinmux and make the "status" to okay.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1355684/processor-sdk-am62x-how-mcu-domain-periphals-working-in-linux?tisearch=e2e-sitesearch&keymatch=linux%252525252525252520mcu_uart0#

They added the following to k3-am625-sk.dts

&mcu_pmx0 {
	mcu_uart0_pins_default: mcu_uart0_pins_default {
		pinctrl-single,pins = <
			/*AM62X_IOPAD(0x014, PIN_INPUT,0)/* (B5) MCU_UART0_RXD */
			/*AM62X_IOPAD(0x018, PIN_OUTPUT,0)/* (A5) MCU_UART0_TXD */
			/*AM62X_IOPAD(0x01c, PIN_INPUT,0) /*(A6) MCU_UART0_CTS */
			/*AM62X_IOPAD(0x020, PIN_OUTPUT,0) /*(B6) MCU_UART0_RTS */

			/*AM62X_MCU_IOPAD(0x001c, PIN_INPUT, 0) /* (A6) MCU_UART0_CTS */
			/*AM62X_MCU_IOPAD(0x0020, PIN_OUTPUT, 0) /* (B6) MCU_UART0_RTS */
			AM62X_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (B5) MCU_UART0_RXD */
			AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */
		>;
	};
};



&mcu_uart0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mcu_uart0_pins_default>;
};

The full k3-am625-sk.dts file is below.

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/5047.k3_2D00_am625_2D00_sk.dts

We think after these changes, the MCU_UART0 should work in Linux. However, after customer loaded dev/ttyS0 to the MCU_UART0, there is nothing print come out in the command:   echo ttyS0 

So based on this result, we think the MCU_UART0 is still not configured properly to be used in Linux. Could you please provide some feedback to help us?

Thanks,

Kevin

  • Hi Kevin,

    Please ask the customer to provide the Linux boot log.

  • Hi Bin,

    Thanks for your reply!

    Please see the linux boot log below.

    =~=~=~=~=~=~=~=~=~=~=~= MobaXterm log 2024.09.20 08:35:38 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2023.04-dirty (Aug 07 2024 - 17:19:51 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 13408 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 2023.04-dirty (Aug 07 2024 - 17:20:04 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-dirty (Aug 07 2024 - 17:20:04 +0800)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK for GREE
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM-P1 rev A
    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
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => setenv serverip 192.168.8.119
    => 
    => setenv ipaddr 192.168.8.122 
    => 
    => setenv rootpath /home/vekin/ti-processor-sdk-linux-am62xx-evm-09.02.01.10/targetNFS
    => setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},nolock,v3 rw ip=${ipaddr}:::::eth0
    => 
    => fatload mmc 1:1 80800000 Image
    19376640 bytes read in 240 ms (77 MiB/s)
    => 
    => fatload mmc 1:1 83000000 k3-am625-sk.dtb
    59789 bytes read in 15 ms (3.8 MiB/s)
    => booti 80800000 - 83000000
    ## Flattened Device Tree blob at 83000000
       Booting using the fdt blob at 0x83000000
    Working FDT set to 83000000
       Loading Device Tree to 000000008ffee000, end 000000008ffff98c ... OK
    Working FDT set to 8ffee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.83-dirty (vekin@vekin-virtual-machine) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #2 SMP PREEMPT Wed Aug  7 18:26:22 CST 2024
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f7600000, 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-0x00000000ff6fffff]
    [    0.000000]   node   0: [mem 0x00000000ff700000-0x00000000fffeffff]
    [    0.000000]   node   0: [mem 0x00000000ffff0000-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 20 pages/cpu s41064 r8192 d32664 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] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=/dev/nfs nfsroot=192.168.8.119:/home/vekin/ti-processor-sdk-linux-am62xx-evm-09.02.01.10/targetNFS,nolock,v3 rw ip=192.168.8.122:::::eth0
    [    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: 1839192K/2097152K available (11712K kernel code, 1258K rwdata, 3816K rodata, 1984K init, 438K bss, 126888K 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 @81c00000 (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.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000344] Console: colour dummy device 80x25
    [    0.000404] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000423] pid_max: default: 32768 minimum: 301
    [    0.000476] LSM: Security Framework initializing
    [    0.000633] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.000664] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.002824] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.002839] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.002914] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.002918] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.003104] rcu: Hierarchical SRCU implementation.
    [    0.003108] rcu: Max phase no-delay instances is 1000.
    [    0.003412] Platform MSI: msi-controller@1820000 domain created
    [    0.003700] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.004009] EFI services will not be available.
    [    0.004359] smp: Bringing up secondary CPUs ...
    [    0.005112] Detected VIPT I-cache on CPU1
    [    0.005256] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.005274] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.005346] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.006154] Detected VIPT I-cache on CPU2
    [    0.006240] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.006255] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.006290] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.007008] Detected VIPT I-cache on CPU3
    [    0.007085] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.007099] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.007130] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.007197] smp: Brought up 1 node, 4 CPUs
    [    0.007204] SMP: Total of 4 processors activated.
    [    0.007209] CPU features: detected: 32-bit EL0 Support
    [    0.007214] CPU features: detected: CRC32 instructions
    [    0.007273] CPU: All CPU(s) started at EL2
    [    0.007276] alternatives: applying system-wide alternatives
    [    0.009580] devtmpfs: initialized
    [    0.019149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.019188] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.025301] pinctrl core: initialized pinctrl subsystem
    [    0.026019] DMI not present or invalid.
    [    0.026761] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.028139] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.028521] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.028733] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.028841] audit: initializing netlink subsys (disabled)
    [    0.029062] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
    [    0.029632] thermal_sys: Registered thermal governor 'step_wise'
    [    0.029638] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.029691] cpuidle: using governor menu
    [    0.029881] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.029994] ASID allocator initialised with 65536 entries
    [    0.041475] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.045267] KASLR disabled due to lack of seed
    [    0.052487] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.052502] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.052508] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.052511] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.052515] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.052519] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.052526] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.052530] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.054256] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.056489] iommu: Default domain type: Translated 
    [    0.056512] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.056850] SCSI subsystem initialized
    [    0.057244] usbcore: registered new interface driver usbfs
    [    0.057276] usbcore: registered new interface driver hub
    [    0.057301] usbcore: registered new device driver usb
    [    0.057803] pps_core: LinuxPPS API ver. 1 registered
    [    0.057808] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.057827] PTP clock support registered
    [    0.057970] EDAC MC: Ver: 3.0.0
    [    0.059022] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.059439] FPGA manager framework
    [    0.059545] Advanced Linux Sound Architecture Driver Initialized.
    [    0.060735] clocksource: Switched to clocksource arch_sys_counter
    [    0.061021] VFS: Disk quotas dquot_6.6.0
    [    0.061073] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.067672] NET: Registered PF_INET protocol family
    [    0.068054] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.069860] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.069904] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.069925] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.070097] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.070751] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.071005] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.071069] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.071341] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.071954] RPC: Registered named UNIX socket transport module.
    [    0.071963] RPC: Registered udp transport module.
    [    0.071966] RPC: Registered tcp transport module.
    [    0.071969] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.071985] NET: Registered PF_XDP protocol family
    [    0.072004] PCI: CLS 0 bytes, default 64
    [    0.073017] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.074940] Initialise system trusted keyrings
    [    0.075257] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.080162] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.080904] NFS: Registering the id_resolver key type
    [    0.080949] Key type id_resolver registered
    [    0.080953] Key type id_legacy registered
    [    0.081022] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.081029] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.115397] Key type asymmetric registered
    [    0.115405] Asymmetric key parser 'x509' registered
    [    0.115480] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.115694] io scheduler mq-deadline registered
    [    0.115707] io scheduler kyber registered
    [    0.119587] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.120339] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.122176] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.129414] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.140466] loop: module loaded
    [    0.141850] megasas: 07.719.03.00-rc1
    [    0.145405] tun: Universal TUN/TAP device driver, 1.6
    [    0.146249] VFIO - User Level meta-driver version: 0.3
    [    0.147118] usbcore: registered new interface driver usb-storage
    [    0.147738] i2c_dev: i2c /dev entries driver
    [    0.149619] sdhci: Secure Digital Host Controller Interface driver
    [    0.149636] sdhci: Copyright(c) Pierre Ossman
    [    0.149850] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.150713] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.150915] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.151301] usbcore: registered new interface driver usbhid
    [    0.151306] usbhid: USB HID core driver
    [    0.152274] optee: probing for conduit method.
    [    0.152318] optee: revision 4.1 (012cdca4)
    [    0.152689] optee: dynamic shared memory is enabled
    [    0.153187] optee: initialized driver
    [    0.155201] Initializing XFRM netlink socket
    [    0.155252] NET: Registered PF_PACKET protocol family
    [    0.155357] Key type dns_resolver registered
    [    0.155858] registered taskstats version 1
    [    0.155892] Loading compiled-in X.509 certificates
    [    0.167305] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    [    0.213146] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19
    [    0.235820] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.237701] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.239092] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.239384] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.239670] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.243127] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes
    [    0.243146] simple-framebuffer ff700000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680
    [    0.258700] Console: switching to colour frame buffer device 240x75
    [    0.273021] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered!
    [    0.274475] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.276921] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.279694] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.284012] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.287152] 4a00000.serial: ttyS0 at MMIO 0x4a00000 (irq = 240, base_baud = 3000000) is a 8250
    [    0.288474] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 241, base_baud = 3000000) is a 8250
    [    1.665323] printk: console [ttyS2] enabled
    [    1.671194] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.716758] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.727247] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.735356] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.743484] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.756394] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.763523] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.770081] pps pps0: new PPS source ptp0
    [    1.774451] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.785354] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.797921] mmc0: CQHCI version 5.10
    [    1.803668] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.810463] pca953x 1-0022: using AI
    [    1.843166] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.843798] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.855785] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.862759] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.868151] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.875144] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.881694] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.888329] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.894535] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.901555] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.908149] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.926851] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.934671] mmc2: CQHCI version 5.10
    [    1.934690] mmc1: CQHCI version 5.10
    [    1.936974] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.951564] mmc0: Command Queue Engine enabled
    [    1.956108] mmc0: new HS200 MMC card at address 0001
    [    1.962329] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.968883]  mmcblk0: p1 p2
    [    1.972517] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.978762] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.981274] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.984983] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.990158] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    2.014493] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    2.023858] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    2.042350] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.050325] mmcblk1: mmc1:aaaa SK32G 29.7 GiB 
    [    2.057616]  mmcblk1: p1 p2
    [   11.999262] platform 2b300050.target-module: deferred probe pending
    [   22.036828] Waiting up to 100 more seconds for network.
    [   42.044827] Waiting up to 80 more seconds for network.
    [   60.382876] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
    [   60.404843] IP-Config: Guessing netmask 255.255.255.0
    [   60.409977] IP-Config: Complete:
    [   60.413279]      device=eth0, hwaddr=1c:63:49:22:4e:e3, ipaddr=192.168.8.122, mask=255.255.255.0, gw=255.255.255.255
    [   60.423886]      host=192.168.8.122, domain=, nis-domain=(none)
    [   60.429867]      bootserver=255.255.255.255, rootserver=192.168.8.119, rootpath=
    [   60.439052] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [   60.469378] ALSA device list:
    [   60.472389]   No soundcards found.
    [   61.406850] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    [   70.622598] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
    [   71.647062] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    [   89.054921] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [  110.140899] VFS: Mounted root (nfs filesystem) on device 0:20.
    [  110.258913] devtmpfs: mounted
    [  110.265646] Freeing unused kernel memory: 1984K
    [  110.270713] Run /sbin/init as init process
    [  112.459026] systemd[1]: System time before build time, advancing clock.
    [  113.484869] NET: Registered PF_INET6 protocol family
    [  113.498657] Segment Routing with IPv6
    [  113.502396] In-situ OAM (IOAM) with IPv6
    [  113.819888] 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)
    [  113.853513] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [  114.021824] systemd[1]: Hostname set to <am62xx-evm>.
    [  114.407604] systemd-sysv-generator[161]: 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.
    [  114.450053] systemd[152]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
    [  115.945524] systemd[1]: Configuration file /lib/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [  116.049775] systemd[1]: Configuration file /lib/systemd/system/seva-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [  116.611238] systemd[1]: /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.
    [  117.044599] 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.
    [  117.499322] systemd[1]: Queued start job for default target Graphical Interface.
    [  117.626432] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [  117.657833] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [  117.687208] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [  117.713924] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [  117.738096] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password ts to Console Directory Watch.
    [  117.761807] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Ruests to Wall Directory Watch.
    [  117.786111] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [  117.801101] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [  117.821177] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [  117.837228] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [  117.932460] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  117.961591] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [  118.016666] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  118.038926] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  118.067266] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [  118.094400] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  118.120158] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [  118.144239] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  118.180097] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [  118.203647] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  118.230138] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [  118.293622] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [  118.319597] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [  118.381914] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [  118.398065] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [  118.477638] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [  118.509761] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [  118.541649] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [  118.566269] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [  118.590226] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [  119.122713] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [  119.250213] fuse: init (API version 7.37)
    [  119.314644] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [  119.362951] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [  119.422206] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [  119.714558] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [  119.748310] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network ts from Kernel command line...
    [  119.784646] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [  119.817990] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [  119.851979] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [  119.874081] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  119.897869] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  119.921861] systemd[1]: Mounted Temporary Directory /tmp.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  119.949309] systemd[1]: Finished Create List of Static Device Nodes.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  119.977309] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [  119.987185] systemd[1]: Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module configfs.
    [  120.032414] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [  120.042760] systemd[1]: Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Module fuse.
    [  120.102569] systemd[1]: Mounting FUSE Control File System...
             Mounting FUSE Control File System...
    [  120.133586] systemd[1]: Mounting Kernel Configuration File System...
             Mounting Kernel Configuration File System...
    [  120.162395] systemd[1]: Started Start psplash boot splash screen.
    [  OK  ] Started Start psplash boot splash screen.
    [  120.188258] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [  120.197440] systemd[1]: Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module drm.
    [  120.242529] systemd[1]: Started Start psplash-systemd progress communication helper.
    [  OK  ] Started Start psplash-systprogress communication helper.
    [  120.272984] systemd[1]: Mounted FUSE Control File System.
    [  OK  ] Mounted FUSE Control File System.
    [  120.297814] systemd[1]: Mounted Kernel Configuration File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  120.526479] systemd[1]: systemd-network-generator.service: Main process exited, code=exited, status=1/FAILURE
    [  120.538204] systemd[1]: systemd-network-generator.service: Failed with result 'exit-code'.
    [  120.549290] systemd[1]: Failed to start Generate network units from Kernel command line.
    [FAILED] Failed to start Generate nnits from Kernel command line.
    See 'systemctl status systemd-network-generator.service' for details.
    [  120.594756] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [  120.612228] systemd[1]: Finished Remount Root and Kernel File Systems.
    [  OK  ] Finished Remount Root and Kernel File Systems.
    [  120.644620] systemd[1]: Finished Load Kernel Modules.
    [  OK  ] Finished Load Kernel Modules.
    [  120.682926] systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
    [  120.695121] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
    [  120.746288] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [  120.776941] systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
    [  120.797078] systemd[1]: Starting Create Static Device Nodes in /dev...
             Starting Create Static Device Nodes in /dev...
    [  120.827003] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Finished Apply Kernel Variables.
    [  121.227665] systemd-journald[176]: Received client request to flush runtime journal.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [  121.518265] audit: type=1334 audit(1651167754.084:2): prog-id=5 op=LOAD
    [  121.525106] audit: type=1334 audit(1651167754.092:3): prog-id=6 op=LOAD
             Starting Rule-based Managefor Device Events and Files...
    [  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...
    [  122.152786] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Reached target System Time Set.
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Stopped Network Time Synchronization.
    [  123.140645] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [  123.146083] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:02:35 UTC (155)
    [  123.155814] systemd-journald[176]: Time jumped backwards, rotating.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Reached target System Initializatio[  123.225414] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    n.
    [  123.237505] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [  123.244860] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [  123.252369] remoteproc remoteproc0: 5000000.m4fss is available
    [  123.275153] CAN device driver interface
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timer Units.
    [  123.325534] mc: Linux media interface: v0.10
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  123.447804] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [  123.460377] platform 78000000.r5f: configured R5F for IPC-only mode
    [  OK  ] Listening on D-Bus System Message B[  123.467118] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    us Socket.
    [  123.482010] remoteproc remoteproc1: 78000000.r5f is available
    [  123.488010] remoteproc remoteproc1: attaching to 78000000.r5f
    [  123.495507] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [  123.502461] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [  123.513145] virtio_rpmsg_bus virtio0: rpmsg host is online
    [  123.514262] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [  123.518913] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [  123.528385] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [  123.533073] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
             Starting Docker Socket for the API...
    [  123.655631] m_can_platform 4e08000.can: m_can device registered (irq=0, version=32)
    [  123.656410] remoteproc remoteproc0: powering up 5000000.m4fss
    [  123.671145] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 55016
    [  123.683124] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node m4f-dma-memory@9cb00000
    [  123.694287] virtio_rpmsg_bus virtio1: rpmsg host is online
    [  123.701070] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)
    [  123.708816] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [  123.716650] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [  123.725290] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [  123.742900] videodev: Linux video capture interface: v2.00
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
    [  124.010398] sii902x 1-003b: port@1 remote device is disabled
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting DEMO...
             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 rootfsll size of the boot device....
    [  OK  ] Started Seva Launcher Service.
    [  OK  ] Started strongSwan IPsec IIKEv2 daemon using ipsec.conf.
    [  124.725247] audit: type=1334 audit(157.076:4): prog-id=7 op=LOAD
    [  124.731374] audit: type=1334 audit(157.084:5): prog-id=8 op=LOAD
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped Network Time Synchronization.
    [FAILED] Failed to start Network Time Synchronization.
    See 'systemctl status systemd-timesyncd.service' for details.
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Started ti-apps-launcher service.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Finished Expand the rootfsfull size of the boot device..
    [  OK  ] Finished Telnet Server.
    [  OK  ] Finished Load Kernel Module drm.
    [  127.146109] audit: type=1334 audit(159.496:6): prog-id=9 op=LOAD
    [  127.152644] audit: type=1334 audit(159.500:7): prog-id=10 op=LOAD
    [  127.160022] audit: type=1334 audit(159.504:8): prog-id=7 op=UNLOAD
    [  127.168981] audit: type=1334 audit(159.504:9): prog-id=8 op=UNLOAD
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  127.724133] remoteproc remoteproc2: 30074000.pru is available
    [  127.730765] remoteproc remoteproc3: 30078000.pru is available
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Finished Load Kernel Module drm.
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  127.975262] audit: type=1334 audit(160.324:10): prog-id=11 op=LOAD
    [  127.982176] audit: type=1334 audit(160.332:11): prog-id=12 op=LOAD
    [  127.989318] audit: type=1334 audit(160.332:12): prog-id=9 op=UNLOAD
    [  127.995889] audit: type=1334 audit(160.332:13): prog-id=10 op=UNLOAD
    [  128.101213] m_can_platform 4e08000.can mcu_mcan0: renamed from can0
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Started Telephony service.
    [  OK  ] Stopped User Login Management.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Load Kernel Module drm...
    [  128.550614] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [  OK  ] Reached target Hardware activated USB gadget.
    [  129.008054] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [  129.013760] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [  129.021865] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [  129.028055] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [  129.037614] xhci-hcd xhci-hcd.3.auto: irq 424, io mem 0x31100000
    [  129.047172] hub 1-0:1.0: USB hub found
    [  129.051147] hub 1-0:1.0: 1 port detected
    [  129.067027] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [  OK  ] Finished Load Kernel Module drm.
    [  129.198735] audit: type=1334 audit(161.548:14): prog-id=13 op=LOAD
    [  129.205869] audit: type=1334 audit(161.556:15): prog-id=14 op=LOAD
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  OK  ] Finished Load Kernel Module drm.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  OK  ] Stopped User Login Management.
             Starting Load Kernel Module drm...
    [  OK  ] Started DEMO.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Listening on Load/Save RF itch Status /dev/rfkill Watch.
    [FAILED] Failed to start User Login Management.
    See 'systemctl status systemd-logind.service' for details.
    [  132.710224] cfg80211: Loading compiled-in X.509 certificates for regulatory database
             Starting Save/Restore Sound Card State...
    [  133.503229] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [  133.510868] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [FAILED] Failed to start D-Bus System Message Bus.
    See 'systemctl status dbus-broker.service' for details.
    [  OK  ] Finished Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Started Network Configuration.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Maent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  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...
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
             Starting Weston, a Waylandositor, as a system service...
    [  OK  ] Stopped Network Name Resolution.
    [FAILED] Failed to start Network Name Resolution.
    See 'systemctl status systemd-resolved.service' for details.
    [  139.059585] kauditd_printk_skb: 6 callbacks suppressed
    [  139.059618] audit: type=1701 audit(171.408:22): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=730 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
    See 'systemctl status avahi-daemon.service' for details.
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Created slice Slice /system/systemd-coredump.
    [  141.435222] audit: type=1334 audit(173.784:23): prog-id=17 op=LOAD
    [  141.441666] audit: type=1334 audit(173.792:24): prog-id=18 op=LOAD
    [FAILED] Failed to start Process Core Dump (PID 765/UID 0).
    See 'systemctl status systemd-coredump@0-765-0.service' for details.
    [  142.506569] audit: type=1334 audit(174.856:25): prog-id=19 op=LOAD
    [  142.512985] audit: type=1334 audit(174.864:26): prog-id=20 op=LOAD
             Starting User Database Manager...
    [  OK  ] Found device /dev/mmcblk1p2.[  144.105696] audit: type=1006 audit(176.456:27): pid=761 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=1 res=1
    [  144.118659] audit: type=1300 audit(176.456:27): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a8dc18 a2=4 a3=ffffa6927020 items=0 ppid=1 pid=761 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=1 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [  144.145158] audit: type=1327 audit(176.456:27): proctitle="(weston)"
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62xx-evm -
    
    Arago 2023.10 am62xx-evm -
    
    am62xx-evm login: [  146.938676] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    root
    
    [  151.323646] audit: type=1006 audit(183.672:28): pid=859 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [  151.335945] audit: type=1300 audit(183.672:28): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a8dc18 a2=4 a3=0 items=0 ppid=1 pid=859 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="/lib/systemd/systemd" key=(null)
    [  151.361473] audit: type=1327 audit(183.672:28): proctitle="(weston)"
    [  151.785905] audit: type=1006 audit(184.136:29): pid=862 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=3 res=1
    [  151.798245] audit: type=1300 audit(184.136:29): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a8dc18 a2=4 a3=0 items=0 ppid=1 pid=862 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=3 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [  151.823759] audit: type=1327 audit(184.136:29): proctitle="(weston)"
    [  152.063703] audit: type=1006 audit(184.412:30): pid=882 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=4 res=1
    [  152.077620] audit: type=1300 audit(184.412:30): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc8a8dc18 a2=4 a3=0 items=0 ppid=1 pid=882 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=4 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [  152.102843] audit: type=1327 audit(184.412:30): proctitle="(weston)"
    [  152.263645] audit: type=1006 audit(184.612:31): pid=892 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=5 res=1
    root@am62xx-evm:~# dmesg |grep serira  al
    [    0.287152] 4a00000.serial: ttyS0 at MMIO 0x4a00000 (irq = 240, base_baud = 3000000) is a 8250
    [    0.288474] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 241, base_baud = 3000000) is a 8250
    [  117.687208] systemd[1]: Created slice Slice /system/serial-getty.
    root@am62xx-evm:~# [  162.017870] kauditd_printk_skb: 5 callbacks suppressed
    [  162.017900] audit: type=1701 audit(194.368:33): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=327 comm="ti-apps-launche" exe="/usr/bin/ti-apps-launcher" sig=11 res=1
    [  162.117973] audit: type=1334 audit(194.468:34): prog-id=21 op=LOAD
    [  162.124407] audit: type=1334 audit(194.472:35): prog-id=22 op=LOAD
    
    root@am62xx-evm:~# 
    root@am62xx-evm:~# ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
    adwaita-icon-theme-symbolic
    autoconf
    bash-dev
    bash
    bc
    binutils
    cifs-utils
    coreutils-stdbuf
    coreutils
    cpio
    cpp-symlinks
    cpp
    dosfstools
    elfutils
    g++-symlinks
    g++
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    gettext
    glmark2
    gnu-config
    grep
    grub-common
    grub-editenv
    grub-efi
    gzip
    hidapi
    less
    libasm1
    libatomic-dev
    libatomic1
    libbfd
    libdebuginfod1
    libdw1
    libeigen-dev
    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
    libqt5sensors-plugins
    libqt5sensors-qmlplugins
    libqt5sensors5
    libqt5serialport-examples
    libqt5serialport-plugins
    libqt5serialport-qmlplugins
    libqt5serialport5
    libqt5svg-examples
    libqt5svg-plugins
    libqt5svg-qmlplugins
    libqt5svg5
    libqt5virtualkeyboard-plugins
    libqt5virtualkeyboard-qmlplugins
    libqt5virtualkeyboard5
    libqt5webchannel-plugins
    libqt5webchannel-qmlplugins
    libqt5webchannel5
    libreadline-dev
    libreadline8
    libstdc++-dev
    libstdc++6
    libunistring2
    m4-dev
    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
    ***************************************************************
    ***************************************************************
    
    root@am62xx-evm:~# echo ""
    
    root@am62xx-evm:~# echi   o ::  ""1"2"3"4"5"6"0" """ > /dev/ttyS0
    
    
    
    ^C
    root@am62xx-evm:~# cat /dev/ttyS0
    
    
    ^C
    root@am62xx-evm:~# 

    We also find a similar thread below.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1404731/am625-am625-evm-uart?

    Customer also finds the following information coming out from the mcu_uart0

    Customer also tried configure the dts the same as k3-am62x-sk-lpm-wkup-sources.dtso , but the result is the same.

    Customer also tried your suggestion in the above thread, using the base image instead of the default one, but still the same result. The boot image in the "tisdk-base-image-am62xx-evm.wic.xzbase image customer used is Image-6.1.83-ti-gc1c2f1971fbf

    The exact command customer used is quite simple. Firstly they configured the corresponding baud rate using  stty -F /dev/ttyS0 115200 cs8 -cstopb -parenb

    Then customer used   echo "xxx" > /dev/ttyS0    but as you could see from the log, there is noting came out, the situation is very similar to the above thread.

    Could you please let us know what else might be needed to try further?

    Thanks,

    Kevin

  • Hi Bin,

    I used tisdk-base-image-am62xx-evm.wic.xz and added the below code in k3-am625-sk.dts

    &mcu_pmx0 {
        wake_mcugpio1_pins_default: wake-mcugpio1-pins-default {
            pinctrl-single,pins = <
                AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7) /* (D8) MCU_SPI0_D1.MCU_GPIO0_4 */
            >;
        };
    
        mcu_mcan0_tx_pins_default: mcu-mcan0-tx-pins-default {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x034, PIN_OUTPUT, 0) /* (D6) MCU_MCAN0_TX */
            >;
        };
    
        mcu_mcan0_rx_pins_default: mcu-mcan0-rx-pins-default {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x038, PIN_INPUT, 0) /* (B3) MCU_MCAN0_RX */
            >;
        };
    
        mcu_mcan0_rx_pins_wakeup: mcu-mcan0-rx-pins-wakeup {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x038, PIN_INPUT | WKUP_EN, 0) /* (B3) MCU_MCAN0_RX */
            >;
        };
    
        mcu_mcan1_tx_pins_default: mcu-mcan1-tx-pins-default {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x03c, PIN_OUTPUT, 0) /* (E5) MCU_MCAN1_TX */
            >;
        };
    
        mcu_mcan1_rx_pins_default: mcu-mcan1-rx-pins-default {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x040, PIN_INPUT, 0) /* (D4) MCU_MCAN1_RX */
            >;
        };
    
        mcu_mcan1_rx_pins_wakeup: mcu-mcan1-rx-pins-wakeup {
            pinctrl-single,pins = <
                AM62X_IOPAD(0x040, PIN_INPUT | WKUP_EN, 0) /* (D4) MCU_MCAN1_RX */
            >;
        };
    
        mcu_uart0_pins_default: mcu-uart0-pins-default {
            pinctrl-single,pins = <
                AM62X_MCU_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_UART0_CTSn */
                AM62X_MCU_IOPAD(0x0020, PIN_OUTPUT, 0) /* MCU_UART0_RTSn */
                AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* MCU_UART0_TXD */
            >;
        };

    Then I recompiled k3-am625-sk.dtb, and replaced that in the base image.

    Then I use SD card boot the EVM board, and follow the below 4 steps.

    1: After EVM board boots up, run stty -F /dev/ttyS0 115200 -crtscts

    2: On the PC run sudo stty -F /dev/ttyUSB3 115200 -crtscts

    3: On the PC run sudo cat /dev/ttyUSB3 

    4: On the EVM board run echo hello > /dev/ttyS0

    Then I got the below result which is passed.

    And there is a smart way that we do not need recompile the dtb file, we could just add the following in uEnv.txt:

    name_overlays=k3-am62x-sk-lpm-wkup-sources.dtbo

    Then this could directly enable the mcu_uart0.

    Thanks,

    Kevin

  • Hi Kevin,

    Glad to see you got it working. Thanks for the update.