How to configure custom UART?

Hello!

I know how I can use Verdin standard UART interfaces but what is needed to get for example UART6 with TX on SODIMM196 and RX on SODIMM202 to work with Linux command # stty -F /dev/verdin-uart6 115200 ?

I have defined the uart6 pins and interface in device tree overlay as fallows

 &main_pmx0 {
 	/* Verdin UART_6 */
 	pinctrl_uart6: main-uart6-pins-default {
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x0020, PIN_OUTPUT, 3) /* (J25) OSPI0_D5.UART6_TXD */ /* SODIMM 196 */
 			AM62X_IOPAD(0x001c, PIN_INPUT_PULLUP, 3) /* (J23) OSPI0_D4.UART6_RXD */ /* SODIMM 202 */
 		>;
 	};	
 };
 
 /* Verdin SPI_1 */
 &main_spi1 {
 	status = "disabled";
 };
 
 /* Verdin UART_6 */
 &main_uart6 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart6>;
 	status = "okay";
 };

What else is needed to make this UART appear in /dev/verdin-uart6?

Hi @SmartStuff ,

Can you send us a dmesg log?

Best Regards
Kevin

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.46-6.5.0-devel+git.8e6a2ddd4fe6 (oe-user@oe-host) (aarch64-tdx-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1-TorizonCore SMP PREEMPT Thu Dec 21 17:08:38 UTC 2023
[    0.000000] Machine model: Invendor v1
[    0.000000] efi: UEFI not found.
[    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-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] cma: Reserved 128 MiB at 0x00000000b6c00000
[    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 28 pages/cpu s74856 r8192 d31640 u114688
[    0.000000] pcpu-alloc: s74856 r8192 d31640 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    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: 258048
[    0.000000] Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/a5ec1548970a73ee21e43b5ec32032ec11cbcde20355750b549bfe97af7ac288/0 firmware_class.path=/etc/btfw/
[    0.000000] Unknown kernel command line parameters "splash ostree=/ostree/boot.1/torizon/a5ec1548970a73ee21e43b5ec32032ec11cbcde20355750b549bfe97af7ac288/0", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 787872K/1048576K available (15040K kernel code, 3038K rwdata, 6008K rodata, 3840K init, 595K bss, 129632K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 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 @0x00000000800d0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000800e0000
[    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.000398] Console: colour dummy device 80x25
[    0.000449] printk: console [tty0] enabled
[    0.000514] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000529] pid_max: default: 32768 minimum: 301
[    0.000610] LSM: Security Framework initializing
[    0.000739] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000756] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002787] cblist_init_generic: Setting adjustable number of callback queues.
[    0.002809] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.002886] cblist_init_generic: Setting adjustable number of callback queues.
[    0.002892] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.003092] rcu: Hierarchical SRCU implementation.
[    0.003097] rcu:     Max phase no-delay instances is 1000.
[    0.004005] Platform MSI: msi-controller@1820000 domain created
[    0.004364] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.004634] EFI services will not be available.
[    0.005204] smp: Bringing up secondary CPUs ...
[    0.005988] Detected VIPT I-cache on CPU1
[    0.006115] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.006134] GICv3: CPU1: using allocated LPI pending table @0x00000000800f0000
[    0.006202] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.006355] smp: Brought up 1 node, 2 CPUs
[    0.006366] SMP: Total of 2 processors activated.
[    0.006373] CPU features: detected: 32-bit EL0 Support
[    0.006379] CPU features: detected: CRC32 instructions
[    0.006441] CPU: All CPU(s) started at EL2
[    0.006446] alternatives: applying system-wide alternatives
[    0.008234] devtmpfs: initialized
[    0.017885] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017929] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.023623] pinctrl core: initialized pinctrl subsystem
[    0.025092] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.026176] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.026279] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.026409] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.026505] audit: initializing netlink subsys (disabled)
[    0.026805] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.027386] thermal_sys: Registered thermal governor 'step_wise'
[    0.027394] thermal_sys: Registered thermal governor 'power_allocator'
[    0.027456] cpuidle: using governor menu
[    0.027676] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.027750] ASID allocator initialised with 65536 entries
[    0.027899] Serial: AMBA PL011 UART driver
[    0.042960] KASLR disabled due to lack of seed
[    0.056859] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.056882] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.056889] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.056893] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.056898] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.056902] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.056908] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.056912] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.057488] cryptd: max_cpu_qlen set to 1000
[    0.059120] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
[    0.060070] iommu: Default domain type: Translated
[    0.060079] iommu: DMA domain TLB invalidation policy: strict mode
[    0.060529] SCSI subsystem initialized
[    0.060820] libata version 3.00 loaded.
[    0.061045] usbcore: registered new interface driver usbfs
[    0.061082] usbcore: registered new interface driver hub
[    0.061110] usbcore: registered new device driver usb
[    0.061659] mc: Linux media interface: v0.10
[    0.061699] videodev: Linux video capture interface: v2.00
[    0.061758] pps_core: LinuxPPS API ver. 1 registered
[    0.061763] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.061778] PTP clock support registered
[    0.061913] EDAC MC: Ver: 3.0.0
[    0.062980] FPGA manager framework
[    0.063092] Advanced Linux Sound Architecture Driver Initialized.
[    0.063775] Bluetooth: Core ver 2.22
[    0.063809] NET: Registered PF_BLUETOOTH protocol family
[    0.063814] Bluetooth: HCI device and connection manager initialized
[    0.063825] Bluetooth: HCI socket layer initialized
[    0.063833] Bluetooth: L2CAP socket layer initialized
[    0.063848] Bluetooth: SCO socket layer initialized
[    0.064243] vgaarb: loaded
[    0.064759] clocksource: Switched to clocksource arch_sys_counter
[    0.065143] VFS: Disk quotas dquot_6.6.0
[    0.065185] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.071580] NET: Registered PF_INET protocol family
[    0.071805] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.073135] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.073168] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.073187] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.073250] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.073592] TCP: Hash tables configured (established 8192 bind 8192)
[    0.073777] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.073825] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.074053] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.085033] RPC: Registered named UNIX socket transport module.
[    0.085055] RPC: Registered udp transport module.
[    0.085059] RPC: Registered tcp transport module.
[    0.085062] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.085077] NET: Registered PF_XDP protocol family
[    0.085101] PCI: CLS 0 bytes, default 64
[    0.085419] Trying to unpack rootfs image as initramfs...
[    0.085823] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.920179] Initialise system trusted keyrings
[    0.920632] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.925654] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.926552] NFS: Registering the id_resolver key type
[    0.926619] Key type id_resolver registered
[    0.926624] Key type id_legacy registered
[    0.926690] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.926698] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.963349] NET: Registered PF_ALG protocol family
[    0.963416] Key type asymmetric registered
[    0.963422] Asymmetric key parser 'x509' registered
[    0.963587] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.964034] io scheduler mq-deadline registered
[    0.964044] io scheduler kyber registered
[    0.967903] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.968643] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.977259] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.993273] brd: module loaded
[    0.999523] loop: module loaded
[    1.000099] zram: Added device: zram0
[    1.006066] VFIO - User Level meta-driver version: 0.3
[    1.007162] usbcore: registered new interface driver usb-storage
[    1.007261] usbcore: registered new interface driver usbserial_generic
[    1.007292] usbserial: USB Serial support registered for generic
[    1.008484] i2c_dev: i2c /dev entries driver
[    1.011468] sdhci: Secure Digital Host Controller Interface driver
[    1.011493] sdhci: Copyright(c) Pierre Ossman
[    1.011844] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.012624] ledtrig-cpu: registered to indicate activity on CPUs
[    1.012896] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.013254] hid: raw HID events driver (C) Jiri Kosina
[    1.013411] usbcore: registered new interface driver usbhid
[    1.013419] usbhid: USB HID core driver
[    1.015047]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.015620] optee: probing for conduit method.
[    1.015665] optee: revision 4.0 (2a5b1d12)
[    1.016066] optee: dynamic shared memory is enabled
[    1.017061] optee: initialized driver
[    1.018868] usbcore: registered new interface driver snd-usb-audio
[    1.020366] NET: Registered PF_INET6 protocol family
[    1.021085] random: crng init done
[    1.022290] Segment Routing with IPv6
[    1.022325] In-situ OAM (IOAM) with IPv6
[    1.022395] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.022990] NET: Registered PF_PACKET protocol family
[    1.023095] Key type dns_resolver registered
[    1.024031] registered taskstats version 1
[    1.024081] Loading compiled-in X.509 certificates
[    1.024578] Key type .fscrypt registered
[    1.024589] Key type fscrypt-provisioning registered
[    1.040397] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
[    1.109517] omap_i2c 4900000.i2c: bus 3 rev0.12 at 100 kHz
[    1.144595] input: tps65219-pwrbutton as /devices/platform/bus@f0000/20000000.i2c/i2c-0/0-0030/tps65219-pwrbutton.2.auto/input/input0
[    1.147188] rtc-ds1307 0-0032: registered as rtc0
[    1.147668] rtc-ds1307 0-0032: setting system clock to 2024-02-06T14:39:32 UTC (1707230372)
[    1.148600] at24 0-0050: supply vcc not found, using dummy regulator
[    1.149163] at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.149265] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.151347] at24 1-0057: supply vcc not found, using dummy regulator
[    1.185411] at24 1-0057: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.186041] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
[    1.187566] omap_i2c 20030000.i2c: bus 4 rev0.12 at 100 kHz
[    1.188018] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
[    1.188315] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
[    1.188674] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
[    1.190883] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.193278] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
[    1.196299] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.200588] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
[    1.203790] 4a00000.serial: ttyS3 at MMIO 0x4a00000 (irq = 289, base_baud = 3000000) is a 8250
[    1.205465] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 290, base_baud = 3000000) is a 8250
[    1.205748] printk: console [ttyS2] enabled
[    1.206970] omap8250 2850000.serial: PM domain pd:156 will not be powered off
[    1.207380] 2850000.serial: ttyS4 at MMIO 0x2850000 (irq = 291, base_baud = 3000000) is a 8250
[    1.207561] serial serial0: tty port ttyS4 registered
[    1.209543] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.274869] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.191986] Freeing initrd memory: 43016K
[    2.199006] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[    2.199222] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    2.199232] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    2.200204] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[    2.203123] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    2.209520] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    2.209571] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[    2.209721] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
[    2.209730] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[    2.209802] xhci-hcd xhci-hcd.3.auto: irq 295, io mem 0x31100000
[    2.210628] hub 1-0:1.0: USB hub found
[    2.210665] hub 1-0:1.0: 1 port detected
[    2.316663] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
[    2.320526] mmc0: CQHCI version 5.10
[    2.321744] gpio-427 (CTRL_SLEEP_MOCI#): hogged as output/high
[    2.329238] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    2.354825] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[    2.384780] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.401726] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[    2.405619] mmc1: CQHCI version 5.10
[    2.405807] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    2.405837] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
[    2.406054] xhci-hcd xhci-hcd.4.auto: USB3 root hub has no ports
[    2.406061] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[    2.406080] sdhci-am654 fa20000.mmc: allocated mmc-pwrseq
[    2.406138] xhci-hcd xhci-hcd.4.auto: irq 479, io mem 0x31000000
[    2.406576] mmc2: CQHCI version 5.10
[    2.407233] hub 2-0:1.0: USB hub found
[    2.407303] hub 2-0:1.0: 1 port detected
[    2.407862] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[    2.416986] mmc0: new HS200 MMC card at address 0001
[    2.418143] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[    2.420530]  mmcblk0: p1
[    2.421397] mmcblk0boot0: mmc0:0001 Q2J55L 16.0 MiB
[    2.422938] mmcblk0boot1: mmc0:0001 Q2J55L 16.0 MiB
[    2.424143] mmcblk0rpmb: mmc0:0001 Q2J55L 4.00 MiB, chardev (242:0)
[    2.430473] ALSA device list:
[    2.430487]   No soundcards found.
[    2.434966] xhci-hcd xhci-hcd.4.auto: remove, state 1
[    2.434994] usb usb2: USB disconnect, device number 1
[    2.435940] xhci-hcd xhci-hcd.4.auto: USB bus 2 deregistered
[    2.444859] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
[    2.489814] mmc2: new ultra high speed DDR50 SDIO card at address 0001
[    2.504819] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.722809] hub 1-1:1.0: USB hub found
[    2.723098] hub 1-1:1.0: 5 ports detected
[    3.104883] usb 1-1.5: new high-speed USB device number 3 using xhci-hcd
[    3.784895] usb 1-1.1: new high-speed USB device number 4 using xhci-hcd
[    3.965129] sdhci-am654 fa00000.mmc: Power on failed
[    3.996060] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[    4.000520] Freeing unused kernel memory: 3840K
[    4.000787] Run /init as init process
[    4.000803]   with arguments:
[    4.000819]     /init
[    4.000832]     splash
[    4.000846]   with environment:
[    4.000858]     HOME=/
[    4.000870]     TERM=linux
[    4.000882]     ostree=/ostree/boot.1/torizon/a5ec1548970a73ee21e43b5ec32032ec11cbcde20355750b549bfe97af7ac288/0
[    4.978182] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Quota mode: none.
[    5.562576] 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)
[    5.563389] systemd[1]: Detected architecture arm64.
[    5.689088] systemd[1]: Hostname set to <verdin-am62-15207055>.
[    5.940503] systemd-sysv-generator[423]: SysV service '/etc/init.d/fuse3' 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.
[    6.513587] systemd[1]: Queued start job for default target Multi-User System.
[    6.513655] systemd[1]: Unnecessary job was removed for /sys/devices/platform/bus@f0000/2800000.serial/tty/ttyS2.
[    6.601146] systemd[1]: Created slice Slice /system/getty.
[    6.604406] systemd[1]: Created slice Slice /system/modprobe.
[    6.607487] systemd[1]: Created slice Slice /system/serial-getty.
[    6.609686] systemd[1]: Created slice User and Session Slice.
[    6.610159] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.610580] systemd[1]: Reached target Remote File Systems.
[    6.610670] systemd[1]: Reached target Slice Units.
[    6.610772] systemd[1]: Reached target Swaps.
[    6.633544] systemd[1]: Listening on RPCbind Server Activation Socket.
[    6.633820] systemd[1]: Reached target RPC Port Mapper.
[    6.634390] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.635636] systemd[1]: Listening on Journal Audit Socket.
[    6.636311] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.636855] systemd[1]: Listening on Journal Socket.
[    6.637644] systemd[1]: Listening on Network Service Netlink Socket.
[    6.638345] systemd[1]: Listening on udev Control Socket.
[    6.638876] systemd[1]: Listening on udev Kernel Socket.
[    6.639369] systemd[1]: Listening on User Database Manager Socket.
[    6.645439] systemd[1]: Mounting Huge Pages File System...
[    6.655246] systemd[1]: Mounting POSIX Message Queue File System...
[    6.667035] systemd[1]: Mounting Kernel Debug File System...
[    6.674243] systemd[1]: Mounting Kernel Trace File System...
[    6.683507] systemd[1]: Mounting Temporary Directory /tmp...
[    6.692582] systemd[1]: Starting Create List of Static Device Nodes...
[    6.699785] systemd[1]: Starting Load Kernel Module configfs...
[    6.708280] systemd[1]: Starting Load Kernel Module drm...
[    6.719818] systemd[1]: Starting Load Kernel Module fuse...
[    6.720500] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[    6.736280] systemd[1]: Starting Journal Service...
[    6.747620] systemd[1]: Starting Load Kernel Modules...
[    6.756169] systemd[1]: Starting Generate network units from Kernel command line...
[    6.776200] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.786205] systemd[1]: Starting Coldplug All udev Devices...
[    6.800577] systemd[1]: Starting Setup Virtual Console...
[    6.822539] systemd[1]: Mounted Huge Pages File System.
[    6.824127] systemd[1]: Mounted POSIX Message Queue File System.
[    6.825606] systemd[1]: Mounted Kernel Debug File System.
[    6.826891] systemd[1]: Mounted Kernel Trace File System.
[    6.828472] systemd[1]: Mounted Temporary Directory /tmp.
[    6.831436] systemd[1]: Finished Create List of Static Device Nodes.
[    6.836856] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    6.838224] systemd[1]: Finished Load Kernel Module configfs.
[    6.839826] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    6.841069] systemd[1]: Finished Load Kernel Module drm.
[    6.843521] systemd[1]: Finished Generate network units from Kernel command line.
[    6.845297] fuse: init (API version 7.37)
[    6.860005] systemd[1]: Mounting Kernel Configuration File System...
[    6.862867] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    6.868617] systemd[1]: Finished Load Kernel Module fuse.
[    6.886212] systemd[1]: Mounting FUSE Control File System...
[    6.893797] systemd[1]: Mounted Kernel Configuration File System.
[    6.899603] systemd[1]: Finished Load Kernel Modules.
[    6.912524] systemd[1]: Mounted FUSE Control File System.
[    6.930318] systemd[1]: Starting Apply Kernel Variables...
[    6.989868] systemd[1]: Finished Setup Virtual Console.
[    6.998060] systemd[1]: Started Journal Service.
[    7.015423] EXT4-fs (mmcblk0p1): re-mounted. Quota mode: none.
[    7.114985] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[    7.270574] audit: type=1334 audit(1707230378.610:2): prog-id=5 op=LOAD
[    7.271859] audit: type=1334 audit(1707230378.610:3): prog-id=6 op=LOAD
[    7.835735] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[    7.835784] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[    8.063174] systemd-journald[437]: Received client request to flush runtime journal.
[    8.430183] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.0 (2731 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[    8.430230] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[    8.978873] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.0 (2731 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[    8.978926] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[    9.133970] audit: type=1334 audit(1707230380.470:4): prog-id=7 op=LOAD
[    9.138089] audit: type=1334 audit(1707230380.480:5): prog-id=8 op=LOAD
[    9.961594] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    9.999403] audit: type=1334 audit(1707230381.340:6): prog-id=9 op=LOAD
[   10.005549] audit: type=1334 audit(1707230381.350:7): prog-id=10 op=LOAD
[   10.023550] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.473326] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   10.473371] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   10.827744] usbcore: registered new interface driver option
[   10.827832] usbserial: USB Serial support registered for GSM modem (1-port)
[   10.828121] option 1-1.4:1.0: GSM modem (1-port) converter detected
[   10.872311] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[   10.872674] option 1-1.4:1.1: GSM modem (1-port) converter detected
[   10.904962] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[   10.905321] option 1-1.4:1.2: GSM modem (1-port) converter detected
[   10.907833] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[   10.908143] option 1-1.4:1.3: GSM modem (1-port) converter detected
[   10.908499] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB3
[   10.947326] usbcore: registered new interface driver cdc_wdm
[   10.978807] qmi_wwan 1-1.4:1.4: cdc-wdm0: USB WDM device
[   10.980072] qmi_wwan 1-1.4:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.3.auto-1.4, WWAN/QMI device, a2:58:c0:c9:0c:01
[   10.980283] usbcore: registered new interface driver qmi_wwan
[   11.778537] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   11.778883] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   11.820082] lm75 0-0048: supply vs not found, using dummy regulator
[   11.865862] hwmon hwmon0: temp1_input not attached to any thermal zone
[   11.865904] lm75 0-0048: hwmon0: sensor 'tmp1075'
[   11.866464] lm75 1-004f: supply vs not found, using dummy regulator
[   11.867855] hwmon hwmon1: temp1_input not attached to any thermal zone
[   11.867891] lm75 1-004f: hwmon1: sensor 'tmp1075'
[   12.453430] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.0 (2731 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   12.453479] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   12.687794] CAN device driver interface
[   12.797011] k3-m4-rproc 5000000.m4fss: device does not reserved memory regions, ret = -22
[   12.867556] m_can_platform 4e08000.can: m_can device registered (irq=0, version=32)
[   12.957306] k3-m4-rproc 5000000.m4fss: reserved memory init failed, ret = -22
[   12.965107] remoteproc remoteproc0: releasing 5000000.m4fss
[   12.965152] k3-m4-rproc: probe of 5000000.m4fss failed with error -22
[   12.978554] mwifiex_sdio mmc2:0001:1: info: FW download over, size 570928 bytes
[   13.284422] am65-cpsw-nuss 8000000.ethernet ethernet0: renamed from eth0
[   13.291015] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   13.291062] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   13.346369] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
[   13.420933] am65-cpsw-nuss 8000000.ethernet ethernet0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=355)
[   13.423153] am65-cpsw-nuss 8000000.ethernet ethernet0: configuring for phy/rgmii-rxid link mode
[   13.494907] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[   13.495124] platform 78000000.r5f: configured R5F for IPC-only mode
[   13.495145] platform 78000000.r5f: device does not have reserved memory regions, ret = -22
[   13.503433] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: reserved memory init failed, ret = -22
[   13.558590] pvrsrvkm: loading out-of-tree module taints kernel.
[   13.695163] remoteproc remoteproc0: releasing 78000000.r5f
[   13.695214] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_rproc_init failed, ret = -22
[   13.734392] k3_r5_rproc: probe of bus@f0000:bus@b00000:r5fss@78000000 failed with error -22
[   13.751442] kernel read not supported for file /trace_clock (pid: 467 comm: systemd-udevd)
[   13.751501] PVR_K:(Error):   467: TraceFS Read failed in PVRGpuTraceInitFTraceClockSource() [209]
[   13.784689] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   13.784739] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   13.848904] PVR_K:  467: Device: fd00000.gpu
[   13.849172] PVR_K:  467: Read BVNC 33.15.11.3 from HW device registers
[   13.849469] PVR_K:  467: RGX Device registered with BVNC 33.15.11.3
[   13.852603] [drm] Initialized pvr 23.2.6460340 20170530 for fd00000.gpu on minor 0
[   13.918826] usbcore: registered new interface driver cdc_ether
[   14.165392] cdc_ncm 1-1.1:2.0: MAC-Address: f8:e4:3b:5a:bd:fb
[   14.165436] cdc_ncm 1-1.1:2.0: setting rx_max = 16384
[   14.220893] cdc_ncm 1-1.1:2.0: setting tx_max = 16384
[   14.277975] cdc_ncm 1-1.1:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.3.auto-1.1, CDC NCM (NO ZLP), f8:e4:3b:5a:bd:fb
[   14.278360] usbcore: registered new interface driver cdc_ncm
[   14.303313] usbcore: registered new interface driver cdc_mbim
[   14.414863] mwifiex_sdio mmc2:0001:1: WLAN FW is active
[   14.446653] systemd-journald[437]: Data hash table of /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal has a fill level at 75.1 (2732 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation.
[   14.446707] systemd-journald[437]: /run/log/journal/7d3c5db2733b4aefa9e7a3b18a146ca3/system.journal: Journal header limits reached or header out-of-date, rotating.
[   14.451116] mwifiex_sdio mmc2:0001:1: Unknown api_id: 5
[   14.486100] mwifiex_sdio mmc2:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.92.21.p84)
[   14.486138] mwifiex_sdio mmc2:0001:1: driver_version = mwifiex 1.0 (16.92.21.p84)
[   15.680687] remoteproc remoteproc0: 30074000.pru is available
[   15.681872] remoteproc remoteproc1: 30078000.pru is available
[   16.450477] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.450520] Bluetooth: BNEP filters: protocol multicast
[   16.450555] Bluetooth: BNEP socket layer initialized
[   16.500833] Bluetooth: MGMT ver 1.22
[   16.674162] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.924045] IPv4: martian source 255.255.255.255 from 192.168.1.6, on dev eth0
[   19.924205] ll header: 00000000: ff ff ff ff ff ff b8 2d 28 22 e8 58 08 00
[   24.932430] IPv4: martian source 255.255.255.255 from 192.168.1.6, on dev eth0
[   24.932586] ll header: 00000000: ff ff ff ff ff ff b8 2d 28 22 e8 58 08 00
[   27.818537] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   27.824093] Bridge firewalling registered
[   27.883946] audit: type=1325 audit(1707230399.275:8): table=filter family=2 entries=0 op=xt_register pid=680 comm="iptables"
[   27.884084] audit: type=1300 audit(1707230399.275:8): arch=c00000b7 syscall=209 success=yes exit=0 a0=4 a1=0 a2=40 a3=fffff7bda630 items=0 ppid=664 pid=680 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" key=(null)
[   27.884145] audit: type=1327 audit(1707230399.275:8): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4C002D6E
[   27.948302] audit: type=1325 audit(1707230399.316:9): table=nat family=2 entries=0 op=xt_register pid=684 comm="iptables"
[   27.948378] audit: type=1300 audit(1707230399.316:9): arch=c00000b7 syscall=209 success=yes exit=0 a0=4 a1=0 a2=40 a3=ffffef401e10 items=0 ppid=664 pid=684 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" key=(null)
[   27.948418] audit: type=1327 audit(1707230399.316:9): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400505245524F5554494E47002D6D006164647274797065002D2D6473742D74797065004C4F43414C002D6A00444F434B4552
[   28.057644] audit: type=1325 audit(1707230399.459:10): table=nat family=2 entries=5 op=xt_replace pid=702 comm="iptables"
[   28.057690] audit: type=1300 audit(1707230399.459:10): arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=aaaaf8620a60 items=0 ppid=664 pid=702 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" key=(null)
[   28.057705] audit: type=1327 audit(1707230399.459:10): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B4552
[   28.077651] audit: type=1325 audit(1707230399.479:11): table=filter family=2 entries=4 op=xt_replace pid=704 comm="iptables"
[   28.201028] Initializing XFRM netlink socket
[   31.009174] docker0: port 1(veth255fca8) entered blocking state
[   31.009246] docker0: port 1(veth255fca8) entered disabled state
[   31.009972] device veth255fca8 entered promiscuous mode
[   32.149619] eth0: renamed from veth2329915
[   32.191698] IPv6: ADDRCONF(NETDEV_CHANGE): veth255fca8: link becomes ready
[   32.192056] docker0: port 1(veth255fca8) entered blocking state
[   32.192100] docker0: port 1(veth255fca8) entered forwarding state
[   32.192566] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
[   32.732665] docker0: port 1(veth255fca8) entered disabled state
[   32.734142] veth2329915: renamed from eth0
[   32.871682] docker0: port 1(veth255fca8) entered disabled state
[   32.878062] device veth255fca8 left promiscuous mode
[   32.878220] kauditd_printk_skb: 116 callbacks suppressed
[   32.878226] audit: type=1700 audit(1707230404.343:50): dev=veth255fca8 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295
[   32.878267] docker0: port 1(veth255fca8) entered disabled state
[   32.970284] audit: type=1300 audit(1707230404.343:50): arch=c00000b7 syscall=206 success=yes exit=32 a0=e a1=4000e2fca0 a2=20 a3=0 items=0 ppid=1 pid=664 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dockerd" exe="/usr/bin/dockerd" key=(null)
[   32.970407] audit: type=1327 audit(1707230404.343:50): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F002D2D636F6E7461696E6572643D2F72756E2F636F6E7461696E6572642F636F6E7461696E6572642E736F636B
[   46.592135] audit: type=1334 audit(1707230418.143:51): prog-id=10 op=UNLOAD
[   46.592246] audit: type=1334 audit(1707230418.143:52): prog-id=9 op=UNLOAD
[  103.368743] audit: type=1334 audit(1707230474.931:53): prog-id=11 op=LOAD
[  103.372936] audit: type=1334 audit(1707230474.931:54): prog-id=12 op=LOAD
[  103.832045] audit: type=1006 audit(1707230475.391:55): pid=2436 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[  103.832090] audit: type=1300 audit(1707230475.391:55): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff9865430 a2=4 a3=0 items=0 ppid=1 pid=2436 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd" key=(null)
[  103.832103] audit: type=1327 audit(1707230475.391:55): proctitle="(systemd)"
[  104.505092] audit: type=1006 audit(1707230476.071:56): pid=2174 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
[  104.505137] audit: type=1300 audit(1707230476.071:56): arch=c00000b7 syscall=64 success=yes exit=4 a0=7 a1=ffffe01c3860 a2=4 a3=ffffa965c920 items=0 ppid=1 pid=2174 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="sshd" exe="/usr/sbin/sshd" key=(null)
[  104.505152] audit: type=1327 audit(1707230476.071:56): proctitle=737368643A20746F72697A6F6E205B707269765D
[  254.699925] am65-cpsw-nuss 8000000.ethernet ethernet0: Link is Up - 1Gbps/Full - flow control off
[  254.700007] IPv6: ADDRCONF(NETDEV_CHANGE): ethernet0: link becomes ready
[  260.256093] IPv4: martian source 255.255.255.255 from 192.168.1.117, on dev ethernet0
[  260.256207] ll header: 00000000: ff ff ff ff ff ff f4 12 fa d2 e2 08 08 00
[  260.379825] IPv4: martian source 255.255.255.255 from 192.168.1.6, on dev ethernet0
[  260.379892] ll header: 00000000: ff ff ff ff ff ff b8 2d 28 22 e8 58 08 00
[  295.678033] IPv4: martian source 10.23.177.31 from 10.23.177.32, on dev wwan0
[  295.760598] IPv4: martian source 10.23.177.31 from 10.23.177.32, on dev wwan0
[  301.988193] audit: type=1006 audit(1707230673.551:57): pid=7375 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
[  301.988241] audit: type=1300 audit(1707230673.551:57): arch=c00000b7 syscall=64 success=yes exit=4 a0=7 a1=ffffe9860260 a2=4 a3=ffff8c93d920 items=0 ppid=1 pid=7375 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="sshd" exe="/usr/sbin/sshd" key=(null)
[  301.988258] audit: type=1327 audit(1707230673.551:57): proctitle=737368643A20746F72697A6F6E205B707269765D
[  309.922723] usb 1-1.1: USB disconnect, device number 4
[  309.923683] cdc_ncm 1-1.1:2.0 eth0: unregister 'cdc_ncm' usb-xhci-hcd.3.auto-1.1, CDC NCM (NO ZLP)

