Skip to contentSkip to conversation

Using the camera

meta-raspberrypi Gary Thomas 2 participants 3 messages Nov 18, 2013

lore
Share & tools
lore
#0 lore raw

I have the raspberrypi camera (the one that plugs directly into the board) running with Raspbian. Now I'd like to have it working with my Yocto based build. I'm running the latest kernel which I think matches the same kernel on Raspbian and I copied the /boot/config.txt from my Raspbian disk to my Yocto image which I think should enable the camera. I've also checked the kernel cmdline which I think matches.

However, when I try to access the camera I get this error:

  root@raspberrypi:~# raspistill  -o /tmp/xx.jpg
  mmal: mmal_component_create_core: could not find component 'vc.ril.camera'
  mmal: Failed to create camera component
  mmal: main: Failed to create camera component
  mmal: Failed to run camera app. Please check for firmware updates

Any ideas what I need to do to get the camera working?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 8 lines · Gary Thomas

I have the raspberrypi camera (the one that plugs directly into the board) running with Raspbian. Now I'd like to have it working with my Yocto based build. I'm running the latest kernel which I think matches the same kernel on Raspbian and I copied the /boot/config.txt from my Raspbian disk to my Yocto image which I think should enable the camera. I've also checked the kernel cmdline which I think matches.

However, when I try to access the camera I get this error:

Quoted 8 lines
  root@raspberrypi:~# raspistill  -o /tmp/xx.jpg
  mmal: mmal_component_create_core: could not find component
'vc.ril.camera'
  mmal: Failed to create camera component
  mmal: main: Failed to create camera component
  mmal: Failed to run camera app. Please check for firmware updates

Any ideas what I need to do to get the camera working?

Did you also check that you are using the latest firmware (i.e. a quite recent checkout of meta-raspberrypi)? I don't have the camera myself, so I've never tested this feature.

Philipp

#2 lore raw
Quoted 16 lines · Philipp Wagner
Quoted 15 lines · Gary Thomas

I have the raspberrypi camera (the one that plugs directly into the board) running with Raspbian. Now I'd like to have it working with my Yocto based build. I'm running the latest kernel which I think matches the same kernel on Raspbian and I copied the /boot/config.txt from my Raspbian disk to my Yocto image which I think should enable the camera. I've also checked the kernel cmdline which I think matches.

However, when I try to access the camera I get this error:

   root@raspberrypi:~# raspistill  -o /tmp/xx.jpg
   mmal: mmal_component_create_core: could not find component
'vc.ril.camera'
   mmal: Failed to create camera component
   mmal: main: Failed to create camera component
   mmal: Failed to run camera app. Please check for firmware updates
Quoted 5 lines
Quoted 1 line

Any ideas what I need to do to get the camera working?

Did you also check that you are using the latest firmware (i.e. a quite recent checkout of meta-raspberrypi)? I don't have the camera myself, so I've never tested this feature.

I do have the very latest version of meta-raspberrypi, with the 20131113 version of the firmware (bcm bootfiles).

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------