ov5642 30fps not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ov5642 30fps not working

3,564 Views
jamalmohiuddin
Contributor III

Hi Guys,

We have a customized i.MX6Q Board based on sabrelite reference board.

We have the following configuration:

Linux : 3.10.53

Gstreamer 1.0 latest i.MX6 Plugins

We connected OV5642 Camera over CSI Interface..Used the following command to display the camera output on the screen.

gst-launch-1.0 imxv4l2videosrc device=/dev/video0 imx-capture-mode=4 fps-n=15 ! imxipuvideosink

It works, but initially, it takes time to settle for few seconds,  there is genlock issue 

But when I modify the fps to 30, I get distorted output.. What do you think is wrong here.. Any help is appreciated... 

Distorted_30fps.jpg

The problem is not with OV5642, as it works well when I connect it to Boundary devices reference board at 30fps.

Thanks,

Jamal

Labels (3)
0 Kudos
Reply
15 Replies

2,970 Views
jamalmohiuddin
Contributor III

I have enabled all the logs in mxc ipu drivers. Can you look at the boot logs and gstreamer logs and tell if there is anything wrong.

Booting Linux on physical CPU 0x0
Linux version 3.10.53 (lloyd@ubuntu) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-29) ) #5 SMP PREEMPT Tue Jun 5 01:35:58 EDT 2018
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 Quad SABRE Smart Device Board
cma: CMA: reserved 320 MiB at 3c000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @815a1000 s8960 r8192 d15616 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 video=mxcfb0:dev=ldb,LDB-XGA,if=RGB24 video=mxcfb1:dev=hdmi,1920x1080@60,if=RGB24 ldb=sin0 consoleblank=0 root=/dev/mmcblk3p2 rootwait rw
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1024MB = 1024MB total
Memory: 697124k/697124k available, 351452k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80c79834 (12743 kB)
.init : 0x80c7a000 - 0x80cc6300 ( 305 kB)
.data : 0x80cc8000 - 0x80d1fe40 ( 352 kB)
.bss : 0x80d1fe40 - 0x80d8926c ( 422 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
CPU identified as i.MX6Q, silicon rev 1.5
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x8068b2b0 - 0x8068b308
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Use WDOG2 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1100 mV
vdd3p0: 2625 <--> 3400 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2400 mV
cpu: 725 <--> 1450 mV
vddpu: 725 <--> 1450 mV
vddsoc: 725 <--> 1450 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
usb_h1_vbus: 5000 mV
wm8962-supply: no parameters
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: <ipu_probe>
imx-ipuv3 2400000.ipu: IPU rev:4
imx-ipuv3 2400000.ipu: IPU CM Regs = c0816000
imx-ipuv3 2400000.ipu: IPU IC Regs = c081e000
imx-ipuv3 2400000.ipu: IPU IDMAC Regs = c0826000
imx-ipuv3 2400000.ipu: IPU DP Regs = c082e000
imx-ipuv3 2400000.ipu: IPU DC Regs = c0836000
imx-ipuv3 2400000.ipu: IPU DMFC Regs = c083e000
imx-ipuv3 2400000.ipu: IPU DI0 Regs = c0846000
imx-ipuv3 2400000.ipu: IPU DI1 Regs = c084e000
imx-ipuv3 2400000.ipu: IPU SMFC Regs = c0856000
imx-ipuv3 2400000.ipu: IPU CSI0 Regs = c085e000
imx-ipuv3 2400000.ipu: IPU CSI1 Regs = c0866000
imx-ipuv3 2400000.ipu: IPU CPMem = c0900000
imx-ipuv3 2400000.ipu: IPU TPMem = c08e0000
imx-ipuv3 2400000.ipu: IPU DC Template Mem = c0940000
imx-ipuv3 2400000.ipu: IPU Display Region 1 Mem = c086e000
imx-ipuv3 2400000.ipu: IPU VDI Regs = c086c000
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2400000.ipu: ipu_clk = 264000000
imx-ipuv3 2800000.ipu: <ipu_probe>
imx-ipuv3 2800000.ipu: IPU rev:4
imx-ipuv3 2800000.ipu: IPU CM Regs = c087a000
imx-ipuv3 2800000.ipu: IPU IC Regs = c087c000
imx-ipuv3 2800000.ipu: IPU IDMAC Regs = c087e000
imx-ipuv3 2800000.ipu: IPU DP Regs = c08bc000
imx-ipuv3 2800000.ipu: IPU DC Regs = c08be000
imx-ipuv3 2800000.ipu: IPU DMFC Regs = c08c6000
imx-ipuv3 2800000.ipu: IPU DI0 Regs = c08ce000
imx-ipuv3 2800000.ipu: IPU DI1 Regs = c08d6000
imx-ipuv3 2800000.ipu: IPU SMFC Regs = c08d8000
imx-ipuv3 2800000.ipu: IPU CSI0 Regs = c08da000
imx-ipuv3 2800000.ipu: IPU CSI1 Regs = c08dc000
imx-ipuv3 2800000.ipu: IPU CPMem = c0980000
imx-ipuv3 2800000.ipu: IPU TPMem = c09c0000
imx-ipuv3 2800000.ipu: IPU DC Template Mem = c0a00000
imx-ipuv3 2800000.ipu: IPU Display Region 1 Mem = c08f2000
imx-ipuv3 2800000.ipu: IPU VDI Regs = c08de000
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: ipu_clk = 264000000
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
pureg-dummy: no parameters
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
imx6_busfreq busfreq.16: DDR medium rate not supported.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 2001
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: WEIM driver registered.
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD1_DAT3 already requested by 20e0000.iomuxc; cannot claim for 2080000.pwm
imx6q-pinctrl 20e0000.iomuxc: pin-209 (2080000.pwm) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 209 on device 20e0000.iomuxc
imx-pwm 2080000.pwm: Error applying setting, reverse things back
MIPI DSI driver module loaded
mxc_sdc_fb fb.27: mxcfb_probe enter
mxc_sdc_fb fb.27: di_pixfmt:0x33424752, bpp:0x18, di:0, ipu:1
mxc_sdc_fb fb.27: registered mxc display driver ldb
mxc_sdc_fb fb.27: Reconfiguring framebuffer
imx-ipuv3 2800000.ipu: Channel already disabled 9
imx-ipuv3 2800000.ipu: Channel already uninitialized 9
mxc_sdc_fb fb.27: allocated fb @ paddr=0x3C100000, size=1572864.
imx-ipuv3 2800000.ipu: init channel = 9
imx-ipuv3 2800000.ipu: ipu busfreq high requst.
mxc_sdc_fb fb.27: pixclock = 65002000l Hz
mxc_sdc_fb fb.27: 1024x768 h_sync,r,l: 60,40,220 v_sync,l,u: 10,7,21 pixclock=65002000 Hz
imx-ipuv3 2800000.ipu: panel size = 1024 x 768
imx-ipuv3 2800000.ipu: pixel clk = 65002000
imx-ipuv3 2800000.ipu: use special clk parent
imx-ipuv3 2800000.ipu: round pixel clk:64653061
imx-ipuv3 2800000.ipu: disp=0, pixel_clk=65002000 64653061 parent=64653061 div=1
mxc_sdc_fb fb.27: Y wrap disabled
imx-ipuv3 2800000.ipu: initializing idma ch 23 @ c09805c0
imx-ipuv3 2800000.ipu: initializing idma ch 23 @ c0981140 sub cpmem
imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
imx-ipuv3 2800000.ipu: ch 23 word 0 - 00000000 00000000 00000000 E0001800 000BFC7F
imx-ipuv3 2800000.ipu: ch 23 word 1 - 07820000 00F04000 00E7C000 F2C1FFC0 00082CA0
imx-ipuv3 2800000.ipu: PFS 0x7,
imx-ipuv3 2800000.ipu: BPP 0x3,
imx-ipuv3 2800000.ipu: NPB 0x1f
imx-ipuv3 2800000.ipu: FW 1023,
imx-ipuv3 2800000.ipu: FH 767,
imx-ipuv3 2800000.ipu: EBA0 0x3c100000
imx-ipuv3 2800000.ipu: EBA1 0x3c100000
imx-ipuv3 2800000.ipu: Stride 2047
imx-ipuv3 2800000.ipu: scan_order 0
imx-ipuv3 2800000.ipu: uv_stride 11424
imx-ipuv3 2800000.ipu: u_offset 0x0
imx-ipuv3 2800000.ipu: v_offset 0x0
imx-ipuv3 2800000.ipu: Width0 4+1,
imx-ipuv3 2800000.ipu: Width1 5+1,
imx-ipuv3 2800000.ipu: Width2 4+1,
imx-ipuv3 2800000.ipu: Width3 7+1,
imx-ipuv3 2800000.ipu: Offset0 0,
imx-ipuv3 2800000.ipu: Offset1 5,
imx-ipuv3 2800000.ipu: Offset2 11,
imx-ipuv3 2800000.ipu: Offset3 16
mxc_sdc_fb fb.27: Y wrap disabled
mxc_sdc_fb fb.27: Updating SDC DISP4 BG buf 0 address=0x3C100000
mxc_sdc_fb fb.27: Update complete
mxc_sdc_fb fb.27: blank = 0
mxc_sdc_fb fb.27: Reconfiguring framebuffer
imx-ipuv3 2800000.ipu: DC stop timeout - 3 * 10ms
imx-ipuv3 2800000.ipu: ipu busfreq high release.
imx-ipuv3 2800000.ipu: init channel = 9
imx-ipuv3 2800000.ipu: ipu busfreq high requst.
mxc_sdc_fb fb.27: pixclock = 65002000l Hz
mxc_sdc_fb fb.27: 1024x768 h_sync,r,l: 60,40,220 v_sync,l,u: 10,7,21 pixclock=65002000 Hz
imx-ipuv3 2800000.ipu: panel size = 1024 x 768
imx-ipuv3 2800000.ipu: pixel clk = 65002000
imx-ipuv3 2800000.ipu: use special clk parent
imx-ipuv3 2800000.ipu: round pixel clk:64653061
imx-ipuv3 2800000.ipu: disp=0, pixel_clk=65002000 64653061 parent=64653061 div=1
mxc_sdc_fb fb.27: Y wrap disabled
imx-ipuv3 2800000.ipu: initializing idma ch 23 @ c09805c0
imx-ipuv3 2800000.ipu: initializing idma ch 23 @ c0981140 sub cpmem
imx-ipuv3 2800000.ipu: DMFC high resolution has set, will not change
imx-ipuv3 2800000.ipu: ch 23 word 0 - 00000000 00000000 00000000 E0001800 000BFC7F
imx-ipuv3 2800000.ipu: ch 23 word 1 - 07820000 00F04000 00E7C000 F2C1FFC0 00082CA0
imx-ipuv3 2800000.ipu: PFS 0x7,
imx-ipuv3 2800000.ipu: BPP 0x3,
imx-ipuv3 2800000.ipu: NPB 0x1f
imx-ipuv3 2800000.ipu: FW 1023,
imx-ipuv3 2800000.ipu: FH 767,
imx-ipuv3 2800000.ipu: EBA0 0x3c100000
imx-ipuv3 2800000.ipu: EBA1 0x3c100000
imx-ipuv3 2800000.ipu: Stride 2047
imx-ipuv3 2800000.ipu: scan_order 0
imx-ipuv3 2800000.ipu: uv_stride 11424
imx-ipuv3 2800000.ipu: u_offset 0x0
imx-ipuv3 2800000.ipu: v_offset 0x0
imx-ipuv3 2800000.ipu: Width0 4+1,
imx-ipuv3 2800000.ipu: Width1 5+1,
imx-ipuv3 2800000.ipu: Width2 4+1,
imx-ipuv3 2800000.ipu: Width3 7+1,
imx-ipuv3 2800000.ipu: Offset0 0,
imx-ipuv3 2800000.ipu: Offset1 5,
imx-ipuv3 2800000.ipu: Offset2 11,
imx-ipuv3 2800000.ipu: Offset3 16
mxc_sdc_fb fb.27: Y wrap disabled
mxc_sdc_fb fb.27: Updating SDC DISP4 BG buf 0 address=0x3C100000
mxc_sdc_fb fb.27: Update complete
Console: switching to colour frame buffer device 128x48
mxc_sdc_fb fb.27: Y wrap disabled
mxc_sdc_fb fb.27: Updating SDC DISP4 BG buf 1 address=0x3C100000
mxc_sdc_fb fb.27: Update complete
mxc_sdc_fb fb.27: pixclock set for 60Hz refresh = 217013 ps
mxc_sdc_fb fb.27: Reconfiguring framebuffer
imx-ipuv3 2800000.ipu: Channel already disabled 10
imx-ipuv3 2800000.ipu: Channel already uninitialized 10
mxc_sdc_fb fb.27: allocated fb @ paddr=0x3C300000, size=691200.
mxc_sdc_fb fb.28: mxcfb_probe enter
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
mxc_sdc_fb fb.28: di_pixfmt:0x33424752, bpp:0x18, di:0, ipu:0
mxc_sdc_fb fb.28: registered mxc display driver hdmi
mxc_sdc_fb fb.28: Reconfiguring framebuffer
imx-ipuv3 2400000.ipu: Channel already disabled 9
imx-ipuv3 2400000.ipu: Channel already uninitialized 9
mxc_sdc_fb fb.28: allocated fb @ paddr=0x3C400000, size=6220800.
imx-ipuv3 2400000.ipu: init channel = 9
imx-ipuv3 2400000.ipu: ipu busfreq high requst.
mxc_sdc_fb fb.28: pixclock = 148500000l Hz
mxc_sdc_fb fb.28: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz
imx-ipuv3 2400000.ipu: panel size = 1920 x 1080
imx-ipuv3 2400000.ipu: pixel clk = 148500000
imx-ipuv3 2400000.ipu: try ipu internal clk
imx-ipuv3 2400000.ipu: rounded pix clk:176000000
imx-ipuv3 2400000.ipu: try ipu ext di clk
imx-ipuv3 2400000.ipu: di clk:148500000
imx-ipuv3 2400000.ipu: round pixel clk:148500000
imx-ipuv3 2400000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
mxc_sdc_fb fb.28: Y wrap disabled
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c09005c0
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c0901140 sub cpmem
imx-ipuv3 2400000.ipu: DMFC high resolution has set, will not change
imx-ipuv3 2400000.ipu: ch 23 word 0 - 00000000 00000000 00000000 E0000800 0010DCEF
imx-ipuv3 2400000.ipu: ch 23 word 1 - 07880000 00F10000 00E4C000 FFF59FC0 000C4100
imx-ipuv3 2400000.ipu: PFS 0x7,
imx-ipuv3 2400000.ipu: BPP 0x1,
imx-ipuv3 2400000.ipu: NPB 0x13
imx-ipuv3 2400000.ipu: FW 1919,
imx-ipuv3 2400000.ipu: FH 1079,
imx-ipuv3 2400000.ipu: EBA0 0x3c400000
imx-ipuv3 2400000.ipu: EBA1 0x3c400000
imx-ipuv3 2400000.ipu: Stride 5759
imx-ipuv3 2400000.ipu: scan_order 0
imx-ipuv3 2400000.ipu: uv_stride 256
imx-ipuv3 2400000.ipu: u_offset 0x0
imx-ipuv3 2400000.ipu: v_offset 0x0
imx-ipuv3 2400000.ipu: Width0 7+1,
imx-ipuv3 2400000.ipu: Width1 7+1,
imx-ipuv3 2400000.ipu: Width2 7+1,
imx-ipuv3 2400000.ipu: Width3 7+1,
imx-ipuv3 2400000.ipu: Offset0 0,
imx-ipuv3 2400000.ipu: Offset1 8,
imx-ipuv3 2400000.ipu: Offset2 16,
imx-ipuv3 2400000.ipu: Offset3 24
mxc_sdc_fb fb.28: Y wrap disabled
mxc_sdc_fb fb.28: Updating SDC DISP3 BG buf 0 address=0x3C400000
mxc_sdc_fb fb.28: Update complete
mxc_sdc_fb fb.28: blank = 0
mxc_sdc_fb fb.28: pixclock set for 60Hz refresh = 217013 ps
mxc_sdc_fb fb.28: Reconfiguring framebuffer
imx-ipuv3 2400000.ipu: Channel already disabled 10
imx-ipuv3 2400000.ipu: Channel already uninitialized 10
mxc_sdc_fb fb.28: allocated fb @ paddr=0x3CA00000, size=691200.
mxc_sdc_fb fb.29: mxcfb_probe enter
mxc_sdc_fb fb.29: NO mxc display driver found!
mxc_sdc_fb fb.30: mxcfb_probe enter
mxc_sdc_fb fb.30: get of property mode_str fail
mxc_sdc_fb fb.30: di_pixfmt:0x36424752, bpp:0x10, di:1, ipu:1
mxc_sdc_fb fb.30: registered mxc display driver ldb
mxc_sdc_fb fb.30: Reconfiguring framebuffer
imx-ipuv3 2800000.ipu: Channel already disabled 7
imx-ipuv3 2800000.ipu: Channel already uninitialized 7
mxc_sdc_fb fb.30: allocated fb @ paddr=0x3CB00000, size=1572864.
imx-ipuv3 2800000.ipu: init channel = 7
mxc_sdc_fb fb.30: pixclock = 65002000l Hz
mxc_sdc_fb fb.30: 1024x768 h_sync,r,l: 60,40,220 v_sync,l,u: 10,7,21 pixclock=65002000 Hz
imx-ipuv3 2800000.ipu: panel size = 1024 x 768
imx-ipuv3 2800000.ipu: pixel clk = 65002000
imx-ipuv3 2800000.ipu: use special clk parent
imx-ipuv3 2800000.ipu: round pixel clk:64653061
imx-ipuv3 2800000.ipu: disp=1, pixel_clk=65002000 64653061 parent=64653061 div=1
mxc_sdc_fb fb.30: Y wrap disabled
imx-ipuv3 2800000.ipu: initializing idma ch 28 @ c0980700
imx-ipuv3 2800000.ipu: initializing idma ch 28 @ c09811c0 sub cpmem
imx-ipuv3 2800000.ipu: DMFC high resolution has set, will not change
imx-ipuv3 2800000.ipu: ch 28 word 0 - 00000000 00000000 00000000 E0001800 000BFC7F
imx-ipuv3 2800000.ipu: ch 28 word 1 - 07960000 00F2C000 00E7C000 F2C1FFC0 00082CA0
imx-ipuv3 2800000.ipu: PFS 0x7,
imx-ipuv3 2800000.ipu: BPP 0x3,
imx-ipuv3 2800000.ipu: NPB 0x1f
imx-ipuv3 2800000.ipu: FW 1023,
imx-ipuv3 2800000.ipu: FH 767,
imx-ipuv3 2800000.ipu: EBA0 0x3cb00000
imx-ipuv3 2800000.ipu: EBA1 0x3cb00000
imx-ipuv3 2800000.ipu: Stride 2047
imx-ipuv3 2800000.ipu: scan_order 0
imx-ipuv3 2800000.ipu: uv_stride 11424
imx-ipuv3 2800000.ipu: u_offset 0x0
imx-ipuv3 2800000.ipu: v_offset 0x0
imx-ipuv3 2800000.ipu: Width0 4+1,
imx-ipuv3 2800000.ipu: Width1 5+1,
imx-ipuv3 2800000.ipu: Width2 4+1,
imx-ipuv3 2800000.ipu: Width3 7+1,
imx-ipuv3 2800000.ipu: Offset0 0,
imx-ipuv3 2800000.ipu: Offset1 5,
imx-ipuv3 2800000.ipu: Offset2 11,
imx-ipuv3 2800000.ipu: Offset3 16
mxc_sdc_fb fb.30: Y wrap disabled
mxc_sdc_fb fb.30: Updating SDC DISP4 BG - DI1 buf 0 address=0x3CB00000
mxc_sdc_fb fb.30: Update complete
mxc_sdc_fb fb.30: blank = 0
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 1.1
imx-sdma 20ec000.sdma: initialized
mxc_sdc_fb fb.28: Reconfiguring framebuffer
pfuze100-regulator 1-0008: Full lay: 2, Metal lay: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
SW1AB: 300 <--> 1875 mV at 1150 mV
SW1C: 300 <--> 1875 mV at 1175 mV
SW2: 800 <--> 3300 mV at 3300 mV
SW3A: 400 <--> 1975 mV at 1500 mV
SW3B: 400 <--> 1975 mV at 1500 mV
SW4: 800 <--> 3300 mV at 3150 mV
SWBST: 5000 <--> 5150 mV at 5000 mV
VSNVS: 1000 <--> 3000 mV at 3000 mV
VREFDDR: 750 mV
imx-ipuv3 2400000.ipu: DC stop timeout - 1 * 10ms
imx-ipuv3 2400000.ipu: ipu busfreq high release.
imx-ipuv3 2400000.ipu: init channel = 9
imx-ipuv3 2400000.ipu: ipu busfreq high requst.
mxc_sdc_fb fb.28: pixclock = 25175000l Hz
mxc_sdc_fb fb.28: 640x480 h_sync,r,l: 96,16,48 v_sync,l,u: 2,10,33 pixclock=25175000 Hz
imx-ipuv3 2400000.ipu: panel size = 640 x 480
imx-ipuv3 2400000.ipu: pixel clk = 25175000
imx-ipuv3 2400000.ipu: try ipu internal clk
imx-ipuv3 2400000.ipu: rounded pix clk:25142857
imx-ipuv3 2400000.ipu: round pixel clk:25142857
VGEN1: 800 <--> 1550 mV at 1500 mV
VGEN2: 800 <--> 1550 mV at 1500 mV
VGEN3: 1800 <--> 3300 mV at 2800 mV
VGEN4: 1800 <--> 3300 mV at 1800 mV
VGEN5: 1800 <--> 3300 mV at 3000 mV
VGEN6: 1800 <--> 3300 mV at 3300 mV
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
imx-ipuv3 2400000.ipu: disp=0, pixel_clk=25175000 25142857 parent=264000000 div=10
mxc_sdc_fb fb.28: Y wrap disabled
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c09005c0
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c0901140 sub cpmem
imx-ipuv3 2400000.ipu: ch 23 word 0 - 00000000 00000000 00000000 E0000800 00077C4F
imx-ipuv3 2400000.ipu: ch 23 word 1 - 07880000 00F10000 00E4C000 FFF1DFC0 000C4100
imx-ipuv3 2400000.ipu: PFS 0x7,
imx-ipuv3 2400000.ipu: BPP 0x1,
imx-ipuv3 2400000.ipu: NPB 0x13
imx-ipuv3 2400000.ipu: FW 639,
imx-ipuv3 2400000.ipu: FH 479,
imx-ipuv3 2400000.ipu: EBA0 0x3c400000
imx-ipuv3 2400000.ipu: EBA1 0x3c400000
imx-ipuv3 2400000.ipu: Stride 1919
imx-ipuv3 2400000.ipu: scan_order 0
imx-ipuv3 2400000.ipu: uv_stride 256
imx-ipuv3 2400000.ipu: u_offset 0x0
imx-ipuv3 2400000.ipu: v_offset 0x0
imx-ipuv3 2400000.ipu: Width0 7+1,
imx-ipuv3 2400000.ipu: Width1 7+1,
imx-ipuv3 2400000.ipu: Width2 7+1,
imx-ipuv3 2400000.ipu: Width3 7+1,
imx-ipuv3 2400000.ipu: Offset0 0,
imx-ipuv3 2400000.ipu: Offset1 8,
imx-ipuv3 2400000.ipu: Offset2 16,
imx-ipuv3 2400000.ipu: Offset3 24
mxc_sdc_fb fb.28: Y wrap disabled
mxc_sdc_fb fb.28: Updating SDC DISP3 BG buf 0 address=0x3C400000
mxc_sdc_fb fb.28: Update complete
mxc_sdc_fb fb.28: Reconfiguring framebuffer
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
serial: Freescale lpuart driver
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
imx-ipuv3 2400000.ipu: DC stop timeout - 2 * 10ms
imx-ipuv3 2400000.ipu: ipu busfreq high release.
imx-ipuv3 2400000.ipu: init channel = 9
imx-ipuv3 2400000.ipu: ipu busfreq high requst.
mxc_sdc_fb fb.28: pixclock = 148500000l Hz
mxc_sdc_fb fb.28: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz
imx-ipuv3 2400000.ipu: panel size = 1920 x 1080
imx-ipuv3 2400000.ipu: pixel clk = 148500000
imx-ipuv3 2400000.ipu: try ipu internal clk
imx-ipuv3 2400000.ipu: rounded pix clk:176000000
imx-ipuv3 2400000.ipu: try ipu ext di clk
imx-ipuv3 2400000.ipu: di clk:148500000
imx-ipuv3 2400000.ipu: round pixel clk:148500000
m25p80 spi32766.0: s25fl128s (16384 Kbytes)
spi_imx 200c000.ecspi: probed
CAN device driver interface
/soc/aips-bus@02100000/ethernet@02188000: could not find phy node
fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
fec 2188000.ethernet (unregistered net_device): Using random MAC address: 62:cc:8f:ff:a8:03
libphy: fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
setup_reset_gpios:-2, flags 0
setup_reset_gpios:-2, flags 0
imx-ipuv3 2400000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
mxc_sdc_fb fb.28: Y wrap disabled
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c09005c0
imx-ipuv3 2400000.ipu: initializing idma ch 23 @ c0901140 sub cpmem
imx-ipuv3 2400000.ipu: DMFC high resolution has set, will not change
imx-ipuv3 2400000.ipu: ch 23 word 0 - 00000000 00000000 00000000 E0000800 0010DCEF
imx-ipuv3 2400000.ipu: ch 23 word 1 - 07880000 00F10000 00E4C000 FFF59FC0 000C4100
imx-ipuv3 2400000.ipu: PFS 0x7,
imx-ipuv3 2400000.ipu: BPP 0x1,
imx-ipuv3 2400000.ipu: NPB 0x13
imx-ipuv3 2400000.ipu: FW 1919,
imx-ipuv3 2400000.ipu: FH 1079,
imx-ipuv3 2400000.ipu: EBA0 0x3c400000
imx-ipuv3 2400000.ipu: EBA1 0x3c400000
imx-ipuv3 2400000.ipu: Stride 5759
imx-ipuv3 2400000.ipu: scan_order 0
imx-ipuv3 2400000.ipu: uv_stride 256
imx-ipuv3 2400000.ipu: u_offset 0x0
imx-ipuv3 2400000.ipu: v_offset 0x0
imx-ipuv3 2400000.ipu: Width0 7+1,
imx-ipuv3 2400000.ipu: Width1 7+1,
imx-ipuv3 2400000.ipu: Width2 7+1,
imx-ipuv3 2400000.ipu: Width3 7+1,
imx-ipuv3 2400000.ipu: Offset0 0,
imx-ipuv3 2400000.ipu: Offset1 8,
imx-ipuv3 2400000.ipu: Offset2 16,
imx-ipuv3 2400000.ipu: Offset3 24
ci_hdrc ci_hdrc.1: doesn't support gadget
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
mxc_sdc_fb fb.28: Y wrap disabled
mxc_sdc_fb fb.28: Updating SDC DISP3 BG buf 0 address=0x3C400000
mxc_sdc_fb fb.28: Update complete
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
check_alarm_past: alarm in the past
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
mxc_v4l2_output v4l2_out.32: V4L2 device registered as video16
mxc_v4l2_output v4l2_out.32: V4L2 device registered as video17
mxc_v4l2_output v4l2_out.32: V4L2 device registered as video18
mxc_v4l2_output v4l2_out.32: V4L2 device registered as video19
mxc_v4l2_output v4l2_out.32: V4L2 device registered as video20
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt 20c0000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
usbcore: registered new interface driver ath3k
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 2198000.usdhc: sdhci_esdhc_imx_probe_dt: power-gpio -2
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
sdhci-esdhc-imx 219c000.usdhc: sdhci_esdhc_imx_probe_dt: power-gpio -2
mmc3: no vqmmc regulator found
mmc3: no vmmc regulator found
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
Galcore version 5.0.11.25762
mmc3: BKOPS_EN bit is not set
mmc3: new high speed DDR MMC card at address 0001
mmcblk3: mmc3:0001 MMC08G 7.26 GiB
mmcblk3boot0: mmc3:0001 MMC08G partition 1 16.0 MiB
mmcblk3boot1: mmc3:0001 MMC08G partition 2 16.0 MiB
mmcblk3rpmb: mmc3:0001 MMC08G partition 3 128 KiB
mmcblk3: p1 p2
mmcblk3boot1: unknown partition table
mmcblk3boot0: unknown partition table
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered
mxc_vpu 2040000.vpu: VPU initialized
leds-gpio leds.19: pins are not configured from the driver
caam 2100000.caam: Instantiated RNG4 SH0
ci_hdrc ci_hdrc.0: role 1 to 0
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a160100 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] fd ac ec 48 a1 36 f9 01
platform caam_sm: [0008] 57 36 7d d4 9f 2d 1d 95
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] a1 03 32 2c 21 5d 6a b1
platform caam_sm: [0008] 16 a6 c1 bf 39 86 55 66
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] 34 8f a5 1e 09 41 49 7e
platform caam_sm: [0008] e0 2c 1a 95 ea 0d 1f 96
platform caam_sm: [0016] c1 f0 5a 81 c7 02 d3 5a
platform caam_sm: [0024] 85 3b 97 25 5c 9d 1d a7
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] 39 a6 ae 03 62 ad 61 80
platform caam_sm: [0008] d3 55 21 29 4d fe 63 ec
platform caam_sm: [0016] 28 97 e0 46 fa 08 a4 74
platform caam_sm: [0024] 6f ce c5 1a ae 6c 89 88
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] ee 7c 21 0d 3a 1a cf fa
platform caam_sm: [0008] 1c 9f 3b 8b ee 89 0c c0
platform caam_sm: [0016] bd f5 15 9f 53 73 17 53
platform caam_sm: [0024] 9a b2 2b 53 df 5e ed 98
platform caam_sm: [0032] 10 94 92 2d 8d 2a 39 cd
platform caam_sm: [0040] 69 59 d0 25 58 6f 82 79
platform caam_sm: [0048] bb a9 21 60 c3 21 a9 f2
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 9b f8 9b 02 60 1d 04 fa
platform caam_sm: [0008] ae 99 fd 11 f5 4f 1a 22
platform caam_sm: [0016] 15 9d 75 f5 17 c9 8d 28
platform caam_sm: [0024] be dd d7 4e b6 66 91 98
platform caam_sm: [0032] c0 29 10 c3 8a 48 95 48
platform caam_sm: [0040] 76 31 5d 2e e6 c4 52 70
platform caam_sm: [0048] 3a b3 32 24 76 23 14 5e
platform caam_sm: [0056] 6c 29 6a 98 86 66 0a a8
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 38 ab ca 5b 32 62 cc 60
platform caam_sm: [0008] f1 95 0c ac 5f 33 25 e6
platform caam_sm: [0016] 93 e9 66 c7 dc 24 fa 03
platform caam_sm: [0024] 7f 8b a7 68 a9 ae b8 05
platform caam_sm: [0032] 9f 93 79 35 32 46 cc 37
platform caam_sm: [0040] 1e fe 85 b6 f8 4e 74 cb
platform caam_sm: [0048] f5 5e e1 0f 6f 69 cd 4d
platform caam_sm: [0056] 9a 7d e7 34 72 15 a9 23
platform caam_sm: [0064] fb 5b 3e ca 8b e5 7c 13
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] e0 79 06 a9 80 98 47 1c
platform caam_sm: [0008] 6f 10 19 35 40 74 30 f4
platform caam_sm: [0016] d3 04 59 b7 2d da 5f 86
platform caam_sm: [0024] 5a e3 90 a6 0a 99 27 50
platform caam_sm: [0032] d6 70 60 8a ec b6 d6 c0
platform caam_sm: [0040] 39 11 f2 81 60 6b 44 35
platform caam_sm: [0048] 7a 15 86 b5 14 3e 91 01
platform caam_sm: [0056] 5e 9a 2e a1 65 d0 ce 8a
platform caam_sm: [0064] 70 0c 5a 4f ee 89 74 f7
platform caam_sm: [0072] 28 65 37 76 c3 28 23 f1
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] ed 33 8d 86 07 b6 ed 56
platform caam_sm: [0008] 5c b0 b6 a1 4e 3d 20 f9
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] a1 03 32 2c 21 5d 6a b1
platform caam_sm: [0008] 16 a6 c1 bf 39 86 55 66
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 34 8f a5 1e 09 41 49 7e
platform caam_sm: [0008] e0 2c 1a 95 ea 0d 1f 96
platform caam_sm: [0016] 74 e6 21 9e 6c 48 a0 3d
platform caam_sm: [0024] e3 67 7b 99 8a e5 13 06
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 39 a6 ae 03 62 ad 61 80
platform caam_sm: [0008] d3 55 21 29 4d fe 63 ec
platform caam_sm: [0016] 28 97 e0 46 fa 08 a4 74
platform caam_sm: [0024] 6f ce c5 1a ae 6c 89 88
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
wm8962 0-001a: Failed to read ID register
wm8962: probe of 0-001a failed with error -5
imx-wm8962 sound.25: failed to find codec platform device
imx-wm8962: probe of sound.25 failed with error -22
imx-audio-hdmi sound-hdmi.26: hdmi-hifi <-> hdmi_audio.17 mapping ok
NET: Registered protocol family 26
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
VGEN3: disabling
VGEN2: disabling
VGEN1: disabling
SWBST: disabling
SW4: disabling
wm8962-supply: disabling
regulator-dummy: disabling
imx mcc test is registered.
input: gpio-keys.24 as /devices/soc0/gpio-keys.24/input/input0
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:03:57 UTC (237)
ALSA device list:
#0: imx-hdmi-soc
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk3p2): using internal journal
EXT3-fs (mmcblk3p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 304K (80c7a000 - 80cc6000)
Starting logging: OK
Initializing random number generator... done.
Starting network...

Welcome to Buildroot
buildroot login: root

0 Kudos
Reply

2,969 Views
joanxie
NXP TechSupport
NXP TechSupport

1) could you test by unit test? do you have the same error by unit test?