Hi @SmartStuff

can you run sudo tdx-info, sudo tdx-info -dt command and sudo tdx-info -d|grep uart, then share the output here? (read more here and please use the preformatted function when you share the long out/logs in this forum).

Can you also share the complete .dts overlay you have? Or are you modifying this directly on the original board .dts?

torizon@verdin-am62-15207055:~$ sudo tdx-info

Software summary
------------------------------------------------------------
Bootloader:               U-Boot
Kernel version:           6.1.46-6.5.0-devel+git.8e6a2ddd4fe6 #1-TorizonCore SMP PREEMPT Thu Dec 21 17:08:38 UTC 2023
Kernel command line:      root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.0/torizon/f2aa16e29126edc29d341b3009d84cddab88cf63a95c41d5535cb369c2f60f11/0 firmware_class.path=/etc/btfw/
Distro name:              NAME="TorizonCore"
Distro version:           VERSION_ID=6.5.0-devel-20240106-build.475
Distro variant:           VARIANT="Docker"
Hostname:                 verdin-am62-15207055
------------------------------------------------------------

Hardware info
------------------------------------------------------------
HW model:                 Toradex Verdin AM62 WB on Mallow Board
Toradex version:          0075 V1.1A
Serial number:            15207055
Processor arch:           aarch64
------------------------------------------------------------

