no camera with 3.12

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

no camera with 3.12

Postby oklitz » Sat Nov 16, 2013 12:34 am

Hello !

When I boot with 3.12 dmesg:
[ 0.000000] vc_cma: dma_declare_contiguous(11800000,d400000) failed

and raspivid says:

mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates

when i'm running 3.10.18 its all OK !
just changing the kernel, and no changes on config files

I have no idea what the kernel messages says ! so i post this bug here

mfg m.oklitz
oklitz
 
Posts: 10
Joined: Sun Jul 07, 2013 10:48 am

Re: no camera with 3.12

Postby moonman » Sat Nov 16, 2013 2:18 am

-latest is an experimental branch and not all things work, especially early in the transition 3.X.1 ~ 3.X.2-3. Please submit the bug upstream. https://github.com/raspberrypi/linux/issues
For the same reason (vc_cma) xbmc does not work with this kernel as well.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: no camera with 3.12

Postby oklitz » Sat Nov 16, 2013 2:58 am

ok i wrote an issue at github


mfg Marco Oklitz
oklitz
 
Posts: 10
Joined: Sun Jul 07, 2013 10:48 am

Re: no camera with 3.12

Postby crashmaster » Tue Nov 19, 2013 2:06 pm

"vc_cma: dma_declare_contiguous(11800000,d400000) failed"

I deleted the following params in config.txt which has helped.
$this->bbcode_second_pass_code('', '
cma_lwm=
cma_hwm=
cma_offline_start=
')

In addition i found out that using 1wire (w1_gpio) destroys the structure of i2c bus 0 which is used by the cam, ENOSPC error occurs. I already posted this at github.

Without loading 1wire modules the cam works fine here.

EDIT:
And a good workaround is to load first the w1-modules and afterwards the i2c modules. i2c initialization overwrites the w1 quirks done on i2c bus 0. Now my w1 sensors work very well together with the cam.
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 24 guests