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.

SK-AM62A-LP: Issues running app_edgeai.py after kernel recompilation

Part Number: SK-AM62A-LP

Tool/software:

Hi Team,
After using the SDK to recompile the kernel to add the g_hid module to the sk-am62a-lp board, I'm encountering issues running the app_edgeai.py example.
It used to run without flaws but after the aforementioned changes the example now gives the following errors:

(env) root@am62axx-evm:/opt/edgeai-gst-apps/apps_python# python app_edgeai.py ../configs/face_detection.yaml
libtidl_onnxrt_EP loaded 0x342b9470
Final number of subgraphs created are : 1, - Offloaded Nodes - 257, Total Nodes - 257
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=5) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio2.rpmsg_chrdev.-1.13
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio1.rpmsg_chrdev.-1.13
IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
IPC: ERROR: Unable to create TX channels for CPU [c7x_1] !!!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
REMOTE_SERVICE: Init ... !!!
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio2.rpmsg_chrdev.-1.21
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio1.rpmsg_chrdev.-1.21
REMOTE_SERVICE: Init ... Done !!!
551.862635 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
551.862763 s: VX_ZONE_INIT:Enabled
551.862779 s: VX_ZONE_ERROR:Enabled
551.862792 s: VX_ZONE_WARNING:Enabled
551.863557 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
551.863792 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
551.864389 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
551.864630 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
551.864657 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
551.865205 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
551.882092 s: VX_ZONE_ERROR:[ownIpcSendMsg:140] OpenVX send notification failed
551.882141 s: VX_ZONE_ERROR:[ownObjDescSend:307] ownIpcSendMsg failed
551.882154 s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
551.882168 s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core
551.882182 s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
551.882200 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.tidl:1:2 ... failed !!!
551.882218 s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed
551.882231 s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed
TIDL_RT_OVX: ERROR: Verifying TIDL graph ... Failed !!!
TIDL_RT_OVX: ERROR: Verify OpenVX graph failed
==========[INPUT PIPELINE(S)]==========

[PIPE-0]

v4l2src device=/dev/video-imx219-cam0 io-mode=5 pixel-aspect-ratio=None ! queue leaky=2 ! capsfilter caps="video/x-bayer, width=(int)1920, height=(int)1080, format=(string)rggb;" ! tiovxisp dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sensor-name=SENSOR_SONY_IMX219_RPI ! capsfilter caps="video/x-raw, format=(string)NV12;" ! tiovxmultiscaler name=split_01
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)1280, height=(int)720;" ! tiovxdlcolorconvert out-pool-size=4 ! capsfilter caps="video/x-raw, format=(string)RGB;" ! appsink max-buffers=2 drop=True name=sen_0
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)640, height=(int)640;" ! tiovxdlpreproc out-pool-size=4 data-type=3 tensor-format=1 ! capsfilter caps="application/x-tensor-tiovx;" ! appsink max-buffers=2 drop=True name=pre_0


==========[OUTPUT PIPELINE]==========

appsrc do-timestamp=True format=3 block=True name=post_0 ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720;" ! queue ! mosaic_0.sink_0

tiovxmosaic target=1 background=/tmp/background_0 name=mosaic_0 src::pool-size=2
sink_0::startx="<320>" sink_0::starty="<150>" sink_0::widths="<1280>" sink_0::heights="<720>"
! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080;" ! v4l2jpegenc ! multifilesink sync=False location=/opt/edgeai-test-data/output/output_image_%04d.jpg


[1]+ Stopped(SIGTSTP) python app_edgeai.py ../configs/face_detection.yaml

I assume that this is because of some option I didn't enable in the menuconfig or something not activated in the device tree.

It would be helpful to know which modules are not being loaded properly or what is not correctly enabled.