torizon@verdin-am62-15207055:~$ sudo tdx-info -dt

Device tree
------------------------------------------------------------
Device tree enabled:      k3-am625-verdin-wifi-dev.dtb
Compatible string:        toradex,verdin-am62-wifi-mallowtoradex,verdin-am62-wifitoradex,verdin-am62ti,am625
Device trees available:
                          k3-am625-verdin-nonwifi-dahlia.dtb
                          k3-am625-verdin-nonwifi-dev.dtb
                          k3-am625-verdin-nonwifi-mallow.dtb
                          k3-am625-verdin-nonwifi-yavia.dtb
                          k3-am625-verdin-wifi-dahlia.dtb
                          k3-am625-verdin-wifi-dev.dtb
                          k3-am625-verdin-wifi-mallow.dtb
                          k3-am625-verdin-wifi-yavia.dtb
------------------------------------------------------------

Device tree overlays
------------------------------------------------------------
Overlays enabled:         fdt_overlays=invendor_verdin-am62_overlay0.dtbo custom-kargs_overlay.dtbo
Overlays available:
                          custom-kargs_overlay.dtbo
                          invendor_verdin-am62_overlay0.dtbo
                          verdin-am62_dsi-to-hdmi_overlay.dtbo
                          verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo
                          verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dtbo
                          verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dtbo
                          verdin-am62_nau8822-btl_overlay.dtbo
                          verdin-am62_ov5640_overlay.dtbo
                          verdin-am62_panel-cap-touch-10inch-dsi_overlay.dtbo
                          verdin-am62_panel-cap-touch-10inch-lvds_overlay.dtbo
                          verdin-am62_spidev_overlay.dtbo
