ERROR: v4l2 capture: slave not found!

Discussion in 'Kernels' started by arvindsingh1008, Apr 29, 2015.

  1. arvindsingh1008

    arvindsingh1008 New Member

    Joined:
    Apr 29, 2015
    Messages:
    1
    Likes Received:
    0
    Hi UDOO Team,

    I am a newbie, working on udoo dual. i am trying to boot my board with minimal file system.
    But i am getting this error. ERROR v4l2 capture: slave not found!
    Kernel version is 3.0.35
    Any help will be greatly appriciated.

    Here is the log of kernel booting


    Starting kernel ...

    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.0.35 (udoo@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #10 SMP PREEMPT Wed Jul 30 18:16:10 CEST 2014
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: SECO i.Mx6 UDOO Board
    [ 0.000000] Kernel ver: v. 132\nMemory policy: ECC disabled, Data cache writealloc
    [ 0.000000] CPU identified as i.MX6DL/SOLO, silicon rev 1.1
    [ 0.000000] PERCPU: Embedded 7 pages/cpu @8c008000 s5504 r8192 d14976 u32768
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227328
    [ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk0p1 rootwait rw fbmem=24M gpu_reserved=128M video=mxcfb0:dev=hdmi,19
    20x1080M@60,bpp=32
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 640MB 256MB = 896MB total
    [ 0.000000] Memory: 895120k/895120k available, 153456k reserved, 0K highmem
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] DMA : 0xf4600000 - 0xffe00000 ( 184 MB)
    [ 0.000000] vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB)
    [ 0.000000] lowmem : 0x80000000 - 0xc0000000 (1024 MB)
    [ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
    [ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
    [ 0.000000] .init : 0x80008000 - 0x8003a000 ( 200 kB)
    [ 0.000000] .text : 0x8003a000 - 0x80c41368 (12317 kB)
    [ 0.000000] .data : 0x80c42000 - 0x80cac180 ( 425 kB)
    [ 0.000000] .bss : 0x80cac1a4 - 0x80cfec64 ( 331 kB)
    [ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:624
    [ 0.000000] MXC GPIO hardware
    [ 0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
    [ 0.000000] Set periph_clk's parent to pll2_pfd_400M!
    [ 0.000000] arm_max_freq=1GHz
    [ 0.000000] MXC_Early serial console at MMIO 0x21e8000 (options '115200')
    [ 0.000000] bootconsole [ttymxc1] enabled
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.225284] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
    [ 0.313622] pid_max: default: 32768 minimum: 301
    [ 0.318504] Mount-cache hash table entries: 512
    [ 0.323779] Initializing cgroup subsys cpuacct
    [ 0.328278] Initializing cgroup subsys devices
    [ 0.332737] Initializing cgroup subsys freezer
    [ 0.337231] Initializing cgroup subsys blkio
    [ 0.341572] CPU: Testing write buffer coherency: ok
    [ 0.346733] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    [ 0.447293] CPU1: Booted secondary processor
    [ 0.486774] Brought up 2 CPUs
    [ 0.494036] SMP: Total of 2 processors activated (3162.11 BogoMIPS).
    [ 0.500844] devtmpfs: initialized
    [ 0.520815] print_constraints: dummy:
    [ 0.524813] NET: Registered protocol family 16
    [ 0.533954] print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal
    [ 0.541554] print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
    [ 0.549347] print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
    [ 0.557068] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
    [ 0.564833] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
    [ 0.572507] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
    [ 0.581701]
    [ 0.581708] > UDOO dual
    [ 0.585480] > rev C Called set_gpios_direction
    [ 0.590162] Test and set gpios directions and values by Gionji feat. Ekirei test
    [ 0.622731] Resetting ethernet physical layer.
    [ 0.673500] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [ 0.680340] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
    [ 0.687704] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.693580] L310 cache controller enabled
    [ 0.697626] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02050000, Cache size: 524288 B
    [ 0.749195] bio: create slab <bio-0> at 0
    [ 0.756778] mxs-dma mxs-dma-apbh: initialized
    [ 0.761507] print_constraints: vmmc: 3300 mV
    [ 0.766618] vgaarb: loaded
    [ 0.770216] SCSI subsystem initialized
    [ 0.775226] usbcore: registered new interface driver usbfs
    [ 0.780942] usbcore: registered new interface driver hub
    [ 0.786439] usbcore: registered new device driver usb
    [ 0.791521] Freescale USB OTG Driver loaded, $Revision: 1.55 $
    [ 0.816766] imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
    [ 0.824954] mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
    [ 0.831435] mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
    [ 0.839165] MIPI CSI2 driver module loaded
    [ 0.843540] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.850780] Bluetooth: Core ver 2.16
    [ 0.854496] NET: Registered protocol family 31
    [ 0.858968] Bluetooth: HCI device and connection manager initialized
    [ 0.865344] Bluetooth: HCI socket layer initialized
    [ 0.870243] Bluetooth: L2CAP socket layer initialized
    [ 0.875378] Bluetooth: SCO socket layer initialized
    [ 0.880749] cfg80211: Calling CRDA to update world regulatory domain
    [ 0.888175] i2c-core: driver [max17135] using legacy suspend method
    [ 0.894463] i2c-core: driver [max17135] using legacy resume method
    [ 0.900717] Switching to clocksource mxc_timer1
    [ 0.921147] NET: Registered protocol family 2
    [ 0.925840] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.933704] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [ 0.943083] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
    [ 0.951427] TCP: Hash tables configured (established 131072 bind 65536)
    [ 0.958091] TCP reno registered
    [ 0.961251] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.967234] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.973957] NET: Registered protocol family 1
    [ 0.978685] RPC: Registered named UNIX socket transport module.
    [ 0.984627] RPC: Registered udp transport module.
    [ 0.989392] RPC: Registered tcp transport module.
    [ 0.994112] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.001471] PMU: registered new PMU device of type 0
    [ 1.006622] Static Power Management for Freescale i.MX6
    [ 1.011865] wait mode is enabled for i.MX6
    [ 1.016196] cpaddr = c0820000 suspend_iram_base=c0898000
    [ 1.021604] PM driver module loaded
    [ 1.025584] IMX usb wakeup probe
    [ 1.029294] add wake up source irq 75
    [ 1.036652] IMX usb wakeup probe
    [ 1.040176] cpu regulator mode:ldo_enable
    [ 1.044365] i.MXC CPU frequency driver
    [ 1.070619] VFS: Disk quotas dquot_6.5.2
    [ 1.074900] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.085601] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [ 1.092489] fuse init (API version 7.16)
    [ 1.097755] msgmni has been set to 1748
    [ 1.103153] alg: No test for stdrng (krng)
    [ 1.107437] io scheduler noop registered
    [ 1.111373] io scheduler deadline registered
    [ 1.116130] io scheduler cfq registered (default)
    [ 1.121970] MIPI DSI driver module loaded
    [ 1.126213] mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi
    [ 1.132706] mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
    [ 1.139740] fbcvt: 1920x1080@60: CVT Name - 2.073M9
    [ 1.144647] fb_videomode = 59 1920 1080 5780 328 128 3 32 200 5 2 0 32
    [ 1.162676] imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
    [ 1.175454] imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
    [ 1.208852] imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
    [ 1.242386] Console: switching to colour frame buffer device 160x64
    [ 1.289885] mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb
    [ 1.296322] _regulator_get: get() with no identifier
    [ 1.304739] imx-sdma imx-sdma: loaded firmware 1.1
    [ 1.314155] imx-sdma imx-sdma: initialized
    [ 1.464746] Serial: IMX driver
    [ 1.467960] imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
    [ 1.474919] imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
    [ 1.483055] console [ttymxc1] enabled, bootconsole disabled
    [ 1.483055] console [ttymxc1] enabled, bootconsole disabled
    [ 1.494954] imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
    [ 1.507935] loop: module loaded
    [ 1.511499] request BOSSA_CLK IRQ
    [ 1.514820] registering IRQ 419 for BOSSAC Arduino erase/reset operation
    [ 1.523541] GPMI NAND driver registered. (IMX)
    [ 1.529093] vcan: Virtual CAN interface driver
    [ 1.533541] CAN device driver interface
    [ 1.537780] flexcan netdevice driver
    [ 1.541549] FEC Ethernet Driver
    [ 1.547218] fec_enet_mii_bus: probed
    [ 1.556306] usbcore: registered new interface driver rt2800usb
    [ 1.562151] imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00800000
    [ 1.569206] imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00100000
    [ 1.576588] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.583262] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
    [ 1.589954] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
    [ 1.625316] fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
    [ 1.645306] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
    [ 1.651663] hub 1-0:1.0: USB hub found
    [ 1.655454] hub 1-0:1.0: 1 port detected
    [ 1.659562] add wake up source irq 72
    [ 1.663262] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
    [ 1.669911] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
    [ 1.705315] fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
    [ 1.725314] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
    [ 1.731548] hub 2-0:1.0: USB hub found
    [ 1.735333] hub 2-0:1.0: 1 port detected
    [ 1.739737] usbcore: registered new interface driver usbtmc
    [ 1.745577] usbcore: registered new interface driver usbserial
    [ 1.751523] USB Serial support registered for generic
    [ 1.756813] usbcore: registered new interface driver usbserial_generic
    [ 1.763343] usbserial: USB Serial Driver core
    [ 1.767833] USB Serial support registered for debug
    [ 1.772840] usbcore: registered new interface driver debug
    [ 1.778347] ARC USBOTG Device Controller driver (1 August 2005)
    [ 1.784647] g_ether gadget: using random self ethernet address
    [ 1.790541] g_ether gadget: using random host ethernet address
    [ 1.797178] usb0: MAC 36:6d:50:ee:42:93
    [ 1.801017] usb0: HOST MAC 3a:6f:a3:17:ec:e2
    [ 1.805314] g_ether gadget: controller 'fsl-usb2-udc' not recognized; trying CDC Ethernet (ECM)
    [ 1.814041] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [ 1.820679] g_ether gadget: g_ether ready
    [ 1.824691] Suspend udc for OTG auto detect
    [ 1.845332] fsl-usb2-udc: bind to driver g_ether
    [ 1.850722] mousedev: PS/2 mouse device common for all mice
    [ 1.856947] usbcore: registered new interface driver usbtouchscreen
    [ 1.863619] Sitronix touch driver 2.9.1
    [ 1.867480] Release date: 20120507
    [ 1.871341] sitronix_reset_ic
    [ 1.994559] send status reg command error (-5)
    [ 1.999030] sitronix: probe of 2-0055 failed with error -5
    [ 2.005693] snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
    [ 2.012370] i2c /dev entries driver
    [ 2.016742] Linux media interface: v0.10
    [ 2.020782] Linux video capture interface: v2.00
    [ 2.055323] usb 2-1: new high speed USB device number 2 using fsl-ehci
    [ 2.155411] ov5640_read_reg:write reg error:reg=300a
    [ 2.160379] camera ov5640_mipi is not found
    [ 2.165073] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
    [ 2.172757] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
    [ 2.180450] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
    [ 2.188349] vivi-000: V4L2 device registered as video2
    [ 2.193492] Video Technology Magazine Virtual Video Capture Board ver 0.8.0 successfully loaded.
    [ 2.202465] usbcore: registered new interface driver uvcvideo
    [ 2.208248] USB Video Class driver (v1.1.0)
    [ 2.212951] i2c-core: driver [mag3110] using legacy suspend method
    [ 2.219167] i2c-core: driver [mag3110] using legacy resume method
    [ 2.225818] imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
    [ 2.233936] Bluetooth: Virtual HCI driver ver 1.3
    [ 2.239688] Bluetooth: HCI UART driver ver 2.2
    [ 2.244187] Bluetooth: HCI H4 protocol initialized
    [ 2.249159] Bluetooth: HCI BCSP protocol initialized
    [ 2.254156] hub 2-1:1.0: USB hub found
    [ 2.257948] Bluetooth: HCILL protocol initialized
    [ 2.258135] hub 2-1:1.0: 4 ports detected
    [ 2.266682] Bluetooth: HCIATH3K protocol initialized
    [ 2.271648] Bluetooth: Generic Bluetooth USB driver ver 0.6
    [ 2.277398] usbcore: registered new interface driver btusb
    [ 2.283032] sdhci: Secure Digital Host Controller Interface driver
    [ 2.289238] sdhci: Copyright(c) Pierre Ossman
    [ 2.293989] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
    [ 2.301445] mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
    [ 2.312870] VPU initialized
    [ 2.316327] mxc_asrc registered
    [ 2.332959] Thermal calibration data is 0x5a450f69
    [ 2.337775] Thermal sensor with ratio = 188
    [ 2.357263] Anatop Thermal registered as thermal_zone0
    [ 2.362576] anatop_thermal_probe: default cooling device is cpufreq!
    [ 2.370046] usbcore: registered new interface driver usbhid
    [ 2.375643] usbhid: USB HID core driver
    [ 2.380081] usbcore: registered new interface driver snd-usb-audio
    [ 2.386910] mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
    [ 2.392380] Cirrus Logic CS42888 ALSA SoC Codec Driver
    [ 2.397661] i2c-core: driver [cs42888] using legacy suspend method
    [ 2.403846] i2c-core: driver [cs42888] using legacy resume method
    [ 2.441575] mmc0: new high speed SDHC card at address e624
    [ 2.447476] mmcblk0: mmc0:e624 SU08G 7.40 GiB
    [ 2.453969] mmcblk0: p1 p2
    [ 2.492789] audio_codec_ac97_cold_reset
    [ 2.535433] usb 2-1.3: new high speed USB device number 3 using fsl-ehci
    [ 2.577889] Found Audio codec AC97 vt1613, [ID = 5649 - 4123]
    [ 2.596001] asoc: vt1613 <-> imx-ssi.0 mapping ok
    [ 2.602673] imx_3stack asoc driver
    [ 2.607709] asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
    [ 2.614553] ALSA device list:
    [ 2.617544] #0: vt1613-audio
    [ 2.620598] #1: imx-hdmi-soc
    [ 2.623871] NET: Registered protocol family 26
    [ 2.628929] TCP cubic registered
    [ 2.632161] NET: Registered protocol family 17
    [ 2.636632] can: controller area network core (rev 20090105 abi 8)
    [ 2.642896] NET: Registered protocol family 29
    [ 2.647416] can: raw protocol (rev 20090105)
    [ 2.651689] can: broadcast manager protocol (rev 20090105 t)
    [ 2.657491] Bluetooth: RFCOMM TTY layer initialized
    [ 2.662376] Bluetooth: RFCOMM socket layer initialized
    [ 2.667616] Bluetooth: RFCOMM ver 1.11
    [ 2.671368] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 2.676693] Bluetooth: BNEP filters: protocol multicast
    [ 2.681922] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 2.688044] lib80211: common routines for IEEE802.11 drivers
    [ 2.693734] Registering the dns_resolver key type
    [ 2.698510] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 2.706643] Bus freq driver module loaded
    [ 2.710658] Bus freq driver Enabled
    [ 2.716026] mxc_dvfs_core_probe
    [ 2.719468] DVFS driver module loaded
    [ 2.725007] snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
    [ 2.738756] EXT3-fs: barriers not enabled
    [ 3.842308] kjournald starting. Commit interval 5 seconds
    [ 3.849830] EXT3-fs (mmcblk0p1): using internal journal
    [ 3.855073] EXT3-fs (mmcblk0p1): recovery complete
    [ 3.861669] EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
    [ 3.868821] VFS: Mounted root (ext3 filesystem) on device 179:1.
    [ 3.876076] devtmpfs: mounted
    [ 3.879168] Freeing init memory: 200K
    [ 6.503694] ERROR: v4l2 capture: slave not found!
    [ 6.510212] ERROR: v4l2 capture: slave not found!

    Thanks
    Arvind
     
  2. Yury

    Yury New Member

    Joined:
    Jan 28, 2015
    Messages:
    5
    Likes Received:
    0
    UDOO board have 2 video input interfaces. One of them - MIPI camera OV5640. As I see from your log you have not this camera:
    [ 2.155411] ov5640_read_reg:write reg error:reg=300a
    [ 2.160379] camera ov5640_mipi is not found

    So these errors tells you that V4L2 (Video for Linux version 2) allocates resources for input interfaces, but correspondent hardware not found. It is correct.
    If you do not want see these errors, you can recompile the kernel without video input option.
     
  3. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1
    This is not a problem itself... It just means that there's no camera module connected.
    The minimal file system is not meant to have a GUI... just command line..
     

Share This Page