This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Experts,
I am trying to use IMX390 from oToBrite on Linux but there are some errors in the system log.
The cause is probably from the absence of IMX390 sensor on the I2C bus.
I am wondering is there a better way to fix this issue like skipping communication between IMX390 and driver?
ub953 is at 0x18 and ISP is at 0x6C.
Thanks
Michael
Hi Michael,
For some context, the exact camera module that we used for testing the V4L2 driver is the following on SK-TDA4VM board: https://www.d3engineering.com/product/designcore-d3rcm-imx390-953-rugged-camera-module/
For the absence of the camera on the I2C bus, is there a dtbo overlay applied for the camera (and not just for the fusion board), similar to the following? https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/08_04_00/exports/docs/getting_started.html#imx390-raw-sensor
Regards,
Takuma
Hi Takuma,
The reason that IMX390 sensor is absent from I2C bus is its original setting from oToBrite. So, I think the way to make this sensor, IMX390 from oToBrite, work is to modify ds90ub960 driver and dts. As I understood, this camera works without any extra setting to ISP and sensor. It could work by just setting streamon on ds90ub960 in visionapps. Do you have recommended method to modify the driver and dts?
Here is my overlay setting:
name_overlays=k3-j721e-fpdlink-cpb-fusion.dtbo k3-j721e-fpdlink-imx390-rcm-0-0.dtbo
Here is camera module structure:
Tanks
Michael
Hi Michael,
As I understood, this camera works without any extra setting to ISP and sensor
Could you please clarify how the sensor is being configured in the oToCAM264ISP-S119T camera?
Is the ISP and sensor's i2c addresses being accessed by the serializer?
Wanted to know if you are trying to communicate to the IMX390 sensor via the backchannel i2c of the deserializer as the I2C address of the IMX390 is not available to the external.
Have you modified the rcm dts file as per the sensor being used? If yes, could you share the modified dts file?
You could find the dts file in the filepath ${PSDK_LINUX}/board-support/linux-5.10.120+gitAUTOINC+95b90aa828-g95b90aa828/arch/arm64/boot/dts/ti/k3-j721e-fpdlink-imx390-rcm-0-0.dts
Once changes are made you could build the dtb file with the below command
cd ${PSDK_LINUX}
make linux-dtbs
Regards,
Nikhil
Hi Nikhil,
Could you please clarify how the sensor is being configured in the oToCAM264ISP-S119T camera?
The sensor is configured automatically by the build-in ISP in the camera.
Is the ISP and sensor's i2c addresses being accessed by the serializer?
Only ISP can be access by the deserializer.
Wanted to know if you are trying to communicate to the IMX390 sensor via the backchannel i2c of the deserializer as the I2C address of the IMX390 is not available to the external.
Yes, I was trying to do what you said.
I think there are few things need to be modified:
1. Modify driver ti,ds90ub960-q1 with fixed frame desc so that it does need to qurry sensor anymore.
2. Change input format from RAW to UYVY
Here is the dts file I modified:
// SPDX-License-Identifier: GPL-2.0 /* * IMX390 FPD-Link 3 Camera Module * * Copyright (c) 2021 Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> */ /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> / { fragment@101 { target-path = "/"; __overlay__ { clk_cam_27M: fixed-clock-0-27M { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <27000000>; }; }; }; }; &ds90ub960_0_ports { #address-cells = <1>; #size-cells = <0>; /* FPDLink RX 0 */ port@0 { reg = <0>; ds90ub960_fpd3_in: endpoint { remote-endpoint = <&ub953_out>; mode = <3>; bc-freq = <50000000>; serializer: remote-chip { compatible = "ti,ds90ub953-q1"; gpio-controller; #gpio-cells = <2>; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; ub953_in: endpoint { remote-endpoint = <&sensor_out>; }; }; port@1 { reg = <1>; ub953_out: endpoint { remote-endpoint = <&ds90ub960_fpd3_in>; }; }; }; }; }; }; }; &ds90ub960_0_atr { #address-cells = <1>; #size-cells = <0>; i2c@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; sensor@1a { port { sensor_out: endpoint { remote-endpoint = <&ub953_in>; }; }; }; }; };
Thanks
Michael
Hi.
Correct what Michael said as the below.
I think there are few things need to be modified:
1. Modify driver ti,ds90ub960-q1 with fixed frame desc so that it does "NOT" need to qurry sensor anymore.
2. Change input format from RAW to UYVY.
Now, in short, Customer - Michael needs 4 cameras running concurrently, that's why they are posting this E2E.
And now, the "Bottoleneck is Serdes - "UB953+960".".
Hi Michael,
Modify driver ti,ds90ub960-q1 with fixed frame desc so that it does "NOT" need to qurry sensor anymore.
2. Change input format from RAW to UYVY.
With these changes, could you please brief me the current status of your issue?
Few questions from my end to get more clarity on your usecase:
1. Have you written an ISP driver to where a streamON command could be sent from the user-space to start the IMX390 sensor?
2. Have you set the format for UB953 and UB960 using the ./media-ctl -V command?
3. Have you set the routes using the ./media-ctl -R command?
4. Could you please share the current logs for the command ./media-ctl -p?
5. What is the streaming command you are using? Could you please share the logs after sending the streaming command?
Regards,
Nikhil
Hi Nikhil,
1. Have you written an ISP driver to where a streamON command could be sent from the user-space to start the IMX390 sensor?
The camera module does noe need streamON command. It sends out image data once the power is on.
2. Have you set the format for UB953 and UB960 using the ./media-ctl -V command?
I am not able to set the format for UB953 and UB960 successfully. It gives invalid argumnet error.
3. Have you set the routes using the ./media-ctl -R command?
I try to link them but it also gives invalid argument error.
4. Could you please share the current logs for the command ./media-ctl -p?
Something is wrong that video devices do not show up.
5. What is the streaming command you are using? Could you please share the logs after sending the streaming command?
Thanks
Michael
Hi Michael,
I am not able to set the format for UB953 and UB960 successfully. It gives invalid argumnet error
Here the syntax is wrong. You shouldn't include @1/30 here.
Please refer below format (Please change the name and format accordingly)
media-ctl -V '"ds90ub953 9-0044":0 [fmt:SRGGB12_1X12/1936x1100 field: none]'
I try to link them but it also gives invalid argument error.
Could you try to set the route here instead.
Please refer below format (Please change the name and format accordingly)
./media-ctl -R '"4500000.ticsi2rx" [0/0 -> 1/0 [1]]'
Something is wrong that video devices do not show up.
yes, here the video devices did not show up and also the connection between the bridge to csi2rx is missing.
Could you share the full linux kernel logs in order to check if some probe error occured?
Regards,
Nikhil
Hi Nikhil,
Here the syntax is wrong. You shouldn't include @1/30 here.
Please refer below format (Please change the name and format accordingly)media-ctl -V '"ds90ub953 9-0044":0 [fmt:SRGGB12_1X12/1936x1100 field: none]'
I used the command accordingly, but it still gave some error.
./media-ctl --set-v4l2 '"ds90ub953 9-0044":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
--> Unable to setup fornats: No such file or directory (2)
./media-ctl -R '"4500000.ticsi2rx" [0/0 -> 1/0 [1]]'
--> VIDIOC_SUBDEV_S_ROUTING failed: -2
unable to setup routes: No such file or directory (2)
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080] [ 0.000000] Linux version 5.10.120-g95b90aa828 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue Aug 30 09:21:40 UTC 2022 [ 0.000000] Machine model: Texas Instruments K3 J721E SoC [ 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 DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB [ 0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB [ 0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a8ffffff] [ 0.000000] node 0: [mem 0x00000000a9000000-0x00000000a9ffffff] [ 0.000000] node 0: [mem 0x00000000aa000000-0x00000000abbfffff] [ 0.000000] node 0: [mem 0x00000000abc00000-0x00000000abffffff] [ 0.000000] node 0: [mem 0x00000000ac000000-0x00000000adffffff] [ 0.000000] node 0: [mem 0x00000000ae000000-0x00000000ffffffff] [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff] [ 0.000000] On node 0 totalpages: 1048576 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 524288 pages, LIFO batch:63 [ 0.000000] Normal zone: 8192 pages used for memmap [ 0.000000] Normal zone: 524288 pages, LIFO batch:63 [ 0.000000] cma: Reserved 400 MiB at 0x00000000e7000000 [ 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.2 [ 0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112 [ 0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: EL2 vector hardening [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=2058b3b0-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x00000000e3000000-0x00000000e7000000] (64MB) [ 0.000000] Memory: 3386568K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 398136K reserved, 409600K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2. [ 0.000000] Trampoline 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=2 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000880030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008395] Console: colour dummy device 80x25 [ 0.012957] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023628] pid_max: default: 32768 minimum: 301 [ 0.028382] LSM: Security Framework initializing [ 0.033136] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.040712] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.049470] rcu: Hierarchical SRCU implementation. [ 0.054522] Platform MSI: msi-controller@1820000 domain created [ 0.060754] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.070054] EFI services will not be available. [ 0.074783] smp: Bringing up secondary CPUs ... [ 0.088037] Detected PIPT I-cache on CPU1 [ 0.088060] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000 [ 0.088071] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000 [ 0.088105] CPU1: Booted secondary processor 0x0000000001 [0x411fd080] [ 0.088154] smp: Brought up 1 node, 2 CPUs [ 0.117500] SMP: Total of 2 processors activated. [ 0.122305] CPU features: detected: 32-bit EL0 Support [ 0.127560] CPU features: detected: CRC32 instructions [ 0.141365] CPU: All CPU(s) started at EL2 [ 0.145563] alternatives: patching kernel code [ 0.150563] devtmpfs: initialized [ 0.159409] KASLR disabled due to lack of seed [ 0.164050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.174013] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.185937] pinctrl core: initialized pinctrl subsystem [ 0.191591] DMI not present or invalid. [ 0.195827] NET: Registered protocol family 16 [ 0.201019] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.208325] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.216373] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.224663] thermal_sys: Registered thermal governor 'step_wise' [ 0.224665] thermal_sys: Registered thermal governor 'power_allocator' [ 0.231249] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.244881] ASID allocator initialised with 65536 entries [ 0.268812] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.275667] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.282514] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.289359] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.296799] cryptd: max_cpu_qlen set to 1000 [ 0.302839] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected [ 0.311649] vsys_3v3: supplied by evm_12v0 [ 0.316008] vsys_5v0: supplied by evm_12v0 [ 0.320729] iommu: Default domain type: Translated [ 0.325898] SCSI subsystem initialized [ 0.330050] mc: Linux media interface: v0.10 [ 0.334426] videodev: Linux video capture interface: v2.00 [ 0.340064] pps_core: LinuxPPS API ver. 1 registered [ 0.345135] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.354472] PTP clock support registered [ 0.358491] EDAC MC: Ver: 3.0.0 [ 0.362274] FPGA manager framework [ 0.365785] Advanced Linux Sound Architecture Driver Initialized. [ 0.372374] clocksource: Switched to clocksource arch_sys_counter [ 0.378693] VFS: Disk quotas dquot_6.6.0 [ 0.382723] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.392268] NET: Registered protocol family 2 [ 0.397000] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.405575] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.414328] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.422525] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [ 0.430317] TCP: Hash tables configured (established 32768 bind 32768) [ 0.437110] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.444001] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.451398] NET: Registered protocol family 1 [ 0.456108] RPC: Registered named UNIX socket transport module. [ 0.462171] RPC: Registered udp transport module. [ 0.466976] RPC: Registered tcp transport module. [ 0.471779] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.478362] PCI: CLS 0 bytes, default 64 [ 0.482732] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.493077] Initialise system trusted keyrings [ 0.497704] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 0.505893] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.512106] NFS: Registering the id_resolver key type [ 0.517294] Key type id_resolver registered [ 0.521565] Key type id_legacy registered [ 0.525685] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.532533] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.540169] 9p: Installing v9fs 9p2000 file system support [ 0.565476] Key type asymmetric registered [ 0.569662] Asymmetric key parser 'x509' registered [ 0.574661] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.582220] io scheduler mq-deadline registered [ 0.586845] io scheduler kyber registered [ 0.592463] pinctrl-single 4301c000.pinctrl: 94 pins, size 376 [ 0.598625] pinctrl-single 11c000.pinctrl: 173 pins, size 692 [ 0.607402] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.613677] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.621570] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.629790] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf) [ 0.637999] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq [ 0.645028] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq [ 0.653463] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs [ 0.666370] brd: module loaded [ 0.672745] loop: module loaded [ 0.676603] megasas: 07.714.04.00-rc1 [ 0.682194] tun: Universal TUN/TAP device driver, 1.6 [ 0.687640] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.694048] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.700122] sky2: driver version 1.30 [ 0.704433] VFIO - User Level meta-driver version: 0.3 [ 0.710198] i2c /dev entries driver [ 0.714529] sdhci: Secure Digital Host Controller Interface driver [ 0.720854] sdhci: Copyright(c) Pierre Ossman [ 0.725497] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.731861] ledtrig-cpu: registered to indicate activity on CPUs [ 0.738188] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.745426] optee: probing for conduit method. [ 0.749986] optee: revision 3.17 (15a746d2) [ 0.750106] optee: dynamic shared memory is enabled [ 0.764906] optee: initialized driver [ 0.769966] NET: Registered protocol family 17 [ 0.774582] 9pnet: Installing 9P2000 support [ 0.778984] Key type dns_resolver registered [ 0.783433] Loading compiled-in X.509 certificates [ 0.793955] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.800298] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.808842] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi') [ 0.876922] davinci-mcasp 2ba0000.mcasp: IRQ common not found [ 0.884693] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz [ 0.890786] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz [ 0.896876] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz [ 0.903386] pca953x 3-0020: supply vcc not found, using dummy regulator [ 0.910215] pca953x 3-0020: using no AI [ 0.937212] pca953x 3-0022: supply vcc not found, using dummy regulator [ 0.944018] pca953x 3-0022: using AI [ 0.948305] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high [ 0.954286] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low [ 0.960534] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high [ 0.967035] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz [ 0.973497] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz [ 0.983618] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz [ 0.989949] pca953x 6-0020: supply vcc not found, using dummy regulator [ 0.996770] pca953x 6-0020: using no AI [ 1.025076] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz [ 1.031152] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz [ 1.037145] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz [ 1.044026] pca953x 9-0020: supply vcc not found, using dummy regulator [ 1.050853] pca953x 9-0020: using no AI [ 1.076693] i2c i2c-9: of_i2c: modalias failure on /bus@100000/i2c@2060000/i2c@0 [ 1.084257] i2c i2c-9: Failed to create I2C device for /bus@100000/i2c@2060000/i2c@0 [ 1.092174] i2c i2c-9: of_i2c: modalias failure on /bus@100000/i2c@2060000/i2c@1 [ 1.099733] i2c i2c-9: Failed to create I2C device for /bus@100000/i2c@2060000/i2c@1 [ 1.107655] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz [ 1.114096] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created [ 1.124080] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created [ 1.132889] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created [ 1.142760] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created [ 1.164556] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges: [ 1.172227] j721e-pcie 2900000.pcie: IO 0x0010001000..0x0010010fff -> 0x0010001000 [ 1.180502] j721e-pcie 2900000.pcie: MEM 0x0010011000..0x0017ffffff -> 0x0010011000 [ 1.188780] j721e-pcie 2900000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 2.204889] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00 [ 2.211323] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.216940] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x10001000-0x10010fff]) [ 2.226631] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff] [ 2.233684] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400 [ 2.239823] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 2.249770] pci 0000:00:00.0: supports D1 [ 2.253864] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.259750] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit] [ 2.266776] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs) [ 2.278747] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.288746] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 2.295517] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit] [ 2.302990] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.308281] pcieport 0000:00:00.0: PME: Signaling with IRQ 61 [ 2.314636] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 2.322304] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 2.330582] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 2.338861] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 3.350182] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00 [ 3.356614] pci_bus 0001:00: root bus resource [bus 00-ff] [ 3.362219] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x18001000-0x18010fff]) [ 3.372087] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff] [ 3.379131] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400 [ 3.385268] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 3.395196] pci 0001:00:00.0: supports D1 [ 3.399290] pci 0001:00:00.0: PME# supported from D0 D1 D3hot [ 3.407047] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.417052] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.423818] pci 0001:00:00.0: PCI bridge to [bus 01] [ 3.429101] pcieport 0001:00:00.0: PME: Signaling with IRQ 64 [ 3.435450] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges: [ 3.443118] j721e-pcie 2920000.pcie: IO 0x4400001000..0x4400010fff -> 0x0000001000 [ 3.451393] j721e-pcie 2920000.pcie: MEM 0x4400011000..0x4407ffffff -> 0x0000011000 [ 3.459670] j721e-pcie 2920000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 4.468315] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00 [ 4.474729] pci_bus 0002:00: root bus resource [bus 00-ff] [ 4.480334] pci_bus 0002:00: root bus resource [io 0x20000-0x2ffff] (bus address [0x1000-0x10fff]) [ 4.489580] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff]) [ 4.500354] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400 [ 4.506492] pci_bus 0002:00: 2-byte config write to 0002:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 4.516423] pci 0002:00:00.0: supports D1 [ 4.520517] pci 0002:00:00.0: PME# supported from D0 D1 D3hot [ 4.528325] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.538385] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.545153] pci 0002:00:00.0: PCI bridge to [bus 01] [ 4.550428] pcieport 0002:00:00.0: PME: Signaling with IRQ 67 [ 4.557264] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235 [ 4.567143] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled [ 4.573902] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64 [ 4.582933] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211 [ 4.593085] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled [ 4.599851] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64 [ 4.607813] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250 [ 4.617221] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250 [ 4.625964] printk: console [ttyS2] enabled [ 4.634400] printk: bootconsole [ns16550a0] disabled [ 4.644880] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250 [ 4.653850] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250 [ 4.664104] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled [ 4.674614] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled [ 4.684765] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled [ 4.695002] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled [ 4.706154] scsi host0: ufshcd [ 4.712948] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 4.728135] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0 [ 4.753451] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2 [ 4.756379] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 4.772721] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0 [ 4.773845] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 4.792139] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000 [ 4.804924] scsi 0:0:0:49488: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6 [ 4.806158] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0 [ 4.821954] scsi 0:0:0:49476: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6 [ 4.830710] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found [ 4.923276] mmc0: CQHCI version 5.10 [ 4.923331] davinci-mcasp 2ba0000.mcasp: IRQ common not found [ 4.939238] vdd_mmc1: supplied by vsys_3v3 [ 4.944160] pca953x 4-0020: supply vcc not found, using dummy regulator [ 4.950817] pca953x 4-0020: using no AI [ 4.964390] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit [ 4.977500] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100 [ 4.984472] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100 [ 4.991428] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100 [ 4.998417] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100 [ 5.005238] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100 [ 5.015858] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8) [ 5.026548] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16) [ 5.041438] spi-nor spi0.0: mt35xu512aba (65536 Kbytes) [ 5.046671] 8 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 5.053277] Creating 8 MTD partitions on "47040000.spi.0": [ 5.058765] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 5.064741] 0x000000080000-0x000000280000 : "ospi.tispl" [ 5.070456] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 5.076281] 0x000000680000-0x0000006c0000 : "ospi.env" [ 5.081830] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw" [ 5.087528] 0x0000007c0000-0x000000800000 : "ospi.env.backup" [ 5.093690] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 5.099492] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 5.108424] spi-nor spi1.0: mt25qu512a (65536 Kbytes) [ 5.114735] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 5.123926] mmc0: Command Queue Engine enabled [ 5.128366] mmc0: new HS200 MMC card at address 0001 [ 5.133621] mmcblk0: mmc0:0001 S0J56X 14.8 GiB [ 5.138258] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB [ 5.144285] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB [ 5.150275] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0) [ 5.160409] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 5.169130] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867 [ 5.177437] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000 [ 5.191122] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 5.198107] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 5.205319] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 5.211650] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0 [ 5.222102] davinci-mcasp 2ba0000.mcasp: IRQ common not found [ 5.228059] mmc1: CQHCI version 5.10 [ 5.240126] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present! [ 5.247424] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present! [ 5.255660] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present! [ 5.262979] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present! [ 5.270290] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present! [ 5.277593] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present! [ 5.285906] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 5.308172] ALSA device list: [ 5.311151] No soundcards found. [ 6.289250] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit [ 6.297778] Waiting for root device PARTUUID=2058b3b0-02... [ 6.348638] mmc1: new ultra high speed DDR50 SDHC card at address aaaa [ 6.355495] mmcblk1: mmc1:aaaa SC32G 29.7 GiB [ 6.363450] mmcblk1: p1 p2 [ 6.402622] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 6.410730] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 6.424179] devtmpfs: mounted [ 6.427912] Freeing unused kernel memory: 1792K [ 6.432535] Run /sbin/init as init process [ 6.436621] with arguments: [ 6.436623] /sbin/init [ 6.436625] with environment: [ 6.436627] HOME=/ [ 6.436629] TERM=linux [ 6.619918] systemd[1]: System time before build time, advancing clock. [ 6.674839] NET: Registered protocol family 10 [ 6.679773] Segment Routing with IPv6 [ 6.706722] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 6.728459] systemd[1]: Detected architecture arm64. [ 6.766538] systemd[1]: Set hostname to <j7-evm>. [ 6.939036] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly. [ 7.006294] random: systemd: uninitialized urandom read (16 bytes read) [ 7.013042] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 7.025367] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 7.035339] systemd[1]: Created slice system-getty.slice. [ 7.056454] random: systemd: uninitialized urandom read (16 bytes read) [ 7.063759] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 7.084449] random: systemd: uninitialized urandom read (16 bytes read) [ 7.091649] systemd[1]: Created slice User and Session Slice. [ 7.112580] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 7.136501] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 7.160492] systemd[1]: Reached target Paths. [ 7.176438] systemd[1]: Reached target Remote File Systems. [ 7.196430] systemd[1]: Reached target Slices. [ 7.212437] systemd[1]: Reached target Swap. [ 7.232806] systemd[1]: Listening on RPCbind Server Activation Socket. [ 7.256470] systemd[1]: Reached target RPC Port Mapper. [ 7.280197] systemd[1]: Listening on Process Core Dump Socket. [ 7.300592] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 7.337433] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 7.345788] systemd[1]: Listening on Journal Socket (/dev/log). [ 7.368680] systemd[1]: Listening on Journal Socket. [ 7.384747] systemd[1]: Listening on Network Service Netlink Socket. [ 7.411199] systemd[1]: Listening on udev Control Socket. [ 7.432600] systemd[1]: Listening on udev Kernel Socket. [ 7.454672] systemd[1]: Mounting Huge Pages File System... [ 7.478600] systemd[1]: Mounting POSIX Message Queue File System... [ 7.502533] systemd[1]: Mounting Kernel Debug File System... [ 7.528808] systemd[1]: Mounting Temporary Directory (/tmp)... [ 7.546724] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 7.574458] systemd[1]: Starting Start psplash boot splash screen... [ 7.599586] systemd[1]: Starting RPC Bind... [ 7.612626] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 7.624327] systemd[1]: Starting Journal Service... [ 7.652524] systemd[1]: Starting Load Kernel Modules... [ 7.670767] systemd[1]: Starting Remount Root and Kernel File Systems... [ 7.671190] cryptodev: loading out-of-tree module taints kernel. [ 7.685901] cryptodev: driver 1.10 loaded. [ 7.705276] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 7.706709] systemd[1]: Starting udev Coldplug all Devices... [ 7.731262] systemd[1]: Started RPC Bind. [ 7.748819] systemd[1]: Started Journal Service. [ 7.970638] systemd-journald[170]: Received client request to flush runtime journal. [ 8.076956] urandom_read_iter: 47 callbacks suppressed [ 8.076960] random: systemd: uninitialized urandom read (16 bytes read) [ 8.104550] random: systemd: uninitialized urandom read (16 bytes read) [ 8.116653] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 8.548892] CAN device driver interface [ 8.785878] ina2xx 5-0040: power monitor ina226 (Rshunt = 10000 uOhm) [ 8.827136] ina2xx 5-0041: power monitor ina226 (Rshunt = 10000 uOhm) [ 8.917091] ina2xx 5-0042: power monitor ina226 (Rshunt = 10000 uOhm) [ 8.934258] ina2xx 5-0043: power monitor ina226 (Rshunt = 10000 uOhm) [ 8.951200] ds90ub960 9-0036: Successfully probed (rev/mask 40) [ 8.951294] ina2xx 5-0044: power monitor ina226 (Rshunt = 10000 uOhm) [ 8.971439] i2c i2c-10: of_i2c: modalias failure on /bus@100000/i2c@2060000/deser@3d/i2c-atr/i2c@0/sensor@1a [ 9.008444] i2c i2c-10: Failed to create I2C device for /bus@100000/i2c@2060000/deser@3d/i2c-atr/i2c@0/sensor@1a [ 9.024803] ina2xx 5-0045: power monitor ina226 (Rshunt = 5000 uOhm) [ 9.053204] ina2xx 5-0046: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.070099] ina2xx 5-0047: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.098077] ina2xx 5-0048: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.114098] ina2xx 5-0049: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.127085] ds90ub960 9-003d: Successfully probed (rev/mask 40) [ 9.147926] ina2xx 5-004a: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.182414] ina2xx 5-004b: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.198798] ina2xx 5-004c: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.207906] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc [ 9.228332] img_enc 4200000.video-encoder: encoder registered as /dev/video0 [ 9.239140] ina2xx 5-004d: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.280555] ina2xx 5-004e: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.307112] ina2xx 5-004f: power monitor ina226 (Rshunt = 10000 uOhm) [ 9.328032] img_dec 4300000.video-decoder: decoder registered as /dev/video1 [ 9.643575] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000 [ 9.704108] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0 [ 9.714189] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes [ 9.748525] pvrsrvkm 4e20000000.gpu: More than one power domain for this GPU, gpu driver manages power domains [ 9.772728] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode [ 9.821024] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 10.064317] PVR_K: 201: Read BVNC 22.104.208.318 from HW device registers [ 10.080399] random: crng init done [ 10.083819] random: 25 urandom warning(s) missed due to ratelimiting [ 10.092196] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device [ 10.099399] PVR_K: 201: RGX Device registered with BVNC 22.104.208.318 [ 10.106455] remoteproc remoteproc0: 4d80800000.dsp is available [ 10.115519] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 1 [ 10.133562] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000 [ 10.148573] remoteproc remoteproc0: powering up 4d80800000.dsp [ 10.155030] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 144540 [ 10.169013] k3-dsp-rproc 4d80800000.dsp: booting DSP core using boot addr = 0xa6200400 [ 10.181609] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode [ 10.189014] platform 41000000.r5f: configured R5F for IPC-only mode [ 10.195336] remoteproc0#vdev0buffer: assigned reserved memory node c66-dma-memory@a7000000 [ 10.204960] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device [ 10.207533] virtio_rpmsg_bus virtio0: rpmsg host is online [ 10.212297] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000 [ 10.224449] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 10.232033] remoteproc remoteproc2: 4d81800000.dsp is available [ 10.233107] remoteproc remoteproc1: 41000000.r5f is available [ 10.237979] remoteproc remoteproc0: remote processor 4d80800000.dsp is now up [ 10.243726] remoteproc remoteproc1: attaching to 41000000.r5f [ 10.260511] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 10.268553] platform 41000000.r5f: R5F core initialized in IPC-only mode [ 10.270104] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000 [ 10.283791] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 10.297692] remoteproc remoteproc2: powering up 4d81800000.dsp [ 10.303542] remoteproc remoteproc2: Booting fw image j7-c66_1-fw, size 144540 [ 10.316793] k3-dsp-rproc 4d81800000.dsp: booting DSP core using boot addr = 0xa7200400 [ 10.328723] remoteproc2#vdev0buffer: assigned reserved memory node c66-dma-memory@a6000000 [ 10.337773] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000 [ 10.339226] virtio_rpmsg_bus virtio1: rpmsg host is online [ 10.354993] remoteproc2#vdev0buffer: registered virtio1 (type 7) [ 10.363715] remoteproc remoteproc2: remote processor 4d81800000.dsp is now up [ 10.370948] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd [ 10.382642] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe [ 10.418402] virtio_rpmsg_bus virtio2: rpmsg host is online [ 10.425082] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode [ 10.431973] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd [ 10.440197] remoteproc1#vdev0buffer: registered virtio2 (type 7) [ 10.442018] remoteproc remoteproc3: 64800000.dsp is available [ 10.491196] remoteproc remoteproc1: remote processor 41000000.r5f is now attached [ 10.580728] platform 5c00000.r5f: configured R5F for remoteproc mode [ 10.608129] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000 [ 10.622957] remoteproc remoteproc4: 5c00000.r5f is available [ 10.639690] platform 5d00000.r5f: configured R5F for remoteproc mode [ 10.716065] remoteproc remoteproc4: powering up 5c00000.r5f [ 10.721871] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 626036 [ 10.729836] remoteproc remoteproc3: powering up 64800000.dsp [ 10.735712] remoteproc remoteproc3: Booting fw image j7-c71_0-fw, size 10489000 [ 10.743764] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000 [ 10.748438] remoteproc remoteproc3: unsupported resource 65538 [ 10.759654] remoteproc4#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000 [ 10.771686] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa8e00000 [ 10.780337] virtio_rpmsg_bus virtio3: rpmsg host is online [ 10.786131] remoteproc4#vdev0buffer: registered virtio3 (type 7) [ 10.790072] remoteproc remoteproc5: 5d00000.r5f is available [ 10.792578] remoteproc remoteproc4: remote processor 5c00000.r5f is now up [ 10.805274] remoteproc3#vdev0buffer: assigned reserved memory node c71-dma-memory@a8000000 [ 10.816258] virtio_rpmsg_bus virtio4: rpmsg host is online [ 10.824060] remoteproc3#vdev0buffer: registered virtio4 (type 7) [ 10.831479] remoteproc remoteproc3: remote processor 64800000.dsp is now up [ 10.841271] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xd [ 10.849276] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xe [ 10.871089] remoteproc remoteproc5: powering up 5d00000.r5f [ 10.876719] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 98444 [ 10.890362] platform 5e00000.r5f: configured R5F for remoteproc mode [ 10.891371] remoteproc5#vdev0buffer: assigned reserved memory node r5f-dma-memory@a3000000 [ 10.907683] virtio_rpmsg_bus virtio5: rpmsg host is online [ 10.913255] remoteproc5#vdev0buffer: registered virtio5 (type 7) [ 10.919367] remoteproc remoteproc5: remote processor 5d00000.r5f is now up [ 10.926682] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xd [ 10.939228] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000 [ 10.949203] remoteproc remoteproc6: 5e00000.r5f is available [ 10.960086] remoteproc remoteproc6: powering up 5e00000.r5f [ 10.965741] remoteproc remoteproc6: Booting fw image j7-main-r5f1_0-fw, size 98444 [ 10.993394] platform 5f00000.r5f: configured R5F for remoteproc mode [ 10.994640] remoteproc6#vdev0buffer: assigned reserved memory node r5f-dma-memory@a4000000 [ 11.013096] virtio_rpmsg_bus virtio6: rpmsg host is online [ 11.018684] remoteproc6#vdev0buffer: registered virtio6 (type 7) [ 11.024800] remoteproc remoteproc6: remote processor 5e00000.r5f is now up [ 11.032160] virtio_rpmsg_bus virtio6: creating channel ti.ipc4.ping-pong addr 0xd [ 11.045057] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0xe [ 11.052873] virtio_rpmsg_bus virtio6: creating channel rpmsg_chrdev addr 0xe [ 11.060317] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe [ 11.067851] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000 [ 11.154134] m_can_platform 40528000.can: m_can device registered (irq=23, version=32) [ 11.166146] remoteproc remoteproc7: 5f00000.r5f is available [ 11.166221] m_can_platform 40568000.can: m_can device registered (irq=25, version=32) [ 11.187589] m_can_platform 2701000.can: m_can device registered (irq=55, version=32) [ 11.199909] m_can_platform 2721000.can: m_can device registered (irq=57, version=32) [ 11.300257] remoteproc remoteproc7: powering up 5f00000.r5f [ 11.305838] remoteproc remoteproc7: Booting fw image j7-main-r5f1_1-fw, size 98444 [ 11.319069] remoteproc7#vdev0buffer: assigned reserved memory node r5f-dma-memory@a5000000 [ 11.327932] virtio_rpmsg_bus virtio7: rpmsg host is online [ 11.336477] remoteproc7#vdev0buffer: registered virtio7 (type 7) [ 11.342637] remoteproc remoteproc7: remote processor 5f00000.r5f is now up [ 11.356439] virtio_rpmsg_bus virtio7: creating channel ti.ipc4.ping-pong addr 0xd [ 11.364067] virtio_rpmsg_bus virtio7: creating channel rpmsg_chrdev addr 0xe [ 12.076068] virtio_rpmsg_bus virtio3: creating channel ti.ethfw.notifyservice addr 0x1e [ 12.134954] virtio_rpmsg_bus virtio3: creating channel rpmsg-kdrv addr 0x1a [ 12.144978] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: Device info: permissions: 3FFFFFFF uart_id: 2 [ 12.156852] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: FW ver 0.2 (rev 0) 2/Feb/2022 SHA:bd5a13f4 [ 12.167868] rpmsg-kdrv-eth-switch rpmsg-kdrv-3-mpu_1_0_ethmac-device-1: Device info: permissions: 3FFFFFFF uart_id: 2 [ 12.179399] rpmsg-kdrv-eth-switch rpmsg-kdrv-3-mpu_1_0_ethmac-device-1: FW ver 0.2 (rev 0) 2/Feb/2022 SHA:bd5a13f4 [ 12.192695] ds90ub953 9-0044: Found rev 2, mask 0 [ 12.219023] usbcore: registered new interface driver usbfs [ 12.228110] usbcore: registered new interface driver hub [ 12.234658] usbcore: registered new device driver usb [ 12.253545] remoteproc remoteproc8: b034000.pru is available [ 12.274530] remoteproc remoteproc9: b004000.rtu is available [ 12.281365] cdns-csi2rx 4504000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY [ 12.281543] remoteproc remoteproc10: b00a000.txpru is available [ 12.300192] remoteproc remoteproc11: b038000.pru is available [ 12.306027] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: rpmsg attach_ext - rx_mtu:1522 features:0000000B tx_mtu[0]:2024 flow_idx:172 tx_cpsw_psil_dst_id:51712 mac_addr:70:ff:76:1d:92:c1 mac-only:0 [ 12.324413] remoteproc remoteproc12: b006000.rtu is available [ 12.330716] remoteproc remoteproc13: b00c000.txpru is available [ 12.339943] remoteproc remoteproc14: b134000.pru is available [ 12.345976] remoteproc remoteproc15: b104000.rtu is available [ 12.352130] remoteproc remoteproc16: b10a000.txpru is available [ 12.358828] remoteproc remoteproc17: b138000.pru is available [ 12.364917] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac loaded [ 12.374895] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: rdev_features:0000000B rdev_mtu:1522 flow_id:172 tx_psil_dst_id:4A00 mac_only:0 [ 12.387791] remoteproc remoteproc18: b106000.rtu is available [ 12.393561] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: local_mac_addr:00:00:00:00:00:00 rdev_mac_addr:70:ff:76:1d:92:c1 [ 12.407742] remoteproc remoteproc19: b10c000.txpru is available [ 12.460488] cdns-csi2rx 4514000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY [ 12.470151] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: rpmsg attach_ext - rx_mtu:1522 features:00000007 tx_mtu[0]:2024 flow_idx:173 tx_cpsw_psil_dst_id:51713 mac_addr:70:ff:76:1d:92:c2 mac-only:1 [ 12.497384] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: virt_cpsw_nuss mac loaded [ 12.508394] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: rdev_features:00000007 rdev_mtu:1522 flow_id:173 tx_psil_dst_id:4A01 mac_only:1 [ 12.521011] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: local_mac_addr:00:00:00:00:00:00 rdev_mac_addr:70:ff:76:1d:92:c2 [ 12.628455] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c [ 13.235271] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 13.241167] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 13.248957] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010 [ 13.258419] xhci-hcd xhci-hcd.2.auto: irq 663, io mem 0x06410000 [ 13.264642] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 13.264645] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.264648] usb usb1: Product: xHCI Host Controller [ 13.264650] usb usb1: Manufacturer: Linux 5.10.120-g95b90aa828 xhci-hcd [ 13.264652] usb usb1: SerialNumber: xhci-hcd.2.auto [ 13.266192] hub 1-0:1.0: USB hub found [ 13.300417] hub 1-0:1.0: 1 port detected [ 13.304611] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 13.310163] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 13.317962] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 13.324568] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 13.332753] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 13.341033] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.348275] usb usb2: Product: xHCI Host Controller [ 13.353171] usb usb2: Manufacturer: Linux 5.10.120-g95b90aa828 xhci-hcd [ 13.359801] usb usb2: SerialNumber: xhci-hcd.2.auto [ 13.364986] hub 2-0:1.0: USB hub found [ 13.368792] hub 2-0:1.0: 1 port detected [ 13.568389] usb 1-1: new full-speed USB device number 2 using xhci-hcd [ 13.720646] usb 1-1: not running at top speed; connect to a high speed hub [ 13.727808] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00 [ 13.735975] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1 [ 13.743099] usb 1-1: SerialNumber: 34020861CDF1 [ 13.748195] hub 1-1:1.0: USB hub found [ 13.752104] hub 1-1:1.0: 4 ports detected [ 14.429554] Bluetooth: Core ver 2.22 [ 14.436548] NET: Registered protocol family 31 [ 14.448276] Bluetooth: HCI device and connection manager initialized [ 14.454699] Bluetooth: HCI socket layer initialized [ 14.464146] Bluetooth: L2CAP socket layer initialized [ 14.472179] Bluetooth: SCO socket layer initialized [ 14.901588] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: virt_cpsw_nuss mac started [ 15.253215] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac started [ 15.403931] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL) [ 15.424074] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ 15.635949] PVR_K: 1017: RGX Firmware image 'rgx.fw.22.104.208.318' loaded [ 15.663564] PVR_K: 1017: Shader binary image 'rgx.sh.22.104.208.318' loaded [ 135.880042] Initializing XFRM netlink socket [ 137.329669] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 137.347061] Bridge firewalling registered [ 137.920828] process 'docker/tmp/qemu-check488794148/check' started with executable stack [ 325.717702] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 325.726415] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Thanks
Michael
Hi Michael,
Thank you for providing the logs.
I did a review of your linux logs and didn't find any specific error that could cause this.
Could you please share the current logs for the command ./media-ctl -p
Could you share the logs of media-ctl -p? (Not the image). Here we could get more information from the logs.
Also, is it possible for you to put logs in the linux driver and check? If yes, could you put few logs in the function ti_csi2rx_probe() in the file ${PSDKLA}/board_support/linux-xx/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c and check whether this function fails? (i.e., checking its return value at each stage)
Regards,
Nikhil
Hi Nikhil:
Now, the Customer - Michael confirmed:
Since the TI native code will bring up the ISP driver, but, this is not what he needs.
May you help to let him know about : How to NOT use the Native ISP camera driver?
Thanks.
BR Rio
Hi Rio,
I don't think we have a Native ISP driver on the Linux side.
Could you share the logs of media-ctl -p? (Not the image). Here we could get more information from the logs.
Also, is it possible for you to put logs in the linux driver and check? If yes, could you put few logs in the function ti_csi2rx_probe() in the file ${PSDKLA}/board_support/linux-xx/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c and check whether this function fails? (i.e., checking its return value at each stage)
Could you please get the above information? This could tell us more about the issue.
Regards,
Nikhil
Hi Nikhil,
root@j7-evm:~# media-ctl -p Media controller API version 5.10.120 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:4500000.ticsi2rx hw revision 0x1 driver version 5.10.120 Device topology - entity 1: 4500000.ticsi2rx (17 pads, 0 link, 0 route) type V4L2 subdev subtype Unknown flags 0 pad0: Sink pad1: Source pad2: Source pad3: Source pad4: Source pad5: Source pad6: Source pad7: Source pad8: Source pad9: Source pad10: Source pad11: Source pad12: Source pad13: Source pad14: Source pad15: Source pad16: Source - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 1 link, 0 route) type V4L2 subdev subtype Unknown flags 0 pad0: Sink <- "ds90ub960 9-003d":4 [ENABLED,IMMUTABLE] pad1: Source pad2: Source pad3: Source pad4: Source - entity 25: ds90ub960 9-003d (6 pads, 2 links, 0 route) type V4L2 subdev subtype Unknown flags 0 pad0: Sink <- "ds90ub953 9-0044":1 [ENABLED,IMMUTABLE] pad1: Sink pad2: Sink pad3: Sink pad4: Source -> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE] pad5: Source - entity 34: ds90ub953 9-0044 (2 pads, 1 link, 0 route) type V4L2 subdev subtype Unknown flags 0 pad0: Sink pad1: Source -> "ds90ub960 9-003d":0 [ENABLED,IMMUTABLE]
t@j7-evm:~# dmesg | grep ti_csi2rx_probe [ 9.270659] ti_csi2rx_probe->devm_kzalloc: (____ptrval____) [ 9.284556] ti_csi2rx_probe->devm_ioremap_resource: (____ptrval____) [ 9.296572] ti_csi2rx_probe->of_property_count_strings: 16 [ 9.310444] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.331584] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.355017] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.376631] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.467411] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.586120] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.794908] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.860305] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.975587] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 9.999337] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.007181] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.030327] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.061256] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.181721] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.251913] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.308605] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.324729] ti_csi2rx_probe->ti_csi2rx_init_subdev: 0 [ 10.409418] ti_csi2rx_probe->of_platform_populate: 0 [ 10.416281] ti_csi2rx_probe->devm_kzalloc: 00000000fdd68399 [ 10.429787] ti_csi2rx_probe->devm_ioremap_resource: 0000000041da46b5 [ 10.436170] ti_csi2rx_probe->of_property_count_strings: 16 [ 10.444525] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.452639] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.475678] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.500636] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.540529] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.694074] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.710439] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.719543] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.788320] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.841276] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.910720] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 10.949034] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 11.002280] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 11.043811] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 11.053762] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 11.102384] ti_csi2rx_probe->ti_csi2rx_init_ctx: 0 [ 11.118985] ti_csi2rx_probe->ti_csi2rx_init_subdev: 0 [ 11.124821] ti_csi2rx_probe->of_platform_populate: 0
static int ti_csi2rx_probe(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; struct ti_csi2rx_dev *csi; struct resource *res; int ret, i, count; unsigned int reg; csi = devm_kzalloc(&pdev->dev, sizeof(*csi), GFP_KERNEL); pr_info("ti_csi2rx_probe->devm_kzalloc: %p\n", csi); if (!csi) return -ENOMEM; csi->dev = &pdev->dev; platform_set_drvdata(pdev, csi); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); csi->shim = devm_ioremap_resource(&pdev->dev, res); pr_info("ti_csi2rx_probe->devm_ioremap_resource: %p\n", csi->shim); if (IS_ERR(csi->shim)) return PTR_ERR(csi->shim); /* Only use as many contexts as the number of DMA channels allocated. */ count = of_property_count_strings(np, "dma-names"); pr_info("ti_csi2rx_probe->of_property_count_strings: %d\n", count); if (count < 0) { dev_err(csi->dev, "Failed to get DMA channel count: %d\n", count); return count; } csi->num_ctx = count; if (csi->num_ctx > TI_CSI2RX_MAX_CTX) { dev_warn(csi->dev, "%u DMA channels passed. Maximum is %u. Ignoring the rest.\n", csi->num_ctx, TI_CSI2RX_MAX_CTX); csi->num_ctx = TI_CSI2RX_MAX_CTX; } mutex_init(&csi->mutex); ret = ti_csi2rx_v4l2_init(csi); if (ret) return ret; for (i = 0; i < csi->num_ctx; i++) { csi->ctx[i].idx = i; csi->ctx[i].csi = csi; ret = ti_csi2rx_init_ctx(&csi->ctx[i]); pr_info("ti_csi2rx_probe->ti_csi2rx_init_ctx: %d\n", ret); if (ret) goto cleanup_ctx; } ret = ti_csi2rx_init_subdev(csi); pr_info("ti_csi2rx_probe->ti_csi2rx_init_subdev: %d\n", ret); if (ret) goto cleanup_ctx; ret = of_platform_populate(csi->dev->of_node, NULL, NULL, csi->dev); pr_info("ti_csi2rx_probe->of_platform_populate: %d\n", ret); if (ret) { dev_err(csi->dev, "Failed to create children: %d\n", ret); goto cleanup_subdev; } /* De-assert the pixel interface reset. */ reg = SHIM_CNTL_PIX_RST; writel(reg, csi->shim + SHIM_CNTL); return 0; cleanup_subdev: ti_csi2rx_cleanup_subdev(csi); cleanup_ctx: i--; for (; i >= 0; i--) ti_csi2rx_cleanup_ctx(&csi->ctx[i]); ti_csi2rx_cleanup_v4l2(csi); return ret; }
Thanks
Michael
Hi Michael,
Sorry for the delay in response.
We were trying to simulate this scenario at our end by not connecting the camera and doing your dts changes.
We were able to see that the context/video devices did not show up.
After further debugging, we saw that the UB953 serializer driver waits for a notification from the sensor in order to propogate further.
Hence, we included a dummy IMX390 driver which only notifies to the serializer. Please find the patch below for the same.
Further you could make changes in your dts file by referring the below changes
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-fpdlink-imx390-cm-0-0.dts b/arch/arm64/boot/dts/ti/k3-j721e-fpdlink-imx390-cm-0-0.dts index fff3678ab505..8ad93ff2affd 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-fpdlink-imx390-cm-0-0.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-fpdlink-imx390-cm-0-0.dts @@ -78,17 +78,9 @@ #size-cells = <0>; sensor@21 { - compatible = "sony,imx390"; + compatible = "ottobrite,imx390dummy"; reg = <0x21>; - clocks = <&clk_cam_27M>; - clock-names = "inck"; - - xclr-gpios = <&serializer 0 GPIO_ACTIVE_LOW>; - error0-gpios = <&serializer 1 GPIO_ACTIVE_HIGH>; - error1-gpios = <&serializer 2 GPIO_ACTIVE_HIGH>; - comready-gpios = <&serializer 3 GPIO_ACTIVE_HIGH>; - port { sensor_out: endpoint { remote-endpoint = <&ub953_in>;
Please try out these changes at your end and let me know if this resolves your issue.
Regards,
Nikhil
Hi Nikhil,
Thank you so much for giving us great help.
There is some minor problem got to be resolved.
Media controller API version 5.10.120 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:4500000.ticsi2rx hw revision 0x1 driver version 5.10.120 Device topology - entity 1: 4500000.ticsi2rx (17 pads, 17 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink <- "cdns_csi2rx.4504000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source -> "4500000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source -> "4500000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "4500000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "4500000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] pad5: Source -> "4500000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE] pad6: Source -> "4500000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE] pad7: Source -> "4500000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE] pad8: Source -> "4500000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE] pad9: Source -> "4500000.ticsi2rx context 8":0 [ENABLED,IMMUTABLE] pad10: Source -> "4500000.ticsi2rx context 9":0 [ENABLED,IMMUTABLE] pad11: Source -> "4500000.ticsi2rx context 10":0 [ENABLED,IMMUTABLE] pad12: Source -> "4500000.ticsi2rx context 11":0 [ENABLED,IMMUTABLE] pad13: Source -> "4500000.ticsi2rx context 12":0 [ENABLED,IMMUTABLE] pad14: Source -> "4500000.ticsi2rx context 13":0 [ENABLED,IMMUTABLE] pad15: Source -> "4500000.ticsi2rx context 14":0 [ENABLED,IMMUTABLE] pad16: Source -> "4500000.ticsi2rx context 15":0 [ENABLED,IMMUTABLE] - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 2 links, 0 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 pad0: Sink <- "ds90ub960 9-003d":4 [ENABLED,IMMUTABLE] pad1: Source -> "4500000.ticsi2rx":0 [ENABLED,IMMUTABLE] pad2: Source pad3: Source pad4: Source - entity 25: ds90ub960 9-003d (6 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev2 routes: 0/0 -> 4/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_2X8/1920x1080] <- "ds90ub953 9-0044":1 [ENABLED,IMMUTABLE] pad1: Sink pad2: Sink pad3: Sink pad4: Source [stream:0 fmt:UYVY8_2X8/1920x1080] -> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE] pad5: Source - entity 34: ds90ub953 9-0044 (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_2X8/1920x1080] <- "imx390dummy 10-0021":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_2X8/1920x1080] -> "ds90ub960 9-003d":0 [ENABLED,IMMUTABLE] - entity 39: imx390dummy 10-0021 (1 pad, 1 link, 2 routes) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev4 routes: 0/0 -> 0/0 [ACTIVE, IMMUTABLE, SOURCE] 0/0 -> 0/1 [INACTIVE, IMMUTABLE, SOURCE] pad0: Source [stream:0 fmt:YUYV8_2X8/1920x1080@1/30 field:none colorspace:smpte170m] -> "ds90ub953 9-0044":0 [ENABLED,IMMUTABLE] - entity 45: 4500000.ticsi2rx context 0 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video2 pad0: Sink <- "4500000.ticsi2rx":1 [ENABLED,IMMUTABLE] - entity 51: 4500000.ticsi2rx context 1 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video3 pad0: Sink <- "4500000.ticsi2rx":2 [ENABLED,IMMUTABLE] - entity 57: 4500000.ticsi2rx context 2 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video4 pad0: Sink <- "4500000.ticsi2rx":3 [ENABLED,IMMUTABLE] - entity 63: 4500000.ticsi2rx context 3 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video5 pad0: Sink <- "4500000.ticsi2rx":4 [ENABLED,IMMUTABLE] - entity 69: 4500000.ticsi2rx context 4 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video6 pad0: Sink <- "4500000.ticsi2rx":5 [ENABLED,IMMUTABLE] - entity 75: 4500000.ticsi2rx context 5 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video7 pad0: Sink <- "4500000.ticsi2rx":6 [ENABLED,IMMUTABLE] - entity 81: 4500000.ticsi2rx context 6 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video8 pad0: Sink <- "4500000.ticsi2rx":7 [ENABLED,IMMUTABLE] - entity 87: 4500000.ticsi2rx context 7 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video9 pad0: Sink <- "4500000.ticsi2rx":8 [ENABLED,IMMUTABLE] - entity 93: 4500000.ticsi2rx context 8 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video10 pad0: Sink <- "4500000.ticsi2rx":9 [ENABLED,IMMUTABLE] - entity 99: 4500000.ticsi2rx context 9 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video11 pad0: Sink <- "4500000.ticsi2rx":10 [ENABLED,IMMUTABLE] - entity 105: 4500000.ticsi2rx context 10 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video12 pad0: Sink <- "4500000.ticsi2rx":11 [ENABLED,IMMUTABLE] - entity 111: 4500000.ticsi2rx context 11 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video13 pad0: Sink <- "4500000.ticsi2rx":12 [ENABLED,IMMUTABLE] - entity 117: 4500000.ticsi2rx context 12 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video14 pad0: Sink <- "4500000.ticsi2rx":13 [ENABLED,IMMUTABLE] - entity 123: 4500000.ticsi2rx context 13 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video15 pad0: Sink <- "4500000.ticsi2rx":14 [ENABLED,IMMUTABLE] - entity 129: 4500000.ticsi2rx context 14 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video16 pad0: Sink <- "4500000.ticsi2rx":15 [ENABLED,IMMUTABLE] - entity 135: 4500000.ticsi2rx context 15 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video17 pad0: Sink <- "4500000.ticsi2rx":16 [ENABLED,IMMUTABLE]
root@j7-evm:~# yavta -c -Fcapture -s 1920x1080 -f UYVY /dev/video3 Device /dev/video3 opened. Device `j721e-csi2rx' on `platform:4500000.ticsi2rx' is a video output (without mplanes) device. Video format set: UYVY (59565955) 1920x1080 (stride 3840) field none buffer size 4147200 Video format: UYVY (59565955) 1920x1080 (stride 3840) field none buffer size 4147200 8 buffers requested. length: 4147200 offset: 0 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xffff843b4000. length: 4147200 offset: 4149248 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xffff83fbf000. length: 4147200 offset: 8298496 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xffff83bca000. length: 4147200 offset: 12447744 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xffff837d5000. length: 4147200 offset: 16596992 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffff833e0000. length: 4147200 offset: 20746240 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xffff82feb000. length: 4147200 offset: 24895488 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xffff82bf6000. length: 4147200 offset: 29044736 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xffff82801000. Unable to start streaming: Broken pipe (32). 8 buffers released.
Thanks
Michael
Hi Michael,
2 things I noticed here
1. The context is mapped to /dev/video2 and you are trying to stream video3 in the yavta command.
Could you try to stream in /dev/video2?
2. The format of the imx390dummy 10-0021 is YUYV8_2X8 whereas others are in UYVY8_2X8. This mostly shouldn't be an issue, but can you set the same format in the dummy driver too if the issue doesn't resolve with the first step.
Regards,
Nikhil