------------------------------------------------------------

torizon@verdin-am62-15207055:~$ sudo tdx-info -d|grep uart
                          lrwxrwxrwx 1 root root           5 Feb 14 09:51 verdin-uart3 -> ttyS2
                          lrwxrwxrwx 1 root root           5 Feb 14 09:51 verdin-uart4 -> ttyS3
/dts-v1/;
/plugin/;

#include <k3-pinctrl.h>

/ {
	compatible = "toradex,verdin-am62";
	
	
	//soc {
	//	main_uart6: serial@2860000 {
	//		compatible = "ti,am64-uart", "ti,am654-uart";
	//		reg = <0x00 0x02860000 0x00 0x100>;
	//		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
	//		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
	//		clocks = <&k3_clks 158 0>;
	//		clock-names = "fclk";
	//		status = "disabled";
	//	};
	//};
	//
	//aliases {
	//	serial5 = &main_uart6;
	//};
};

&main_pmx0 {
	/* Locks */
	pinctrl_gpio_locks: lock_grp {
		pinctrl-single,pins = <
			AM62X_IOPAD(0x01a8, PIN_OUTPUT, 7)			/* (D20) MCASP0_AFSX.GPIO1_12   		*/ 			/* SODIMM 32 */ // upper enable
			AM62X_IOPAD(0x01a0, PIN_INPUT,  7)			/* (E18) MCASP0_AXR0.GPIO1_10   		*/ 			/* SODIMM 34 */ // upper feedback
			AM62X_IOPAD(0x019c, PIN_OUTPUT, 7)			/* (B18) MCASP0_AXR1.GPIO1_9    		*/ 			/* SODIMM 36 */ // lower enable
			AM62X_IOPAD(0x0098, PIN_INPUT,  7)			/* (U23) GPMC0_WAIT0.GPIO0_37   		*/  		/* SODIMM 44 */ // lower feedback
			AM62X_IOPAD(0x008c, PIN_OUTPUT, 7)			/* (L25) GPMC0_WEn.GPIO0_34     		*/			/* SODIMM 46 */ // drawer enable
			AM62X_IOPAD(0x0088, PIN_INPUT,  7)			/* (L24) GPMC0_OEn_REn.GPIO0_33 		*/			/* SODIMM 48 */ // drawer feedback
		>;					
	};					
						
	/* Phone charging */					
	pinctrl_gpio_charging: charging_grp {					
		pinctrl-single,pins = <					
			AM62X_IOPAD(0x0000, PIN_OUTPUT, 7)			/* (H24) OSPI0_CLK.GPIO0_0 	 			*/ 			/* SODIMM 52 */
		>;		
	};

	/* NFC reader */
	pinctrl_gpio_nfc_reader: nfc_grp{
		pinctrl-single,pins = <
			AM62X_IOPAD(0x01b0, PIN_OUTPUT, 7)			/* (A20) MCASP0_ACLKR.GPIO1_14 			*/			/* SODIMM 131 */ // WD34 active low
			AM62X_IOPAD(0x0198, PIN_INPUT,  7)			/* (A19) MCASP0_AXR2.GPIO1_8			*/			/* SODIMM 133 */ // WD0
			AM62X_IOPAD(0x0194, PIN_INPUT,  7)			/* (B19) MCASP0_AXR3.GPIO1_7			*/			/* SODIMM 135 */ // WD1
			AM62X_IOPAD(0x00a8, PIN_OUTPUT, 7)			/* (M21) GPMC0_CSn0.GPIO0_41			*/			/* SODIMM 220 */ // Reader LED
			AM62X_IOPAD(0x00ac, PIN_OUTPUT, 7)			/* (L21) GPMC0_CSn1.GPIO0_42			*/			/* SODIMM 222 */ // Reader buzzer
		>;
	};

	/* Verdin UART_6 */
	pinctrl_uart6: main-uart6-pins-default {
		pinctrl-single,pins = <
			AM62X_IOPAD(0x0020, PIN_OUTPUT, 3) /* (J25) OSPI0_D5.UART6_TXD */ /* SODIMM 196 */
			AM62X_IOPAD(0x001c, PIN_INPUT_PULLUP, 3) /* (J23) OSPI0_D4.UART6_RXD */ /* SODIMM 202 */
		>;
	};	
};		
		