2) try to use the command as user guide mentioned:

Camera preview example:
gst-launch-1.0 imxv4l2src device=/dev/video1 ! 'video/x-raw,
format=(string)UYVY,width=640,height=480,framerate=(fraction)30/1'
! imxv4l2sink

but I suggest that you use unit test first

0 Kudos
Reply

2,969 Views
jamalmohiuddin
Contributor III

Can you please provide more detail about unit test...Which unit test are you referring?

0 Kudos
Reply

2,969 Views
joanxie
NXP TechSupport
NXP TechSupport

one can use "mxc_v4l2_capture.out", for more detaile information, pls refer to the chapter 20.2.5 Unit Test of i.MX 6 Linux Reference Manual,

0 Kudos
Reply

2,969 Views
jamalmohiuddin
Contributor III

I got mxc_v4l2_capture.out generated by using Yocto Image and copied the binary into my root file system..

Executed the following command:

./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -i1 -c  50 -fr 30 test.yuv

Many times i got the following errors:

./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -i
1 -c 50power_down_callback: ipu0/csi0
0 -fr 30 test1.yuv
in_width = 640, in_height = 480
mxc_cam_select_input: input(1) CSI MEM
out_width = 640, out_height = 480
top = 0, left = 0
sensor chip is ov5642_camera
sensor supported frame size:
640x480
320x240
720x480
720x576
1280x720
1920x1080
2592x1944
176x144
1024x768
sensor frame format: YUYV
ov5642_write_reg:write reg error:reg=3502,val=80 ret=-5
ov5642_apply_settings, write reg 0x3502 failed
mxc_v4l2_s_param: vidioc_int_s_parm returned an error -5
VIDIOC_S_PARM failed
get format failed

