AM62A7-Q1: FPD Camera bring-up on custom board - Deserializer(ds90ub960) Register configuration issue

Part Number: AM62A7-Q1
Other Parts Discussed in Thread: AM62A7

Hello TI expert,

 

I am working on custom board referenced of am62a7-q1 EVM board. 

we are using 9.02 sdk yocto build.

board configuration :-

  1. SOC(am62a7) ---> Deserializer(ub960) --->  Camera (serializer(ub953) & ov2311) (non-synchronous mode).
  2. SOC(am62a7) ---> Deserializer(ub960) --->  Camera (serializer(ub953) & imx390) (synchronous mode).

Q. Is there any driver support for the image sensor ov2311. in yocto build we have the driver of ov2312.

Q. Serializer driver is not supporting non-synchronous mode only support synchronous mode. could you provide the non-synchronous mode driver for that.

i have used the existing driver but in this i am geeting some below issues:-

  1. we are getting the alias address of serializer and camera sensor are same in ds90ub960 deserializer register after driver init.

Register dump of Deserializer(UB960)

image.png

in our case both alias addresses are 0x76.

2. After init (root), camera is not detected.

i have tried with both the camera (imx390 & ov2311) devices tree overlay.

in both the camera i have not detected the camera.

Q. How we can set different alias address for serializer and camera sensor. i have attached devices tree overlay also. i have modified device tree overlays as per our board.

 

k3-am62a7-sk-fusion.txt

k3-fpdlink-ov2312-0-0.txt 