&mcu_pmx0 {
		
	/* Button */		
	pinctrl_gpio_button: button_grp {		
		pinctrl-single,pins = <		
			AM62X_MCU_IOPAD(0x0030, PIN_INPUT, 7)		/* (A4) WKUP_UART0_RTSn.MCU_GPIO0_12 	*/			/* SODIMM 141 */
		>;
	};
	
	/* 4G module reset */
	pinctrl_gpio_4G_reset: 4G_grp {
		pinctrl-single,pins = <
			AM62X_MCU_IOPAD(0x0000, PIN_OUTPUT, 7)		/* (E8) MCU_SPI0_CS0.MCU_GPIO0_0 		*/			/* SODIMM 244 */
		>;			
	};			
				
	/* HW version bits			 */
	pinctrl_gpio_HW_version: HW_ver_grp {			
		pinctrl-single,pins = <			
			AM62X_MCU_IOPAD(0x0004, PIN_INPUT, 7)		/* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 		*/			/* SODIMM 206 */ // bit 0
			AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 7)		/* (A7) MCU_SPI0_CLK.MCU_GPIO0_2 		*/			/* SODIMM 208 */ // bit 1
			AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 7)		/* (D9) MCU_SPI0_D0.MCU_GPIO0_3  		*/			/* SODIMM 210 */ // bit 2
			AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7)		/* (C9) MCU_SPI0_D1.MCU_GPIO0_4  		*/			/* SODIMM 212 */ // bit 3
		>;
	};
};

