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.

TMDXIDK57X-LCD: OV7670 camera module

Part Number: TMDXIDK57X-LCD

Hello everyone,

I have an am5728 IDK and its camera module is not available, my target is running linux rt 4.9, I am trying to make configurations to use ov7670 via Video Input Port (VIP) connected to j9 connector. this is my camera module:

these are pin connections :

camera pin   pin name  j9 pin number
SIOC IND_I2C_SCL 22
SIOD IND_I2C_SDA 24
VSYNC CAM1_VSYNC 2
HREF CAM1_HSYNC 4
PCLK CAM1_PCLK 9
XCLK X1 OUT pin23
D0...D7 CAM1_DATA0 ... CAM1_DATA7
PWON GND
RESET 3V3

now I can detect the camera using i2cdetect command, but it is not shown in /dev/ directory (as far as I know it should appear as video1, so that I can use it with gstreamer). 

this was the original dts file I found in my PSDK on my Host (named am57xx-evm-common-cam-mt9t111.dtsi):

/*
 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

&i2c5 {
	mt9t11x@3C {
		compatible = "aptina,mt9t111";
		reg = <0x3C>;

		reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
		oscen-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
		powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
		bufen-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
		camen-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;

		port {
			cam: endpoint {
				remote-endpoint = <&vin3a>;
				hsync-active = <1>;
				vsync-active = <0>;
				pclk-sample = <0>;
				input-clock-freq = <32000000>;
				pixel-clock-freq = <96000000>;
			};
		};
	};
};

&vip2 {
	status = "okay";
};

&vin3a {
	status = "okay";
	endpoint {
		slave-mode;
		remote-endpoint = <&cam>;
	};
};

I changed it to:

/*
 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

&i2c5 {
	mt9t11x@3C {
		compatible = "aptina,mt9t111";
		reg = <0x21>;

		reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
		oscen-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
		powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
		bufen-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
		camen-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;

		port {
			cam: endpoint {
				remote-endpoint = <&vin4b>;
				hsync-active = <1>;
				vsync-active = <0>;
				pclk-sample = <0>;
				input-clock-freq = <32000000>;
				pixel-clock-freq = <96000000>;
			};
		};
	};
};

&vip2 {
	status = "okay";
};

&vin4b {
	status = "okay";
	endpoint {
		slave-mode;
		remote-endpoint = <&cam>;
	};
};

I compiled the dts using dtc and replaced the output dtb on my target with its equivalent, but still, nothing appears in /dev/. I also tried some other configuration but none of them were successful.

I was wondering if someone could explain the changes I have to make in the device tree (or maybe drivers) so that my target IDK can detect my camera module.

B.R,

Alex.

  • P.S: I also realized that the ov7670 driver was available in PSDK ( ./drivers/media/i2c/ov7670.c and ./include/media/i2c/ov7670.h ), but the module was not available in target, so I cross-compiled ov7670 driver and I added *.ko file in target successfully,

    root@am57xx-evm:~# insmod ov7670.ko
    root@am57xx-evm:~# lsmod | grep ov
    ov7670                  9556  0
    ov2659                  9490  0
    root@am57xx-evm:~# 

    But still I cant correct the device tree.

  • Am I alone on this one?

  • Alex,

    Appreciate your patience.  If you are getting a response on the I2C device, but no video device node is created, it sounds like the sensor probe function is failing.  Are you seeing any error messages in your kernel logs (dmesg output)?

    Regards,
    Mike

  • Hi Alex,

    You need to fix your dts for the new sensor. I recommend you to read below documentation, especially section on V4L2 endpoint device tree binding for fixing the dts entry per your camera board, You can also refer to the kernel dts configuration for

    the Ov2659 camera board supported on AM57x IDK EVM. 

  • Hi Experts,

    Thank you for your responses. I had some progress, but still, it's not working.

    I moved to pskd 6 (linux rt 4.19), I activated ov7670 driver in menuconfig and built the kernel, I also connected PWDN pin to J9_pin18. This is the last device tree I used:

    /*      ov2659: ov2659@30 {
                    compatible = "ovti,ov2659";
                    reg = <0x30>;
    
                    clocks = <&src_clk_x1>;
                    clock-names = "xvclk";
    
                    pwrdn-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;                                                                                                                                                                     
                    port {
                            ov2659_1: endpoint {
                                    hsync-active = <1>;
                                    vsync-active = <1>;
                                    pclk-sample = <1>;
                                    link-frequencies = /bits/ 64 <70000000>;
                            };
                    };
            };*/
            ov7670: ov7670@21 {
                    compatible = "ovti,ov7670";
                    reg = <0x21>;
    
                    clocks = <&src_clk_x1>;
                    clock-names = "xclk";  // xvclk
                    assigned-clocks = <&src_clk_x1>;
                    assigned-clock-rates = <24000000>;
                    powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
            //ov7670,pclk-hb-disable;
                    port {
                            ov7670_0: endpoint {
                                    hsync-active = <1>; // 0
                                    vsync-active = <1>; // 0
                                    pclk-sample = <1>;
                            };
                    };
            };
    
    /*&ov2659_1 {
            remote-endpoint = <&vin4b_ep>;
    };
    
    &vin4b {
            vin4b_ep: endpoint@3 {
                    slave-mode;
                    remote-endpoint = <&ov2659_1>;
            };
    };*/
    &ov7670_0 {
            remote-endpoint = <&vin4b_ep>;
    };
    
    &vin4b {
            vin4b_ep: endpoint@3 {
                    slave-mode;
                    remote-endpoint = <&ov7670_0>;
            };
    };
    
    &vip2 {
            status = "okay";
    };

    now, video1 appears in /dev/video1, but I can't capture anything using GStreamer:

    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=200 !   ducatih264enc ! h264parse ! qtmux ! filesink location=res.mp4
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
    Additional debug info:
    ../../../../gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming stopped, reason not-negotiated (-4)
    Execution ended after 0:00:00.003628768
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#

    this is ov7670 status in dmesg:

    root@am57xx-evm:~# dmesg | grep ov7
    [   11.636659] ov7670 0-0021: GPIO lookup for consumer powerdown
    [   11.636671] ov7670 0-0021: using device tree for GPIO lookup
    [   11.636710] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]' - status (0)
    [   11.636749] ov7670 0-0021: GPIO lookup for consumer reset
    [   11.636758] ov7670 0-0021: using device tree for GPIO lookup
    [   11.636780] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]'
    [   11.636798] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48070000/ov7670@21[0]'
    [   11.636808] ov7670 0-0021: using lookup tables for GPIO lookup
    [   11.636817] ov7670 0-0021: No GPIO consumer reset found
    [   11.685916] ov7670 0-0021: chip found @ 0x42 (OMAP I2C adapter)
    [   14.272079] vin4b: Port B: Using subdev ov7670 0-0021 for capture
    root@am57xx-evm:~# 

    it says something about reset pin, which is optional I think. and this is full dmesg:

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.38-rt19-g1224cd679e (deb@debx64) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #2 SMP PREEMPT RT Wed Oct 30 14:29:25 +0330 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM5728 IDK
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to (ptrval) for dram barrier
    [    0.000000] On node 0 totalpages: 474368
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 326912 pages, LIFO batch:63
    [    0.000000] DRA752 ES2.0
    [    0.000000] random: get_random_bytes called from start_kernel+0xb0/0x480 with crng_init=0
    [    0.000000] percpu: Embedded 15 pages/cpu s32288 r8192 d20960 u61440
    [    0.000000] pcpu-alloc: s32288 r8192 d20960 u61440 alloc=15*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1675260K/1897472K available (8192K kernel code, 329K rwdata, 2644K rodata, 2048K init, 275K bss, 33796K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 330 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 276 kB)
    [    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 priority boosting: priority 1 delay 500 ms.
    [    0.000000] 	No expedited grace period (rcu_normal_after_boot).
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000011] Switching to timer-based delay loop, resolution 162ns
    [    0.000279] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000282] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000740] Console: colour dummy device 80x30
    [    0.000860] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000862] This ensures that you still see kernel messages. Please
    [    0.000864] update your kernel commandline.
    [    0.000884] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000893] pid_max: default: 32768 minimum: 301
    [    0.001027] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001036] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001708] CPU: Testing write buffer coherency: ok
    [    0.001737] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.001983] /cpus/cpu@0 missing clock-frequency property
    [    0.002028] /cpus/cpu@1 missing clock-frequency property
    [    0.002042] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.059973] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.099972] rcu: Hierarchical SRCU implementation.
    [    0.160501] EFI services will not be available.
    [    0.180116] smp: Bringing up secondary CPUs ...
    [    0.320529] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.320533] CPU1: Spectre v2: using ICIALLU workaround
    [    0.320663] smp: Brought up 1 node, 2 CPUs
    [    0.320682] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.320692] CPU: All CPU(s) started in HYP mode.
    [    0.320701] CPU: Virtualization extensions available.
    [    0.321492] devtmpfs: initialized
    [    0.360536] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.360888] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.360910] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.364141] pinctrl core: initialized pinctrl subsystem
    [    0.365006] DMI not present or invalid.
    [    0.365492] NET: Registered protocol family 16
    [    0.368228] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.369150] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.580460] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [    0.580580] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [    0.580886] OMAP GPIO hardware version 0.1
    [    0.581838] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [    0.581949] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [    0.582946] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [    0.583063] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [    0.584040] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [    0.584157] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [    0.585153] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4)
    [    0.585262] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio-128-159)
    [    0.586268] gpio gpiochip5: (gpio-160-191): added GPIO chardev (254:5)
    [    0.586377] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio-160-191)
    [    0.587362] gpio gpiochip6: (gpio-192-223): added GPIO chardev (254:6)
    [    0.587472] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio-192-223)
    [    0.588479] gpio gpiochip7: (gpio-224-255): added GPIO chardev (254:7)
    [    0.588597] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio-224-255)
    [    0.613682] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.613697] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.614282] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.614295] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.615989] OMAP DMA hardware revision 0.0
    [    0.634141] edma 43300000.edma: memcpy is disabled
    [    0.640290] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.653407] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.654248] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vmain[0]'
    [    0.654620] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-v3_3d[0]'
    [    0.655012] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vtt[0]'
    [    0.659607] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.660059] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.660635] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.661319] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.662140] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.662621] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.663174] iommu: Adding device 58820000.ipu to group 1
    [    0.663390] iommu: Adding device 55020000.ipu to group 2
    [    0.663763] iommu: Adding device 40800000.dsp to group 0
    [    0.664375] iommu: Adding device 41000000.dsp to group 3
    [    0.667077] palmas 0-0058: Irq flag is 0x00000004
    [    0.693505] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.695397] SMPS12: supplied by regulator-dummy
    [    0.697404] SMPS3: supplied by VMAIN
    [    0.699321] SMPS45: supplied by regulator-dummy
    [    0.701506] SMPS6: supplied by VMAIN
    [    0.703507] SMPS7: supplied by VMAIN
    [    0.705675] SMPS8: supplied by VMAIN
    [    0.707252] SMPS9: supplied by VMAIN
    [    0.708480] LDO1: supplied by VMAIN
    [    0.708918] random: fast init done
    [    0.711894] LDO2: supplied by VMAIN
    [    0.721744] LDO3: supplied by VMAIN
    [    0.731760] LDO4: supplied by VMAIN
    [    0.741802] LDO5: supplied by regulator-dummy
    [    0.742768] LDO6: supplied by regulator-dummy
    [    0.743740] LDO7: supplied by regulator-dummy
    [    0.744716] LDO8: supplied by regulator-dummy
    [    0.745649] LDO9: supplied by VMAIN
    [    0.752135] LDOLN: supplied by VMAIN
    [    0.761820] LDOUSB: supplied by VMAIN
    [    0.774831] gpiochip_find_base: found new base at 504
    [    0.775041] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.775156] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.775872] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.776173] media: Linux media interface: v0.10
    [    0.776236] videodev: Linux video capture interface: v2.00
    [    0.776365] pps_core: LinuxPPS API ver. 1 registered
    [    0.776375] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.776402] PTP clock support registered
    [    0.776443] EDAC MC: Ver: 3.0.0
    [    0.781774] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.782156] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.782740] Advanced Linux Sound Architecture Driver Initialized.
    [    0.783978] clocksource: Switched to clocksource arch_sys_counter
    [    0.798011] NET: Registered protocol family 2
    [    0.798957] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes)
    [    0.798999] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.799087] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
    [    0.799355] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.799499] UDP hash table entries: 512 (order: 3, 32768 bytes)
    [    0.799556] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    [    0.799843] NET: Registered protocol family 1
    [    0.820495] RPC: Registered named UNIX socket transport module.
    [    0.820507] RPC: Registered udp transport module.
    [    0.820517] RPC: Registered tcp transport module.
    [    0.820526] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.820540] PCI: CLS 0 bytes, default 64
    [    0.822066] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.822398] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.824334] Initialise system trusted keyrings
    [    0.824589] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.834679] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.835492] NFS: Registering the id_resolver key type
    [    0.835534] Key type id_resolver registered
    [    0.835545] Key type id_legacy registered
    [    0.835619] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.836082] pstore: using deflate compression
    [    0.837777] Key type asymmetric registered
    [    0.837792] Asymmetric key parser 'x509' registered
    [    0.837959] bounce: pool size: 64 pages
    [    0.838000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.838014] io scheduler noop registered
    [    0.838026] io scheduler deadline registered
    [    0.838296] io scheduler cfq registered (default)
    [    0.838311] io scheduler mq-deadline registered
    [    0.838323] io scheduler kyber registered
    [    0.845976] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [    0.850554] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.850810] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.850820] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.850856] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.850901] gpio gpiochip2: Persistence not supported for GPIO 23
    [    0.850920] dra7-pcie 51000000.pcie: WA for Errata i870 not applied
    [    0.851090] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.851132] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.851161] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.844186] dra7-pcie 51000000.pcie: Phy link never came up
    [    1.844416] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.844436] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.844450] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.844463] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.844509] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.844544] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
    [    1.844615] pci 0000:00:00.0: supports D1
    [    1.844624] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.850504] PCI: bus0: Fast back to back transfers disabled
    [    1.856135] PCI: bus1: Fast back to back transfers enabled
    [    1.856190] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [    1.856213] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    1.856880] pcieport 0000:00:00.0: Signaling PME with IRQ 172
    [    1.857198] pcieport 0000:00:00.0: AER enabled with IRQ 172
    [    1.864520] V3_3D: supplied by smps9
    [    1.864827] vtt_fixed: supplied by V3_3D
    [    1.944355] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    1.950454] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
    [    3.042695] console [ttyS2] enabled
    [    3.049399] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    3.056792] omapdss_dss 58000000.dss: Linked as a consumer to regulator.20
    [    3.063919] DSS: OMAP DSS rev 6.1
    [    3.071462] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.13
    [    3.079086] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
    [    3.086876] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.086885] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.086904] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/encoder@0[0]'
    [    3.086920] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/encoder@0[0]'
    [    3.086929] tpd12s015 encoder@0: using lookup tables for GPIO lookup
    [    3.086939] tpd12s015 encoder@0: No GPIO consumer (null) found
    [    3.086949] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.086957] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.086971] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/encoder@0[1]'
    [    3.086985] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/encoder@0[1]'
    [    3.086994] tpd12s015 encoder@0: using lookup tables for GPIO lookup
    [    3.087003] tpd12s015 encoder@0: No GPIO consumer (null) found
    [    3.087012] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.087020] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.087048] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder@0[2]' - status (0)
    [    3.087094] gpio gpiochip6: Persistence not supported for GPIO 12
    [    3.088382] connector-hdmi connector@0: GPIO lookup for consumer hpd
    [    3.088391] connector-hdmi connector@0: using device tree for GPIO lookup
    [    3.088408] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector@0[0]'
    [    3.088423] of_get_named_gpiod_flags: can't parse 'hpd-gpio' property of node '/connector@0[0]'
    [    3.088433] connector-hdmi connector@0: using lookup tables for GPIO lookup
    [    3.088442] connector-hdmi connector@0: No GPIO consumer hpd found
    [    3.108286] brd: module loaded
    [    3.124714] loop: module loaded
    [    3.136014] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [    3.141073] 7 fixed-partitions partitions found on MTD device spi0.0
    [    3.147460] Creating 7 MTD partitions on "spi0.0":
    [    3.152277] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    3.158740] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    3.165420] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    3.172662] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    3.179652] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    3.187349] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    3.194058] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    3.202121] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    3.202131] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    3.202140] mdio_bus fixed-0: No GPIO consumer reset found
    [    3.202170] libphy: Fixed MDIO Bus: probed
    [    3.212120] mdio_bus 48485000.mdio: GPIO lookup for consumer reset
    [    3.212130] mdio_bus 48485000.mdio: using device tree for GPIO lookup
    [    3.212150] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
    [    3.212167] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
    [    3.212177] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup
    [    3.212186] mdio_bus 48485000.mdio: No GPIO consumer reset found
    [    3.264036] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    3.271734] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [    3.282970] libphy: 48485000.mdio: probed
    [    3.287006] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    3.296710] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.307724] cpsw 48484000.ethernet: Detected MACID = c8:fd:19:25:3c:96
    [    3.314369] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    3.320756] cpsw 48484000.ethernet: ALE Table size 1024
    [    3.326052] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.334679] cpsw 48484000.ethernet: cpsw: Detected MACID = c8:fd:19:25:3c:97
    [    3.344170] i2c /dev entries driver
    [    3.354917] sdhci: Secure Digital Host Controller Interface driver
    [    3.361129] sdhci: Copyright(c) Pierre Ossman
    [    3.366997] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.374501] sdhci-omap 4809c000.mmc: GPIO lookup for consumer cd
    [    3.374510] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup
    [    3.374540] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.374562] gpio gpiochip5: Persistence not supported for GPIO 27
    [    3.374577] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [    3.383403] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    3.388231] sdhci-omap 4809c000.mmc: GPIO lookup for consumer wp
    [    3.388240] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup
    [    3.388257] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.388273] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.388284] sdhci-omap 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.388293] sdhci-omap 4809c000.mmc: No GPIO consumer wp found
    [    3.388571] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.26
    [    3.395747] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
    [    3.402754] sdhci-omap 4809c000.mmc: Dropping the link to regulator.11
    [    3.409467] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.2
    [    3.416530] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
    [    3.423485] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [    3.457179] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [    3.464594] sdhci-omap 480b4000.mmc: GPIO lookup for consumer wp
    [    3.464603] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup
    [    3.464622] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.464638] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.464648] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.464657] sdhci-omap 480b4000.mmc: No GPIO consumer wp found
    [    3.464973] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [    3.471898] sdhci-omap 480b4000.mmc: Dropping the link to regulator.2
    [    3.478599] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [    3.506168] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.514059] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.514793] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/cpu0-led[0]' - status (0)
    [    3.514840] gpio gpiochip3: Persistence not supported for GPIO 0
    [    3.514845] no flags found for gpios
    [    3.515004] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/usr0-led[0]' - status (0)
    [    3.515022] gpio gpiochip2: Persistence not supported for GPIO 11
    [    3.515027] no flags found for gpios
    [    3.515169] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/heartbeat-led[0]' - status (0)
    [    3.515186] gpio gpiochip2: Persistence not supported for GPIO 12
    [    3.515191] no flags found for gpios
    [    3.515344] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/cpu1-led[0]' - status (0)
    [    3.515361] gpio gpiochip2: Persistence not supported for GPIO 10
    [    3.515366] no flags found for gpios
    [    3.515519] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/usr1-led[0]' - status (0)
    [    3.515560] gpio gpiochip6: Persistence not supported for GPIO 23
    [    3.515566] no flags found for gpios
    [    3.515713] of_get_named_gpiod_flags: parsed 'gpios' property of node '/status-leds/mmc0-led[0]' - status (0)
    [    3.515730] gpio gpiochip6: Persistence not supported for GPIO 22
    [    3.515735] no flags found for gpios
    [    3.527487] NET: Registered protocol family 10
    [    3.529251] mmc0: Problem switching card into high-speed mode!
    [    3.529405] mmc0: new SDHC card at address 0001
    [    3.540565] mmcblk0: mmc0:0001 SPCC 14.6 GiB 
    [    3.555047]  mmcblk0: p1 p2
    [    3.558574] Segment Routing with IPv6
    [    3.562367] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.569108] NET: Registered protocol family 17
    [    3.574140] Key type dns_resolver registered
    [    3.578597] Registering SWP/SWPB emulation handler
    [    3.583412] omap_voltage_late_init: Voltage driver support not added
    [    3.589796] Power Management for TI OMAP4+ devices.
    [    3.591667] mmc1: new DDR MMC card at address 0001
    [    3.600601] Loading compiled-in X.509 certificates
    [    3.602879] mmcblk1: mmc1:0001 R1J56L 13.8 GiB 
    [    3.603590] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
    [    3.604409] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
    [    3.604642] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB, chardev (244:0)
    [    3.701503] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.710581] dmm 4e000000.dmm: initialized all PAT entries
    [    3.717789] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.13
    [    3.725424] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
    [    3.733279] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.733288] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.733307] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/encoder@0[0]'
    [    3.733324] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/encoder@0[0]'
    [    3.733334] tpd12s015 encoder@0: using lookup tables for GPIO lookup
    [    3.733343] tpd12s015 encoder@0: No GPIO consumer (null) found
    [    3.733352] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.733360] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.733375] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/encoder@0[1]'
    [    3.733389] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/encoder@0[1]'
    [    3.733398] tpd12s015 encoder@0: using lookup tables for GPIO lookup
    [    3.733407] tpd12s015 encoder@0: No GPIO consumer (null) found
    [    3.733416] tpd12s015 encoder@0: GPIO lookup for consumer (null)
    [    3.733423] tpd12s015 encoder@0: using device tree for GPIO lookup
    [    3.733452] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder@0[2]' - status (0)
    [    3.733474] gpio gpiochip6: Persistence not supported for GPIO 12
    [    3.734762] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.13
    [    3.742710] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    3.751032] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    3.760479] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.767126] [drm] No driver support for vblank timestamp query.
    [    3.773113] [drm] Cannot find any crtc or sizes
    [    3.779309] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    3.787338] hctosys: unable to open rtc device (rtc0)
    [    3.794380] ALSA device list:
    [    3.797366]   No soundcards found.
    [    3.831944] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.840133] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.862501] devtmpfs: mounted
    [    3.868407] Freeing unused kernel memory: 2048K
    [    3.873091] Run /sbin/init as init process
    [    4.616436] systemd[1]: System time before build time, advancing clock.
    [    4.680414] systemd[1]: systemd 239 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)
    [    4.702462] systemd[1]: Detected architecture arm.
    [    4.745577] systemd[1]: Set hostname to <am57xx-evm>.
    [    4.794139] [drm] Cannot find any crtc or sizes
    [    5.125127] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    5.142256] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    5.522263] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.529292] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    5.651870] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.664275] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    5.694253] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.701677] systemd[1]: Listening on Journal Socket (/dev/log).
    [    5.744600] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    5.784948] systemd[1]: Listening on Journal Socket.
    [    5.993695] usbcore: registered new interface driver usbfs
    [    5.999419] usbcore: registered new interface driver hub
    [    6.004907] usbcore: registered new device driver usb
    [    6.040387] usbcore: registered new interface driver ftdi_sio
    [    6.056279] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    6.122199] random: crng init done
    [    6.125625] random: 7 urandom warning(s) missed due to ratelimiting
    [    6.578746] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    7.186597] systemd-journald[130]: Received request to flush runtime journal from PID 1
    [    8.591828] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [    8.610000] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [    8.696221] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [    8.748299] remoteproc remoteproc0: 58820000.ipu is available
    [    8.756761] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [    8.774139] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [    8.832849] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [    8.918761] remoteproc remoteproc1: 55020000.ipu is available
    [    8.945175] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    8.964455] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    8.973220] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [    8.995178] remoteproc remoteproc2: 40800000.dsp is available
    [    9.018007] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    9.044868] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    9.052918] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
    [    9.137913] remoteproc remoteproc3: 41000000.dsp is available
    [   10.432215] remoteproc remoteproc0: powering up 58820000.ipu
    [   10.454094] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 6704992
    [   10.461982] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   10.511362] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   10.520158] remoteproc remoteproc0: registered virtio0 (type 7)
    [   10.536245] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   10.576841] remoteproc remoteproc1: powering up 55020000.ipu
    [   10.582548] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3747220
    [   10.592143] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   10.647097] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [   10.709123] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   10.715208] remoteproc remoteproc1: registered virtio1 (type 7)
    [   10.716719] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   10.717677] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [   10.730202] rtc rtc0: 48070000.i2c:tps659038@58:tps659038_rtc: dev (253:0)
    [   10.730229] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659038@58:tps659038_rtc as rtc0
    [   10.732584] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [   10.732593] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   10.732615] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   10.732644] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   10.732666] gpio gpiochip2: Persistence not supported for GPIO 16
    [   10.732678] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [   10.732685] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   10.732700] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   10.732724] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   10.732741] gpio gpiochip2: Persistence not supported for GPIO 26
    [   10.732756] omap_gpio 48057000.gpio: Could not set line 16 debounce to 20000 microseconds (-22)
    [   10.757486] gpiochip_find_base: found new base at 496
    [   10.759106] pisosr-gpio spi1.0: GPIO lookup for consumer load
    [   10.759118] pisosr-gpio spi1.0: using device tree for GPIO lookup
    [   10.759154] of_get_named_gpiod_flags: parsed 'load-gpios' property of node '/ocp/spi@480b8000/sn65hvs882@0[0]' - status (0)
    [   10.759183] gpio gpiochip2: Persistence not supported for GPIO 19
    [   10.759210] gpiochip_find_base: found new base at 488
    [   10.759883] gpio gpiochip9: (tpic2810): added GPIO chardev (254:9)
    [   10.761115] gpio gpiochip10: (pisosr-gpio): added GPIO chardev (254:10)
    [   10.761896] gpiochip_setup_dev: registered GPIOs 496 to 503 on device: gpiochip9 (tpic2810)
    [   10.764412] gpiochip_setup_dev: registered GPIOs 488 to 495 on device: gpiochip10 (pisosr-gpio)
    [   10.833555] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   10.988241] Driver for 1-wire Dallas network protocol.
    [   11.227520] omap_rtc 48838000.rtc: char device (253:1)
    [   11.227535] omap_rtc 48838000.rtc: registered as rtc1
    [   11.454211] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
    [   11.636659] ov7670 0-0021: GPIO lookup for consumer powerdown
    [   11.636671] ov7670 0-0021: using device tree for GPIO lookup
    [   11.636710] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]' - status (0)
    [   11.636735] gpio gpiochip5: Persistence not supported for GPIO 14
    [   11.636749] ov7670 0-0021: GPIO lookup for consumer reset
    [   11.636758] ov7670 0-0021: using device tree for GPIO lookup
    [   11.636780] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]'
    [   11.636798] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48070000/ov7670@21[0]'
    [   11.636808] ov7670 0-0021: using lookup tables for GPIO lookup
    [   11.636817] ov7670 0-0021: No GPIO consumer reset found
    [   11.680164] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
    [   11.685916] ov7670 0-0021: chip found @ 0x42 (OMAP I2C adapter)
    [   11.739653] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
    [   11.966734] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   11.972926] omap-des 480a5000.des: will run requests pump with realtime priority
    [   12.651867] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   12.795601] phy phy-4a084000.phy.3: Linked as a consumer to regulator.21
    [   12.821226] phy phy-4a085000.phy.4: Linked as a consumer to regulator.21
    [   12.825762] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   12.830268] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   13.067078] CAN device driver interface
    [   13.074722] vpe 489d0000.vpe: Device registered as /dev/video0
    [   13.317698] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   13.334676] SCSI subsystem initialized
    [   13.351969] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   13.366451] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   13.379388] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   13.802642] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=06e610ae, irq=89)
    [   13.884680] remoteproc remoteproc2: powering up 40800000.dsp
    [   13.890386] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 20384784
    [   13.898431] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   13.913927] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   13.941283] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   13.943589] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   13.954066] remoteproc remoteproc2: registered virtio2 (type 7)
    [   13.960020] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   14.236471] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   14.264066] vip 48990000.vip: VPDMA firmware loaded
    [   14.272079] vin4b: Port B: Using subdev ov7670 0-0021 for capture
    [   14.284278] vin4b-0: device registered as video1
    [   14.304955] libata version 3.00 loaded.
    [   14.607089] remoteproc remoteproc3: powering up 41000000.dsp
    [   14.612925] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 20384784
    [   14.621550] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   14.627452] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   14.651214] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   14.653493] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   14.663951] remoteproc remoteproc3: registered virtio3 (type 7)
    [   14.670088] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   14.830133] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   14.851814] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   14.920790] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [   15.024524] net eth0: initializing cpsw version 1.15 (0)
    [   15.059336] scsi host0: ahci
    [   15.063059] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 81
    [   15.147973] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [   15.279344] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.444377] ata1: SATA link down (SStatus 0 SControl 300)
    [   15.484579] net eth1: initializing cpsw version 1.15 (0)
    [   15.625348] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
    [   15.717165] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.777097] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   15.777109] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name!
    [   16.297091] mdio_bus 4b2b2400.mdio: GPIO lookup for consumer reset
    [   16.297105] mdio_bus 4b2b2400.mdio: using device tree for GPIO lookup
    [   16.297149] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400[0]' - status (0)
    [   16.297222] gpio gpiochip4: Persistence not supported for GPIO 8
    [   16.297242] mdio_bus 4b2b2400.mdio: GPIO lookup for consumer reset
    [   16.297253] mdio_bus 4b2b2400.mdio: using device tree for GPIO lookup
    [   16.297288] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400[1]' - status (0)
    [   16.297307] gpio gpiochip4: Persistence not supported for GPIO 9
    [   16.297324] mdio_bus 4b2b2400.mdio: GPIO lookup for consumer reset
    [   16.297332] mdio_bus 4b2b2400.mdio: using device tree for GPIO lookup
    [   16.297353] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400[2]'
    [   16.297371] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400[2]'
    [   16.297380] mdio_bus 4b2b2400.mdio: using lookup tables for GPIO lookup
    [   16.297390] mdio_bus 4b2b2400.mdio: No GPIO consumer reset found
    [   16.354211] davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6, bus freq 1000000
    [   16.373214] libphy: 4b2b2400.mdio: probed
    [   16.462593] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400/ethernet-phy@0[0]'
    [   16.492246] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/pruss-soc-bus@4b2a6004/pruss@4b280000/mdio@4b2b2400/ethernet-phy@1[0]'
    [   16.493456] davinci_mdio 4b2b2400.mdio: phy[0]: device 4b2b2400.mdio:00, driver TI TLK10X 10/100 Mbps PHY
    [   16.503958] davinci_mdio 4b2b2400.mdio: phy[1]: device 4b2b2400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
    [   16.602959] remoteproc remoteproc4: 4b234000.pru is available
    [   16.637123] pru-rproc 4b234000.pru: PRU rproc node pru@4b234000 probed successfully
    [   16.698524] remoteproc remoteproc5: 4b238000.pru is available
    [   16.721728] pru-rproc 4b238000.pru: PRU rproc node pru@4b238000 probed successfully
    [   16.766934] remoteproc remoteproc6: 4b2b4000.pru is available
    [   16.803109] pru-rproc 4b2b4000.pru: PRU rproc node pru@4b2b4000 probed successfully
    [   16.832408] remoteproc remoteproc7: 4b2b8000.pru is available
    [   16.838442] pru-rproc 4b2b8000.pru: PRU rproc node pru@4b2b8000 probed successfully
    [   17.235701] prueth pruss2_eth: pruss_fw_drop_untagged_vlan 0
    [   17.241401] prueth pruss2_eth: pruss MC Mask (Port 0) ff:ff:ff:ff:ff:ff
    [   17.297724] prueth pruss2_eth: pruss MC Mask (Port 1) ff:ff:ff:ff:ff:ff
    [   17.310778] prueth pruss2_eth: request for sync latch pins failed: -19
    [   17.356774] prueth pruss2_eth: TI PRU ethernet (type 0) driver initialized
    [   18.409569] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   18.447957] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   20.893113] dwc3 48890000.usb: Failed to get clk 'ref': -2
    [   20.922912] dwc3 488d0000.usb: Failed to get clk 'ref': -2
    [   21.065103] NET: Registered protocol family 45
    [   21.103276] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   21.136861] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   21.144607] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   21.179179] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   21.820623] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   21.832580] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   21.880891] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
    [   21.931613] xhci-hcd xhci-hcd.1.auto: irq 181, io mem 0x48890000
    [   21.949529] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   21.964139] pruss_intc_irq_set_affinity: event 20 not configured: ch = -1, host = -1
    [   21.964279] pruss_intc_irq_set_affinity: event 22 not configured: ch = -1, host = -1
    [   21.964398] pruss_intc_irq_set_affinity: event 26 not configured: ch = -1, host = -1
    [   21.967863] iep ptp bc clkid -1
    [   21.967918] remoteproc remoteproc6: powering up 4b2b4000.pru
    [   21.978021] remoteproc remoteproc6: Booting fw image ti-pruss/am57xx-pru0-prueth-fw.elf, size 6316
    [   21.978779] pruss 4b280000.pruss: configured system_events[63-0] = 0x00000600.04500000
    [   21.978789] pruss 4b280000.pruss: configured intr_channels = 0x000000d5 host_intr = 0x00000155
    [   21.978799] remoteproc remoteproc6: remote processor 4b2b4000.pru is now up
    [   21.978852] net eth2: started
    [   21.979107] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [   22.064571] pruss_intc_irq_set_affinity: event 21 not configured: ch = -1, host = -1
    [   22.064706] pruss_intc_irq_set_affinity: event 23 not configured: ch = -1, host = -1
    [   22.064817] pruss_intc_irq_set_affinity: event 27 not configured: ch = -1, host = -1
    [   22.064973] remoteproc remoteproc7: powering up 4b2b8000.pru
    [   22.088392] remoteproc remoteproc7: Booting fw image ti-pruss/am57xx-pru1-prueth-fw.elf, size 6344
    [   22.088953] pruss 4b280000.pruss: configured system_events[63-0] = 0x00600000.08a00000
    [   22.088963] pruss 4b280000.pruss: configured intr_channels = 0x0000032a host_intr = 0x000002aa
    [   22.088973] remoteproc remoteproc7: remote processor 4b2b8000.pru is now up
    [   22.089035] net eth3: started
    [   22.089287] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
    [   22.164374] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   22.171637] usb usb1: Product: xHCI Host Controller
    [   22.176542] usb usb1: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
    [   22.183900] usb usb1: SerialNumber: xhci-hcd.1.auto
    [   22.191063] hub 1-0:1.0: USB hub found
    [   22.197780] hub 1-0:1.0: 1 port detected
    [   22.202700] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   22.211996] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   22.221096] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0  SuperSpeed
    [   22.229874] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   22.240657] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   22.253398] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   22.261374] usb usb2: Product: xHCI Host Controller
    [   22.266296] usb usb2: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
    [   22.273297] usb usb2: SerialNumber: xhci-hcd.1.auto
    [   22.280614] hub 2-0:1.0: USB hub found
    [   22.286125] hub 2-0:1.0: 1 port detected
    [   32.779610] NET: Registered protocol family 15
    [   32.877050] Initializing XFRM netlink socket
    [   83.724939] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [  104.450877] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 1713.486298] vin4b-0: vip_open
    [ 1713.486325] vin4b: vip_init_port: g_mbus_fmt subdev mbus_code: 3001 fourcc:BA81 size: 640x480
    [ 1713.486343] vin4b: calc_format_size: fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [ 1713.486352] vin4b-0: init_stream fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [ 1713.486360] vin4b-0: init_stream vpdma data type: 0x27
    [ 1713.486370] vin4b-0: vip_init_stream: stream instance 0x00000000ecbe1000
    [ 1713.486390] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip2:vin4b:stream0, version=0x00041326, capabilities=0x85200001, device_caps=0x05200001
    [ 1713.486820] vin4b-0: vip_release
    [ 1713.486837] vin4b-0: vip_release_stream: stream instance 0x9ed07d06ecbe1000
    [ 1713.486845] vin4b: vip_release_port: port instance 0x9ed07d06eca9e840
    [ 1713.514391] vin4b-0: vip_open
    [ 1713.514416] vin4b: vip_init_port: g_mbus_fmt subdev mbus_code: 3001 fourcc:BA81 size: 640x480
    [ 1713.514432] vin4b: calc_format_size: fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [ 1713.514440] vin4b-0: init_stream fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [ 1713.514448] vin4b-0: init_stream vpdma data type: 0x27
    [ 1713.514458] vin4b-0: vip_init_stream: stream instance 0x00000000ecbe1000
    [ 1713.514476] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip2:vin4b:stream0, version=0x00041326, capabilities=0x85200001, device_caps=0x05200001
    [ 1713.514546] video1: VIDIOC_ENUMINPUT: index=0, name=camera 1, type=2, audioset=0x0, tuner=0, std=0x00ffb0ff, status=0x0, capabilities=0x4
    [ 1713.514641] video1: VIDIOC_ENUMINPUT: error -22: index=1, name=, type=0, audioset=0x0, tuner=0, std=0x00000000, status=0x0, capabilities=0x4
    [ 1713.514681] video1: VIDIOC_ENUMSTD: index=0, id=0xb000, name=NTSC, fps=1001/30000, framelines=525
    [ 1713.514737] video1: VIDIOC_ENUMSTD: index=1, id=0x1000, name=NTSC-M, fps=1001/30000, framelines=525
    [ 1713.514771] video1: VIDIOC_ENUMSTD: index=2, id=0x2000, name=NTSC-M-JP, fps=1001/30000, framelines=525
    [ 1713.514804] video1: VIDIOC_ENUMSTD: index=3, id=0x8000, name=NTSC-M-KR, fps=1001/30000, framelines=525
    [ 1713.514836] video1: VIDIOC_ENUMSTD: index=4, id=0xff, name=PAL, fps=1/25, framelines=625
    [ 1713.514867] video1: VIDIOC_ENUMSTD: index=5, id=0x7, name=PAL-BG, fps=1/25, framelines=625
    [ 1713.514908] video1: VIDIOC_ENUMSTD: index=6, id=0x8, name=PAL-H, fps=1/25, framelines=625
    [ 1713.514940] video1: VIDIOC_ENUMSTD: index=7, id=0x10, name=PAL-I, fps=1/25, framelines=625
    [ 1713.514971] video1: VIDIOC_ENUMSTD: index=8, id=0xe0, name=PAL-DK, fps=1/25, framelines=625
    [ 1713.515003] video1: VIDIOC_ENUMSTD: index=9, id=0xff0000, name=SECAM, fps=1/25, framelines=625
    [ 1713.515034] video1: VIDIOC_ENUMSTD: index=10, id=0x10000, name=SECAM-B, fps=1/25, framelines=625
    [ 1713.515065] video1: VIDIOC_ENUMSTD: index=11, id=0x40000, name=SECAM-G, fps=1/25, framelines=625
    [ 1713.515096] video1: VIDIOC_ENUMSTD: index=12, id=0x80000, name=SECAM-H, fps=1/25, framelines=625
    [ 1713.515128] video1: VIDIOC_ENUMSTD: index=13, id=0x320000, name=SECAM-DK, fps=1/25, framelines=625
    [ 1713.515158] video1: VIDIOC_ENUMSTD: index=14, id=0x400000, name=SECAM-L, fps=1/25, framelines=625
    [ 1713.515189] video1: VIDIOC_ENUMSTD: index=15, id=0x800000, name=SECAM-Lc, fps=1/25, framelines=625
    [ 1713.515219] video1: VIDIOC_ENUMSTD: error -22: index=16, id=0x0, name=, fps=0/0, framelines=0
    [ 1713.515257] video1: VIDIOC_QUERYCTRL: id=0x980001, type=6, name=User Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [ 1713.515292] video1: VIDIOC_QUERYCTRL: id=0x980900, type=1, name=Brightness, min/max=0/255, step=1, default=128, flags=0x00000020
    [ 1713.515366] video1: VIDIOC_QUERYCTRL: id=0x980901, type=1, name=Contrast, min/max=0/127, step=1, default=64, flags=0x00000020
    [ 1713.515405] video1: VIDIOC_QUERYCTRL: id=0x980902, type=1, name=Saturation, min/max=0/256, step=1, default=128, flags=0x00000020
    [ 1713.515442] video1: VIDIOC_QUERYCTRL: id=0x980903, type=1, name=Hue, min/max=-180/180, step=5, default=0, flags=0x00000020
    [ 1713.515477] video1: VIDIOC_QUERYCTRL: id=0x980911, type=1, name=Exposure, min/max=0/65535, step=1, default=500, flags=0x00000010
    [ 1713.515514] video1: VIDIOC_QUERYCTRL: id=0x980912, type=2, name=Gain, Automatic, min/max=0/1, step=1, default=1, flags=0x00000008
    [ 1713.515550] video1: VIDIOC_QUERYCTRL: id=0x980913, type=1, name=Gain, min/max=0/255, step=1, default=128, flags=0x00000090
    [ 1713.515585] video1: VIDIOC_QUERYCTRL: id=0x980914, type=2, name=Horizontal Flip, min/max=0/1, step=1, default=0, flags=0x00000000
    [ 1713.515618] video1: VIDIOC_QUERYCTRL: id=0x980915, type=2, name=Vertical Flip, min/max=0/1, step=1, default=0, flags=0x00000000
    [ 1713.515653] video1: VIDIOC_QUERYCTRL: id=0x9a0001, type=6, name=Camera Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [ 1713.515683] video1: VIDIOC_QUERYCTRL: id=0x9a0901, type=3, name=Auto Exposure, min/max=0/1, step=1, default=0, flags=0x00000008
    [ 1713.515715] video1: VIDIOC_QUERYCTRL: id=0x9f0001, type=6, name=Image Processing Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [ 1713.515744] video1: VIDIOC_QUERYCTRL: id=0x9f0903, type=3, name=Test Pattern, min/max=0/3, step=1, default=0, flags=0x00000000
    [ 1713.515775] video1: VIDIOC_QUERYCTRL: error -22: id=0x809f0903, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000
    [ 1713.515816] vin4b-0: g_std: 0xffb0ff
    [ 1713.515822] video1: VIDIOC_G_STD: std=0x00ffb0ff
    [ 1713.515861] video1: VIDIOC_G_INPUT: value=0
    [ 1713.522026] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 1713.563590] vin4b-0: enum_fmt index:0
    [ 1713.563601] vin4b-0: enum_fmt fourcc:BA81
    [ 1713.563609] video1: VIDIOC_ENUM_FMT: index=0, type=vid-cap, flags=0x0, pixelformat=BA81, description='8-bit Bayer BGBG/GRGR'
    [ 1713.563646] vin4b-0: enum_fmt index:1
    [ 1713.563654] video1: VIDIOC_ENUM_FMT: error -22: index=1, type=vid-cap, flags=0x0, pixelformat=
    [ 1713.563769] video1: VIDIOC_CROPCAP: type=vid-cap, bounds wxh=640x480, x,y=0,0, defrect wxh=640x480, x,y=0,0, pixelaspect 1/1
    [ 1713.563826] vin4b-0: vip_enum_framesizes: index: 0 code: 3001 W:[640,640] H:[480,480]
    [ 1713.563833] video1: VIDIOC_ENUM_FRAMESIZES: index=0, pixelformat=BA81, type=1, wxh=640x480
    [ 1713.563875] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=640x480, type=1, fps=1/30
    [ 1713.563922] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=640x480, type=1, fps=1/15
    [ 1713.566956] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=640x480, type=1, fps=1/10
    [ 1713.567004] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=640x480, type=1, fps=1/5
    [ 1713.567043] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=640x480, type=1, fps=1/1
    [ 1713.567081] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=640x480, type=0
    [ 1713.567144] vin4b-0: vip_enum_framesizes: index: 1 code: 3001 W:[352,352] H:[288,288]
    [ 1713.567150] video1: VIDIOC_ENUM_FRAMESIZES: index=1, pixelformat=BA81, type=1, wxh=352x288
    [ 1713.567184] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=352x288, type=1, fps=1/30
    [ 1713.567224] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=352x288, type=1, fps=1/15
    [ 1713.567259] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=352x288, type=1, fps=1/10
    [ 1713.567295] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=352x288, type=1, fps=1/5
    [ 1713.567330] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=352x288, type=1, fps=1/1
    [ 1713.567365] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=352x288, type=0
    [ 1713.567419] vin4b-0: vip_enum_framesizes: index: 2 code: 3001 W:[320,320] H:[240,240]
    [ 1713.567425] video1: VIDIOC_ENUM_FRAMESIZES: index=2, pixelformat=BA81, type=1, wxh=320x240
    [ 1713.567459] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=320x240, type=1, fps=1/30
    [ 1713.567495] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=320x240, type=1, fps=1/15
    [ 1713.567531] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=320x240, type=1, fps=1/10
    [ 1713.567567] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=320x240, type=1, fps=1/5
    [ 1713.567602] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=320x240, type=1, fps=1/1
    [ 1713.567636] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=320x240, type=0
    [ 1713.567690] vin4b-0: vip_enum_framesizes: index: 3 code: 3001 W:[176,176] H:[144,144]
    [ 1713.567696] video1: VIDIOC_ENUM_FRAMESIZES: index=3, pixelformat=BA81, type=1, wxh=176x144
    [ 1713.567729] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=176x144, type=1, fps=1/30
    [ 1713.567766] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=176x144, type=1, fps=1/15
    [ 1713.567802] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=176x144, type=1, fps=1/10
    [ 1713.567838] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=176x144, type=1, fps=1/5
    [ 1713.567872] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=176x144, type=1, fps=1/1
    [ 1713.567907] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=176x144, type=0
    [ 1713.567957] video1: VIDIOC_ENUM_FRAMESIZES: error -22: index=4, pixelformat=BA81, type=0
    [ 1713.579561] vin4b-0: vip_release
    [ 1713.579581] vin4b-0: vip_release_stream: stream instance 0x9ed07d06ecbe1000
    [ 1713.579592] vin4b: vip_release_port: port instance 0x9ed07d06eca9e840
    

    any help would be appreciated.

    Regards,

    Alex.

  • Still, I'm struggling with my issue, I enabled v4l2 tracing and this is the output:

    root@am57xx-evm:~# dmesg -c // clear dmesg 
    .
    .
    .
    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=10 ! video/x-raw, framerate=30/1, width=640, height=480, format=UYVY ! videoconvert !   ducatih264enc ! h264parse ! qtmux ! filesink location=res.mp4 -v
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
    Additional debug info:
    ../../../../gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming stopped, reason not-negotiated (-4)
    Execution ended after 0:00:00.001739069
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~# dmesg
    [  542.301095] vin4b-0: vip_open
    [  542.301121] vin4b: vip_init_port: g_mbus_fmt subdev mbus_code: 3001 fourcc:BA81 size: 640x480
    [  542.301138] vin4b: calc_format_size: fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [  542.301147] vin4b-0: init_stream fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [  542.301155] vin4b-0: init_stream vpdma data type: 0x27
    [  542.301165] vin4b-0: vip_init_stream: stream instance 0x00000000ec4b8000
    [  542.301184] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip2:vin4b:stream0, version=0x00041326, capabilities=0x85200001, device_caps=0x05200001
    [  542.301619] vin4b-0: vip_release
    [  542.301636] vin4b-0: vip_release_stream: stream instance 0x9ed07d06ec4b8000
    [  542.301645] vin4b: vip_release_port: port instance 0x9ed07d06eca0fc40
    [  542.339048] vin4b-0: vip_open
    [  542.339073] vin4b: vip_init_port: g_mbus_fmt subdev mbus_code: 3001 fourcc:BA81 size: 640x480
    [  542.339088] vin4b: calc_format_size: fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [  542.339097] vin4b-0: init_stream fourcc:BA81 size: 640x480 bpl:640 img_size:307200
    [  542.339105] vin4b-0: init_stream vpdma data type: 0x27
    [  542.339115] vin4b-0: vip_init_stream: stream instance 0x00000000ec4b8000
    [  542.339132] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip2:vin4b:stream0, version=0x00041326, capabilities=0x85200001, device_caps=0x05200001
    [  542.339203] video1: VIDIOC_ENUMINPUT: index=0, name=camera 1, type=2, audioset=0x0, tuner=0, std=0x00ffb0ff, status=0x0, capabilities=0x4
    [  542.339294] video1: VIDIOC_ENUMINPUT: error -22: index=1, name=, type=0, audioset=0x0, tuner=0, std=0x00000000, status=0x0, capabilities=0x4
    [  542.339333] video1: VIDIOC_ENUMSTD: index=0, id=0xb000, name=NTSC, fps=1001/30000, framelines=525
    [  542.339388] video1: VIDIOC_ENUMSTD: index=1, id=0x1000, name=NTSC-M, fps=1001/30000, framelines=525
    [  542.339422] video1: VIDIOC_ENUMSTD: index=2, id=0x2000, name=NTSC-M-JP, fps=1001/30000, framelines=525
    [  542.339454] video1: VIDIOC_ENUMSTD: index=3, id=0x8000, name=NTSC-M-KR, fps=1001/30000, framelines=525
    [  542.339485] video1: VIDIOC_ENUMSTD: index=4, id=0xff, name=PAL, fps=1/25, framelines=625
    [  542.339606] video1: VIDIOC_ENUMSTD: index=5, id=0x7, name=PAL-BG, fps=1/25, framelines=625
    [  542.339659] video1: VIDIOC_ENUMSTD: index=6, id=0x8, name=PAL-H, fps=1/25, framelines=625
    [  542.339697] video1: VIDIOC_ENUMSTD: index=7, id=0x10, name=PAL-I, fps=1/25, framelines=625
    [  542.339734] video1: VIDIOC_ENUMSTD: index=8, id=0xe0, name=PAL-DK, fps=1/25, framelines=625
    [  542.339768] video1: VIDIOC_ENUMSTD: index=9, id=0xff0000, name=SECAM, fps=1/25, framelines=625
    [  542.339800] video1: VIDIOC_ENUMSTD: index=10, id=0x10000, name=SECAM-B, fps=1/25, framelines=625
    [  542.339833] video1: VIDIOC_ENUMSTD: index=11, id=0x40000, name=SECAM-G, fps=1/25, framelines=625
    [  542.339869] video1: VIDIOC_ENUMSTD: index=12, id=0x80000, name=SECAM-H, fps=1/25, framelines=625
    [  542.339904] video1: VIDIOC_ENUMSTD: index=13, id=0x320000, name=SECAM-DK, fps=1/25, framelines=625
    [  542.339938] video1: VIDIOC_ENUMSTD: index=14, id=0x400000, name=SECAM-L, fps=1/25, framelines=625
    [  542.339970] video1: VIDIOC_ENUMSTD: index=15, id=0x800000, name=SECAM-Lc, fps=1/25, framelines=625
    [  542.340001] video1: VIDIOC_ENUMSTD: error -22: index=16, id=0x0, name=, fps=0/0, framelines=0
    [  542.340040] video1: VIDIOC_QUERYCTRL: id=0x980001, type=6, name=User Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [  542.340074] video1: VIDIOC_QUERYCTRL: id=0x980900, type=1, name=Brightness, min/max=0/255, step=1, default=128, flags=0x00000020
    [  542.340158] video1: VIDIOC_QUERYCTRL: id=0x980901, type=1, name=Contrast, min/max=0/127, step=1, default=64, flags=0x00000020
    [  542.340201] video1: VIDIOC_QUERYCTRL: id=0x980902, type=1, name=Saturation, min/max=0/256, step=1, default=128, flags=0x00000020
    [  542.340238] video1: VIDIOC_QUERYCTRL: id=0x980903, type=1, name=Hue, min/max=-180/180, step=5, default=0, flags=0x00000020
    [  542.340273] video1: VIDIOC_QUERYCTRL: id=0x980911, type=1, name=Exposure, min/max=0/65535, step=1, default=500, flags=0x00000010
    [  542.340309] video1: VIDIOC_QUERYCTRL: id=0x980912, type=2, name=Gain, Automatic, min/max=0/1, step=1, default=1, flags=0x00000008
    [  542.340345] video1: VIDIOC_QUERYCTRL: id=0x980913, type=1, name=Gain, min/max=0/255, step=1, default=128, flags=0x00000090
    [  542.340381] video1: VIDIOC_QUERYCTRL: id=0x980914, type=2, name=Horizontal Flip, min/max=0/1, step=1, default=0, flags=0x00000000
    [  542.340413] video1: VIDIOC_QUERYCTRL: id=0x980915, type=2, name=Vertical Flip, min/max=0/1, step=1, default=0, flags=0x00000000
    [  542.340450] video1: VIDIOC_QUERYCTRL: id=0x9a0001, type=6, name=Camera Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [  542.340479] video1: VIDIOC_QUERYCTRL: id=0x9a0901, type=3, name=Auto Exposure, min/max=0/1, step=1, default=0, flags=0x00000008
    [  542.340512] video1: VIDIOC_QUERYCTRL: id=0x9f0001, type=6, name=Image Processing Controls, min/max=0/0, step=0, default=0, flags=0x00000044
    [  542.340541] video1: VIDIOC_QUERYCTRL: id=0x9f0903, type=3, name=Test Pattern, min/max=0/3, step=1, default=0, flags=0x00000000
    [  542.340572] video1: VIDIOC_QUERYCTRL: error -22: id=0x809f0903, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000
    [  542.340613] vin4b-0: g_std: 0xffb0ff
    [  542.340620] video1: VIDIOC_G_STD: std=0x00ffb0ff
    [  542.340659] video1: VIDIOC_G_INPUT: value=0
    [  542.346972] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [  542.388947] vin4b-0: enum_fmt index:0
    [  542.388959] vin4b-0: enum_fmt fourcc:BA81
    [  542.388968] video1: VIDIOC_ENUM_FMT: index=0, type=vid-cap, flags=0x0, pixelformat=BA81, description='8-bit Bayer BGBG/GRGR'
    [  542.389010] vin4b-0: enum_fmt index:1
    [  542.389017] video1: VIDIOC_ENUM_FMT: error -22: index=1, type=vid-cap, flags=0x0, pixelformat=
    [  542.389090] video1: VIDIOC_CROPCAP: type=vid-cap, bounds wxh=640x480, x,y=0,0, defrect wxh=640x480, x,y=0,0, pixelaspect 1/1
    [  542.389144] vin4b-0: vip_enum_framesizes: index: 0 code: 3001 W:[640,640] H:[480,480]
    [  542.389151] video1: VIDIOC_ENUM_FRAMESIZES: index=0, pixelformat=BA81, type=1, wxh=640x480
    [  542.389188] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=640x480, type=1, fps=1/30
    [  542.389230] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=640x480, type=1, fps=1/15
    [  542.389268] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=640x480, type=1, fps=1/10
    [  542.389305] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=640x480, type=1, fps=1/5
    [  542.389340] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=640x480, type=1, fps=1/1
    [  542.389375] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=640x480, type=0
    [  542.389435] vin4b-0: vip_enum_framesizes: index: 1 code: 3001 W:[352,352] H:[288,288]
    [  542.389442] video1: VIDIOC_ENUM_FRAMESIZES: index=1, pixelformat=BA81, type=1, wxh=352x288
    [  542.389475] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=352x288, type=1, fps=1/30
    [  542.394073] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=352x288, type=1, fps=1/15
    [  542.394120] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=352x288, type=1, fps=1/10
    [  542.394160] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=352x288, type=1, fps=1/5
    [  542.394200] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=352x288, type=1, fps=1/1
    [  542.394243] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=352x288, type=0
    [  542.394310] vin4b-0: vip_enum_framesizes: index: 2 code: 3001 W:[320,320] H:[240,240]
    [  542.394318] video1: VIDIOC_ENUM_FRAMESIZES: index=2, pixelformat=BA81, type=1, wxh=320x240
    [  542.394357] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=320x240, type=1, fps=1/30
    [  542.394399] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=320x240, type=1, fps=1/15
    [  542.394437] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=320x240, type=1, fps=1/10
    [  542.394479] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=320x240, type=1, fps=1/5
    [  542.394517] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=320x240, type=1, fps=1/1
    [  542.394554] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=320x240, type=0
    [  542.394611] vin4b-0: vip_enum_framesizes: index: 3 code: 3001 W:[176,176] H:[144,144]
    [  542.394618] video1: VIDIOC_ENUM_FRAMESIZES: index=3, pixelformat=BA81, type=1, wxh=176x144
    [  542.394654] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=0, pixelformat=BA81, wxh=176x144, type=1, fps=1/30
    [  542.394691] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=1, pixelformat=BA81, wxh=176x144, type=1, fps=1/15
    [  542.394728] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=2, pixelformat=BA81, wxh=176x144, type=1, fps=1/10
    [  542.394765] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=3, pixelformat=BA81, wxh=176x144, type=1, fps=1/5
    [  542.394803] video1: VIDIOC_ENUM_FRAMEINTERVALS: index=4, pixelformat=BA81, wxh=176x144, type=1, fps=1/1
    [  542.394838] video1: VIDIOC_ENUM_FRAMEINTERVALS: error -22: index=5, pixelformat=BA81, wxh=176x144, type=0
    [  542.394891] video1: VIDIOC_ENUM_FRAMESIZES: error -22: index=4, pixelformat=BA81, type=0
    [  542.404560] vin4b-0: vip_release
    [  542.404581] vin4b-0: vip_release_stream: stream instance 0x9ed07d06ec4b8000
    [  542.404590] vin4b: vip_release_port: port instance 0x9ed07d06eca0fc40

    I can't see any VIP related interrupt:

    root@am57xx-evm:~# cat /proc/interrupts | grep vip
    root@am57xx-evm:~# 

    Any idea?

    Regards,

    Alex.

  • Hi Alex,

    It appears that ov7670 sensor driver requires the use of s_power subdev ioctl to be used to actually power on and start the streaming process. Unfortunately VIP currently does not invoke this ioctl.

     

    You can try one of the below options as a workaround to this:

    1. In ov7670.c driver add proper support for PM Runtime. See ov2659.c for example. (If currently adding a new sensor driver this would be the mandate way expected by the mainline maintainers.

    2. In ov7670.c driver add support for s_stream in the v4l2_subdev_video_ops ioctl and handle the power on/off there.

    3. In vip.c driver add support to call s_power on the subdev just before s_stream is called and the opposite when tearing down the capture.

    Regards,

    Manisha