k3-fpdlink-imx390-rcm-0-0.txt 

  • Hi, please note that this is a holiday week in India, some of our colleagues will be out of office and responses may be delayed. Feel free to follow up on this thread if you don't receive a response by the end of the week.

    thank you,

    Paula

  • Hi Paula, Thanks for the reply.

    we are waiting for reply. 

    Regards,

    Satyajeet Sing

  • Hi Satyajeet,

    Sorry for the delay in response.

    1. We don't have official support for the OV2311 camera but it should be fairly similar to the driver for OV2312. You can try to refer to that.

    2. On my end, testing with the UB960, the IMX390 camera is detected correctly. There are two variants of the IMX390 which we support(RCM and CM) which have different I2C addresses. So, you would need different device tree overlays for that. Please verify that you have the correct sensor overlay. From SDK 11.1, here is the diff between the two dtso files:

    diff --git a/k3-fpdlink-imx390-rcm-0-0.dtso b/k3-fpdlink-imx390-cm-0-0.dtso
    index 71f354973044..b81153246f6e 100644
    --- a/k3-fpdlink-imx390-rcm-0-0.dtso
    +++ b/k3-fpdlink-imx390-cm-0-0.dtso
    @@ -1,7 +1,7 @@
     // SPDX-License-Identifier: GPL-2.0
     /*
      * IMX390 FPD-Link 3 Camera Module
    - * Copyright (c) 2023 Texas Instruments Incorporated - http://www.ti.com/
    + * Copyright (c) 2024-2025 Texas Instruments Incorporated - https://www.ti.com/
      */
     
     /dts-v1/;
    @@ -32,7 +32,6 @@
     		i2c-alias = <0x44>;
     
     		ti,rx-mode = <3>;
    -		ti,cdr-mode = <0>;
     
     		serializer: serializer {
     			compatible = "ti,ds90ub953-q1";
    @@ -66,20 +65,19 @@
     				#address-cells = <1>;
     				#size-cells = <0>;
     
    -				sensor@1a {
    +				sensor@21 {
     					compatible = "sony,imx390";
    -					reg = <0x1a>;
    +					reg = <0x21>;
     
     					clocks = <&serializer>;
     					clock-names = "inck";
     					assigned-clocks = <&serializer>;
     					assigned-clock-rates = <27000000>;
     
    -					xclr-gpios = <&serializer 1 GPIO_ACTIVE_LOW>;
    -					error0-gpios = <&serializer 2 GPIO_ACTIVE_HIGH>;
    -					error1-gpios = <&serializer 3 GPIO_ACTIVE_HIGH>;
    -					comready-gpios = <&serializer 0 GPIO_ACTIVE_HIGH>;
    -
    +					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_1_out: endpoint {
     							remote-endpoint = <&ub953_1_in>;
    

    You can have a look at the output of the i2cdetect command to figure out which sensor you are running. Please share dmesg logs if it doesn't help.
    Also, from what I see in the imx390 overlay, you have changed quite a few fields. Please share the corresponding driver code.

    3. For the serializer address, I'll try to get back to you asap.

    Best Regards,
    Jay

  • Hi Jay,

    Thanks for the reply

    i am using imx390 with serializer address 0x18 and sensor address 0x1a.

    in above screenshot we can see that serializer alias address and remote sensor address are same 

    [    6.877204] ds90ub960 0-0030: rx0: remote serializer at alias 0x76 (0-0076)

    [    8.428055] ds90ub960 0-0030: rx0: client 0x1a assigned alias 0x76 at slot 0

    if the alias address of both serializer and sensor then how SOC will communicate with serializer and sensor.

    i have captured the i2c line from i2c reader when the board is booting.

    i2c captured logs: -

    we can see that when the imx390 driver try to read the camera ID SOC send the 0x76 alias address. because of the same alias address, it's not able to get the correct ID from the camera module. 

    i have attached the dmesg logs also: -

    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    k3_ddrss_probe(dev=43c34a2c)
    k3_ddrss_ofdata_to_priv(dev=43c34a2c)
    k3_ddrss memory-controller@f300000: ddr freq0 not populated, using bypass frequency.
    k3_ddrss_power_on(ddrss=43c39a40)
    k3_ddrss memory-controller@f300000: vtt-supply not found.
    k3_lpddr4_probe: PASS
    k3_lpddr4_init: PASS
    --->>> LPDDR4 Initialization is in progress ... <<<---
    k3_lpddr4_freq_update: received freq change req: req type = 2, req no. = 0, instance = 0
    k3_lpddr4_freq_update: received freq change req: req type = 0, req no. = 1, instance = 0
    k3_lpddr4_freq_update: received freq change req: req type = 2, req no. = 2, instance = 0
    k3_lpddr4_start: Post start PASS
    am62a_init: board_init_f done
    SPL initial stack usage: 17064 bytes
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Trying to boot from MMC2
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Trying to boot from MMC2
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    761 bytes read in 22 ms (33.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    19378688 bytes read in 931 ms (19.8 MiB/s)
    57400 bytes read in 27 ms (2 MiB/s)
    Working FDT set to 88000000
    2142 bytes read in 25 ms (83 KiB/s)
    2125 bytes read in 26 ms (79.1 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK
    Working FDT set to 8feee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.80-ti-g2e423244f8c0 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Mar 20 14:43:33 UTC 2024
    [    0.000000] Machine model: -- DEBUG -- Texas Instruments AM62A7 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009b7fefff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032191
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=d0087075-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2808824K/4194300K available (11712K kernel code, 1260K rwdata, 3816K rodata, 1984K init, 440K bss, 795652K reserved, 589824K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008563] Console: colour dummy device 80x25
    [    0.013160] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023843] pid_max: default: 32768 minimum: 301
    [    0.028608] LSM: Security Framework initializing
    [    0.033450] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.041034] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050748] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.058194] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.064491] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071886] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.078270] rcu: Hierarchical SRCU implementation.
    [    0.083179] rcu:     Max phase no-delay instances is 1000.
    [    0.088768] Platform MSI: msi-controller@1820000 domain created
    [    0.095076] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.104499] EFI services will not be available.
    [    0.109393] smp: Bringing up secondary CPUs ...
    [    0.114668] Detected VIPT I-cache on CPU1
    [    0.114771] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.114789] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.114846] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.115541] Detected VIPT I-cache on CPU2
    [    0.115615] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.115629] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.115663] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.116258] Detected VIPT I-cache on CPU3
    [    0.116337] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.116350] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.116380] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.116444] smp: Brought up 1 node, 4 CPUs
    [    0.196189] SMP: Total of 4 processors activated.
    [    0.201002] CPU features: detected: 32-bit EL0 Support
    [    0.206275] CPU features: detected: CRC32 instructions
    [    0.211589] CPU: All CPU(s) started at EL2
    [    0.215787] alternatives: applying system-wide alternatives
    [    0.223315] devtmpfs: initialized
    [    0.235863] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.245875] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.273978] pinctrl core: initialized pinctrl subsystem
    [    0.279993] DMI not present or invalid.
    [    0.284546] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.291619] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.299098] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.307194] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.315372] audit: initializing netlink subsys (disabled)
    [    0.321061] audit: type=2000 audit(0.212:1): state=initialized audit_enabled=0 res=1
    [    0.321502] thermal_sys: Registered thermal governor 'step_wise'
    [    0.328994] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.335177] cpuidle: using governor menu
    [    0.346017] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.353044] ASID allocator initialised with 65536 entries
    [    0.368964] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.381926] KASLR disabled due to lack of seed
    [    0.393252] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.400223] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.406634] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.413574] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.419982] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.426922] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.433330] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.440269] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.448081] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.458398] iommu: Default domain type: Translated
    [    0.463415] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.470106] SCSI subsystem initialized
    [    0.474272] usbcore: registered new interface driver usbfs
    [    0.479918] usbcore: registered new interface driver hub
    [    0.485373] usbcore: registered new device driver usb
    [    0.490986] pps_core: LinuxPPS API ver. 1 registered
    [    0.496070] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.505420] PTP clock support registered
    [    0.509561] EDAC MC: Ver: 3.0.0
    [    0.513667] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.520510] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.527329] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.534060] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.541427] FPGA manager framework
    [    0.544978] Advanced Linux Sound Architecture Driver Initialized.
    [    0.552167] clocksource: Switched to clocksource arch_sys_counter
    [    0.558640] VFS: Disk quotas dquot_6.6.0
    [    0.562696] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.575834] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [    0.582208] NET: Registered PF_INET protocol family
    [    0.587433] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.598006] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.606832] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.614776] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.623089] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.631714] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.638623] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.645616] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.653195] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.659453] RPC: Registered named UNIX socket transport module.
    [    0.665535] RPC: Registered udp transport module.
    [    0.670345] RPC: Registered tcp transport module.
    [    0.675154] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.681746] NET: Registered PF_XDP protocol family
    [    0.686659] PCI: CLS 0 bytes, default 64
    [    0.691460] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.701569] Initialise system trusted keyrings
    [    0.706381] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.717573] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.724191] NFS: Registering the id_resolver key type
    [    0.729420] Key type id_resolver registered
    [    0.733698] Key type id_legacy registered
    [    0.737852] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.744709] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.788360] Key type asymmetric registered
    [    0.792554] Asymmetric key parser 'x509' registered
    [    0.797591] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.805315] io scheduler mq-deadline registered
    [    0.809954] io scheduler kyber registered
    [    0.817460] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.824045] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.831513] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.843929] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.859939] loop: module loaded
    [    0.864566] megasas: 07.719.03.00-rc1
    [    0.871422] tun: Universal TUN/TAP device driver, 1.6
    [    0.877386] VFIO - User Level meta-driver version: 0.3
    [    0.883419] usbcore: registered new interface driver usb-storage
    [    0.890141] i2c_dev: i2c /dev entries driver
    [    0.896011] sdhci: Secure Digital Host Controller Interface driver
    [    0.902377] sdhci: Copyright(c) Pierre Ossman
    [    0.907054] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.913653] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.919997] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.926943] usbcore: registered new interface driver usbhid
    [    0.932647] usbhid: USB HID core driver
    [    0.937448] optee: probing for conduit method.
    [    0.942039] optee: revision 4.1 (012cdca4)
    [    0.942340] optee: dynamic shared memory is enabled
    [    0.951913] optee: initialized driver
    [    0.957361] Initializing XFRM netlink socket
    [    0.961791] NET: Registered PF_PACKET protocol family
    [    0.967057] Key type dns_resolver registered
    [    0.971831] registered taskstats version 1
    [    0.976053] Loading compiled-in X.509 certificates
    [    0.989842] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [    1.037657] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    1.047477] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.054629] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.061259] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.067200] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.075533] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.084770] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.093789] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.104061] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.112315] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.123289] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.133342] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.142843] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.149393] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.158782] printk: console [ttyS2] disabled
    [    1.163228] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.172116] printk: console [ttyS2] enabled
    [    1.172116] printk: console [ttyS2] enabled
    [    1.180573] printk: bootconsole [ns16550a0] disabled
    [    1.180573] printk: bootconsole [ns16550a0] disabled
    [    1.193014] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.198347] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    1.206700] 7 fixed-partitions partitions found on MTD device spi0.0
    [    1.213060] Creating 7 MTD partitions on "spi0.0":
    [    1.217846] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    1.225252] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    1.232939] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    1.241513] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    1.248340] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    1.255761] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    1.300618] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    1.348212] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.358310] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    1.367838] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.380642] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.387771] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.394207] pps pps0: new PPS source ptp0
    [    1.398520] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.408975] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.418051] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    1.430639] mmc0: CQHCI version 5.10
    [    1.475689] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.534606] mmc0: Command Queue Engine enabled
    [    1.539078] mmc0: new HS200 MMC card at address 0001
    [    1.545481] mmcblk0: mmc0:0001 AAM20E 29.6 GiB
    [    1.553350]  mmcblk0: p1
    [    1.556461] mmcblk0boot0: mmc0:0001 AAM20E 31.5 MiB
    [    1.562457] mmcblk0boot1: mmc0:0001 AAM20E 31.5 MiB
    [    1.568375] mmcblk0rpmb: mmc0:0001 AAM20E 4.00 MiB, chardev (240:0)
    [    2.180828] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    2.187423] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    2.198739] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.206429] mmc1: CQHCI version 5.10
    [    2.207364] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.217392] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.230459] ALSA device list:
    [    2.233470]   No soundcards found.
    [    2.251412] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    2.259744] Waiting for root device PARTUUID=d0087075-02...
    [    2.324254] mmc1: new ultra high speed SDR104 SDXC card at address 0001
    [    2.332598] mmcblk1: mmc1:0001 SD128 116 GiB
    [    2.340545]  mmcblk1: p1 p2
    [    2.415513] EXT4-fs (mmcblk1p2): recovery complete
    [    2.421374] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.430064] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.437280] devtmpfs: mounted
    [    2.440891] Freeing unused kernel memory: 1984K
    [    2.445530] Run /sbin/init as init process
    [    2.666893] systemd[1]: System time before build time, advancing clock.
    [    2.723521] NET: Registered PF_INET6 protocol family
    [    2.730479] Segment Routing with IPv6
    [    2.734243] In-situ OAM (IOAM) with IPv6
    [    2.807059] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.839991] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.906726] systemd[1]: Hostname set to <am62axx-evm>.
    [    3.038558] systemd-sysv-generator[158]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    3.064998] systemd-sysv-generator[158]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    3.419897] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    3.487808] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    3.570737] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.638405] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    3.663399] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    3.687737] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    3.711517] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.732948] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    3.756761] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    3.781236] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.796762] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.816522] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.832474] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.901569] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.924697] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.961972] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.985244] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    4.010337] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    4.033741] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.057976] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.076110] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.102051] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.126569] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.150784] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    4.225006] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    4.249357] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.283965] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    4.301594] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    4.325024] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    4.351198] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    4.380799] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    4.403050] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    4.427333] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    4.446001] fuse: init (API version 7.37)
    [    4.459732] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    4.494793] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    4.508801] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    4.531901] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.561912] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.582942] systemd[1]: Starting Generate network units from Kernel command line...
    [    4.586556] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network …ts from Kernel co[    4.598722] cryptodev: driver 1.12 loaded.
    mmand line...
    [    4.645142] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.668077] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    4.683262] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.715479] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.729166] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    5.158373] systemd-journald[174]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    5.411137] audit: type=1334 audit(1651167747.740:2): prog-id=5 op=LOAD
    [    5.417859] audit: type=1334 audit(1651167747.752:3): prog-id=6 op=LOAD
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    6.085581] random: crng init done
    [    6.087359] mc: Linux media interface: v0.10
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Started Network Time Synchronization.
    [    6.133413] videodev: Linux video capture interface: v2.00
    [  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.
    [    6.271485] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [    6.279927] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [    6.296085] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    6.298662] platform 79000000.r5f: configured R5F for remoteproc mode
    [    6.307498] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [    6.311761] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [    6.327112] remoteproc remoteproc1: 79000000.r5f is available
    [    6.337506] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.349360] remoteproc remoteproc0: 7e000000.dsp is available
    [    6.355409] remoteproc remoteproc1: powering up 79000000.r5f
    [    6.355435] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
    [    6.357160] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode
    [    6.357872] platform 78000000.r5f: configured R5F for IPC-only mode
             Starting Docker Socket for the API...
    [    6.358107] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [    6.365988] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [    6.366307] remoteproc remoteproc2: 78000000.r5f is available
    [    6.374618] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.381411] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.384274] remoteproc remoteproc2: attaching to 78000000.r5f
    [    6.384822] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    6.384841] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [    6.385294] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.385317] rproc-virtio rproc-virtio.6.auto: registered virtio1 (type 7)
    [    6.385324] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [    6.393577] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7)
    [    6.417761] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.421513] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [    6.433962] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.560551] ds90ub960 0-0030: supply vddio not found, using dummy regulator
    [    6.566700] remoteproc remoteproc0: powering up 7e000000.dsp
    [    6.575928] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11534416
    [    6.611688] tlv320aic3x 1-001b: supply DVDD not found, using dummy regulator
    [    6.629570] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [  OK  ] Listening on dropbear.socket.
    [    6.645422] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node c7x-dma-memory@99800000
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
    [    6.722051] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    6.730294] rproc-virtio rproc-virtio.7.auto: registered virtio2 (type 7)
    [    6.732937] sii902x 0-003b: supply iovcc not found, using dummy regulator
    [    6.737397] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [    6.752875] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    6.760413] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    6.780621] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [    6.782934] sii902x 0-003b: supply cvcc12 not found, using dummy regulator
    [    6.785974] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    6.800389] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
             Starting Weston socket...[    6.810362] virtio_rpmsg_bus virtio1: msg received with no recipient
    
    [    6.819249] e5010 fd20000.e5010: Device registered as /dev/video2
    [    6.830081] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    6.831836] i2c i2c-0: Added multiplexed i2c bus 3
    [    6.843383] virtio_rpmsg_bus virtio2: msg received with no recipient
    [    6.848893] OF: /sound/simple-audio-card,cpu: could not get #sound-dai-cells for /bus@f0000/audio-controller@2b10000
    [    6.860396] asoc-simple-card sound: error -EINVAL: parse error
    [    6.867565] asoc-simple-card: probe of sound failed with error -22
             Starting D-Bus System Message Bus...
    [    6.913071] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    6.944664] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    6.961506] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
             Starting Reboot and dump vmcore via kexec...
    [    6.997696] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [  OK  ] Listening on Docker Socket for the API.
    [    7.010618] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    7.015705] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    7.016772] Console: switching to colour frame buffer device 240x67
    [    7.022551] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    7.027239] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    7.098981] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting DEMO...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs…ll size of the boot device....
    [  OK  ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [    7.596573] audit: type=1334 audit(1651606203.800:4): prog-id=7 op=LOAD
    [    7.606567] audit: type=1334 audit(1651606203.804:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Started DEMO.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Expand the rootfs…full size of the boot device..
    [  OK  ] Finished Telnet Server.
    [  OK  ] Started Telephony service.
    [    8.046783] Bluetooth: Core ver 2.22
    [    8.050775] NET: Registered PF_BLUETOOTH protocol family
    [    8.059470] Bluetooth: HCI device and connection manager initialized
    [    8.066023] Bluetooth: HCI socket layer initialized
    [    8.071010] Bluetooth: L2CAP socket layer initialized
    [    8.078869] Bluetooth: SCO socket layer initialized
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [    8.417210] ds90ub953 0-0076: Found ub953 rev/mask 0x20
    [    8.429733] ds90ub960 0-0030: rx0 parity errors: 293
    [  OK  ] Started User Login Management.
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    8.690080] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    8.788505] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    8.816088] imx390 4-001a: inck rate: 25000000 Hz
    [    8.823670] imx390 4-001a: imx390_detect: unknown chip ID 0x0800
    [    8.845995] ds90ub960 0-0030: Consider updating driver ds90ub960 to match on endpoints
    [    8.857066] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY
    [    8.877112] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller
    [    8.883991] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 1
    [    8.892071] xhci-hcd xhci-hcd.10.auto: USB3 root hub has no ports
    [    8.898318] xhci-hcd xhci-hcd.10.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    8.907984] xhci-hcd xhci-hcd.10.auto: irq 538, io mem 0x31000000
    [    8.963928] hub 1-0:1.0: USB hub found
    [    8.968513] hub 1-0:1.0: 1 port detected
    [    8.980830] xhci-hcd xhci-hcd.11.auto: xHCI Host Controller
    [    8.986767] xhci-hcd xhci-hcd.11.auto: new USB bus registered, assigned bus number 2
    [    8.994833] xhci-hcd xhci-hcd.11.auto: USB3 root hub has no ports
    [    9.000999] xhci-hcd xhci-hcd.11.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    9.010647] xhci-hcd xhci-hcd.11.auto: irq 540, io mem 0x31100000
    [    9.017971] hub 2-0:1.0: USB hub found
    [    9.022014] hub 2-0:1.0: 1 port detected
    [    9.022934] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    9.075713] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    9.098993] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    9.106580] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    9.107056] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    9.154041] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    9.262565] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
    [    9.273764] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland…ositor, as a system service...
    [    9.799476] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [  OK  ] Finished Synchronize System and HW clocks.
    [    9.830688] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    9.971081] audit: type=1334 audit(1651606206.172:6): prog-id=9 op=LOAD
    [    9.978516] audit: type=1334 audit(1651606206.180:7): prog-id=10 op=LOAD
             Starting User Database Manager...
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [   10.385000] audit: type=1006 audit(1651606206.588:8): pid=620 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   10.397879] audit: type=1300 audit(1651606206.588:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffca60d828 a2=4 a3=ffff990ff020 items=0 ppid=1 pid=620 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   10.424567] audit: type=1327 audit(1651606206.588:8): proctitle="(systemd)"
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/BOOT-mmcblk1p1...
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User weston.
    [   11.149148] audit: type=1006 audit(1651606207.352:9): pid=597 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   11.161814] audit: type=1300 audit(1651606207.352:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffca60d828 a2=4 a3=ffff990ff020 items=0 ppid=1 pid=597 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [   11.188795] audit: type=1327 audit(1651606207.352:9): proctitle="(weston)"
    [  OK  ] Mounted /run/media/BOOT-mmcblk1p1.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Started Weston, a Wayland …mpositor, as a system service.
             Starting EdgeAI OOB demos...
             Stopping Weston, a Wayland…ositor, as a system service...
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libeigen-dev
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5sensors-plugins
            libqt5sensors-qmlplugins
            libqt5sensors5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libqt5webchannel-plugins
            libqt5webchannel-qmlplugins
            libqt5webchannel5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquick3d-plugins
            qtquick3d-qmlplugins
            qtquick3d
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Stopped Weston, a Wayland …mpositor, as a system service.
    [  OK  ] Started EdgeAI OOB demos.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62axx-evm -
    
    Arago 2023.10 am62axx-evm -
    
    am62axx-evm login: root
    [   24.813265] audit: type=1006 audit(1651606221.016:10): pid=1241 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   24.825846] audit: type=1300 audit(1651606221.016:10): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffca60d828 a2=1 a3=ffff990ff020 items=0 ppid=1 pid=1241 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   24.852409] audit: type=1327 audit(1651606221.016:10): proctitle="(systemd)"
    [   24.859829] audit: type=1334 audit(1651606221.044:11): prog-id=11 op=LOAD
    [   24.866716] audit: type=1300 audit(1651606221.044:11): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffeff47d90 a2=78 a3=0 items=0 ppid=1 pid=1241 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   24.892288] audit: type=1327 audit(1651606221.044:11): proctitle="(systemd)"
    [   24.899490] audit: type=1334 audit(1651606221.056:12): prog-id=11 op=UNLOAD
    [   24.906542] audit: type=1334 audit(1651606221.056:13): prog-id=12 op=LOAD
    [   24.913432] audit: type=1300 audit(1651606221.056:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffeff47e30 a2=78 a3=0 items=0 ppid=1 pid=1241 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   24.938941] audit: type=1327 audit(1651606221.056:13): proctitle="(systemd)"
    root@am62axx-evm:/opt/edgeai-gst-apps#
    

  • Hi Satyajeet,

    In the fusion dtso file, the i2c alias pool is used to get the data for the camera sensor. The i2c-alias in the camera dtso file gets assigned to the serializer.
    In the overlays that you have shared, both overlap. Try something like what is used in the SDK, i.e. use separate values. Please let me know if that helps.

    From the SDK:

    IMX390 Overlay:

    Fusion Overlay:

    The corresponding logs with the default overlays is:

    Best Regards,
    Jay

  • Hi Jay,

    Now the both the address is different, but still board is not detecting the camera.

    i am getting the below logs from imx390 driver

    Regards,

    Satyajeet Singh

  • Hi Satyajeet,

    Can you confirm which model of IMX390 you are using and that the hardware is working correctly? In the meantime, I will try to see if this issue can come from somewhere in the driver.

    Best Regards,
    Jay

  • Hi Jay,

    Camera module is verified and working properly. We have tested the camera with other board.

    Sensor revision ID is 3815. when we are reading the revision ID from external i2c reader, we are getting the proper ID (3815).

    But SDK driver is not able to read the revision ID.

    Regards,

    Satyajeet

  • Hi Satyajeet,

    Thanks for confirming. Can you also send the output of  i2cdetect -r -y 0x4.

    Best Regards,
    Jay Goyal

  • Hi Jay,

    Output of i2cdetect -r -y 0x4: -


    root@am62axx-evm:/opt/edgeai-gst-apps# i2cdetect -r -y 0x4
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    [ 1164.532017] ds90ub960 0-0030: client 0x08 not mapped!
    00: [ 1164.541620] ds90ub960 0-0030: client 0x09 not mapped!
    -- [ 1164.549021] ds90ub960 0-0030: client 0x0a not mapped!
    -- [ 1164.554373] ds90ub960 0-0030: client 0x0b not mapped!
    -- [ 1164.559605] ds90ub960 0-0030: client 0x0c not mapped!
    -- [ 1164.564933] ds90ub960 0-0030: client 0x0d not mapped!
    -- [ 1164.570197] ds90ub960 0-0030: client 0x0e not mapped!
    -- [ 1164.575516] ds90ub960 0-0030: client 0x0f not mapped!
    -- [ 1164.580816] ds90ub960 0-0030: client 0x10 not mapped!
    --
    10: [ 1164.586108] ds90ub960 0-0030: client 0x11 not mapped!
    -- [ 1164.591901] ds90ub960 0-0030: client 0x12 not mapped!
    -- [ 1164.597217] ds90ub960 0-0030: client 0x13 not mapped!
    -- [ 1164.602487] ds90ub960 0-0030: client 0x14 not mapped!
    -- [ 1164.607800] ds90ub960 0-0030: client 0x15 not mapped!
    -- [ 1164.613077] ds90ub960 0-0030: client 0x16 not mapped!
    -- [ 1164.618389] ds90ub960 0-0030: client 0x17 not mapped!
    -- [ 1164.623713] ds90ub960 0-0030: client 0x18 not mapped!
    -- [ 1164.629007] ds90ub960 0-0030: client 0x19 not mapped!
    -- -- [ 1164.634591] ds90ub960 0-0030: client 0x1b not mapped!
    1a [ 1164.639911] ds90ub960 0-0030: client 0x1c not mapped!
    -- [ 1164.645167] ds90ub960 0-0030: client 0x1d not mapped!
    -- [ 1164.650474] ds90ub960 0-0030: client 0x1e not mapped!
    -- [ 1164.655753] ds90ub960 0-0030: client 0x1f not mapped!
    -- [ 1164.661072] ds90ub960 0-0030: client 0x20 not mapped!
    --
    20: [ 1164.666330] ds90ub960 0-0030: client 0x21 not mapped!
    -- [ 1164.672189] ds90ub960 0-0030: client 0x22 not mapped!
    -- [ 1164.677519] ds90ub960 0-0030: client 0x23 not mapped!
    -- [ 1164.682735] ds90ub960 0-0030: client 0x24 not mapped!
    -- [ 1164.688061] ds90ub960 0-0030: client 0x25 not mapped!
    -- [ 1164.693329] ds90ub960 0-0030: client 0x26 not mapped!
    -- [ 1164.698637] ds90ub960 0-0030: client 0x27 not mapped!
    -- [ 1164.703934] ds90ub960 0-0030: client 0x28 not mapped!
    -- [ 1164.709241] ds90ub960 0-0030: client 0x29 not mapped!
    -- [ 1164.714509] ds90ub960 0-0030: client 0x2a not mapped!
    -- [ 1164.719825] ds90ub960 0-0030: client 0x2b not mapped!
    -- [ 1164.725099] ds90ub960 0-0030: client 0x2c not mapped!
    -- [ 1164.730417] ds90ub960 0-0030: client 0x2d not mapped!
    -- [ 1164.735689] ds90ub960 0-0030: client 0x2e not mapped!
    -- [ 1164.741011] ds90ub960 0-0030: client 0x2f not mapped!
    -- [ 1164.746295] ds90ub960 0-0030: client 0x30 not mapped!
    --
    30: [ 1164.751605] ds90ub960 0-0030: client 0x31 not mapped!
    -- [ 1164.757392] ds90ub960 0-0030: client 0x32 not mapped!
    -- [ 1164.762702] ds90ub960 0-0030: client 0x33 not mapped!
    -- [ 1164.767979] ds90ub960 0-0030: client 0x34 not mapped!
    -- [ 1164.773296] ds90ub960 0-0030: client 0x35 not mapped!
    -- [ 1164.778583] ds90ub960 0-0030: client 0x36 not mapped!
    -- [ 1164.783900] ds90ub960 0-0030: client 0x37 not mapped!
    -- [ 1164.789171] ds90ub960 0-0030: client 0x38 not mapped!
    -- [ 1164.794479] ds90ub960 0-0030: client 0x39 not mapped!
    -- [ 1164.799749] ds90ub960 0-0030: client 0x3a not mapped!
    -- [ 1164.805063] ds90ub960 0-0030: client 0x3b not mapped!
    -- [ 1164.810348] ds90ub960 0-0030: client 0x3c not mapped!
    -- [ 1164.815682] ds90ub960 0-0030: client 0x3d not mapped!
    -- [ 1164.820935] ds90ub960 0-0030: client 0x3e not mapped!
    -- [ 1164.826247] ds90ub960 0-0030: client 0x3f not mapped!
    -- [ 1164.831537] ds90ub960 0-0030: client 0x40 not mapped!
    --
    40: [ 1164.836846] ds90ub960 0-0030: client 0x41 not mapped!
    -- [ 1164.842632] ds90ub960 0-0030: client 0x42 not mapped!
    -- [ 1164.847947] ds90ub960 0-0030: client 0x43 not mapped!
    -- [ 1164.853222] ds90ub960 0-0030: client 0x44 not mapped!
    -- [ 1164.858532] ds90ub960 0-0030: client 0x45 not mapped!
    -- [ 1164.863812] ds90ub960 0-0030: client 0x46 not mapped!
    -- [ 1164.869126] ds90ub960 0-0030: client 0x47 not mapped!
    -- [ 1164.874400] ds90ub960 0-0030: client 0x48 not mapped!
    -- [ 1164.879712] ds90ub960 0-0030: client 0x49 not mapped!
    -- [ 1164.884989] ds90ub960 0-0030: client 0x4a not mapped!
    -- [ 1164.890304] ds90ub960 0-0030: client 0x4b not mapped!
    -- [ 1164.895587] ds90ub960 0-0030: client 0x4c not mapped!
    -- [ 1164.900908] ds90ub960 0-0030: client 0x4d not mapped!
    -- [ 1164.906172] ds90ub960 0-0030: client 0x4e not mapped!
    -- [ 1164.911482] ds90ub960 0-0030: client 0x4f not mapped!
    -- [ 1164.916768] ds90ub960 0-0030: client 0x50 not mapped!
    --
    50: [ 1164.922069] ds90ub960 0-0030: client 0x51 not mapped!
    -- [ 1164.927866] ds90ub960 0-0030: client 0x52 not mapped!
    -- [ 1164.933184] ds90ub960 0-0030: client 0x53 not mapped!
    -- [ 1164.938456] ds90ub960 0-0030: client 0x54 not mapped!
    -- [ 1164.943774] ds90ub960 0-0030: client 0x55 not mapped!
    -- [ 1164.949047] ds90ub960 0-0030: client 0x56 not mapped!
    -- [ 1164.954371] ds90ub960 0-0030: client 0x57 not mapped!
    -- [ 1164.959642] ds90ub960 0-0030: client 0x58 not mapped!
    -- [ 1164.964983] ds90ub960 0-0030: client 0x59 not mapped!
    -- [ 1164.970230] ds90ub960 0-0030: client 0x5a not mapped!
    -- [ 1164.975570] ds90ub960 0-0030: client 0x5b not mapped!
    -- [ 1164.980826] ds90ub960 0-0030: client 0x5c not mapped!
    -- [ 1164.986143] ds90ub960 0-0030: client 0x5d not mapped!
    -- [ 1164.991414] ds90ub960 0-0030: client 0x5e not mapped!
    -- [ 1164.996734] ds90ub960 0-0030: client 0x5f not mapped!
    -- [ 1165.002017] ds90ub960 0-0030: client 0x60 not mapped!
    --
    60: [ 1165.007332] ds90ub960 0-0030: client 0x61 not mapped!
    -- [ 1165.013132] ds90ub960 0-0030: client 0x62 not mapped!
    -- [ 1165.018439] ds90ub960 0-0030: client 0x63 not mapped!
    -- [ 1165.023710] ds90ub960 0-0030: client 0x64 not mapped!
    -- [ 1165.029065] ds90ub960 0-0030: client 0x65 not mapped!
    -- [ 1165.034313] ds90ub960 0-0030: client 0x66 not mapped!
    -- [ 1165.039644] ds90ub960 0-0030: client 0x67 not mapped!
    -- [ 1165.044891] ds90ub960 0-0030: client 0x68 not mapped!
    -- [ 1165.050207] ds90ub960 0-0030: client 0x69 not mapped!
    -- [ 1165.055484] ds90ub960 0-0030: client 0x6a not mapped!
    -- [ 1165.060800] ds90ub960 0-0030: client 0x6b not mapped!
    -- [ 1165.066070] ds90ub960 0-0030: client 0x6c not mapped!
    -- [ 1165.071388] ds90ub960 0-0030: client 0x6d not mapped!
    -- [ 1165.076664] ds90ub960 0-0030: client 0x6e not mapped!
    -- [ 1165.081970] ds90ub960 0-0030: client 0x6f not mapped!
    -- [ 1165.087263] ds90ub960 0-0030: client 0x70 not mapped!
    --
    70: [ 1165.092567] ds90ub960 0-0030: client 0x71 not mapped!
    -- [ 1165.098358] ds90ub960 0-0030: client 0x72 not mapped!
    -- [ 1165.103671] ds90ub960 0-0030: client 0x73 not mapped!
    -- [ 1165.108948] ds90ub960 0-0030: client 0x74 not mapped!
    -- [ 1165.114256] ds90ub960 0-0030: client 0x75 not mapped!
    -- [ 1165.119537] ds90ub960 0-0030: client 0x76 not mapped!
    -- [ 1165.124853] ds90ub960 0-0030: client 0x77 not mapped!
    -- --
    root@am62axx-evm:/opt/edgeai-gst-apps#

    Regards,

    Satyajeet 

  • Hey Satyajeet,

    It looks like the device is being detected at the correct i2c address. If possible, can you verify the setup on an EVM with default overlays. Meanwhile, I will discuss with my team and get back to you asap about where a custom board might cause issues with our driver.

    Best Regards,
    Jay

  • Hi Satyajeet,

    Register dump of Deserializer(UB960)
    in above screenshot we can see that serializer alias address and remote sensor address are same 

    I noticed that there are a lot of parity errors and the register 0x5d in the deserializer is not initialized correctly. For reference, here is the register dump from my deserializer:

         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 7a 00 1e 40 d0 01 00 fe 1c 10 7a 7a 01 b9 00 ff    z.?@??.???zz??..
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00    ..............?.
    20: f0 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ??..............
    30: 00 00 01 40 00 00 00 00 00 00 00 00 00 00 00 00    ..?@............
    40: 00 a9 71 01 00 00 20 00 00 00 00 12 01 03 04 64    .?q?.. ....????d
    50: 00 00 00 03 00 00 00 00 5e 00 00 30 88 34 00 00    ...?....^..0?4..
    60: 00 00 00 00 00 94 00 00 00 00 00 00 00 7c 88 88    .....?.......|??
    70: 2b 2c e4 00 00 00 00 c5 00 01 00 00 20 00 00 00    +,?....?.?.. ...
    80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    a0: 00 00 00 00 00 1c 00 00 00 00 00 00 00 00 00 00    .....?..........
    b0: 04 09 08 08 25 00 18 00 fc 33 83 74 80 00 00 00    ????%.?.?3?t?...
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 43 94 00 60 e0 00 02 07 7f 00 00 00 00 00 00    .C?.`?.???......
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 36 30 00 00 00 00 00 00 00 00 00 00    _UB960..........

    1. Can you send the hex dump again if it has changed? The 5d register corresponds to the address of the camera. The correct value for that should be 0x34 which when parsed would correspond to 0x1a.
    2. If possible, please share the part of hardware schematic for i2c connections.
    3. The gpio fields in the dtso are commented out. Please see if uncommenting those helps.

    Best Regards,
    Jay

  • Hi Jay,

    I have changed and now the alias addresses are different.

    register dump of deserializer:-

    Regards,

    Satyajeet

  • Hey Satyajeet,

    I have shared your query with my team. They are currently out of office. Please expect a slight delay from our side. We will get back to you asap.

    Best Regards,
    Jay

  • Hi Jay,

    We are able to detect the camera now. 

    But when i am trying to stream the camera on HDMI display using below command: -

    gst-launch-1.0 v4l2src device=/dev/video-imx390-cam0 io-mode=dmabuf-import ! \

    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! \
    tiovxisp sink_0::device=/dev/v4l-imx390-subdev0 sensor-name="IMX390" \
    dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin \
    sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin format-msb=7 ! \
    video/x-raw, format=NV12, width=1920, height=1080, framerate=5/1 ! \
    kmssink driver-name=tidss sync=false

    i am not able to capture the frames.

    after start streaming it stuck, and no frame are showing on display.

    output of  v4l2-ctl -d /dev/video-imx390-cam0 --list-formats-ext:-

    Regards,

    Satyajeet 

  • Hi Satyajeet,

    The default setup for the camera sensor is rggb12 output at 1936x1100 resolution. While the camera supports multiple modes, the subdevices are setup with the routes corresponding to this. Due to this reason, the pipeline does not work. To change the default setup, you can have a look at the following file: /opt/edgeai-gst-apps/scripts/setup_cameras.sh line 37 (IMX390_CAM_FMT variable).

    Another thing that you can do to generate gstreamer pipelines is use the optiflow scripts. The file: /opt/edgeai-gst-apps/configs/imx390_cam_example.yaml is the default config file. For full documenation, you can have a look at this file: /opt/edgeai-gst-apps/configs/app_config_template.yaml. While these scripts are primarily for analytics workflows, setting the model as null will prevent running any analytics. Here is the updated config file:

    title: "IMX390 Camera"
    log_level: 2
    inputs:
        # Needs fusion board and imx390 cameras conneted over FPD links
        # Overlay for fusion board and cameras should be applied in /run/media/BOOT-mmcblk1p1/uEnv.txt (Refer to Documentation)
        input0:
            source: /dev/video-imx390-cam0
            subdev-id: /dev/v4l-imx390-subdev0
            width: 1936
            height: 1100
            format: rggb12
            framerate: 30
            sen-id: imx390
            ldc: True
    models:
        model0:
            model_path: /opt/model_zoo/TVM-CL-3090-mobileNetV2-tv
            topN: 5
        model1:
            model_path: /opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416
            viz_threshold: 0.6
        model2:
            model_path: /opt/model_zoo/ONR-SS-8610-deeplabv3lite-mobv2-ade20k32-512x512
            alpha: 0.4
    outputs:
        output0:
            sink: kmssink
            width: 1920
            height: 1080
            #overlay-perf-type: graph
        output1:
            sink: /opt/edgeai-test-data/output/output_video.mkv
            width: 1920
            height: 1080
        output2:
            sink: /opt/edgeai-test-data/output/output_image_%04d.jpg
            width: 1920
            height: 1080
        output3:
            sink: remote
            width: 1920
            height: 1080
            port: 8081
            host: 127.0.0.1
            encoding: jpeg
            overlay-perf-type: graph
    
    flows:
        flow0: [input0,null,output0]
    

    For running it, you can run the following command from /opt/edgeai-gst-apps directory(The default login directory for the AM62A):

    ./optiflow/optiflow.py configs/imx390_cam_example.yaml

    The resulting gstreamer pipeline that is run is as follows:

    v4l2src device=/dev/video-imx390-cam0 io-mode=5 ! queue leaky=2 ! video/x-bayer, width=1936, height=1100, format=rggb12 ! tiovxisp sensor-name=SENSOR_SONY_IMX390_UB953_D3 dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin format-msb=11 sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin sink_0::device=/dev/v4l-imx390-subdev0 ! video/x-raw, format=NV12 !  tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 ! video/x-raw,format=NV12,width=1920,height=1080 ! \
    tiovxmultiscaler src_1::pool-size=4 name=split_01 target=0 \
    \
    \
    split_01. ! queue ! video/x-raw, width=1920, height=1080 ! \
    \
    kmssink driver-name=tidss sync=false force-modesetting=true

    Also, can you please clarify what the issue with the IMX sensor not being detected was?

    Best Regards,
    Jay

  • Hi Satyajeet,

    Going through the datasheet, the sensor outputs 1936x1096 width frame which is cropped to 1920x1080 during ldc. So, the output from the LDC gstreamer node is actually 1920x1080 resolution. So, you should be able to remove the multiscaler node from the pipeline. The resulting pipeline would be:

    v4l2src device=/dev/video-imx390-cam0 io-mode=5 ! queue leaky=2 ! video/x-bayer, width=1936, height=1100, format=rggb12 ! \
    tiovxisp sensor-name=SENSOR_SONY_IMX390_UB953_D3 dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin format-msb=11 \
    sink_0::dcc-2a-file=/opt/imaging/imx390/linear/dcc_2a.bin sink_0::device=/dev/v4l-imx390-subdev0 ! video/x-raw, format=NV12 ! \
    tiovxldc dcc-file=/opt/imaging/imx390/linear/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 ! video/x-raw,format=NV12,width=1920,height=1080 ! \
    kmssink driver-name=tidss sync=false force-modesetting=true
    

    I don't see a mention of RAW8 format in the datasheet, so I am not sure if this is supported.

    Best Regards,
    Jay

  • Hi Jay,

    Also, can you please clarify what the issue with the IMX sensor not being detected was?

    In camera module serializer GPIO is used for resetting the image sensor (IMX390). I have mapped the GPIO as per our camera module.

    setting the model as null will prevent running any analytic

    After setting null I am able to stream the video on display.

    Thanks & Regards,

    Satyajeet Singh