/* Verdin UART_1 */
&main_uart1 {
	status = "disabled";
};

/* Verdin UART_2 */  // disabled, conflicts with button
&wkup_uart0 {
	status = "disabled";
};

/* Verdin I2S_1 */ // disabled, conflicts with locks
&mcasp0 {
	status = "disabled";
};

/* Verdin I2S_2 */ // disabled, conflicts with locks
&mcasp1 {
	status = "disabled";
};

/* Verdin QSPI_1 */ // disabled, conflicts with phone charging
&ospi0 {
	status = "disabled";
};

/* Verdin I2C_2_DSI */
&main_i2c2 {
	status = "disabled";
};

/* Verdin SPI_1 */
&main_spi1 {
	status = "disabled";
};

/* Verdin UART_6 */
&main_uart6 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart6>;
	status = "okay";
};

&main_gpio0 {
	gpio-line-names =
		"SODIMM_52", /* 0 */
		"",
		"",
		"SODIMM_56",
		"SODIMM_58",
		"SODIMM_60",
		"SODIMM_62",
		"",
		"",
		"",
		"", /* 10 */
		"SODIMM_54",
		"SODIMM_64",
		"",
		"",
		"SODIMM_174",
		"SODIMM_172",
		"",
		"",
		"",
		"", /* 20 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"SODIMM_76",
		"SODIMM_21", /* 30 */
		"SODIMM_256",
		"SODIMM_252",
		"SODIMM_48",
		"SODIMM_46",
		"SODIMM_42",
		"SODIMM_218",
		"SODIMM_44",
		"SODIMM_189",
		"",
		"SODIMM_216", /* 40 */
		"SODIMM_220",
		"SODIMM_222",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 50 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 60 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 70 */
		"SODIMM_157",
		"SODIMM_187",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 80 */
		"",
		"",
		"",
		"",
		"",
		"";
};