Thanks,
Joaquin Perez

  • Hello,

    _rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio2.rpmsg_chrdev.-1.13
    _rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio1.rpmsg_chrdev.-1.13

    These logs for RPMsg seem to indicate that the drivers/modules for IPC are not being setup correctly. Could you capture the boot log (`dmesg` output) and provide this?

    Can you also give a bit more detail on what changes you made?

    • Did you attempt to touch u-boot or firmwares (loaded from /lib/firmware), or just the Linux kernel?
    • Did you modify the device tree?
    • Where did you retrieve the kernel you built from? Some of our analytics/Edge AI stack is probably not in upstream Linux
      • we provide the linux kernel we use within the SDK installation under /board_support

    My estimate is that the drivers for vision_apps (library .SO files under /usr/lib/libtivision_apps.so) or the IPC underneath are not being started at boot. I believe that is generally built into the kernel Image rather than being a loadable module

    That said, could you also provide printout of which modules are loaded? e.g. lsmod command

    BR,
    Reese

  • I just tried to modify the kernel provided by the SDK (using menuconfig) to enable g_hid. The device tree was also modified to enable pwm pins.

    The boot log is:
     

    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.1.80-dirty (joaco@joaco-VivoBook) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Mon Oct 14 22:19:59 -03 2024
    [ 0.000000] Machine model: Texas Instruments AM62A7 SK
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [ 0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [ 0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [ 0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [ 0.000000] NUMA: No NUMA configuration found
    [ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
    [ 0.000000] NUMA: NODE_DATA [mem 0x8ff891a00-0x8ff893fff]
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
    [ 0.000000] DMA32 empty
    [ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000997fffff]
    [ 0.000000] node 0: [mem 0x0000000099800000-0x000000009b7fefff]
    [ 0.000000] node 0: [mem 0x000000009b800000-0x000000009e6fffff]
    [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff]
    [ 0.000000] node 0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [ 0.000000] node 0: [mem 0x00000000a3000000-0x00000000adffffff]
    [ 0.000000] node 0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [ 0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [ 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 21 pages/cpu s48040 r8192 d29784 u86016
    [ 0.000000] pcpu-alloc: s48040 r8192 d29784 u86016 alloc=21*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: GIC system register CPU interface
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] alternatives: applying boot alternatives
    [ 0.000000] Fallback order for Node 0: 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032191
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=e6bcf846-02 rw rootfstype=ext4 rootwait
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: area num 4.
    [ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [ 0.000000] Memory: 2789240K/4194300K available (17088K kernel code, 3802K rwdata, 9560K rodata, 7680K init, 625K bss, 815236K reserved, 589824K 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 @880800000 (flat, esz 8, psz 64K, shr 0)
    [ 0.000000] ITS: using cache flushing for cmd queue
    [ 0.000000] GICv3: using LPI property table @0x0000000880040000
    [ 0.000000] GIC: using cache flushing for LPI property table
    [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [ 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.009865] Console: colour dummy device 80x25
    [ 0.014488] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [ 0.025170] pid_max: default: 32768 minimum: 301
    [ 0.029945] LSM: Security Framework initializing
    [ 0.034757] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.042336] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.051851] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.059282] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.065573] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.072969] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.079362] rcu: Hierarchical SRCU implementation.
    [ 0.084270] rcu: Max phase no-delay instances is 1000.
    [ 0.089823] Platform MSI: msi-controller@1820000 domain created
    [ 0.096072] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [ 0.105348] fsl-mc MSI: msi-controller@1820000 domain created
    [ 0.113646] EFI services will not be available.
    [ 0.118535] smp: Bringing up secondary CPUs ...
    [ 0.123762] Detected VIPT I-cache on CPU1
    [ 0.123849] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [ 0.123865] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [ 0.123909] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [ 0.124543] Detected VIPT I-cache on CPU2
    [ 0.124610] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [ 0.124624] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [ 0.124653] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [ 0.125214] Detected VIPT I-cache on CPU3
    [ 0.125286] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [ 0.125299] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [ 0.125327] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [ 0.125393] smp: Brought up 1 node, 4 CPUs
    [ 0.205129] SMP: Total of 4 processors activated.
    [ 0.209940] CPU features: detected: 32-bit EL0 Support
    [ 0.215208] CPU features: detected: 32-bit EL1 Support
    [ 0.220467] CPU features: detected: CRC32 instructions
    [ 0.225786] CPU: All CPU(s) started at EL2
    [ 0.229993] alternatives: applying system-wide alternatives
    [ 0.237598] devtmpfs: initialized
    [ 0.250084] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.260087] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.284031] pinctrl core: initialized pinctrl subsystem
    [ 0.291670] DMI not present or invalid.
    [ 0.296241] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.303237] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [ 0.310692] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.318776] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.326941] audit: initializing netlink subsys (disabled)
    [ 0.332595] audit: type=2000 audit(0.216:1): state=initialized audit_enabled=0 res=1
    [ 0.333868] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.340532] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.346742] cpuidle: using governor menu
    [ 0.357636] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.364664] ASID allocator initialised with 65536 entries
    [ 0.371942] Serial: AMBA PL011 UART driver
    [ 0.394839] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [ 0.412315] KASLR disabled due to lack of seed
    [ 0.425095] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.432053] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [ 0.438463] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.445434] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [ 0.451843] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.458782] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [ 0.465190] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.472129] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [ 0.480254] ACPI: Interpreter disabled.
    [ 0.486458] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [ 0.496929] iommu: Default domain type: Translated
    [ 0.501940] iommu: DMA domain TLB invalidation policy: strict mode
    [ 0.508615] SCSI subsystem initialized
    [ 0.512580] libata version 3.00 loaded.
    [ 0.512773] usbcore: registered new interface driver usbfs
    [ 0.518422] usbcore: registered new interface driver hub
    [ 0.523878] usbcore: registered new device driver usb
    [ 0.530458] pps_core: LinuxPPS API ver. 1 registered
    [ 0.535539] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.544888] PTP clock support registered
    [ 0.549038] EDAC MC: Ver: 3.0.0
    [ 0.553992] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [ 0.560838] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [ 0.567646] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [ 0.574374] omap-mailbox 29030000.mailbox: no available mbox devices found
    [ 0.582150] FPGA manager framework
    [ 0.585714] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.592774] vgaarb: loaded
    [ 0.595915] clocksource: Switched to clocksource arch_sys_counter
    [ 0.602369] VFS: Disk quotas dquot_6.6.0
    [ 0.606416] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.613611] pnp: PnP ACPI: disabled
    [ 0.622871] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [ 0.629223] NET: Registered PF_INET protocol family
    [ 0.634401] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.644850] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.653658] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.661601] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.669908] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [ 0.678278] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.685128] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.692086] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.699606] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.705781] RPC: Registered named UNIX socket transport module.
    [ 0.711857] RPC: Registered udp transport module.
    [ 0.716666] RPC: Registered tcp transport module.
    [ 0.721474] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.728065] NET: Registered PF_XDP protocol family
    [ 0.732974] PCI: CLS 0 bytes, default 64
    [ 0.737669] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [ 0.746749] kvm [1]: IPA Size Limit: 40 bits
    [ 0.752790] kvm [1]: vgic-v2@100010000
    [ 0.756639] kvm [1]: GIC system register CPU interface enabled
    [ 0.762699] kvm [1]: vgic interrupt IRQ9
    [ 0.766792] kvm [1]: Hyp mode initialized successfully
    [ 0.773374] Initialise system trusted keyrings
    [ 0.778176] workingset: timestamp_bits=42 max_order=20 bucket_order=0
    [ 0.790809] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.797346] NFS: Registering the id_resolver key type
    [ 0.802559] Key type id_resolver registered
    [ 0.806837] Key type id_legacy registered
    [ 0.811002] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.817857] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.825583] 9p: Installing v9fs 9p2000 file system support
    [ 0.867548] Key type asymmetric registered
    [ 0.871749] Asymmetric key parser 'x509' registered
    [ 0.876780] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [ 0.884478] io scheduler mq-deadline registered
    [ 0.889119] io scheduler kyber registered
    [ 0.903586] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [ 0.910083] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [ 0.917507] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [ 0.933272] EINJ: ACPI disabled.
    [ 0.965308] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [ 0.976800] SuperH (H)SCI(F) driver initialized
    [ 0.982242] msm_serial: driver initialized
    [ 0.994047] loop: module loaded
    [ 0.999318] megasas: 07.719.03.00-rc1
    [ 1.011280] tun: Universal TUN/TAP device driver, 1.6
    [ 1.017814] thunder_xcv, ver 1.0
    [ 1.021172] thunder_bgx, ver 1.0
    [ 1.024503] nicpf, ver 1.0
    [ 1.029065] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
    [ 1.036464] hns3: Copyright (c) 2017 Huawei Corporation.
    [ 1.041999] hclge is initializing
    [ 1.045417] e1000: Intel(R) PRO/1000 Network Driver
    [ 1.050406] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [ 1.056317] e1000e: Intel(R) PRO/1000 Network Driver
    [ 1.061393] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 1.067476] igb: Intel(R) Gigabit Ethernet Network Driver
    [ 1.072997] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 1.078724] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [ 1.085134] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [ 1.091796] sky2: driver version 1.30
    [ 1.097373] VFIO - User Level meta-driver version: 0.3
    [ 1.105583] usbcore: registered new interface driver usb-storage
    [ 1.115942] i2c_dev: i2c /dev entries driver
    [ 1.131616] sdhci: Secure Digital Host Controller Interface driver
    [ 1.137988] sdhci: Copyright(c) Pierre Ossman
    [ 1.143723] Synopsys Designware Multimedia Card Interface Driver
    [ 1.151349] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.160206] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.168354] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [ 1.175842] usbcore: registered new interface driver usbhid
    [ 1.181567] usbhid: USB HID core driver
    [ 1.192264] optee: probing for conduit method.
    [ 1.196847] optee: revision 4.1 (012cdca4)
    [ 1.197140] optee: dynamic shared memory is enabled
    [ 1.206684] optee: initialized driver
    [ 1.214268] Initializing XFRM netlink socket
    [ 1.218693] NET: Registered PF_PACKET protocol family
    [ 1.224007] 9pnet: Installing 9P2000 support
    [ 1.228442] Key type dns_resolver registered
    [ 1.233224] registered taskstats version 1
    [ 1.237447] Loading compiled-in X.509 certificates
    [ 1.275512] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [ 1.342386] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [ 1.352207] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.359704] pca953x 1-0023: supply vcc not found, using dummy regulator
    [ 1.366603] pca953x 1-0023: using AI
    [ 1.394383] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [ 1.424170] i2c i2c-2: Added multiplexed i2c bus 3
    [ 1.429472] i2c i2c-2: Added multiplexed i2c bus 4
    [ 1.434396] pca954x 2-0071: registered 2 multiplexed busses for I2C switch pca9543
    [ 1.442265] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [ 1.448678] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [ 1.457345] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [ 1.466824] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [ 1.476115] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [ 1.490435] ti-udma 485c0100.dma-controller: Number of rings: 82
    [ 1.498517] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [ 1.510418] ti-udma 485c0000.dma-controller: Number of rings: 150
    [ 1.520245] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [ 1.530610] ti-udma 4e230000.dma-controller: Number of rings: 6
    [ 1.537146] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [ 1.547690] printk: console [ttyS2] disabled
    [ 1.552137] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [ 1.561011] printk: console [ttyS2] enabled
    [ 1.569467] printk: bootconsole [ns16550a0] disabled
    [ 1.583090] spi-nand spi0.0: Winbond SPI NAND was found.
    [ 1.588439] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [ 1.596790] 7 fixed-partitions partitions found on MTD device spi0.0
    [ 1.603144] Creating 7 MTD partitions on "spi0.0":
    [ 1.607931] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [ 1.615213] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [ 1.622821] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [ 1.631360] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [ 1.638062] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [ 1.645371] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [ 1.690503] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [ 1.739974] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [ 1.749514] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [ 1.757655] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [ 1.770438] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [ 1.777568] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [ 1.783931] pps pps0: new PPS source ptp0
    [ 1.788196] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [ 1.798503] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [ 1.807787] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [ 1.823819] mmc0: CQHCI version 5.10
    [ 1.868728] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [ 1.959651] mmc0: Command Queue Engine enabled
    [ 1.964141] mmc0: new HS200 MMC card at address 0001
    [ 1.970052] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [ 1.976399] mmcblk0: p1 p2
    [ 1.980308] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [ 1.986204] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [ 1.992103] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (511:0)
    [ 2.148357] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [ 2.154375] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [ 2.162968] pca953x 1-0022: supply vcc not found, using dummy regulator
    [ 2.169721] pca953x 1-0022: using AI
    [ 2.177179] gpio-1842 (UART1_FET_SEL): hogged as output/low
    [ 2.184021] gpio-1827 (EXP_PS_5V0_EN): hogged as output/high
    [ 2.190337] gpio-1826 (EXP_PS_3V3_EN): hogged as output/high
    [ 2.213025] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.220668] mmc1: CQHCI version 5.10
    [ 2.221516] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.231605] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.245734] ALSA device list:
    [ 2.248736] No soundcards found.
    [ 2.265577] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [ 2.273321] Waiting for root device PARTUUID=e6bcf846-02...
    [ 2.334668] mmc1: new ultra high speed SDR104 SDXC card at address aaaa
    [ 2.341911] mmcblk1: mmc1:aaaa SN64G 59.5 GiB
    [ 2.348538] mmcblk1: p1 p2
    [ 2.521988] EXT4-fs (mmcblk1p2): recovery complete
    [ 2.527961] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [ 2.536714] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [ 2.543688] devtmpfs: mounted
    [ 2.549819] Freeing unused kernel memory: 7680K
    [ 2.554501] Run /sbin/init as init process
    [ 2.558605] with arguments:
    [ 2.558608] /sbin/init
    [ 2.558611] with environment:
    [ 2.558614] HOME=/
    [ 2.558617] TERM=linux
    [ 2.686324] systemd[1]: System time before build time, advancing clock.
    [ 2.753810] 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)
    [ 2.786489] systemd[1]: Detected architecture arm64.
    [ 2.848893] systemd[1]: Hostname set to <am62axx-evm>.
    [ 2.946634] systemd-sysv-generator[158]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [ 2.971735] systemd-sysv-generator[158]: 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.
    [ 3.259889] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [ 3.268845] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [ 3.306940] 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.
    [ 3.371036] 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.
    [ 3.448141] systemd[1]: Queued start job for default target Graphical Interface.
    [ 3.515821] systemd[1]: Created slice Slice /system/getty.
    [ 3.538727] systemd[1]: Created slice Slice /system/modprobe.
    [ 3.563185] systemd[1]: Created slice Slice /system/serial-getty.
    [ 3.586428] systemd[1]: Created slice User and Session Slice.
    [ 3.608707] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 3.632592] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 3.656838] systemd[1]: Reached target Path Units.
    [ 3.672197] systemd[1]: Reached target Remote File Systems.
    [ 3.692108] systemd[1]: Reached target Slice Units.
    [ 3.708197] systemd[1]: Reached target Swaps.
    [ 3.759867] systemd[1]: Listening on RPCbind Server Activation Socket.
    [ 3.788324] systemd[1]: Reached target RPC Port Mapper.
    [ 3.822453] systemd[1]: Listening on Process Core Dump Socket.
    [ 3.844891] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ 3.869848] systemd[1]: Listening on Journal Audit Socket.
    [ 3.893386] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 3.917462] systemd[1]: Listening on Journal Socket.
    [ 3.933961] systemd[1]: Listening on Network Service Netlink Socket.
    [ 3.959029] systemd[1]: Listening on udev Control Socket.
    [ 3.982148] systemd[1]: Listening on udev Kernel Socket.
    [ 4.006336] systemd[1]: Listening on User Database Manager Socket.
    [ 4.068831] systemd[1]: Mounting Huge Pages File System...
    [ 4.090228] systemd[1]: Mounting POSIX Message Queue File System...
    [ 4.144642] systemd[1]: Mounting Kernel Debug File System...
    [ 4.160684] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [ 4.185534] systemd[1]: Mounting Temporary Directory /tmp...
    [ 4.212909] systemd[1]: Starting Create List of Static Device Nodes...
    [ 4.264863] systemd[1]: Starting Load Kernel Module configfs...
    [ 4.289849] systemd[1]: Starting Load Kernel Module drm...
    [ 4.309271] systemd[1]: Starting Load Kernel Module fuse...
    [ 4.381117] systemd[1]: Starting Start psplash boot splash screen...
    [ 4.412922] systemd[1]: Starting RPC Bind...
    [ 4.428344] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [ 4.448100] systemd[1]: Starting Journal Service...
    [ 4.474452] systemd[1]: Starting Load Kernel Modules...
    [ 4.516694] systemd[1]: Starting Generate network units from Kernel command line...
    [ 4.545073] systemd[1]: Starting Remount Root and Kernel File Systems...
    [ 4.569076] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [ 4.573645] systemd[1]: Starting Coldplug All udev Devices...
    [ 4.605584] systemd[1]: Started RPC Bind.
    [ 4.624673] systemd[1]: Started Journal Service.
    [ 4.942496] systemd-journald[175]: Received client request to flush runtime journal.
    [ 5.188731] audit: type=1334 audit(1651167747.500:2): prog-id=5 op=LOAD
    [ 5.195526] audit: type=1334 audit(1651167747.504:3): prog-id=6 op=LOAD
    [ 5.781397] systemd-journald[175]: Oldest entry in /run/log/journal/40776d2911c54f45a37734f5b7e16824/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [ 5.800337] systemd-journald[175]: /run/log/journal/40776d2911c54f45a37734f5b7e16824/system.journal: Journal header limits reached or header out-of-date, rotating.
    [ 6.083954] random: crng init done
    [ 6.369769] audit: type=1334 audit(1730230506.344:4): prog-id=7 op=LOAD
    [ 6.379768] audit: type=1334 audit(1730230506.356:5): prog-id=8 op=LOAD
    [ 6.768203] mc: Linux media interface: v0.10
    [ 6.872523] videodev: Linux video capture interface: v2.00
    [ 6.935803] imx219 4-0010: supply VANA not found, using dummy regulator
    [ 6.943553] imx219 4-0010: supply VDIG not found, using dummy regulator
    [ 6.950550] imx219 4-0010: supply VDDL not found, using dummy regulator
    [ 6.957414] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [ 6.960099] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [ 6.966592] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [ 6.994476] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [ 7.028133] i2c i2c-1: Added multiplexed i2c bus 5
    [ 7.038026] platform 79000000.r5f: configured R5F for remoteproc mode
    [ 7.039427] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.061940] remoteproc remoteproc0: 7e000000.dsp is available
    [ 7.062041] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode
    [ 7.062374] remoteproc remoteproc1: 79000000.r5f is available
    [ 7.064985] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [ 7.066595] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 7.118424] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 7.125338] remoteproc remoteproc1: powering up 79000000.r5f
    [ 7.125359] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
    [ 7.139477] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [ 7.161983] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.172337] platform 78000000.r5f: configured R5F for IPC-only mode
    [ 7.184352] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.193389] remoteproc remoteproc2: 78000000.r5f is available
    [ 7.199410] remoteproc remoteproc2: attaching to 78000000.r5f
    [ 7.222617] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 7.223222] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [ 7.229592] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [ 7.235892] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [ 7.243684] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [ 7.250074] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [ 7.260399] remoteproc remoteproc0: powering up 7e000000.dsp
    [ 7.264703] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.269129] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11534416
    [ 7.294680] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [ 7.313424] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node c7x-dma-memory@99800000
    [ 7.323279] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 7.324340] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [ 7.330390] rproc-virtio rproc-virtio.8.auto: registered virtio2 (type 7)
    [ 7.342711] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [ 7.348469] e5010 fd20000.e5010: Device registered as /dev/video0
    [ 7.357190] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 7.364530] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [ 7.374834] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 7.375855] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [ 7.388014] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [ 7.389427] rproc-virtio rproc-virtio.7.auto: registered virtio1 (type 7)
    [ 7.395533] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [ 7.402069] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [ 7.418845] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [ 7.426696] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [ 7.435546] virtio_rpmsg_bus virtio2: msg received with no recipient
    [ 7.443605] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [ 7.453230] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [ 7.492901] virtio_rpmsg_bus virtio1: msg received with no recipient
    [ 7.595294] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 7.649986] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 7.656063] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [ 7.660239] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [ 7.681574] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [ 7.691999] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 7.716189] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 8.435225] audit: type=1334 audit(1730230508.408:6): prog-id=9 op=LOAD
    [ 8.442014] audit: type=1334 audit(1730230508.420:7): prog-id=10 op=LOAD
    [ 8.578409] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 8.623307] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 8.788627] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.835896] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 8.847960] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.868851] imx219 4-0010: Consider updating driver imx219 to match on endpoints
    [ 8.887700] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [ 8.934600] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.965138] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 9.005026] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [ 9.008255] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 9.081777] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 9.118731] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 9.173286] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 9.186315] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 9.187733] audit: type=1006 audit(1730230509.160:8): pid=610 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [ 9.197361] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 9.216452] audit: type=1300 audit(1730230509.160:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc0672468 a2=4 a3=ffff9880f020 items=0 ppid=1 pid=610 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="/lib/systemd/systemd" key=(null)
    [ 9.243442] audit: type=1327 audit(1730230509.160:8): proctitle="(systemd)"
    [ 9.263284] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 9.349421] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 9.457630] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 9.521512] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 9.721655] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [ 9.753671] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [ 9.873489] audit: type=1006 audit(1730230509.848:9): pid=507 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [ 9.887030] audit: type=1300 audit(1730230509.848:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc0672468 a2=4 a3=ffff9880f020 items=0 ppid=1 pid=507 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)
    [ 9.913619] audit: type=1327 audit(1730230509.848:9): proctitle="(weston)"
    [ 12.248981] audit: type=1701 audit(1730230512.224:10): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1187 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [ 12.286581] audit: type=1334 audit(1730230512.260:11): prog-id=11 op=LOAD
    [ 12.293475] audit: type=1334 audit(1730230512.268:12): prog-id=12 op=LOAD
    [ 13.164152] audit: type=1334 audit(1730230513.140:13): prog-id=12 op=UNLOAD
    [ 13.171301] audit: type=1334 audit(1730230513.140:14): prog-id=11 op=UNLOAD
    [ 124.255588] audit: type=1006 audit(1730230682.207:15): pid=1490 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [ 124.268177] audit: type=1300 audit(1730230682.207:15): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffc0672468 a2=1 a3=0 items=0 ppid=1 pid=1490 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [ 124.293756] audit: type=1327 audit(1730230682.207:15): proctitle="(systemd)"
    [ 124.300847] audit: type=1334 audit(1730230682.231:16): prog-id=13 op=LOAD
    [ 124.307699] audit: type=1300 audit(1730230682.231:16): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd50083f0 a2=78 a3=0 items=0 ppid=1 pid=1490 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [ 124.333169] audit: type=1327 audit(1730230682.231:16): proctitle="(systemd)"
    [ 124.340264] audit: type=1334 audit(1730230682.247:17): prog-id=13 op=UNLOAD
    [ 124.347273] audit: type=1334 audit(1730230682.247:18): prog-id=14 op=LOAD
    [ 124.354097] audit: type=1300 audit(1730230682.247:18): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd5008490 a2=78 a3=0 items=0 ppid=1 pid=1490 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [ 124.379573] audit: type=1327 audit(1730230682.247:18): proctitle="(systemd)"

    The output of the lsmod command is:
    root@am62axx-evm:/opt/edgeai-gst-apps# lsmod
    Module Size Used by
    cdns_csi2rx 20480 1
    imx219 20480 1
    v4l2_fwnode 20480 2 imx219,cdns_csi2rx
    k3_j72xx_bandgap 20480 0
    e5010_jpeg_enc 40960 0
    j721e_csi2rx 24576 0
    wave5 94208 0
    ti_k3_r5_remoteproc 28672 0
    v4l2_mem2mem 36864 2 e5010_jpeg_enc,wave5
    v4l2_async 24576 4 v4l2_fwnode,j721e_csi2rx,imx219,cdns_csi2rx
    ti_k3_dsp_remoteproc 16384 0
    virtio_rpmsg_bus 20480 0
    rpmsg_ns 16384 1 virtio_rpmsg_bus
    videobuf2_dma_contig 20480 3 j721e_csi2rx,e5010_jpeg_enc,wave5
    videobuf2_memops 16384 1 videobuf2_dma_contig
    ti_k3_common 16384 1 ti_k3_dsp_remoteproc
    videobuf2_v4l2 32768 4 j721e_csi2rx,v4l2_mem2mem,e5010_jpeg_enc,wave5
    videobuf2_common 57344 7 j721e_csi2rx,videobuf2_dma_contig,videobuf2_v4l2,v4l2_mem2mem,e5010_jpeg_enc,wave5,videobuf2_memops
    sii902x 20480 0
    videodev 245760 9 v4l2_async,j721e_csi2rx,imx219,videobuf2_v4l2,cdns_csi2rx,videobuf2_common,v4l2_mem2mem,e5010_jpeg_enc,wave5
    pwm_tiecap 16384 0
    pwm_tiehrpwm 16384 0
    sa2ul 36864 0
    tidss 61440 0
    mc 57344 8 v4l2_async,videodev,j721e_csi2rx,imx219,videobuf2_v4l2,cdns_csi2rx,videobuf2_common,v4l2_mem2mem
    drm_dma_helper 20480 1 tidss
    cdns_dphy_rx 16384 0
    optee_rng 16384 0
    crct10dif_ce 16384 1
    display_connector 16384 0
    drm_kms_helper 184320 5 sii902x,drm_dma_helper,display_connector,tidss
    rng_core 20480 1 optee_rng
    drm 561152 6 sii902x,drm_kms_helper,drm_dma_helper,display_connector,tidss

  • Thanks for including this. Dmesg looks normal up until the following line.

    [ 8.788627] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)

    Looks like something is failing for RPMesg (the mechanism used for communication between cores on the SOC)

    Is is possible to run the rpmsg test?

    ```modprobe rpmsg-client-sample count=10```

    Linux version 6.1.80-dirty

    Which SDK version are you on? It should be between 9.0 and 9.2, but i can't tell which in particular.

    I just tried to modify the kernel provided by the SDK (using menuconfig) to enable g_hid. The device tree was also modified to enable pwm pins.

    When you did this, did you start from the one of the defconfigs?

  • The SDK version is 9.2.
    When I modified the kernel I just did (after setting the exports):
    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" distclean
    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" menuconfig
    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" Image

    Afterwards I compiled the device tree and the modules.

    Just to clarify, I did not start from one of the defconfigs. A few days ago, when I tried that, and then did the menuconfigs I got an error loading the g_hid module, so I didn't do it this time. The command I used back then was:

    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" defconfig ti_arm64_prune.config

    The output of modprobe rpmsg-client-sample count=10 is:
    root@am62axx-evm:/opt/edgeai-gst-apps# lsmod | grep rpmsg
    virtio_rpmsg_bus 20480 0
    rpmsg_ns 16384 1 virtio_rpmsg_bus
    _client_sample.ko/opt/edgeai-gst-apps# find /lib/modules/$(uname -r) -name rpmsg_
    /lib/modules/6.1.80-dirty/kernel/samples/rpmsg/rpmsg_client_sample.ko
    root@am62axx-evm:/opt/edgeai-gst-apps# modprobe rpmsg-client-sample count=10
    modprobe: ERROR: could not insert 'rpmsg_client_sample': Invalid argument

  • Just to clarify, I did not start from one of the defconfigs

    Okay, I'm inclined to think this is the root of the issue. I understand the g_hid portion was problematic with that defconfig.

    I'd like to step back briefly and ask that you recompile the kernel starting from the defconfig and see if this resolves the RPMsg errors (and that we don't see the error I noted above within the kernel prints / dmesg).

    If we can verify that, then we may proceed with the g_hid module. I am curious at which point this was failing (during build, while loading on target, etc.)

    BR,
    Reese

  • After doing:
    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" distclean
    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" defconfig ti_arm64_prune.config

    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" Image

    make DTC_FLAGS=-@ ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" ti/k3-am62a7-sk.dtb

    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" modules

    The bootlog, which has the same RPMsg errors, is:

    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.1.80-dirty (joaco@joaco-VivoBook) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Mon Oct 14 22:19:59 -03 2024
    [ 0.000000] Machine model: Texas Instruments AM62A7 SK
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [ 0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [ 0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [ 0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [ 0.000000] NUMA: No NUMA configuration found
    [ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
    [ 0.000000] NUMA: NODE_DATA [mem 0x8ff891a00-0x8ff893fff]
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
    [ 0.000000] DMA32 empty
    [ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000997fffff]
    [ 0.000000] node 0: [mem 0x0000000099800000-0x000000009b7fefff]
    [ 0.000000] node 0: [mem 0x000000009b800000-0x000000009e6fffff]
    [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff]
    [ 0.000000] node 0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [ 0.000000] node 0: [mem 0x00000000a3000000-0x00000000adffffff]
    [ 0.000000] node 0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [ 0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [ 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 21 pages/cpu s48040 r8192 d29784 u86016
    [ 0.000000] pcpu-alloc: s48040 r8192 d29784 u86016 alloc=21*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: GIC system register CPU interface
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] alternatives: applying boot alternatives
    [ 0.000000] Fallback order for Node 0: 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032191
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=e6bcf846-02 rw rootfstype=ext4 rootwait
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: area num 4.
    [ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [ 0.000000] Memory: 2789240K/4194300K available (17088K kernel code, 3802K rwdata, 9560K rodata, 7680K init, 625K bss, 815236K reserved, 589824K 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 @880800000 (flat, esz 8, psz 64K, shr 0)
    [ 0.000000] ITS: using cache flushing for cmd queue
    [ 0.000000] GICv3: using LPI property table @0x0000000880040000
    [ 0.000000] GIC: using cache flushing for LPI property table
    [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [ 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.009864] Console: colour dummy device 80x25
    [ 0.014488] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [ 0.025170] pid_max: default: 32768 minimum: 301
    [ 0.029944] LSM: Security Framework initializing
    [ 0.034756] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.042335] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.051853] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.059284] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.065576] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.072971] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.079366] rcu: Hierarchical SRCU implementation.
    [ 0.084275] rcu: Max phase no-delay instances is 1000.
    [ 0.089827] Platform MSI: msi-controller@1820000 domain created
    [ 0.096083] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [ 0.105359] fsl-mc MSI: msi-controller@1820000 domain created
    [ 0.113663] EFI services will not be available.
    [ 0.118550] smp: Bringing up secondary CPUs ...
    [ 0.123776] Detected VIPT I-cache on CPU1
    [ 0.123865] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [ 0.123882] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [ 0.123925] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [ 0.124564] Detected VIPT I-cache on CPU2
    [ 0.124634] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [ 0.124649] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [ 0.124680] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [ 0.125237] Detected VIPT I-cache on CPU3
    [ 0.125309] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [ 0.125322] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [ 0.125350] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [ 0.125418] smp: Brought up 1 node, 4 CPUs
    [ 0.205154] SMP: Total of 4 processors activated.
    [ 0.209966] CPU features: detected: 32-bit EL0 Support
    [ 0.215235] CPU features: detected: 32-bit EL1 Support
    [ 0.220493] CPU features: detected: CRC32 instructions
    [ 0.225812] CPU: All CPU(s) started at EL2
    [ 0.230019] alternatives: applying system-wide alternatives
    [ 0.237629] devtmpfs: initialized
    [ 0.250127] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.260131] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.284598] pinctrl core: initialized pinctrl subsystem
    [ 0.292229] DMI not present or invalid.
    [ 0.296802] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.303802] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [ 0.311254] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.319337] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.327498] audit: initializing netlink subsys (disabled)
    [ 0.333151] audit: type=2000 audit(0.216:1): state=initialized audit_enabled=0 res=1
    [ 0.334415] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.341087] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.347296] cpuidle: using governor menu
    [ 0.358196] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.365224] ASID allocator initialised with 65536 entries
    [ 0.372511] Serial: AMBA PL011 UART driver
    [ 0.395438] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [ 0.412897] KASLR disabled due to lack of seed
    [ 0.425680] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.432638] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [ 0.439048] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.446020] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [ 0.452429] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.459368] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [ 0.465776] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.472715] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [ 0.480830] ACPI: Interpreter disabled.
    [ 0.487045] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [ 0.497511] iommu: Default domain type: Translated
    [ 0.502520] iommu: DMA domain TLB invalidation policy: strict mode
    [ 0.509195] SCSI subsystem initialized
    [ 0.513157] libata version 3.00 loaded.
    [ 0.513353] usbcore: registered new interface driver usbfs
    [ 0.519001] usbcore: registered new interface driver hub
    [ 0.524458] usbcore: registered new device driver usb
    [ 0.531040] pps_core: LinuxPPS API ver. 1 registered
    [ 0.536122] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.545472] PTP clock support registered
    [ 0.549621] EDAC MC: Ver: 3.0.0
    [ 0.554579] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [ 0.561427] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [ 0.568233] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [ 0.574961] omap-mailbox 29030000.mailbox: no available mbox devices found
    [ 0.582746] FPGA manager framework
    [ 0.586311] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.593379] vgaarb: loaded
    [ 0.596517] clocksource: Switched to clocksource arch_sys_counter
    [ 0.602967] VFS: Disk quotas dquot_6.6.0
    [ 0.607017] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.614211] pnp: PnP ACPI: disabled
    [ 0.623469] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [ 0.629818] NET: Registered PF_INET protocol family
    [ 0.634994] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.645443] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.654258] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.662200] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.670507] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [ 0.678872] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.685720] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.692677] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.700194] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.706371] RPC: Registered named UNIX socket transport module.
    [ 0.712447] RPC: Registered udp transport module.
    [ 0.717257] RPC: Registered tcp transport module.
    [ 0.722065] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.728656] NET: Registered PF_XDP protocol family
    [ 0.733564] PCI: CLS 0 bytes, default 64
    [ 0.738267] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [ 0.747341] kvm [1]: IPA Size Limit: 40 bits
    [ 0.753357] kvm [1]: vgic-v2@100010000
    [ 0.757206] kvm [1]: GIC system register CPU interface enabled
    [ 0.763270] kvm [1]: vgic interrupt IRQ9
    [ 0.767364] kvm [1]: Hyp mode initialized successfully
    [ 0.773947] Initialise system trusted keyrings
    [ 0.778730] workingset: timestamp_bits=42 max_order=20 bucket_order=0
    [ 0.791380] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.797912] NFS: Registering the id_resolver key type
    [ 0.803134] Key type id_resolver registered
    [ 0.807413] Key type id_legacy registered
    [ 0.811577] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.818433] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.826158] 9p: Installing v9fs 9p2000 file system support
    [ 0.868175] Key type asymmetric registered
    [ 0.872367] Asymmetric key parser 'x509' registered
    [ 0.877398] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [ 0.885098] io scheduler mq-deadline registered
    [ 0.889737] io scheduler kyber registered
    [ 0.904191] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [ 0.910687] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [ 0.918123] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [ 0.933865] EINJ: ACPI disabled.
    [ 0.965994] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [ 0.977506] SuperH (H)SCI(F) driver initialized
    [ 0.982929] msm_serial: driver initialized
    [ 0.994753] loop: module loaded
    [ 1.000004] megasas: 07.719.03.00-rc1
    [ 1.011970] tun: Universal TUN/TAP device driver, 1.6
    [ 1.018497] thunder_xcv, ver 1.0
    [ 1.021858] thunder_bgx, ver 1.0
    [ 1.025189] nicpf, ver 1.0
    [ 1.029740] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
    [ 1.037145] hns3: Copyright (c) 2017 Huawei Corporation.
    [ 1.042636] hclge is initializing
    [ 1.046051] e1000: Intel(R) PRO/1000 Network Driver
    [ 1.051038] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [ 1.056944] e1000e: Intel(R) PRO/1000 Network Driver
    [ 1.062020] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 1.068102] igb: Intel(R) Gigabit Ethernet Network Driver
    [ 1.073622] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 1.079345] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [ 1.085755] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [ 1.092320] sky2: driver version 1.30
    [ 1.097872] VFIO - User Level meta-driver version: 0.3
    [ 1.106161] usbcore: registered new interface driver usb-storage
    [ 1.116468] i2c_dev: i2c /dev entries driver
    [ 1.132160] sdhci: Secure Digital Host Controller Interface driver
    [ 1.138537] sdhci: Copyright(c) Pierre Ossman
    [ 1.144274] Synopsys Designware Multimedia Card Interface Driver
    [ 1.151896] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.160734] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.168862] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [ 1.176356] usbcore: registered new interface driver usbhid
    [ 1.182075] usbhid: USB HID core driver
    [ 1.192724] optee: probing for conduit method.
    [ 1.197309] optee: revision 4.1 (012cdca4)
    [ 1.197596] optee: dynamic shared memory is enabled
    [ 1.207139] optee: initialized driver
    [ 1.214696] Initializing XFRM netlink socket
    [ 1.219124] NET: Registered PF_PACKET protocol family
    [ 1.224425] 9pnet: Installing 9P2000 support
    [ 1.228884] Key type dns_resolver registered
    [ 1.233666] registered taskstats version 1
    [ 1.237892] Loading compiled-in X.509 certificates
    [ 1.275745] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [ 1.342563] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [ 1.352386] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.359891] pca953x 1-0023: supply vcc not found, using dummy regulator
    [ 1.366788] pca953x 1-0023: using AI
    [ 1.394980] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [ 1.424774] i2c i2c-2: Added multiplexed i2c bus 3
    [ 1.430081] i2c i2c-2: Added multiplexed i2c bus 4
    [ 1.435001] pca954x 2-0071: registered 2 multiplexed busses for I2C switch pca9543
    [ 1.442873] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [ 1.449292] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [ 1.457952] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [ 1.467429] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [ 1.476727] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [ 1.491065] ti-udma 485c0100.dma-controller: Number of rings: 82
    [ 1.499149] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [ 1.511053] ti-udma 485c0000.dma-controller: Number of rings: 150
    [ 1.520874] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [ 1.531237] ti-udma 4e230000.dma-controller: Number of rings: 6
    [ 1.537776] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [ 1.548316] printk: console [ttyS2] disabled
    [ 1.552761] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [ 1.561636] printk: console [ttyS2] enabled
    [ 1.570092] printk: bootconsole [ns16550a0] disabled
    [ 1.583717] spi-nand spi0.0: Winbond SPI NAND was found.
    [ 1.589062] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [ 1.597413] 7 fixed-partitions partitions found on MTD device spi0.0
    [ 1.603767] Creating 7 MTD partitions on "spi0.0":
    [ 1.608553] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [ 1.615825] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [ 1.623430] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [ 1.631944] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [ 1.638637] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [ 1.645950] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [ 1.690730] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [ 1.740572] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [ 1.750115] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [ 1.758256] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [ 1.771041] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [ 1.778168] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [ 1.784534] pps pps0: new PPS source ptp0
    [ 1.788800] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [ 1.799101] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [ 1.808414] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [ 1.824450] mmc0: CQHCI version 5.10
    [ 1.869342] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [ 1.957450] mmc0: Command Queue Engine enabled
    [ 1.961965] mmc0: new HS200 MMC card at address 0001
    [ 1.967842] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [ 1.973701] mmcblk0: p1 p2
    [ 1.977091] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [ 1.983023] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [ 1.988823] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (511:0)
    [ 2.150797] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [ 2.156816] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [ 2.165437] pca953x 1-0022: supply vcc not found, using dummy regulator
    [ 2.172190] pca953x 1-0022: using AI
    [ 2.179600] gpio-1842 (UART1_FET_SEL): hogged as output/low
    [ 2.186560] gpio-1827 (EXP_PS_5V0_EN): hogged as output/high
    [ 2.192876] gpio-1826 (EXP_PS_3V3_EN): hogged as output/high
    [ 2.215528] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.223171] mmc1: CQHCI version 5.10
    [ 2.224023] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.234105] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 2.248717] ALSA device list:
    [ 2.251697] No soundcards found.
    [ 2.268258] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [ 2.275995] Waiting for root device PARTUUID=e6bcf846-02...
    [ 2.336619] mmc1: new ultra high speed SDR104 SDXC card at address aaaa
    [ 2.343875] mmcblk1: mmc1:aaaa SN64G 59.5 GiB
    [ 2.350516] mmcblk1: p1 p2
    [ 2.458912] EXT4-fs (mmcblk1p2): recovery complete
    [ 2.465596] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [ 2.474197] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [ 2.481136] devtmpfs: mounted
    [ 2.486444] Freeing unused kernel memory: 7680K
    [ 2.491130] Run /sbin/init as init process
    [ 2.495235] with arguments:
    [ 2.495238] /sbin/init
    [ 2.495241] with environment:
    [ 2.495244] HOME=/
    [ 2.495247] TERM=linux
    [ 2.647382] systemd[1]: System time before build time, advancing clock.
    [ 2.724014] 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)
    [ 2.756668] systemd[1]: Detected architecture arm64.
    [ 2.817710] systemd[1]: Hostname set to <am62axx-evm>.
    [ 2.921194] systemd-sysv-generator[156]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [ 2.947261] systemd-sysv-generator[156]: 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.
    [ 3.269820] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [ 3.278828] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [ 3.317263] 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.
    [ 3.381545] 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.
    [ 3.458869] systemd[1]: Queued start job for default target Graphical Interface.
    [ 3.523628] systemd[1]: Created slice Slice /system/getty.
    [ 3.547348] systemd[1]: Created slice Slice /system/modprobe.
    [ 3.571789] systemd[1]: Created slice Slice /system/serial-getty.
    [ 3.595650] systemd[1]: Created slice User and Session Slice.
    [ 3.617204] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 3.641082] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 3.665498] systemd[1]: Reached target Path Units.
    [ 3.681374] systemd[1]: Reached target Remote File Systems.
    [ 3.705138] systemd[1]: Reached target Slice Units.
    [ 3.720937] systemd[1]: Reached target Swaps.
    [ 3.773661] systemd[1]: Listening on RPCbind Server Activation Socket.
    [ 3.797109] systemd[1]: Reached target RPC Port Mapper.
    [ 3.833859] systemd[1]: Listening on Process Core Dump Socket.
    [ 3.857469] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ 3.882528] systemd[1]: Listening on Journal Audit Socket.
    [ 3.907174] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 3.931297] systemd[1]: Listening on Journal Socket.
    [ 3.950562] systemd[1]: Listening on Network Service Netlink Socket.
    [ 3.975538] systemd[1]: Listening on udev Control Socket.
    [ 3.998683] systemd[1]: Listening on udev Kernel Socket.
    [ 4.023079] systemd[1]: Listening on User Database Manager Socket.
    [ 4.097198] systemd[1]: Mounting Huge Pages File System...
    [ 4.119094] systemd[1]: Mounting POSIX Message Queue File System...
    [ 4.150503] systemd[1]: Mounting Kernel Debug File System...
    [ 4.169799] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [ 4.194874] systemd[1]: Mounting Temporary Directory /tmp...
    [ 4.221412] systemd[1]: Starting Create List of Static Device Nodes...
    [ 4.273390] systemd[1]: Starting Load Kernel Module configfs...
    [ 4.297802] systemd[1]: Starting Load Kernel Module drm...
    [ 4.318819] systemd[1]: Starting Load Kernel Module fuse...
    [ 4.389908] systemd[1]: Starting Start psplash boot splash screen...
    [ 4.425394] systemd[1]: Starting RPC Bind...
    [ 4.441019] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [ 4.477539] systemd[1]: Starting Journal Service...
    [ 4.502063] systemd[1]: Starting Load Kernel Modules...
    [ 4.522617] systemd[1]: Starting Generate network units from Kernel command line...
    [ 4.553937] systemd[1]: Starting Remount Root and Kernel File Systems...
    [ 4.572741] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [ 4.583981] systemd[1]: Starting Coldplug All udev Devices...
    [ 4.610062] systemd[1]: Started RPC Bind.
    [ 4.625193] systemd[1]: Started Journal Service.
    [ 5.007505] systemd-journald[175]: Received client request to flush runtime journal.
    [ 5.201298] audit: type=1334 audit(1651167747.552:2): prog-id=5 op=LOAD
    [ 5.208135] audit: type=1334 audit(1651167747.556:3): prog-id=6 op=LOAD
    [ 5.815356] systemd-journald[175]: Oldest entry in /run/log/journal/40776d2911c54f45a37734f5b7e16824/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [ 5.840680] systemd-journald[175]: /run/log/journal/40776d2911c54f45a37734f5b7e16824/system.journal: Journal header limits reached or header out-of-date, rotating.
    [ 6.240547] random: crng init done
    [ 6.436102] mc: Linux media interface: v0.10
    [ 6.527867] videodev: Linux video capture interface: v2.00
    [ 6.545514] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [ 6.575158] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [ 6.612398] i2c i2c-1: Added multiplexed i2c bus 5
    [ 6.622337] imx219 4-0010: supply VANA not found, using dummy regulator
    [ 6.634029] imx219 4-0010: supply VDIG not found, using dummy regulator
    [ 6.642046] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [ 6.650699] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 6.650897] imx219 4-0010: supply VDDL not found, using dummy regulator
    [ 6.659472] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 6.773376] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [ 6.782626] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [ 6.793007] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 6.799930] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [ 6.819259] remoteproc remoteproc0: 7e000000.dsp is available
    [ 6.825674] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode
    [ 6.905336] remoteproc remoteproc0: powering up 7e000000.dsp
    [ 6.911230] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11534416
    [ 6.983307] platform 79000000.r5f: configured R5F for remoteproc mode
    [ 6.986246] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [ 6.992910] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.007081] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node c7x-dma-memory@99800000
    [ 7.038644] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 7.039808] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [ 7.044350] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [ 7.061316] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [ 7.068414] audit: type=1334 audit(1730259324.909:4): prog-id=7 op=LOAD
    [ 7.076003] audit: type=1334 audit(1730259324.917:5): prog-id=8 op=LOAD
    [ 7.187593] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 7.190840] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 7.211360] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [ 7.234301] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [ 7.261837] remoteproc remoteproc1: 79000000.r5f is available
    [ 7.265357] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 7.271874] remoteproc remoteproc1: powering up 79000000.r5f
    [ 7.283664] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
    [ 7.291743] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [ 7.370640] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.386164] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 7.392218] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [ 7.410823] rproc-virtio rproc-virtio.7.auto: registered virtio1 (type 7)
    [ 7.417758] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [ 7.428797] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [ 7.436750] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 7.452201] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [ 7.467197] platform 78000000.r5f: configured R5F for IPC-only mode
    [ 7.475281] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.506602] e5010 fd20000.e5010: Device registered as /dev/video2
    [ 7.716665] remoteproc remoteproc2: 78000000.r5f is available
    [ 7.722711] remoteproc remoteproc2: attaching to 78000000.r5f
    [ 7.834245] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [ 7.881918] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.893169] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 7.893505] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [ 7.898874] rproc-virtio rproc-virtio.8.auto: registered virtio2 (type 7)
    [ 7.906804] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [ 7.912934] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [ 7.920851] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [ 7.935706] virtio_rpmsg_bus virtio2: msg received with no recipient
    [ 7.942729] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [ 7.968453] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [ 7.976317] virtio_rpmsg_bus virtio0: msg received with no recipient
    [ 8.362897] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 8.364699] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [ 8.364727] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [ 8.408359] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 8.497349] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 8.576724] imx219 4-0010: Consider updating driver imx219 to match on endpoints
    [ 8.583658] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 8.592884] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [ 8.605818] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 8.630359] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.637504] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.653902] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [ 8.664212] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.672059] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.713735] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.726920] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.752204] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 9.185700] audit: type=1334 audit(1730259327.029:6): prog-id=9 op=LOAD
    [ 9.192892] audit: type=1334 audit(1730259327.033:7): prog-id=10 op=LOAD
    [ 9.391054] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [ 9.421885] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [ 9.584947] audit: type=1006 audit(1730259327.429:8): pid=646 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [ 9.597809] audit: type=1300 audit(1730259327.429:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd7b940b8 a2=4 a3=ffffa3e0b020 items=0 ppid=1 pid=646 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="/lib/systemd/systemd" key=(null)
    [ 9.624622] audit: type=1327 audit(1730259327.429:8): proctitle="(systemd)"
    [ 10.284018] audit: type=1006 audit(1730259328.125:9): pid=625 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [ 10.296852] audit: type=1300 audit(1730259328.125:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd7b940b8 a2=4 a3=ffffa3e0b020 items=0 ppid=1 pid=625 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)
    [ 10.323182] audit: type=1327 audit(1730259328.125:9): proctitle="(weston)"
    [ 10.418098] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 12.503865] audit: type=1701 audit(1730259330.345:10): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1228 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [ 12.542068] audit: type=1334 audit(1730259330.385:11): prog-id=11 op=LOAD
    [ 12.548931] audit: type=1334 audit(1730259330.393:12): prog-id=12 op=LOAD
    [ 13.416839] audit: type=1334 audit(1730259331.261:13): prog-id=12 op=UNLOAD
    [ 13.424024] audit: type=1334 audit(1730259331.261:14): prog-id=11 op=UNLOAD
    [ 2861.237570] audit: type=1006 audit(1730316587.357:15): pid=1528 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [ 2861.250097] audit: type=1300 audit(1730316587.357:15): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd7b940b8 a2=1 a3=0 items=0 ppid=1 pid=1528 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [ 2861.275569] audit: type=1327 audit(1730316587.357:15): proctitle="(systemd)"
    [ 2861.282655] audit: type=1334 audit(1730316587.381:16): prog-id=13 op=LOAD
    [ 2861.289497] audit: type=1300 audit(1730316587.381:16): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc3619c70 a2=78 a3=0 items=0 ppid=1 pid=1528 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [ 2861.314971] audit: type=1327 audit(1730316587.381:16): proctitle="(systemd)"
    [ 2861.322068] audit: type=1334 audit(1730316587.397:17): prog-id=13 op=UNLOAD
    [ 2861.329092] audit: type=1334 audit(1730316587.397:18): prog-id=14 op=LOAD
    [ 2861.335917] audit: type=1300 audit(1730316587.397:18): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc3619d10 a2=78 a3=0 items=0 ppid=1 pid=1528 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [ 2861.361389] audit: type=1327 audit(1730316587.397:18): proctitle="(systemd)"

  • Hi Joaquin, 

    Hmm, so this issue persists. It's not clear to me what the issue is here, but something with RPMesg is not configured correctly. I'm asking a colleague with more RPMesg expertise to weigh in here, please allow a day or so for their response

  • Hello,

    I went back and edited the previous responses to put the terminal output in a code block (Insert > code). That should make it easier to navigate the thread.

    I will be commenting from the perspective of generic RPMsg, not edgeAI code.

    It looks like the RPMsg infrastructure is getting initialized (and the remote cores are getting initialized) the way I would expect:

    // C7
    [ 6.819259] remoteproc remoteproc0: 7e000000.dsp is available
    [ 6.825674] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode
    [ 6.905336] remoteproc remoteproc0: powering up 7e000000.dsp
    [ 6.911230] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11534416
    [ 7.007081] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node c7x-dma-memory@99800000
    [ 7.038644] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 7.039808] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [ 7.044350] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [ 7.061316] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [ 7.942729] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [ 7.968453] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    
    // MCU R5F
    [ 6.983307] platform 79000000.r5f: configured R5F for remoteproc mode
    [ 6.986246] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [ 6.992910] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.261837] remoteproc remoteproc1: 79000000.r5f is available
    [ 7.271874] remoteproc remoteproc1: powering up 79000000.r5f
    [ 7.283664] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
    [ 7.370640] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [ 7.386164] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 7.392218] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [ 7.410823] rproc-virtio rproc-virtio.7.auto: registered virtio1 (type 7)
    [ 7.417758] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [ 7.428797] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    
    // DM R5F
    [ 7.452201] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [ 7.467197] platform 78000000.r5f: configured R5F for IPC-only mode
    [ 7.475281] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.716665] remoteproc remoteproc2: 78000000.r5f is available
    [ 7.722711] remoteproc remoteproc2: attaching to 78000000.r5f
    [ 7.834245] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [ 7.881918] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [ 7.893169] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 7.893505] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [ 7.898874] rproc-virtio rproc-virtio.8.auto: registered virtio2 (type 7)
    [ 7.906804] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [ 7.912934] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [ 7.920851] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    
    [ 7.935706] virtio_rpmsg_bus virtio2: msg received with no recipient
    
    [ 7.976317] virtio_rpmsg_bus virtio0: msg received with no recipient

    We can see 3 different RPMsg endpoints being defined for the C7 and the DM R5F firmware, and 2 RPMsg endpoints defined in the MCU R5F.

    Linux is receiving some messages over RPMsg for an endpoint that does not seem to have been defined. I am not sure if there is an Edge AI application that needs to be running to receive those messages?

    The rpmsg_ctrl errors are strange. 

    [ 8.630359] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.637504] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.664212] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.672059] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    [ 8.713735] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [ 8.726920] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)

    Those functions in drivers/rpmsg/rpmsg_ctrl.c are defined in drivers/rpmsg/rpmsg_char.c, which is included in the file. So I do not see why it would be throwing an "Unknown symbol" error if everything was compiled properly.

    Please confirm for me how you are copying your new kernel and kernel modules onto your filesystem.

    Regards,

    Nick

  • After doing

    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" Image

    make DTC_FLAGS=-@ ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" ti/k3-am62a7-sk.dtb

    make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" modules

    I do to copy the files to the sd:
    sudo cp arch/arm64/boot/Image /media/joaco/rootfs/boot
    sudo cp arch/arm64/boot/dts/ti/k3-am62a7-sk.dtb /media/joaco/rootfs/boot
    sudo make ARCH=arm64 INSTALL_MOD_PATH=/media/joaco/rootfs modules_install

  • Hi Joaquin,

    Jumping back in here, I ran a quick test to make sure the kernel-build process is working as expected on a clean installation. I was able to verify this when working from the top-level makefile instructions for our SDK:

    This effectively boiled down to running the linux and linux_install make targets (with ROOTFS_PART redefined within SDK-install/Rules.make as the SD card's path). This uses the default configurations

    On boot, everything behaves normally and I can run edgeai applications. The kernel prints don't show this odd "Unknown symbol" printouts for rpmesg create/destroy

    In your setup, I notice

    root@am62axx-evm:/opt/edgeai-gst-apps# lsmod | grep rpmsg
    virtio_rpmsg_bus 20480 0
    rpmsg_ns 16384 1 virtio_rpmsg_bus

    whereas in my SDK, I see: 

    root@am62axx-evm:~# lsmod | grep rpmsg
    rpmsg_ctrl             16384  0
    rpmsg_char             16384  1 rpmsg_ctrl
    virtio_rpmsg_bus       20480  0
    rpmsg_ns               16384  1 virtio_rpmsg_bus
    
    

    so perhaps you are missing modules for rpmsg_ctrl and rpmsg_char. This seems odd to me. Can you check what's under /lib/modules/`uname -r`/kernel/drivers/rpmsg?

  • This is the under /lib/modules/`uname -r`/kernel/drivers/rpmsg

    root@am62axx-evm:/lib/modules/6.1.80-dirty/kernel/drivers/rpmsg# ls
    mtk_rpmsg.ko        rpmsg_char.ko  rpmsg_ns.ko   virtio_rpmsg_bus.ko
    qcom_glink_smem.ko  rpmsg_ctrl.ko  rpmsg_pru.ko

  • Hi Joaquin,

    Hmm, interesting that the mtk_rpmsg and qcom.. drivers are there as well. I am fairly certain these are unneeded (and probably shouldn't be there at all). Otherwise, my installation after installing modules looks the same, so you have the right modules present, but seems they aren't loaded

    From your previous messages, it seems that the rpmsg_char and rpmsg_ctrl modules are not being loaded at boot. This is what we should probably be looking at. Can you try loading those after booting? ideally they come up during boot -- I'm not sure if this is a requirement though. It may be informative to check if the config used during your kernel-recompile is marking them. This was mine: 

    #
    # Rpmsg drivers
    #
    CONFIG_RPMSG=y
    CONFIG_RPMSG_CHAR=m
    CONFIG_RPMSG_CTRL=m
    CONFIG_RPMSG_NS=m
    # CONFIG_RPMSG_QCOM_GLINK_RPM is not set
    CONFIG_RPMSG_VIRTIO=m
    CONFIG_RPMSG_PRU=m
    # end of Rpmsg drivers

  • The .config file looks the same.

    Then trying to load the modules after boot:

    root@am62axx-evm:/opt/edgeai-gst-apps# lsmod | grep rpmsg
    virtio_rpmsg_bus       20480  0
    rpmsg_ns               16384  1 virtio_rpmsg_bus
    root@am62axx-evm:/opt/edgeai-gst-apps# modprobe rpmsg_ctrl
    [   72.114644] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_create (err -2)
    [   72.121695] rpmsg_ctrl: Unknown symbol rpmsg_chrdev_eptdev_destroy (err -2)
    modprobe: ERROR: could not insert 'rpmsg_ctrl': Unknown symbol in module, or unknown parameter (see dmesg)
    root@am62axx-evm:/opt/edgeai-gst-apps# modprobe rpmsg_char
    [   88.680943] Invalid ELF header magic: != ELF
    modprobe: ERROR: could not insert 'rpmsg_char': Exec format error

  • I am asking around to see if any team members have thoughts on your observations. Feel free to ping the thread if you do not get a response within a few days.

    Regards,

    Nick

  • Hello Joaquin,

    Can I get you to try installing the modules with a CROSS_COMPILE? Like this:

    sudo make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" INSTALL_MOD_PATH=/media/joaco/rootfs modules_install

    I have been told that it might make a difference. If that fixes things for you, I will file a ticket to add CROSS_COMPILE to that command in the SDK kernel docs.

    Regards,

    Nick

  • I tried this, but the issue remains the same