Each time writing to a particular register fails.. Sometimes, it is getting successful.. Why is such behavior.

I tried to play the yuv file in windows, I am getting the pink color layer above the video sometimes, if we can remove that pink layer, my problem will be almost solved.. Can you help in understanding why is that layer coming above and how can I remove that..

Attached screenshot for your reference..

Pink Layer.jpg

0 Kudos
Reply

2,971 Views
joanxie
NXP TechSupport
NXP TechSupport

how about try the "-i 0" in your command? any improvement?

0 Kudos
Reply

2,971 Views
jamalmohiuddin
Contributor III

Same output.. That above layer is still present

0 Kudos
Reply

2,971 Views
joanxie
NXP TechSupport
NXP TechSupport

the command you use means Capture the camera and store the 50 frames of YUV420 (VGA size) to the test.yuv file, try to use other capture format, if you don't know how to set the format, try to use mxc_v4l2_capture.out -help to find more detailed information.

0 Kudos
Reply

2,971 Views
jamalmohiuddin
Contributor III

As this issue is only happening in 30fps, and not in 15fps, the format should not be problem.

0 Kudos
Reply

2,971 Views
joanxie
NXP TechSupport
NXP TechSupport

when you use“./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -i1 -c  50 -fr 15 test.yuv”, everything is ok?

0 Kudos
Reply

2,971 Views
jamalmohiuddin
Contributor III

Playing test.yuv video in mplayer is same whether it is in 15fps or 30 fps.. The only difference comes when I run gstreamer pipeline.

pastedImage_1.png

0 Kudos
Reply

2,971 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the picture, it seems you set incorrect data format, try to check this first.

0 Kudos
Reply

2,971 Views
jamalmohiuddin
Contributor III

Are you referring to windows yuv player or in mxc_v4l2_capture command..

0 Kudos
Reply

2,971 Views
joanxie
NXP TechSupport
NXP TechSupport

I mean mxc_v4l2_capture, you can use mxc_v4l2_capture -help

0 Kudos
Reply

2,970 Views
jamalmohiuddin
Contributor III

I am using buildroot.. Do you have steps to compile mxc_v4l2_capture.out for buildroot. I know that this is present in Yocto. But we have our images running in Yocto..

0 Kudos
Reply