&main_gpio0 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpio_locks>,
		    <&pinctrl_gpio_charging>,
		    <&pinctrl_gpio_nfc_reader>,
			<&pinctrl_gpio_button>,
		    <&pinctrl_gpio_4G_reset>,
		    <&pinctrl_gpio_HW_version>;
};

&main_gpio1 {
	gpio-line-names =
		"", /* 0 */
		"",
		"",
		"",
		"",
		"",
		"",
		"SODIMM_135",
		"SODIMM_133",
		"SODIMM_36",
		"SODIMM_34", /* 10 */
		"",
		"SODIMM_32",
		"",
		"SODIMM_131",
		"SODIMM_15",
		"SODIMM_16",
		"SODIMM_19",
		"SODIMM_66",
		"SODIMM_161",
		"", /* 20 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 30 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 40 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"SODIMM_17",
		"", /* 50 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 60 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 70 */
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"", /* 80 */
		"",
		"",
		"",
		"",
		"",
		"",
		"";
};

&mcu_gpio0 {
	gpio-line-names =
		"SODIMM_244",
		"SODIMM_206",
		"SODIMM_208",
		"SODIMM_210",
		"SODIMM_212",
		"",
		"",
		"",
		"",
		"SODIMM_137",
		"SODIMM_139",
		"SODIMM_143",
		"SODIMM_141",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"",
		"";
};

With this overlay I get a line in dmesg that says:

[    1.207569] omap8250 2860000.serial: failed to get alias

when I add alias as shown below the compiler starts complaining ERROR (Path_references): /aliases: Reference to non-existent node or label “main_uart6”

aliases {
	serial5 = &main_uart6;
};

When I add node for main_uart6 which should be included from k3-am62-main.dtsi but for some reason is not visible

soc {
	main_uart6: serial@2860000 {
		compatible = "ti,am64-uart", "ti,am654-uart";
		reg = <0x00 0x02860000 0x00 0x100>;
		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
		clocks = <&k3_clks 158 0>;
		clock-names = "fclk";
		status = "disabled";
	};
};

then the device tree compiles but there is no mention of 2860000 in dmesg and no additional ttySx show up under /dev/ folder

Hi @SmartStuff ,

you are missing ampersand in the alias and it shouldn’t be in “root compatible node”. Try this one instead:

#...
/ {
	compatible = "toradex,verdin-am62";
};

&aliases {
	serial5 = &main_uart6;
};
#...

Btw, you won’t find UART6 in /dev/verdin-uart6 because we don’t define a symlink for UART6 in our BSP. I see that 3 UARTs are available for your board from your dmesg output:

#Verdin_UART4
[    1.203790] 4a00000.serial: ttyS3 at MMIO 0x4a00000 (irq = 289, base_baud = 3000000) is a 8250

#Verdin_UART3 -> debug console
[    1.205465] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 290, base_baud = 3000000) is a 8250

#this should be UART5 as defined here https://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm64/boot/dts/ti/k3-am62-main.dtsi?h=toradex_ti-linux-6.1.y
[    1.207380] 2850000.serial: ttyS4 at MMIO 0x2850000 (irq = 291, base_baud = 3000000) is a 8250

As you see, strangely UART5 is registered as ttyS4 instead of the UART6. It should show 2860000.serial instead. But it seems that you did some changes and now it shows the correct output from your latest output:

[ 1.207569] omap8250 2860000.serial: failed to get alias

