nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos Hi @joanxie, GST_DEBUG=3 gst-launch-1.0 -v \ v4l2src num-buffers=$NUMBER_OF_PIC device=$VID_DEVICE ! \ video/x-raw,format=GRAY8,depth=8,$FRAME_SIZE ! \ videoconvert ! \ jpegenc ! \ multifilesink location=ar0144_mono_image.jpg issue is Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument New clock: GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: error with STREAMON 32 (Broken pipe) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: error: Failed to allocate required memory. 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: error: Buffer pool activation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: Subclass failed to decide allocation Execution ended after 0:00:00.015445250 Setting pipeline to NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: Internal data stream error. 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer command finished. Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos This is solution of device tree Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos Ok, I will contact and will update to you. Thanks, Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos I checked the logfile, it seems your csi driver isn't the same as nxp source code, we used imx6s-csi for csi driver, and the mipi csi driver isn't the same either, since you use the different source code, I suggest that you can contact the third party company to check this Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos cat arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-vm016-fpdlink-port0.dtso // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2025 PHYTEC Messtechnik GmbH * Author: Stefan Riedmüller */ /dts-v1/; /plugin/; #include "imx8mm-phyboard-polis-fpdlink-port0.dtsi" #include &i2c_csi1_port0 { camera@10 { #address-cells = <0x1>; #size-cells = <0x0>; compatible = "onsemi,ar0144"; reg = <0x10>; /* ADD THIS LINE FOR VERIFICATION */ debug-overlay-version = "1.0"; /* --------------------------- */ clocks = <&ser_csi1_port0>; clock-names = "ext"; isp-bus-info = "csi0"; assigned-clocks = <&ser_csi1_port0>; assigned-clock-rates = <26666666>; reset-gpios = <&ser_csi1_port0 3 GPIO_ACTIVE_LOW>; onsemi,reset-delay-ms = <100>; port@0 { reg = <0>; vm016_csi1_port0_ep: endpoint { remote-endpoint = <&ser_csi1_port0_in>; bus-type = <4>; /* MIPI CSI-2 D-PHY */ link-frequencies = /bits/ 64 <222750000>; data-lanes = <1 2>; clock-lanes = <0>; clock-noncontinuous = <1>; onsemi,t-hs-prep = <1>; onsemi,t-clk-post = <9>; }; }; }; eeprom@56 { compatible = "atmel,24c02"; reg = <0x56>; pagesize = <16>; }; }; &ser_csi1_port0_in { remote-endpoint = <&vm016_csi1_port0_ep>; data-lanes = <1 2>; }; Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos U-Boot SPL 2021.04+gd8801c557a3+p0 (Mar 21 2022 - 10:56:25 +0000) phytec_eeprom_data_init: init successful SoM: PCL-069-1032311I.A3 PCB rev: 3a DDRINFO: start DRAM init DDRINFO: DRAM rate 3000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from MMC2 NOTICE: BL31: v2.4(release):lf-5.10.72-2.2.0-0-g5782363f9 NOTICE: BL31: Built : 12:17:17, Nov 18 2021 U-Boot 2021.04+gd8801c557a3+p0 (Mar 21 2022 - 10:56:25 +0000) CPU: i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz) CPU: Industrial temperature grade (-40C to 105C) at 31C Reset cause: POR Model: PHYTEC phyCORE-i.MX8MM Watchdog enabled DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial Out: serial Err: serial flash target is MMC:2 Net: eth0: ethernet@30be0000 Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc2(part 0) is current device 38154752 bytes read in 835 ms (43.6 MiB/s) Booting from mmc ... clk qspi_root_clk already disabled clk qspi_root_clk already disabled SF: Detected n25q256ax1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB Failed to load 'bootenv.txt' 57016 bytes read in 22 ms (2.5 MiB/s) Found 0 extension board(s). 3616 bytes read in 5 ms (706.1 KiB/s) Moving Image from 0x40480000 to 0x40600000, end=42b10000 ## Flattened Device Tree blob at 48000000 Booting using the fdt blob at 0x48000000 Loading Device Tree to 00000000bdf01000, end 00000000bdf12fff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.6.36-lts-next-g181072984ef3 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Wed Sep 4 08:22:45 UTC 2024 [ 0.000000] KASLR disabled due to lack of seed [ 0.000000] Machine model: PHYTEC phyBOARD-Polis-i.MX8MM RDK [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095e00000, size 640 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000095e00000..0x00000000bddfffff (655360 KiB) map reusable linux,cma [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xbfbb86c0-0xbfbbafff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-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 0x0000000040000000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff] [ 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: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 22 pages/cpu s50536 r8192 d31384 u90112 [ 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] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk2p2 fsck.repair=yes rootwait rw [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Policy zone: DMA [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000008fe00000-0x0000000093e00000] (64MB) [ 0.000000] Memory: 1296904K/2097152K available (21504K kernel code, 2124K rwdata, 8616K rodata, 4864K init, 643K bss, 144888K reserved, 655360K 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: 128 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:0x0000000038880000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns [ 0.000000] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns [ 0.000470] Console: colour dummy device 80x25 [ 0.000531] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000) [ 0.000542] pid_max: default: 32768 minimum: 301 [ 0.000604] LSM: initializing lsm=capability,integrity [ 0.000678] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000690] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.002146] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.002216] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.002387] rcu: Hierarchical SRCU implementation. [ 0.002391] rcu: Max phase no-delay instances is 1000. [ 0.004403] EFI services will not be available. [ 0.004679] smp: Bringing }p secondary CPUs ... [ 0.005148] Detected VIPT I-cache on CPU1 [ 0.005213] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000 [ 0.005254] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.005766] Detected VIPT I-cache on CPU2 [ 0.005810] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000 [ 0.005833] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.006303] Detected VIPT I-cache on CPU3 [ 0.006349] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000 [ 0.006372] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.006438] smp: Brought up 1 node, 4 CPUs [ 0.006444] SMP: Total of 4 processors activated. [ 0.006448] CPU features: detected: 32-bit EL0 Support [ 0.006451] CPU features: detected: 32-bit EL1 Support [ 0.006455] CPU features: detected: CRC32 instructions [ 0.006519] CPU: All CPU(s) started at EL2 [ 0.006541] alternatives: applying system-wide alternatives [ 0.008384] devtmpfs: initialized [ 0.016448] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.016474] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.035040] pinctrl core: initialized pinctrl subsystem [ 0.037321] DMI not present or invalid. [ 0.037920] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.039736] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.040718] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.041701] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.041802] audit: initializing netlink subsys (disabled) [ 0.042023] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.042594] thermal_sys: Registered thermal governor 'step_wise' [ 0.042598] thermal_sys: Registered thermal governor 'power_allocator' [ 0.042640] cpuidle: using governor menu [ 0.042884] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.042969] ASID allocator initialised with 65536 entries [ 0.043958] Serial: AMBA PL011 UART driver [ 0.044030] imx mu driver is registered. [ 0.044050] imx rpmsg driver is registered. [ 0.050386] platform soc@0: Fixed dependency cycle(s) with /soc@0/bus@30000000/efuse@30350000/unique-id@4 [ 0.053133] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver [ 0.053556] platform 30350000.efuse: Fixed dependency cycle(s) with /soc@0/bus@30000000/clock-controller@30380000 [ 0.054628] platform 30350000.efuse: Fixed dependency cycle(s) with /soc@0/bus@30000000/clock-controller@30380000 [ 0.062454] platform 32e20000.csi-upstream: Fixed dependency cycle(s) with /soc@0/bus@32c00000/mipi-csi-upstream@32e30000 [ 0.062759] platform 32e20000.csi-upstream: Fixed dependency cycle(s) with /soc@0/bus@32c00000/mipi-csi-upstream@32e30000 [ 0.062878] platform 32e30000.mipi-csi-upstream: Fixed dependency cycle(s) with /soc@0/bus@32c00000/csi-upstream@32e20000 [ 0.062966] platform 32e30000.mipi-csi-upstream: Fixed dependency cycle(s) with /soc@0/bus@30800000/i2c@30a50000/deserializer@30 [ 0.067441] Modules: 23280 pages in range for non-PLT usage [ 0.067449] Modules: 514800 pages in range for PLT usage [ 0.068142] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.068149] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.068153] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.068156] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.068161] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.068166] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.068170] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.068175] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.070112] ACPI: Interpreter disabled. [ 0.071049] iommu: Default domain type: Translated [ 0.071058] iommu: DMA domain TLB invalidation policy: strict mode [ 0.071364] SCSI subsystem initialized [ 0.071668] usbcore: registered new interface driver usbfs [ 0.071696] usbcore: registered new interface driver hub [ 0.071732] usbcore: registered new device driver usb [ 0.072703] mc: Linux media interface: v0.10 [ 0.072743] videodev: Linux video capture interface: v2.00 [ 0.072804] pps_core: LinuxPPS API ver. 1 registered [ 0.072808] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.072821] PTP clock support registered [ 0.072973] EDAC MC: Ver: 3.0.0 [ 0.073391] scmi_core: SCMI protocol bus registered [ 0.073806] FPGA manager framework [ 0.073882] Advanced Linux Sound Architecture Driver Initialized. [ 0.074597] Bluetooth: Core ver 2.22 [ 0.074625] NET: Registered PF_BLUETOOTH protocol family [ 0.074629] Bluetooth: HCI device and connection manager initialized [ 0.074636] Bluetooth: HCI socket layer initialized [ 0.074641] Bluetooth: L2CAP socket layer initialized [ 0.074653] Bluetooth: SCO socket layer initialized [ 0.074967] vgaarb: loaded [ 0.075439] clocksource: Switched to clocksource arch_sys_counter [ 0.075662] VFS: Disk quotas dquot_6.6.0 [ 0.075687] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.075862] pnp: PnP ACPI: disabled [ 0.082648] NET: Registered PF_INET protocol family [ 0.082804] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.084353] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.084380] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.084393] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.084539] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 0.084995] TCP: Hash tables configured (established 16384 bind 16384) [ 0.085090] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.085139] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.085289] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.085707] RPC: Registered named UNIX socket transport module. [ 0.085712] RPC: Registered udp transport module. [ 0.085715] RPC: Registered tcp transport module. [ 0.085717] RPC: Registered tcp-with-tls transport module. [ 0.085720] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.086755] PCI: CLS 0 bytes, default 64 [ 0.087116] kvm [1]: IPA Size Limit: 40 bits [ 0.089341] kvm [1]: GICv3: no GICV resource entry [ 0.089348] kvm [1]: disabling GICv2 emulation [ 0.089363] kvm [1]: GIC system register CPU interface enabled [ 0.089389] kvm [1]: vgic interrupt IRQ9 [ 0.089413] kvm [1]: Hyp mode initialized successfully [ 0.090583] Initialise system trusted keyrings [ 0.090763] workingset: timestamp_bits=42 max_order=19 bucket_order=0 [ 0.091050] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.091253] NFS: Registering the id_resolver key type [ 0.091273] Key type id_resolver registered [ 0.091277] Key type id_legacy registered [ 0.091301] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.091306] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.091326] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. [ 0.091544] 9p: Installing v9fs 9p2000 file system support [ 0.125118] Key type asymmetric registered [ 0.125124] Asymmetric key parser 'x509' registered [ 0.125165] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.125171] io scheduler mq-deadline registered [ 0.125175] io scheduler kyber registered [ 0.125203] io scheduler bfq registered [ 0.131226] EINJ: ACPI disabled. [ 0.142324] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2 [ 0.142342] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin [ 0.150358] mxs-dma 33000000.dma-controller: initialized [ 0.151638] SoC: i.MX8MM revision 1.0 [ 0.152079] Bus freq driver module loaded [ 0.164497] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.167407] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 18, base_baud = 5000000) is a IMX [ 0.168171] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 19, base_baud = 1500000) is a IMX [ 0.168200] printk: console [ttymxc2] enabled [ 1.352172] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 20, base_baud = 5000000) is a IMX [ 1.361283] serial serial0: tty port ttymxc1 registered [ 1.368286] imx-drm display-subsystem: no available port [ 1.385950] loop: module loaded [ 1.390781] megasas: 07.725.01.00-rc1 [ 1.399300] spi-nor spi3.0: n25q256ax1 (32768 Kbytes) [ 1.404534] 4 fixed-partitions partitions found on MTD device 30bb0000.spi [ 1.411423] Creating 4 MTD partitions on "30bb0000.spi": [ 1.416753] 0x000000000000-0x0000003c0000 : "u-boot" [ 1.422851] 0x0000003c0000-0x0000003e0000 : "env" [ 1.428576] 0x0000003e0000-0x000000400000 : "env_redund" [ 1.434871] 0x000000400000-0x000002000000 : "none" [ 1.443798] tun: Universal TUN/TAP device driver, 1.6 [ 1.449701] thunder_xcv, ver 1.0 [ 1.452971] thunder_bgx, ver 1.0 [ 1.456236] nicpf, ver 1.0 [ 1.460950] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version [ 1.468186] hns3: Copyright (c) 2017 Huawei Corporation. [ 1.473539] hclge is initializing [ 1.476895] e1000: Intel(R) PRO/1000 Network Driver [ 1.481781] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 1.487560] e1000e: Intel(R) PRO/1000 Network Driver [ 1.492532] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.498488] igb: Intel(R) Gigabit Ethernet Network Driver [ 1.503934] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.509542] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.515818] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.521900] sky2: driver version 1.30 [ 1.526092] usbcore: registered new device driver r8152-cfgselector [ 1.532402] usbcore: registered new interface driver r8152 [ 1.538347] VFIO - User Level meta-driver version: 0.3 [ 1.546053] usbcore: registered new interface driver uas [ 1.551412] usbcore: registered new interface driver usb-storage [ 1.557501] usbcore: registered new interface driver usbserial_generic [ 1.564058] usbserial: USB Serial support registered for generic [ 1.570091] usbcore: registered new interface driver ftdi_sio [ 1.575867] usbserial: USB Serial support registered for FTDI USB Serial Device [ 1.583209] usbcore: registered new interface driver usb_serial_simple [ 1.589763] usbserial: USB Serial support registered for carelink [ 1.595881] usbserial: USB Serial support registered for flashloader [ 1.602264] usbserial: USB Serial support registered for funsoft [ 1.608296] usbserial: USB Serial support registered for google [ 1.614251] usbserial: USB Serial support registered for hp4x [ 1.620026] usbserial: USB Serial support registered for kaufmann [ 1.626148] usbserial: USB Serial support registered for libtransistor [ 1.632703] usbserial: USB Serial support registered for moto_modem [ 1.638996] usbserial: USB Serial support registered for motorola_tetra [ 1.645638] usbserial: USB Serial support registered for nokia [ 1.651500] usbserial: USB Serial support registered for novatel_gps [ 1.657887] usbserial: USB Serial support registered for siemens_mpi [ 1.664267] usbserial: USB Serial support registered for suunto [ 1.670217] usbserial: USB Serial support registered for vivopay [ 1.676250] usbserial: USB Serial support registered for zio [ 1.681941] usbcore: registered new interface driver usb_ehset_test [ 1.691140] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0 [ 1.705823] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1 [ 1.712152] i2c_dev: i2c /dev entries driver [ 1.718141] imx7-csi 32e20000.csi-upstream: Registered csi capture as /dev/video0 [ 1.730126] Bluetooth: HCI UART driver ver 2.3 [ 1.734606] Bluetooth: HCI UART protocol H4 registered [ 1.739761] Bluetooth: HCI UART protocol BCSP registered [ 1.745111] Bluetooth: HCI UART protocol LL registered [ 1.750257] Bluetooth: HCI UART protocol ATH3K registered [ 1.755680] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 1.762060] Bluetooth: HCI UART protocol Broadcom registered [ 1.767754] Bluetooth: HCI UART protocol QCA registered [ 1.774564] sdhci: Secure Digital Host Controller Interface driver [ 1.780770] sdhci: Copyright(c) Pierre Ossman [ 1.785650] Synopsys Designware Multimedia Card Interface Driver [ 1.792266] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.800696] ledtrig-cpu: registered to indicate activity on CPUs [ 1.808203] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 1.814776] usbcore: registered new interface driver usbhid [ 1.820362] usbhid: USB HID core driver [ 1.829277] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 1.830960] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA [ 1.840167] cs_system_cfg: CoreSight Configuration manager initialised [ 1.852235] platform soc@0: Fixed dependency cycle(s) with /soc@0/bus@30000000/efuse@30350000 [ 1.863774] hantrodec 0 : module inserted. Major = 509 [ 1.869494] hantrodec 1 : module inserted. Major = 509 [ 1.875561] hx280enc: module inserted. Major <508> [ 1.884974] NET: Registered PF_LLC protocol family [ 1.889882] u32 classifier [ 1.892646] input device check on [ 1.896316] Actions configured [ 1.900980] NET: Registered PF_INET6 protocol family [ 1.908303] Segment Routing with IPv6 [ 1.912020] In-situ OAM (IOAM) with IPv6 [ 1.916000] NET: Registered PF_PACKET protocol family [ 1.921080] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.925708] mmc2: new HS400 Enhanced strobe MMC card at address 0001 [ 1.935047] Bluetooth: RFCOMM TTY layer initialized [ 1.941342] mmcblk2: mmc2:0001 DG4008 7.28 GiB [ 1.945299] Bluetooth: RFCOMM socket layer initialized [ 1.952211] mmcblk2: p1 p2 [ 1.954910] Bluetooth: RFCOMM ver 1.11 [ 1.958885] mmcblk2boot0: mmc2:0001 DG4008 4.00 MiB [ 1.961446] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 1.967672] mmcblk2boot1: mmc2:0001 DG4008 4.00 MiB [ 1.971636] Bluetooth: BNEP filters: protocol multicast [ 1.978035] mmcblk2rpmb: mmc2:0001 DG4008 4.00 MiB, chardev (234:0) [ 1.981756] Bluetooth: BNEP socket layer initialized [ 1.992994] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.998927] Bluetooth: HIDP socket layer initialized [ 2.004962] 8021q: 802.1Q VLAN Support v1.8 [ 2.009195] lib80211: common routines for IEEE802.11 drivers [ 2.014915] 9pnet: Installing 9P2000 support [ 2.019342] Key type dns_resolver registered [ 2.024383] NET: Registered PF_VSOCK protocol family [ 2.051549] registered taskstats version 1 [ 2.055888] Loading compiled-in X.509 certificates [ 2.084038] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.094599] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.105135] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.115714] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.126362] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.139269] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests [ 2.147773] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests [ 2.156885] i2c i2c-0: using pinctrl states for GPIO recovery [ 2.163489] i2c i2c-0: IMX I2C adapter registered [ 2.163886] pf8x00 0-0008: PF8121A PMIC found. [ 2.169548] i2c i2c-3: using pinctrl states for GPIO recovery [ 2.178618] platform 32e30000.mipi-csi-upstream: Fixed dependency cycle(s) with /soc@0/bus@30800000/i2c@30a50000/deserializer@30 [ 2.180672] VDD_GPU_DRAM (BUCK2): Bringing 900000uV into 1000000-1000000uV [ 2.190282] i2c 3-0030: Fixed dependency cycle(s) with /soc@0/bus@30800000/i2c@30a50000/deserializer@30/links/link@0/serializer [ 2.208618] i2c 3-0030: Fixed dependency cycle(s) with /soc@0/bus@32c00000/mipi-csi-upstream@32e30000 [ 2.218165] i2c i2c-3: IMX I2C adapter registered [ 2.225222] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges: [ 2.231589] pps pps0: new PPS source ptp0 [ 2.232577] imx6q-pcie 33800000.pcie: IO 0x001ff80000..0x001ff8ffff -> 0x0000000000 [ 2.244757] imx6q-pcie 33800000.pcie: MEM 0x0018000000..0x001fefffff -> 0x0018000000 [ 2.262344] fec 30be0000.ethernet eth0: registered PHC device 0 [ 2.384308] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 2.389237] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1 [ 2.411446] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 2.418455] hub 1-0:1.0: USB hub found [ 2.422241] hub 1-0:1.0: 1 port detected [ 2.428135] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 2 supported-hw 0x4 0x4 [ 2.442738] sdhci-esdhc-imx 30b40000.mmc: allocated mmc-pwrseq [ 2.442742] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO [ 2.442795] galcore: clk_get vg clock failed, disable vg! [ 2.459770] Galcore version 6.4.11.p2.745085 [ 2.468034] imx6q-pcie 33800000.pcie: iATU: unroll T, 4 ob, 4 ib, align 64K, limit 4G [ 2.476542] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA [ 2.512596] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu on minor 0 [ 2.521705] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.532266] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.538531] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 2.545822] clk: Disabling unused clocks [ 2.549823] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.553744] ALSA device list: [ 2.558453] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db [ 2.561446] No soundcards found. [ 2.587795] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA [ 2.914968] mmc0: new DDR MMC card at address 0001 [ 2.921278] mmcblk0: mmc0:0001 AS064G 57.6 GiB [ 2.928347] mmcblk0: p1 [ 2.931919] mmcblk0boot0: mmc0:0001 AS064G 31.5 MiB [ 2.938465] mmcblk0boot1: mmc0:0001 AS064G 31.5 MiB [ 2.945065] mmcblk0rpmb: mmc0:0001 AS064G 4.00 MiB, chardev (234:1) [ 3.478557] imx6q-pcie 33800000.pcie: Phy link never came up [ 4.488194] imx6q-pcie 33800000.pcie: Phy link never came up [ 4.494436] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00 [ 4.500803] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.506308] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 4.512499] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff] [ 4.519414] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 [ 4.525437] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 4.531727] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 4.538477] pci 0000:00:00.0: supports D1 [ 4.542505] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold [ 4.550738] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff] [ 4.557558] pci 0000:00:00.0: BAR 6: assigned [mem 0x18100000-0x1810ffff pref] [ 4.564792] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 4.570485] pcieport 0000:00:00.0: PME: Signaling with IRQ 219 [ 4.663475] EXT4-fs (mmcblk2p2): recovery complete [ 4.669010] EXT4-fs (mmcblk2p2): mounted filesystem f64eecf7-ac82-4a6b-b54b-82bd93bf1c9b r/w with ordered data mode. Quota mode: none. [ 4.675447] Bluetooth: hci0: command 0xfc18 tx timeout [ 4.681172] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 4.686260] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 4.692685] devtmpfs: mounted [ 4.698966] Bluetooth: hci0: Failed to set baudrate [ 4.703789] Freeing unused kernel memory: 4864K [ 4.711452] Run /sbin/init as init process [ 4.843082] systemd[1]: System time before build time, advancing clock. [ 4.882792] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPT) [ 4.914701] systemd[1]: Detected architecture arm64. Welcome to NXP i.MX Release Distro 6.6-scarthgap (scarthgap)! [ 4.940511] systemd[1]: Hostname set to . [ 5.347309] systemd[1]: Queued start job for default target Graphical Interface. [ 5.381152] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 5.405844] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 5.429820] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 5.452964] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 5.476285] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 5.499815] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 5.524152] systemd[1]: Reached target Host and Network Name Lookups. [ OK ] Reached target Host and Network Name Lookups. [ 5.547938] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 5.567601] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 5.591978] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 5.611970] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 5.669129] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 5.695732] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 5.716617] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 5.736341] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 5.761666] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 5.784100] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 5.808700] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 5.828425] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 5.856821] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 5.880417] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 5.904597] systemd[1]: Listening on User Database Manager Socket. [ OK ] Listening on User Database Manager Socket. [ 5.951764] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 5.976447] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 6.007195] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 6.032253] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 6.050044] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 6.077423] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 6.107253] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 6.136019] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 6.164064] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 6.189233] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 6.199500] fuse: init (API version 7.39) [ 6.207816] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 6.228073] systemd[1]: Starting Journal Service... Starting Journal Service... [ 6.249651] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met. [ 6.283597] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network units from Kernel command line... [ 6.315799] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 6.342630] systemd-journald[141]: Collecting audit messages is enabled. [ 6.343415] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 6.371692] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 6.383992] EXT4-fs (mmcblk2p2): re-mounted f64eecf7-ac82-4a6b-b54b-82bd93bf1c9b r/w. Quota mode: none. [ 6.424156] systemd[1]: Starting Virtual Console Setup... Starting Virtual Console Setup... [ 6.452851] systemd[1]: Started RPC Bind. [ OK ] Started 6.457526] systemd[1]: Started Journal Service. ;39mRPC Bind. [ 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. [ OK ] Finished Generate network units from Kernel command line. [ OK ] Finished Remount Root and Kernel File Systems. [ OK ] Finished Apply Kernel Variables. Mounting FUSE Control File System... Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Create Static Device Nodes in /dev gracefully... [ 6.645277] systemd-journald[141]: Received client request to flush runtime journal. [ OK ] Finished Virtual Console Setup. [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Create Static Device Nodes in /dev gracefully. [ 6.723480] Bluetooth: hci0: command 0xfc18 tx timeout [ 6.730191] Bluetooth: hci0: BCM: Reset failed (-110) Starting Create Static Device Nodes in /dev... [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /var/volatile... [ 6.870003] audit: type=1334 audit(1709054766.024:2): prog-id=6 op=LOAD [ 6.876808] audit: type=1334 audit(1709054766.032:3): prog-id=7 op=LOAD Starting Rule-based Manager for Device Events and Files... [ OK ] Mounted /var/volatile. Starting Load/Save OS Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Create Volatile Files and Directories. [ 7.055329] audit: type=1334 audit(1709054766.208:4): prog-id=8 op=LOAD Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ 7.118446] audit: type=1334 audit(1709054766.272:5): prog-id=9 op=LOAD [ 7.145997] audit: type=1334 audit(1709054766.300:6): prog-id=10 op=LOAD Starting User Database Manager... [ 7.159128] audit: type=1334 audit(1709054766.300:7): prog-id=11 op=LOAD [ OK ] Finished Record System Boot/Shutdown in UTMP. [ OK ] Finished Coldplug All udev Devices. [ OK ] Started User Database Manager. [ OK ] Started Rule-based Manager for Device Events and Files. Starting Start Psplash Boot Screen... [ OK ] Started Start Psplash Boot Screen. [ OK ] Started Start psplash-systemd progress communication helper. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Started Daily rotation of log files. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... Starting sshd.socket... Starting Weston socket... [ OK ] Listening on Docker Socket for the API. [ OK ] Listening on Weston socket. [ OK ] Listening on sshd.socket. [ OK ] Reached target Socket Units. [ OK ] Reached target Basic System. [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. Starting D-Bus System Message Bus... [ OK ] Started Linux Firmware Loader Daemon. [ OK ] Started Configuration for i.MX GPU (Former rc_gpu.S). [ 8.089289] imx-sdma 30bd0000.dma-controller: firmware found. [ 8.091531] imx-sdma 302b0000.dma-controller: firmware found. [ 8.096491] imx-sdma 302c0000.dma-controller: firmware found. [ 8.103179] imx-sdma 302b0000.dma-controller: loaded firmware 4.6 Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Telephony service... [ OK ] Started Updates psplash to basic. [ OK ] Started System Logging Service. [ 8.231400] audit: type=1334 audit(1755159888.412:8): prog-id=12 op=LOAD [ 8.239611] audit: type=1334 audit(1755159888.424:9): prog-id=13 op=LOAD [ 8.247361] audit: type=1334 audit(1755159888.428:10): prog-id=14 op=LOAD Starting User Login Management... Starting OpenSSH Key Generation... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ OK ] Started User Login Management. [ OK ] Started Network Configuration. Starting Bluetooth service... [ OK ] Finished Load/Save OS Random Seed. [ OK ] Finished OpenSSH Key Generation. [ OK ] Reached target Hardware activated USB gadget. [ OK ] Started D-Bus System Message Bus. Starting Connection service... [ OK ] Started Bluetooth service. [ OK ] Started Telephony service. [ OK ] Started Connection service. [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Reached target Bluetooth Support. Starting Avahi mDNS/DNS-SD Stack... Starting File System Check on /dev/mmcblk0p1... Starting File System Check on /dev/mmcblk2p1... Starting Hostname Service... Starting WPA supplicant... [ OK ] Stopped Virtual Console Setup. Stopping Virtual Console Setup... Starting Virtual Console Setup... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started WPA supplicant. [ OK ] Reached target Network. Starting containerd container runtime... [ OK ] Started Network Time Service. [ OK ] Started Update psplash to network. Starting Terminate Psplash Boot Screen... Starting Permit User Sessions... [ OK ] Finished File System Check on /dev/mmcblk2p1. [ OK ] Finished Virtual Console Setup. Mounting /run/media/boot-mmcblk2p1... [FAILED] Failed to start Terminate Psplash Boot Screen. See 'systemctl status psplash-quit.service' for details. [ OK ] Finished Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttymxc2. [ OK ] Reached target Login Prompts. Starting Weston, a Wayland compositor, as a system service... [ OK ] Started Hostname Service. [ OK ] Mounted /run/media/boot-mmcblk2p1. [ OK ] Finished File System Check on /dev/mmcblk0p1. Mounting /run/media/emmc-mmcblk0p1... [ OK ] Created slice User Slice of UID 0. Starting User Runtime Directory /run/user/0... [ OK ] Mounted /run/media/emmc-mmcblk0p1. [ OK ] Finished User Runtime Directory /run/user/0. Starting Save/Restore Sound Card State... Starting User Manager for UID 0... [ OK ] Finished Save/Restore Sound Card State. [ OK ] Reached target Sound Card. [ OK ] Started containerd container runtime. [ OK ] Reached target Multi-User System. [ OK ] Started User Manager for UID 0. [ OK ] Started Session c1 of User root. [FAILED] Failed to start Weston, a Wayland compositor, as a system service. See 'systemctl status weston.service' for details. [ OK ] Reached target Graphical Interface. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. NXP i.MX Release Distro 6.6-scarthgap imx8mmevk ttymxc2 imx8mmevk login: Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos do you mind sharing the board bring up logfile and dts file with me? let me double check it Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos Sorry Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos @Ahmed230 I don't have the solution. Why are you tagging me? Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos @joanie and @petero5 Can share me the solution Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos libtsan an libasan library issue in yocto 6.6.36 kernel Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos Starting program: /root/Novus/hello_crash [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000fffff67b5f3c in dl_iterate_phdr () from /usr/lib/libtsan.so.2 #2 0x0000fffff7996958 in ?? () from /usr/lib/libasan.so.8 #3 0x0000fffff79a51cc in ?? () from /usr/lib/libasan.so.8 #4 0x0000fffff79980b4 in malloc () from /usr/lib/libasan.so.8 #5 0x0000fffff7fc14e4 in malloc (size=56) at /usr/src/debug/glibc/2.39+git/include/rtld-malloc.h:56 #6 __GI__dl_exception_create_format (exception=exception@entry=0xfffffffff480, objname=0xfffff7fe5510 "/usr/lib/libtsan.so.2", fmt=fmt@entry=0xfffff7fdd238 "undefined symbol: %s%s%s") at dl-exception.c:157 #7 0x0000fffff7fc7550 in _dl_lookup_symbol_x (undef_name=undef_name@entry=0xfffff685fe00 "__isoc99_printf", undef_map=undef_map@entry=0xfffff7fe5530, ref=ref@entry=0xfffffffff4e0, symbol_scope= , version=version@entry=0x0, type_class=0, flags=flags@entry=2, skip_map=skip_map@entry=0xfffff7fe5530) at dl-lookup.c:809 #8 0x0000fffff639f8c8 in do_sym (handle= , name=0xfffff685fe00 "__isoc99_printf", who=0xfffff6842d9c, vers=vers@entry=0x0, flags=flags@entry=2) at dl-sym.c:146 #9 0x0000fffff639fae0 in _dl_sym (handle= , name= , who= ) at dl-sym.c:195 #10 0x0000fffff62ed060 in dlsym_doit (a=a@entry=0xfffffffff7c0) at dlsym.c:40 #11 0x0000fffff7fbf458 in __GI__dl_catch_exception (exception=exception@entry=0xfffffffff718, operate=0xfffff62ed040 , args=0xfffffffff7c0) at dl-catch.c:237 #12 0x0000fffff7fbf580 in _dl_catch_error (objname=objname@entry=0xfffffffff790, errstring=errstring@entry=0xfffffffff798, mallocedp=mallocedp@entry=0xfffffffff78f, operate= , args= ) at dl-catch.c:256 #13 0x0000fffff62eca50 in _dlerror_run (operate=operate@entry=0xfffff62ed040 , args=args@entry=0xfffffffff7c0) at dlerror.c:138 #14 0x0000fffff62ed0f0 in dlsym_implementation (dl_caller= , name= , handle= ) at dlsym.c:54 #15 ___dlsym (handle= , name= ) at dlsym.c:68 #16 0x0000fffff6842d9c in ?? () from /usr/lib/libtsan.so.2 #17 0x0000fffff67e50bc in ?? () from /usr/lib/libtsan.so.2 #18 0x0000fffff6808f94 in ?? () from /usr/lib/libtsan.so.2 #19 0x0000fffff67af3f8 in ?? () from /usr/lib/libtsan.so.2 #20 0x0000fffff67d7bd4 in pthread_once () from /usr/lib/libtsan.so.2 #21 0x0000fffff65ca864 in std::locale::facet::_S_get_c_locale() () from /usr/lib/libstdc++.so.6 #22 0x0000fffff65f3d30 in std::ctype ::ctype(unsigned short const*, bool, unsigned long) () from /usr/lib/libstdc++.so.6 #23 0x0000fffff65cb894 in std::locale::_Impl::_Impl(unsigned long) () from /usr/lib/libstdc++.so.6 #24 0x0000fffff65cc344 in ?? () from /usr/lib/libstdc++.so.6 #25 0x0000fffff65cc410 in std::locale::locale() () from /usr/lib/libstdc++.so.6 #26 0x0000fffff65c9384 in std::ios_base_library_init() () from /usr/lib/libstdc++.so.6 #27 0x0000fffff65b4620 in ?? () from /usr/lib/libstdc++.so.6 #28 0x0000fffff7fc2b6c in call_init (env=0xfffffffffbb8, argv=0xfffffffffba8, argc=1, l= ) at dl-init.c:74 #29 call_init (l= , argc=1, argv=0xfffffffffba8, env=0xfffffffffbb8) at dl-init.c:26 #30 0x0000fffff7fc2c8c in _dl_init (main_map=0xfffff7fff350, argc=1, argv=0xfffffffffba8, env=0xfffffffffbb8) at dl-init.c:121 #31 0x0000fffff7fd8978 in _start () at ../sysdeps/aarch64/dl-start.S:46 (gdb) q A debugging session is active. Inferior 1 [process 1038] will be killed. Quit anyway? (y or n) y Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink Setting pipeline to PAUSED ... Failed to set pipeline to PAUSED. Setting pipeline to NULL ... Freeing pipeline ... root@imx8mmevk:~# GST_DEBUG=3 gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink Setting pipeline to PAUSED ... 0:00:00.104761125 700 0xaaaaee7718b0 WARN waylandsink gstwaylandsink.c:473:gst_wayland_sink_find_display: warning: Could not initialise Wayland output 0:00:00.104805375 700 0xaaaaee7718b0 WARN waylandsink gstwaylandsink.c:473:gst_wayland_sink_find_display: warning: Failed to create GstWlDisplay: 'Failed to connect to the wayland di' Failed to set pipeline to PAUSED. Setting pipeline to NULL ... Freeing pipeline ... Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos Media controller API version 6.6.36 Media device information ------------------------ driver imx7-csi model imx-media serial bus info platform:32e20000.csi-upstream hw revision 0x0 driver version 6.6.36 Device topology - entity 1: csi (2 pads, 2 links, 0 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 pad0: Sink [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "csis-32e30000.mipi-csi-upstream":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "csi capture":0 [ENABLED,IMMUTABLE] - entity 4: csi capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "csi":1 [ENABLED,IMMUTABLE] - entity 10: csis-32e30000.mipi-csi-upstream (2 pads, 2 links, 0 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range] <- "ds90ub960 3-0030":2 [] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range] -> "csi":0 [ENABLED,IMMUTABLE] - entity 15: ds90ub960 3-0030 (3 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev2 routes: 0/0 -> 2/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "ds90ub953 3-0018":1 [ENABLED,IMMUTABLE] pad1: Sink pad2: Source [stream:0 fmt:UYVY8_1X16/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "csis-32e30000.mipi-csi-upstream":0 [] - entity 21: ds90ub953 3-0018 (2 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev3 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "ar0144 4-0010":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "ds90ub960 3-0030":0 [ENABLED,IMMUTABLE] - entity 26: ar0144 4-0010 (1 pad, 1 link, 0 routes) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev4 pad0: Source [stream:0 fmt:Y12_1X12/1280x800@10/601 field:none colorspace:srgb crop.bounds:(0,0)/1296x808 crop:(4,4)/1280x800] -> "ds90ub953 3-0018":0 [ENABLED,IMMUTABLE] Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos could you capture video from ar0144 successfully? like command "gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! waylandsink" ? and could you send the logfile with me? did you use the same ddr as imx8mm evk board? as I known 6.12 has this issue if customer doesn't use media-ctl command before the use camera, but 6.6.36 should be ok, so I need more detailed information, also share the result when you use "media-ctl -p" Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos v4l2-ctl -d0 --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'UYVY' (UYVY 4:2:2) Size: Continuous 4x1 - 65532x65535 [1]: 'YUYV' (YUYV 4:2:2) Size: Continuous 4x1 - 65532x65535 [2]: 'BA81' (8-bit Bayer BGBG/GRGR) Size: Continuous 8x1 - 65528x65535 [3]: 'GBRG' (8-bit Bayer GBGB/RGRG) Size: Continuous 8x1 - 65528x65535 [4]: 'GRBG' (8-bit Bayer GRGR/BGBG) Size: Continuous 8x1 - 65528x65535 [5]: 'RGGB' (8-bit Bayer RGRG/GBGB) Size: Continuous 8x1 - 65528x65535 [6]: 'BG10' (10-bit Bayer BGBG/GRGR) Size: Continuous 4x1 - 65532x65535 [7]: 'GB10' (10-bit Bayer GBGB/RGRG) Size: Continuous 4x1 - 65532x65535 [8]: 'BA10' (10-bit Bayer GRGR/BGBG) Size: Continuous 4x1 - 65532x65535 [9]: 'RG10' (10-bit Bayer RGRG/GBGB) Size: Continuous 4x1 - 65532x65535 [10]: 'BG12' (12-bit Bayer BGBG/GRGR) Size: Continuous 4x1 - 65532x65535 [11]: 'GB12' (12-bit Bayer GBGB/RGRG) Size: Continuous 4x1 - 65532x65535 [12]: 'BA12' (12-bit Bayer GRGR/BGBG) Size: Continuous 4x1 - 65532x65535 [13]: 'RG12' (12-bit Bayer RGRG/GBGB) Size: Continuous 4x1 - 65532x65535 [14]: 'BG14' (14-bit Bayer BGBG/GRGR) Size: Continuous 4x1 - 65532x65535 [15]: 'GB14' (14-bit Bayer GBGB/RGRG) Size: Continuous 4x1 - 65532x65535 [16]: 'GR14' (14-bit Bayer GRGR/BGBG) Size: Continuous 4x1 - 65532x65535 [17]: 'RG14' (14-bit Bayer RGRG/GBGB) Size: Continuous 4x1 - 65532x65535 [18]: 'GREY' (8-bit Greyscale) Size: Continuous 8x1 - 65528x65535 [19]: 'Y10 ' (10-bit Greyscale) Size: Continuous 4x1 - 65532x65535 [20]: 'Y12 ' (12-bit Greyscale) Size: Continuous 4x1 - 65532x65535 [21]: 'Y14 ' (14-bit Greyscale) Size: Continuous 4x1 - 65532x65535 Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos do you mind giving me the result of “v4l2-ctl -d0 --list-formats-ext“ Re: nxp 6.6.36 kernel for camera ar0144 on iMX8MM board to capture image or videos @joanxie Hi @joanxie, GST_DEBUG=3 gst-launch-1.0 -v v4l2src num-buffers=5 device=/dev/video0 ! video/x-raw,format=GRAY8,depth=8,width=1280,height=800 ! videoconvert ! jpegenc ! multifilesink location=ar0144_mono_image.jpg issue is Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument New clock: GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argumet 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: error with STREAMON 32 (Broken pipe) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: error: Failed to allocate required memory. 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: error: Buffer pool activation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: Subclass failed to decide allocation Execution ended after 0:00:00.015445250 Setting pipeline to NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: Internal data stream error. 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer command finished.
查看全文