Tool/software:
Hi Expert,
My customer encounters an issue about the V4L2 dqbuf failed I think, we find the error is report from below code, and it will work in sometimes, and will report this error sometimes, I can't real know what the mean is for this error log.
v4l2_capture_module.c
/* * * Copyright (c) 2024 Texas Instruments Incorporated * * All rights reserved not granted herein. * * Limited License. * * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive * license under copyrights and patents it now or hereafter owns or controls to make, * have made, use, import, offer to sell and sell ("Utilize") this software subject to the * terms herein. With respect to the foregoing patent license, such license is granted * solely to the extent that any such patent is necessary to Utilize the software alone. * The patent license shall not apply to any combinations which include this software, * other than combinations with devices manufactured by or for TI ("TI Devices"). * No hardware patent is licensed hereunder. * * Redistributions must preserve existing copyright notices and reproduce this license * (including the above copyright notice and the disclaimer and (if applicable) source * code license limitations below) in the documentation and/or other materials provided * with the distribution * * Redistribution and use in binary form, without modification, are permitted provided * that the following conditions are met: * * * No reverse engineering, decompilation, or disassembly of this software is * permitted with respect to any software provided in binary form. * * * any redistribution and use are licensed by TI for use only with TI Devices. * * * Nothing shall obligate TI to provide you with source code for the software * licensed and provided to you in object code. * * If software source code is provided to you, modification and redistribution of the * source code are permitted provided that the following conditions are met: * * * any redistribution and use of the source code, including any resulting derivative * works, are licensed by TI for use only with TI Devices. * * * any redistribution and use of any object code compiled from the source code * and any resulting derivative works, are licensed by TI for use only with TI Devices. * * Neither the name of Texas Instruments Incorporated nor the names of its suppliers * * may be used to endorse or promote products derived from this software without * specific prior written permission. * * DISCLAIMER. * * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * */ #include "v4l2_capture_module.h" #include "tiovx_utils.h" #include <sys/ioctl.h> #include <errno.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #define V4L2_CAPTURE_DEFAULT_WIDTH 1920 #define V4L2_CAPTURE_DEFAULT_HEIGHT 1080 #define V4L2_CAPTURE_DEFAULT_PIX_FMT V4L2_PIX_FMT_SRGGB8 #define V4L2_CAPTURE_DEFAULT_DEVICE "/dev/video-imx219-cam0" #define V4L2_CAPTURE_DEFAULT_BUFQ_DEPTH 4 #define V4L2_CAPTURE_MAX_BUFQ_DEPTH 8 #define V4L2_CAPTURE_MAX_RETRIES 10 #define V4L2_CAPTURE_STREAMON_DELAY 2 // in sec void v4l2_capture_init_cfg(v4l2CaptureCfg *cfg) { cfg->width = V4L2_CAPTURE_DEFAULT_WIDTH; cfg->height = V4L2_CAPTURE_DEFAULT_HEIGHT; cfg->pix_format = V4L2_CAPTURE_DEFAULT_PIX_FMT; cfg->bufq_depth = V4L2_CAPTURE_DEFAULT_BUFQ_DEPTH; sprintf(cfg->device, V4L2_CAPTURE_DEFAULT_DEVICE); } struct _v4l2CaptureHandle { v4l2CaptureCfg cfg; int fd; Buf *bufq[V4L2_CAPTURE_MAX_BUFQ_DEPTH]; bool queued[V4L2_CAPTURE_MAX_BUFQ_DEPTH]; }; static int xioctl(int fh, int request, void *arg) { int r; do { r = ioctl(fh, request, arg); } while (-1 == r && EINTR == errno); return r; } int v4l2_capture_check_caps(v4l2CaptureHandle *handle) { struct v4l2_capability cap; int status = 0; if (-1 == xioctl(handle->fd, VIDIOC_QUERYCAP, &cap)) { if (EINVAL == errno) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] %s is no V4L2 device\n", handle->cfg.device); } else { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_QUERYCAP Failed\n"); } status = -1; } if (!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] %s is not a capture device\n", handle->cfg.device); status = -1; } if (!(cap.capabilities & V4L2_CAP_STREAMING)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] %s does not support streaming i/o\n", handle->cfg.device); status = -1; } return status; } int v4l2_capture_set_fmt(v4l2CaptureHandle *handle) { struct v4l2_format fmt; int status = 0; CLR(&fmt); fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; fmt.fmt.pix.width = handle->cfg.width; fmt.fmt.pix.height = handle->cfg.height; fmt.fmt.pix.pixelformat = handle->cfg.pix_format; fmt.fmt.pix.field = V4L2_FIELD_ANY; if (-1 == xioctl(handle->fd, VIDIOC_S_FMT, &fmt)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] Set format failed\n"); status = -1; } return status; } int v4l2_capture_request_buffers(v4l2CaptureHandle *handle) { struct v4l2_requestbuffers req; int status = 0; CLR(&req); req.count = handle->cfg.bufq_depth; req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; req.memory = V4L2_MEMORY_DMABUF; if (-1 == xioctl(handle->fd, VIDIOC_REQBUFS, &req)) { if (EINVAL == errno) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] %s does not support DMABUF\n", handle->cfg.device); } else { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_REQBUFS failed\n"); } status = -1; return status; } if (req.count < handle->cfg.bufq_depth) { TIOVX_MODULE_ERROR("Failed to allocate requested buffers," " requested %d, allocted %d\n", handle->cfg.bufq_depth, req.count); status = -1; } return status; } v4l2CaptureHandle *v4l2_capture_create_handle(v4l2CaptureCfg *cfg) { v4l2CaptureHandle *handle = NULL; handle = malloc(sizeof(v4l2CaptureHandle)); handle->fd = -1; memcpy(&handle->cfg, cfg, sizeof(v4l2CaptureCfg)); handle->fd = open(cfg->device, O_RDWR | O_NONBLOCK, 0); if (-1 == handle->fd) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] Cannot open '%s': %d, %s\n", cfg->device, errno, strerror(errno)); goto free_handle; } if (0 != v4l2_capture_check_caps(handle)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] Check caps failed\n"); goto free_fd; } if (0 != v4l2_capture_set_fmt(handle)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] Set format failed\n"); goto free_fd; } if (0 != v4l2_capture_request_buffers(handle)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] request buffers failed\n"); goto free_fd; } for (int i=0; i < handle->cfg.bufq_depth; i++) { handle->queued[i] = false; } return handle; free_fd: close(handle->fd); free_handle: free(handle); return NULL; } int v4l2_capture_start(v4l2CaptureHandle *handle) { int status = 0; enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; if (-1 == xioctl(handle->fd, VIDIOC_STREAMON, &type)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_STREAMON failed\n"); status = -1; } sleep(V4L2_CAPTURE_STREAMON_DELAY); return status; } int v4l2_capture_enqueue_buf(v4l2CaptureHandle *handle, Buf *tiovx_buffer) { struct v4l2_buffer buf; int status = 0; if (handle->queued[tiovx_buffer->buf_index] == true) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] Buffer alread enqueued\n"); status = -1; goto ret; } CLR(&buf); buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buf.memory = V4L2_MEMORY_DMABUF; buf.index = tiovx_buffer->buf_index; buf.m.fd = getDmaFd(tiovx_buffer->handle); if (-1 == xioctl(handle->fd, VIDIOC_QBUF, &buf)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_QBUF failed\n"); status = -1; } else { handle->queued[tiovx_buffer->buf_index] = true; handle->bufq[tiovx_buffer->buf_index] = tiovx_buffer; } ret: return status; } Buf *v4l2_capture_dqueue_buf(v4l2CaptureHandle *handle) { Buf *tiovx_buffer = NULL; struct v4l2_buffer buf; int i = 0; CLR(&buf); buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buf.memory = V4L2_MEMORY_DMABUF; for (i=0; i < V4L2_CAPTURE_MAX_RETRIES; i++) { if (-1 == xioctl(handle->fd, VIDIOC_DQBUF, &buf)) { if (errno == EAGAIN) { continue; } else { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_DQBUF failed\n"); goto ret; } } else { break; } } if (i == V4L2_CAPTURE_MAX_RETRIES) { TIOVX_MODULE_PRINTF("[V4L2_CAPTURE] DQBUF Exceeded max retries\n"); goto ret; } handle->queued[buf.index] = false; tiovx_buffer = handle->bufq[buf.index]; ret: return tiovx_buffer; } int v4l2_capture_stop(v4l2CaptureHandle *handle) { int status = 0; enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; if (-1 == xioctl(handle->fd, VIDIOC_STREAMOFF, &type)) { TIOVX_MODULE_ERROR("[V4L2_CAPTURE] VIDIOC_STREAMOFF failed\n"); status = -1; } return status; } int v4l2_capture_delete_handle(v4l2CaptureHandle *handle) { int status = 0; close(handle->fd); free(handle); return status; }
error log as below:
自启动failed.txt
U-Boot SPL 2023.04 (Aug 21 2024 - 16:08:24 +0800) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') am62a_init: board_init_f done SPL initial stack usage: 17064 bytes am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Trying to boot from MMC1 am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Authentication passed Starting ATF on ARM64 core... NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty NOTICE: BL31: Built : 16:09:05, Feb 9 2024 U-Boot SPL 2023.04 (Nov 21 2024 - 07:23:18 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') am62a_init: board_init_f done am62a_init: spl_boot_device: devstat = 0x24b bootmedia = 0x9 bootindex = 0 Trying to boot from MMC1 Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices U-Boot 2023.04 (Sep 05 2024 - 14:17:30 +0800) SoC: AM62AX SR1.0 HS-FS Model: Texas Instruments AM62A7 SK DRAM: 1 GiB Core: 58 devices, 28 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: Could not get PHY for ethernet@8000000port@1: addr 0 am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed No ethernet found. Hit any key to stop autoboot: 0 MMC: no card present SD/MMC found on device 1 MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1 Can't set block device MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1 Can't set block device ## Error: "main_cpsw0_qsgmii_phyinit" not defined ERROR: reserving fdt memory region failed (addr=ae000000 size=12000000 flags=4) 19376640 bytes read in 135 ms (136.9 MiB/s) ERROR: reserving fdt memory region failed (addr=ae000000 size=12000000 flags=4) 58603 bytes read in 30 ms (1.9 MiB/s) Working FDT set to 88000000 ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Working FDT set to 88000000 Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK Working FDT set to 8feee000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.80 (root@hzh57566u) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #5 SMP PREEMPT Sun Sep 22 13:38:31 CST 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 0x00000000bd000000, size 48 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 240 MiB [ 0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-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-0x00000000bcffffff] [ 0.000000] node 0: [mem 0x00000000bd000000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff] [ 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 20 pages/cpu s41064 r8192 d32664 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258047 [ 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=3f057e2b-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 379056K/1048572K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 620364K reserved, 49152K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080040000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008514] Console: colour dummy device 80x25 [ 0.013100] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023782] pid_max: default: 32768 minimum: 301 [ 0.028549] LSM: Security Framework initializing [ 0.033364] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.040935] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.050412] cblist_init_generic: Setting adjustable number of callback queues. [ 0.057846] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.064138] cblist_init_generic: Setting adjustable number of callback queues. [ 0.071533] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.077900] rcu: Hierarchical SRCU implementation. [ 0.082808] rcu: Max phase no-delay instances is 1000. [ 0.088363] Platform MSI: msi-controller@1820000 domain created [ 0.094608] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.104003] EFI services will not be available. [ 0.108871] smp: Bringing up secondary CPUs ... [ 0.114094] Detected VIPT I-cache on CPU1 [ 0.114182] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.114198] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000 [ 0.114247] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.114862] Detected VIPT I-cache on CPU2 [ 0.114930] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.114944] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000 [ 0.114974] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.115522] Detected VIPT I-cache on CPU3 [ 0.115590] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.115604] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000 [ 0.115634] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.115701] smp: Brought up 1 node, 4 CPUs [ 0.195442] SMP: Total of 4 processors activated. [ 0.200254] CPU features: detected: 32-bit EL0 Support [ 0.205525] CPU features: detected: CRC32 instructions [ 0.210830] CPU: All CPU(s) started at EL2 [ 0.215028] alternatives: applying system-wide alternatives [ 0.221988] devtmpfs: initialized [ 0.232577] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.242587] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.251236] pinctrl core: initialized pinctrl subsystem [ 0.257133] DMI not present or invalid. [ 0.261637] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.268610] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.276013] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.284015] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.292178] audit: initializing netlink subsys (disabled) [ 0.297835] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1 [ 0.298232] thermal_sys: Registered thermal governor 'step_wise' [ 0.305764] thermal_sys: Registered thermal governor 'power_allocator' [ 0.311942] cpuidle: using governor menu [ 0.322777] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.329796] ASID allocator initialised with 65536 entries [ 0.347156] KASLR disabled due to lack of seed [ 0.358047] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.365014] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.371425] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.378365] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.384773] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.391712] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.398120] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.405060] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.412679] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected [ 0.422939] iommu: Default domain type: Translated [ 0.427956] iommu: DMA domain TLB invalidation policy: strict mode [ 0.434643] SCSI subsystem initialized [ 0.438760] usbcore: registered new interface driver usbfs [ 0.444403] usbcore: registered new interface driver hub [ 0.449855] usbcore: registered new device driver usb [ 0.455417] pps_core: LinuxPPS API ver. 1 registered [ 0.460495] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.469850] PTP clock support registered [ 0.473979] EDAC MC: Ver: 3.0.0 [ 0.477949] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100 [ 0.484776] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100 [ 0.491579] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100 [ 0.498307] omap-mailbox 29030000.mailbox: no available mbox devices found [ 0.505630] FPGA manager framework [ 0.509178] Advanced Linux Sound Architecture Driver Initialized. [ 0.516225] clocksource: Switched to clocksource arch_sys_counter [ 0.522676] VFS: Disk quotas dquot_6.6.0 [ 0.526728] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.539493] Carveout Heap: Exported 176 MiB at 0x00000000a3000000 [ 0.545846] NET: Registered PF_INET protocol family [ 0.550961] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.559533] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.568140] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.576073] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.584052] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.591645] TCP: Hash tables configured (established 8192 bind 8192) [ 0.598250] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.605049] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.612428] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.618582] RPC: Registered named UNIX socket transport module. [ 0.624653] RPC: Registered udp transport module. [ 0.629463] RPC: Registered tcp transport module. [ 0.634272] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.640862] NET: Registered PF_XDP protocol family [ 0.645771] PCI: CLS 0 bytes, default 64 [ 0.650413] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.660307] Initialise system trusted keyrings [ 0.665051] workingset: timestamp_bits=46 max_order=17 bucket_order=0 [ 0.675813] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.682335] NFS: Registering the id_resolver key type [ 0.687554] Key type id_resolver registered [ 0.691833] Key type id_legacy registered [ 0.695984] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.702840] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.747536] Key type asymmetric registered [ 0.751729] Asymmetric key parser 'x509' registered [ 0.756760] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.764464] io scheduler mq-deadline registered [ 0.769101] io scheduler kyber registered [ 0.776156] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.782761] pinctrl-single f4000.pinctrl: 151 pins, size 604 [ 0.794854] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled [ 0.809946] loop: module loaded [ 0.814327] megasas: 07.719.03.00-rc1 [ 0.820965] tun: Universal TUN/TAP device driver, 1.6 [ 0.826799] VFIO - User Level meta-driver version: 0.3 [ 0.832733] usbcore: registered new interface driver usb-storage [ 0.839398] i2c_dev: i2c /dev entries driver [ 0.845139] sdhci: Secure Digital Host Controller Interface driver [ 0.851487] sdhci: Copyright(c) Pierre Ossman [ 0.856141] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.862539] ledtrig-cpu: registered to indicate activity on CPUs [ 0.868852] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.875769] usbcore: registered new interface driver usbhid [ 0.881470] usbhid: USB HID core driver [ 0.886208] optee: probing for conduit method. [ 0.890787] optee: revision 4.1 (012cdca4) [ 0.891054] optee: dynamic shared memory is enabled [ 0.900605] optee: initialized driver [ 0.905725] Initializing XFRM netlink socket [ 0.910149] NET: Registered PF_PACKET protocol family [ 0.915374] Key type dns_resolver registered [ 0.920090] registered taskstats version 1 [ 0.924310] Loading compiled-in X.509 certificates [ 0.937175] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') [ 0.982778] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5 [ 0.992831] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 0.999688] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 1.006124] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz [ 1.012039] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 1.020403] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 1.029612] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 1.038607] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created [ 1.048760] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 1.056850] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 1.067632] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 1.077435] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 1.086733] ti-udma 4e230000.dma-controller: Number of rings: 6 [ 1.093221] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6) [ 1.102495] printk: console [ttyS2] disabled [ 1.106934] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250 [ 1.115811] printk: console [ttyS2] enabled [ 1.115811] printk: console [ttyS2] enabled [ 1.124270] printk: bootconsole [ns16550a0] disabled [ 1.124270] printk: bootconsole [ns16550a0] disabled [ 1.137457] spi-nor spi0.0: s28hs512t (65536 Kbytes) [ 1.142537] 2 fixed-partitions partitions found on MTD device fc40000.spi.0 [ 1.149496] Creating 2 MTD partitions on "fc40000.spi.0": [ 1.154890] 0x000000000000-0x0000037c0000 : "ospi.tiboot3" [ 1.161472] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 1.174155] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1000000 KHz [ 1.186789] mmc0: CQHCI version 5.10 [ 1.186938] mmc1: CQHCI version 5.10 [ 1.231782] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.305032] mmc0: Command Queue Engine enabled [ 1.309542] mmc0: new HS200 MMC card at address 0001 [ 1.315936] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB [ 1.322423] mmcblk0: p1 p2 p3 [ 1.326242] mmcblk0boot0: mmc0:0001 8GUF4R 31.9 MiB [ 1.332208] mmcblk0boot1: mmc0:0001 8GUF4R 31.9 MiB [ 1.338103] mmcblk0rpmb: mmc0:0001 8GUF4R 4.00 MiB, chardev (240:0) [ 1.511443] vddshv_sdio: Bringing 1800000uV into 3300000-3300000uV [ 1.519390] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.528095] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.535449] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.548776] ALSA device list: [ 1.551753] No soundcards found. [ 2.711433] sdhci-am654 fa00000.mmc: Power on failed [ 2.747490] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 2.912444] EXT4-fs (mmcblk0p2): recovery complete [ 2.917982] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [ 2.926609] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 2.933025] devtmpfs: mounted [ 2.937225] Freeing unused kernel memory: 1984K [ 2.941888] Run /sbin/init as init process [ 3.027485] systemd[1]: System time before build time, advancing clock. [ 3.069726] NET: Registered PF_INET6 protocol family [ 3.076210] Segment Routing with IPv6 [ 3.079945] In-situ OAM (IOAM) with IPv6 [ 3.103440] 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) [ 3.135688] systemd[1]: Detected architecture arm64. Welcome to Arago 2023.10! [ 3.205436] systemd[1]: Hostname set to <am62axx-evm>. [ 3.316865] systemd-sysv-generator[151]: 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.342451] systemd-sysv-generator[151]: 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. [ 3.642249] 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.668168] systemd[1]: Configuration file /lib/systemd/system/application.service is marked executable. Please remove executable permission bits. Proceeding anyway. [ 3.682986] systemd[1]: Configuration file /lib/systemd/system/application.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway. [ 3.745530] 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.827956] systemd[1]: Queued start job for default target Graphical Interface. [ 3.901800] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 3.927585] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 3.952121] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 3.974861] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 3.996815] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 4.020885] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 4.044959] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 4.060617] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 4.080572] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 4.096999] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 4.170655] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 4.192691] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 4.232951] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 4.257228] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 4.283962] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 4.307109] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 4.331138] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 4.350318] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 4.375408] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 4.398538] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 4.422796] systemd[1]: Listening on User Database Manager Socket. [ OK ] Listening on User Database Manager Socket. [ 4.489170] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 4.515175] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 4.547325] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 4.565595] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 4.613142] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 4.641873] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 4.672423] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 4.708411] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 4.735153] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 4.749341] fuse: init (API version 7.37) [ 4.769448] systemd[1]: Starting Start psplash boot splash screen... Starting Start psplash boot splash screen... [ 4.817650] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 4.836846] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). [ 4.862282] systemd[1]: Starting Journal Service... Starting Journal Service... [ 4.889268] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 4.937172] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network …ts from Kernel command line... [ 4.970355] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 4.994080] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. [ 4.999114] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 5.028007] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 5.045075] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ OK ] Finished Load Kernel Modules. [ OK ] Finished Generate network units from Kernel command line. [ OK ] Finished Remount Root and Kernel File Systems. Mounting FUSE Control File System... Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... [ 5.445748] systemd-journald[166]: Received client request to flush runtime journal. Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... [ 5.658027] audit: type=1334 audit(1651167747.628:2): prog-id=5 op=LOAD [ 5.664843] audit: type=1334 audit(1651167747.636:3): prog-id=6 op=LOAD Starting Rule-based Manage…for Device Events and Files... [ OK ] Finished Coldplug All udev Devices. [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 6.252753] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 6.313263] mc: Linux media interface: v0.10 [ OK ] Found device /dev/ttyS2. [ 6.337879] videodev: Linux video capture interface: v2.00 [ 6.380894] === ox02c10_power_on [ 6.403763] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0 [ 6.419327] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found [ OK ] Started Network Time Synchronization. [ 6.435458] vdec 30210000.video-codec: failed to get irq resource, falling back to polling [ OK ] Reached target System Initializatio[ 6.448488] === ox02c10_power_on max96714 is locked, loops:1 n. [ OK ] Started Daily Cleanup of Temporary [ 6.472570] === ox02c10_power_off Directories. [ 6.486830] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000 [ 6.495417] platform 79000000.r5f: configured R5F for remoteproc mode [ 6.496551] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode [ 6.506145] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000 [ 6.510483] remoteproc remoteproc0: 7e000000.dsp is available [ 6.519501] remoteproc remoteproc1: 79000000.r5f is available [ 6.524499] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode [ OK ] Reached target System Time Set. [ 6.549023] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ OK ] Started Daily rotation of log files[ 6.566292] platform 78000000.r5f: configured R5F for IPC-only mode . [ 6.568444] remoteproc remoteproc1: powering up 79000000.r5f [ 6.581335] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 3726464 [ OK ] Reached target Timer Units.[ 6.590593] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000 [ 6.593565] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node r5f-dma-memory@9b800000 [ 6.613531] virtio_rpmsg_bus virtio0: rpmsg host is online [ 6.619222] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7) [ 6.622211] remoteproc remoteproc2: 78000000.r5f is available [ 6.626075] remoteproc remoteproc1: remote processor 79000000.r5f is now up [ OK ] Listening on Avahi mDNS/DNS-SD Stac[ 6.634254] remoteproc remoteproc2: attaching to 78000000.r5f k Activation Socket.[ 6.651618] remoteproc remoteproc0: powering up 7e000000.dsp [ 6.652935] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 6.658031] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11534416 [ 6.664697] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9c800000 [ 6.681828] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 6.682371] virtio_rpmsg_bus virtio1: rpmsg host is online [ 6.683349] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd [ 6.686270] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000 [ 6.696362] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:10 UTC (10) [ 6.699878] rproc-virtio rproc-virtio.6.auto: registered virtio1 (type 7) [ 6.707650] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node c7x-dma-memory@99800000 [ 6.715586] remoteproc remoteproc2: remote processor 78000000.r5f is now attached [ 6.719385] systemd-journald[166]: Time jumped backwards, rotating. [ OK ] Listening on D-Bus System Message Bus Socket. [ 6.752795] e5010 fd20000.e5010: Device registered as /dev/video2 [ 6.759512] virtio_rpmsg_bus virtio2: rpmsg host is online [ 6.760005] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd [ 6.767609] rproc-virtio rproc-virtio.7.auto: registered virtio2 (type 7) [ 6.778954] remoteproc remoteproc0: remote processor 7e000000.dsp is now up [ 6.779559] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15 [ 6.797805] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15 [ 6.805189] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe [ 6.820773] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe [ 6.828525] virtio_rpmsg_bus virtio1: msg received with no recipient Starting Docker Socket for the API... [ 6.848396] virtio_rpmsg_bus virtio2: msg received with no recipient [ 6.873337] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ OK ] Listening on dropbear.socket. [ OK ] Listening on PC/SC Smart Card Daemon Activation Socket. Starting Weston socket... Starting D-Bus System Message Bus... [ 6.983411] virtio_rpmsg_bus virtio0: msg received with no recipient Starting Reboot and dump vmcore via kexec... [ OK ] Listening on Docker Socket for the API. [ OK ] Listening on Weston socket. [ OK ] Finished Reboot and dump vmcore via kexec. [ OK ] Reached target Socket Units. [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System. [ OK ] Started My Shell Script. [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. Starting DEMO... Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started irqbalance daemon. Starting Telephony service... Starting Expand the rootfs…ll size of the boot device.... [ OK ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf. [ 7.423161] audit: type=1334 audit(11.220:4): prog-id=7 op=LOAD [ 7.429669] audit: type=1334 audit(11.228:5): prog-id=8 op=LOAD Starting User Login Management... [ OK ] Started TEE Supplicant. Starting Telnet Server... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Telnet Server. [ OK ] Started DEMO. [ OK ] Started Telephony service. [ 7.545549] Bluetooth: Core ver 2.22 [ OK ] Reached target Preparation for Netw[ 7.555344] NET: Registered PF_BLUETOOTH protocol family ork. [ 7.562394] Bluetooth: HCI device and connection manager initialized [ 7.572285] Bluetooth: HCI socket layer initialized [ 7.577407] Bluetooth: L2CAP socket layer initialized [ 7.582577] Bluetooth: SCO socket layer initialized Starting Network Configuration... [ OK ] Finished Expand the rootfs…full size of the boot device.. [ 7.988120] virtio_rpmsg_bus virtio0: msg received with no recipient [ 8.050235] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 8.095341] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 8.104721] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ OK ] Started User Login Management. [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 8.369591] ox02c 0-0010: Consider updating driver ox02c to match on endpoints [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 8.680564] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY [ 8.699798] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller [ 8.730531] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 1 [ 8.740040] xhci-hcd xhci-hcd.9.auto: USB3 root hub has no ports [ 8.746930] xhci-hcd xhci-hcd.9.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ 8.758311] xhci-hcd xhci-hcd.9.auto: irq 541, io mem 0x31000000 [ 8.777160] hub 1-0:1.0: USB hub found [ 8.782297] hub 1-0:1.0: 1 port detected [ 8.821592] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller [ 8.828116] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 2 [ 8.838673] xhci-hcd xhci-hcd.10.auto: USB3 root hub has no ports [ 8.845687] xhci-hcd xhci-hcd.10.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ 8.857453] xhci-hcd xhci-hcd.10.auto: irq 542, io mem 0x31100000 [ 8.899968] hub 2-0:1.0: USB hub found [ 8.907123] hub 2-0:1.0: 1 port detected [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting Enable and configure wl18xx bluetooth stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server 8.993124] virtio_rpmsg_bus virtio0: msg received with no recipient m. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Simple Network Ma…ent Protocol (SNMP) Daemon.... Starting Permit User Sessions... [ OK ] Finished Enable and configure wl18xx bluetooth stack. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Finished Permit User Sessions. [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... Starting Weston, a Wayland…ositor, as a system service... [ 9.311235] audit: type=1334 audit(13.108:6): prog-id=9 op=LOAD [ 9.320018] audit: type=1334 audit(13.116:7): prog-id=10 op=LOAD Starting User Database Manager... [ OK ] Found device /dev/mmcblk0p1. [ OK ] Started Simple Network Man…ement Protocol (SNMP) Daemon.. [ OK ] Found device /dev/mmcblk0p3. Starting File System Check on /dev/mmcblk0p1... Starting File System Check on /dev/mmcblk0p3... [ OK ] Finished File System Check on /dev/mmcblk0p1. Mounting /run/media/boot-mmcblk0p1... [ OK ] Started User Database Manager. [ OK ] Mounted /run/media/boot-mmcblk0p1. [ OK ] Finished File System Check on /dev/mmcblk0p3. Mounting /run/media/persist-mmcblk0p3... [ OK ] Created slice User Slice of UID 100[ 9.830399] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Quota mode: none. 0. Starting User Runtime Directory /run/user/1000... [ OK ] Mounted /run/media/persist-mmcblk0p3. [ OK ] Finished User Runtime Directory /run/user/1000. Starting User Manager for UID 1000... [ 9.899328] audit: type=1006 audit(13.696:8): pid=670 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1 [ 9.913229] audit: type=1300 audit(13.696:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff7146e88 a2=4 a3=ffff8bce6020 items=0 ppid=1 pid=670 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.939232] audit: type=1327 audit(13.696:8): proctitle="(systemd)" [ 9.998265] virtio_rpmsg_bus virtio0: msg received with no recipient [ OK ] Finished Synchronize System and HW clocks. [ OK ] Started containerd container runtime. [ OK ] Started User Manager for UID 1000. [ OK ] Started Session c1 of User weston. [ 10.533281] audit: type=1006 audit(14.332:9): pid=564 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1 [FAILED] Failed to start Weston, a …mpositor, as a system service. See 'systemctl status weston.service' for details. Starting EdgeAI OOB demos... [FAILED] Failed to start EdgeAI OOB demos. See 'systemctl status edgeai-init.service' for details. [ 11.003314] virtio_rpmsg_bus virtio0: msg received with no recipient *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: adwaita-icon-theme-symbolic autoconf bash-dev bash bc binutils cifs-utils coreutils-stdbuf coreutils cpio cpp-symlinks cpp dosfstools elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext glmark2 gnu-config grub-common grub-editenv grub-efi gzip hidapi less libasm1 libatomic-dev libatomic1 libbfd libdebuginfod1 libdw1 libeigen-dev libelf1 libgcc-s-dev libgcc1 libgdbm-compat4 libgdbm-dev libgdbm6 libgettextlib libgettextsrc libgmp10 libidn2-0 libmpc3 libmpfr6 libopcodes libqt5charts-examples libqt5charts-plugins libqt5charts-qmlplugins libqt5charts5 libqt5sensors-plugins libqt5sensors-qmlplugins libqt5sensors5 libqt5serialport-examples libqt5serialport-plugins libqt5serialport-qmlplugins libqt5serialport5 libqt5svg-examples libqt5svg-plugins libqt5svg-qmlplugins libqt5svg5 libqt5virtualkeyboard-plugins libqt5virtualkeyboard-qmlplugins libqt5virtualkeyboard5 libqt5webchannel-plugins libqt5webchannel-qmlplugins libqt5webchannel5 libreadline-dev libreadline8 libstdc++-dev libstdc++6 libunistring2 m4-dev m4 make nettle parted piglit qt3d-plugins qt3d-qmlplugins qt3d qtbase-examples qtbase-plugins qtbase-qmlplugins qtbase qtconnectivity-plugins qtconnectivity-qmlplugins qtconnectivity qtdeclarative-plugins qtdeclarative-qmlplugins qtdeclarative-tools qtdeclarative qtgraphicaleffects-qmlplugins qtlocation-examples qtlocation-plugins qtlocation-qmlplugins qtlocation qtmultimedia-examples qtmultimedia-plugins qtmultimedia-qmlplugins qtmultimedia qtquick3d-plugins qtquick3d-qmlplugins qtquick3d qtquics-qmlplugins.control qtquics2-plugins.control qtquics2-qmlplugins.control qtquics2.control qtscript-examples qtscript-plugins qtscript-qmlplugins qtscript qtwayland-examples qtwayland-plugins qtwayland-qmlplugins qtwayland tar which If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. [ 12.008464] virtio_rpmsg_bus virtio0: msg received with no recipient _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62axx-evm - Arago 2023.10 am62axx-evm - am62axx-evm login: [ 13.013862] virtio_rpmsg_bus virtio0: msg received with no recipient [ 14.018631] virtio_rpmsg_bus virtio0: msg received with no recipient [ 15.023745] virtio_rpmsg_bus virtio0: msg received with no recipient [ 16.030939] virtio_rpmsg_bus virtio0: msg received with no recipient am62axx-evm login: am62axx-evm login: roo[ 17.033844] virtio_rpmsg_bus virtio0: msg received with no recipient t [ 17.495448] kauditd_printk_skb: 2 callbacks suppressed [ 17.495465] audit: type=1006 audit(21.292:10): pid=1023 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1 [ 17.512569] audit: type=1300 audit(21.292:10): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffff7146e88 a2=1 a3=ffff8bce6020 items=0 ppid=1 pid=1023 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) [ 17.538371] audit: type=1327 audit(21.292:10): proctitle="(systemd)" [ 17.544894] audit: type=1334 audit(21.324:11): prog-id=11 op=LOAD [ 17.551061] audit: type=1300 audit(21.324:11): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=fffff57bc6d0 a2=78 a3=0 items=0 ppid=1 pid=1023 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) [ 17.576327] audit: type=1327 audit(21.324:11): proctitle="(systemd)" [ 17.583190] audit: type=1334 audit(21.336:12): prog-id=11 op=UNLOAD [ 17.589542] audit: type=1334 audit(21.336:13): prog-id=12 op=LOAD [ 17.595771] audit: type=1300 audit(21.336:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=fffff57bc770 a2=78 a3=0 items=0 ppid=1 pid=1023 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) [ 17.620601] audit: type=1327 audit(21.336:13): proctitle="(systemd)" [ 18.041223] virtio_rpmsg_bus virtio0: msg received with no recipient -sh: ./init_script.sh: No such file or directory root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# [ 19.044060] virtio_rpmsg_bus virtio0: msg received with no recipient root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# [ 20.049115] virtio_rpmsg_bus virtio0: msg received with no recipient root@am62axx-evm:/opt/edgeai-gst-apps# [ 21.054059] virtio_rpmsg_bus virtio0: msg received with no recipient [ 27.196910] virtio_rpmsg_bus virtio0: msg received with no recipient [ 27.553579] use of bytesused == 0 is deprecated and will be removed in the future, [ 27.561188] use the actual size instead. root@am62axx-evm:/opt/edgeai-gst-apps# systemctl status application.service * application.service - My Shell Script Loaded: loaded (/lib/systemd/system/application.service; enabled; vendor preset: disabled) Active: active (running) since Thu 1970-01-01 00:00:11 UTC; 37s ago Main PID: 299 (flash_emmc.sh) Tasks: 16 (limit: 444) Memory: 77.9M CGroup: /system.slice/application.service |- 299 /bin/bash /etc/init.d/flash_emmc.sh `- 1042 ./sva-dms Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# systemctl status application.service * application.service - My Shell Script Loaded: loaded (/lib/systemd/system/application.service; enabled; vendor preset: disabled) Active: active (running) since Thu 1970-01-01 00:00:11 UTC; 44s ago Main PID: 299 (flash_emmc.sh) Tasks: 16 (limit: 444) Memory: 83.9M CGroup: /system.slice/application.service |- 299 /bin/bash /etc/init.d/flash_emmc.sh `- 1042 ./sva-dms Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed Jan 01 00:00:37 am62axx-evm flash_emmc.sh[1042]: [TIOVX_MODULES][ERROR] 295: v4l2_capture_dqueue_buf: [V4L2_CAPTURE] VIDIOC_DQBUF failed root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps# root@am62axx-evm:/opt/edgeai-gst-apps#
Need you help for this issue, this is blocked customer project.
BR,
Biao