If I assume that UART6 will be registered as ttyS4, you should be able to do e.g. stty -F /dev/ttyS4 speed to get the baudrate.

I think we are close to the solution :slight_smile: Let me know if this help to solve your issue

Hello,
In Toradex documentation there is a page that describes the use of aliases node:

Your suggestion to move the aliases outside of the root node works the same way as mine and gives the same error in compilation:
ERROR (Path_references): /fragment@0/overlay: Reference to non-existent node or label “main_uart6”

Why doesn’t the compiler see the reference in k3-am62-main.dtsi? In tcbuild.yaml I use linux/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-mallow.dts as base device tree that includes k3-am625.dtsi which in turn include k3-am62.dtsi and which in turn includes k3-am62-main.dtsi

2850000.serial is not my UART6, it is UART5 that is used for communication with on-module Bluetooth as defined in k3-am62-verdin-wifi.dtsi and k3-am62-main.dtsi

/* On-module Bluetooth */
&main_uart5 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart5>;
	uart-has-rtscts;
	status = "okay";

	bluetooth {
		compatible = "nxp,88w8987-bt";
		fw-init-baudrate = <3000000>;
	};
};
	main_uart5: serial@2850000 {
		compatible = "ti,am64-uart", "ti,am654-uart";
		reg = <0x00 0x02850000 0x00 0x100>;
		interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
		clocks = <&k3_clks 156 0>;
		clock-names = "fclk";
		status = "disabled";
	};

What else is needed for OS to bind UART or any other device under /dev/ folder

Hello,

So I modified the k3-am62-verdin.dtsi and added the alias serial5 = &main_uart6; into this file where all the other aliases are defined. And now it worked.
The dmesg shows:

torizon@verdin-am62-15207055:~$ dmesg | grep 2860000
[    1.218290] 2860000.serial: ttyS5 at MMIO 0x2860000 (irq = 292, base_baud = 3000000) is a 8250

My understanding was that I was not supposed to modify any of these files but how then am I suppose to achieve this result with just an overlay file?
If this is the only way then why isn’t there aliases for all the possible devices that can be configured for this module?

I am sorry, that’s a good hint. Alias is not a label, therefore we can’t use &alias. If you want to modify it directly in the base device tree and not overlay, then you add it in your k3-am625-verdin-wifi-dev.dts , which I assume to be your custom device tree for your Mallow. We do it like that for our Apalis iMX6+Ixora for example: imx6q-apalis-ixora-v1.2.dts « dts « boot « arm « arch - kernel/git/stable/linux.git - Linux kernel stable tree:

...
#include "imx6q.dtsi"
#include "imx6qdl-apalis.dtsi"

/ {
	model = "Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.2";
	compatible = "toradex,apalis_imx6q-ixora-v1.2", "toradex,apalis_imx6q",
		     "fsl,imx6q";

	aliases {
		i2c0 = &i2c1;
		i2c1 = &i2c3;
		i2c2 = &i2c2;
		rtc0 = &rtc_i2c;
		rtc1 = &snvs_rtc;
	};
...

If you want to add it in the overlay, add the alias as you can see in this example of verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts:

...
&{/} {
	aliases {
		serial5 = &main_uart6;
	};
}
...

This should reference to the root node of your base device tree. The root node of the compatible you have in the device tree overlay is not the same as the root of the base device tree. Let me know if it works.

Hello,

I added the special root node reference with “;” in the end but it gave the similar error as before:

ERROR (Path_references): /fragment@0/overlay/aliases: Reference to non-existent node or label “main_uart6”

Now it has aliases in the path.
The problem seams to be that in this root node there is no reference to main_uart6 node.

Hi @SmartStuff,

o yes right, you would need “;” as well. That’s weird, that it doesn’t work… If you check this overlay from BeagleBone: bb.org-overlays/src/arm/BB-I2C1-RTC-DS3231.dts at master · beagleboard/bb.org-overlays · GitHub, you can see that it also define the overlay the same way.

Anyways, can you still stty to ttyS5 even without the aliases working correctly?

Hello,

When the aliases don’t work you can’t use the ttySX device.
But the aliases work on the overlay when you write the device in full path like this:

&{/} {
	aliases {
		serial5 = "/bus@f0000/serial@2860000";
	};
};

It is nice to know that you can check the actual device tree like this:

torizon@verdin-am62-15207055:~$ ls /proc/device-tree/
'#address-cells'   cpus               memory@80000000     regulator-1v8-dsi        serial-number
'#size-cells'      extcon-usb0        model               regulator-1v8-eth        thermal-zones
 __symbols__       firmware           name                regulator-3v3            timer-cl0-cpu0
 aliases           gpio-keys          opp-table           regulator-sdhci1         toradex,board-rev
 bus@f0000         interrupt-parent   pmu                 regulator-sdhci1-vqmmc   toradex,product-id
 chosen            l2-cache0          regulator-1v0-eth   regulator-vsodimm        wifi-pwrseq
 compatible        leds               regulator-1v2-dsi   reserved-memory
torizon@verdin-am62-15207055:~$ ls /proc/device-tree/aliases/
can0  ethernet0  i2c0  i2c2  i2c4  mmc1  name  rtc1     serial1  serial3  serial5  usb0
can1  ethernet1  i2c1  i2c3  mmc0  mmc2  rtc0  serial0  serial2  serial4  serial6  usb1
torizon@verdin-am62-15207055:~$ sudo cat /proc/device-tree/aliases/serial5
Password:
/bus@f0000/serial@2860000

Thank you for your comment. It is still a bit of mystery that the label doesn’t work. Maybe need to dig in more into documentation…

You can also find the same list under /sys directory and you can do something like this to list all serial:

torizon@verdin-imx8mp-15139719:~$ find /sys/firmware/devicetree/ | grep serial@ | grep /name
/sys/firmware/devicetree/base/soc@0/bus@30800000/serial@30a60000/bluetooth/name
/sys/firmware/devicetree/base/soc@0/bus@30800000/serial@30a60000/name
/sys/firmware/devicetree/base/soc@0/bus@30800000/serial@30880000/name
/sys/firmware/devicetree/base/soc@0/bus@30800000/serial@30890000/name
/sys/firmware/devicetree/base/soc@0/bus@30800000/serial@30860000/name

It took a while but I am glad that it works now. As final note, maybe you can consider if you really want to use overlay or probably better to do all of your modification directly on your base device tree.