jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27461
Joined: Sat Jul 30, 2011 7:41 pm

Re: Camera competition winners' thread

Thu Apr 11, 2013 3:55 pm

mappler wrote:
bspratt wrote:I still have the sense, especially after reading Gordon's message, that there are unknown system dependencies. Not link dependencies, necessarily, but perhaps further config issues. It does sound like no one at RPi has attempted a camera install lately starting with an empty SD card, I think that could be fruitful. It's just so easy to build up a development system with hidden dependencies, without realizing it. Then it's the old "huh, works fine on my box..." problem.
Thanks,
Brian
We started with blank SD card last night and now have it working. So, I think the process does work now for a fresh installation with no additional dependancies other than what is documented.

-Matt
Cool!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

bspratt
Posts: 16
Joined: Mon Apr 08, 2013 10:37 pm

Re: Camera competition winners' thread

Thu Apr 11, 2013 4:47 pm

Victory!
Adding

Code: Select all

start_file=start_x.elf
start_fixup=fixup_x.dat
to the end of /boot/config.txt was indeed the answer (for me - I hope we can get aframe sorted as well). Thanks to the group for the help!
Let the hacking begin.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Camera competition winners' thread

Thu Apr 11, 2013 8:08 pm

Excellent! Anybody else still having problems?
Director of Communications, Raspberry Pi

User avatar
mappler
Posts: 21
Joined: Sun Mar 17, 2013 12:28 pm

Re: Camera competition winners' thread

Thu Apr 11, 2013 8:11 pm

aframe is still having issues.
One of my Pi's does not work still, but two of them do.

aframe
Posts: 43
Joined: Tue Oct 30, 2012 10:03 am

Re: Camera competition winners' thread

Thu Apr 11, 2013 8:27 pm

AFrame has just got it working!!! Awww yeeeeeah!

Doesn't work on my Rev2 though, only the Rev1 at the minute. Hoping that can get sorted soon...
Attachments
success2.jpg
Le Monkey...
success2.jpg (48.49 KiB) Viewed 3558 times

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Camera competition winners' thread

Thu Apr 11, 2013 8:31 pm

That is an *unreasonably* cheerful-looking monkey. Congrats!
Director of Communications, Raspberry Pi

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Thu Apr 11, 2013 11:56 pm

I just tried my camera and it came up as failed to create component.

bspratt
Posts: 16
Joined: Mon Apr 08, 2013 10:37 pm

Re: Camera competition winners' thread

Fri Apr 12, 2013 12:38 am

Check my post above about tweaks to the config file that weren't in the original instructions. Good luck!

Brian

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Fri Apr 12, 2013 1:51 am

I am confused were /boot/config.txt is.

User avatar
jbeale
Posts: 3736
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Camera competition winners' thread

Fri Apr 12, 2013 2:21 am

at the R-Pi command line, type 'ls /boot' and you should see the file.

I don't have a camera, but just for example, on my box it looks like:

Code: Select all

pi@rp2 ~ $ ls /boot
bootcode.bin  fixup_cd.dat  kernel_cutdown.img    start_cd.elf
cmdline.txt   fixup.dat     kernel_emergency.img  start.elf
config.txt    issue.txt     kernel.img

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Fri Apr 12, 2013 12:12 pm

I added what I needed to and it still comes up as "failed to create camera component"

bspratt
Posts: 16
Joined: Mon Apr 08, 2013 10:37 pm

Re: Camera competition winners' thread

Fri Apr 12, 2013 4:19 pm

MATT227 wrote:I added what I needed to and it still comes up as "failed to create camera component"
Maybe AFrame can help, too, having struggled a bit as I did, but this is what finally worked for me:

Start with a blank SD card, populate it with Raspian per the QuickStart instructions (this means using 2012-12-16-wheezy-raspian).

Plug the card into a Model B, and plug in the camera - there are two likely looking connectors, use the one by the Ethernet jack. The non-metallic (blue) side of the connect should be facing the back (taller) side of the slot. Then power up.

Log in and run these commands. Copy and paste if you can - I had a bit of a hiccup in the wget step, with the "one" in 1BOfJ looking just like the lowecase "L" in goo.gl and the uppercase "o" looking like a zero.

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git-core
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update
sudo chmod +x /usr/bin/rpi-update
sudo rpi-update
sudo echo "start_file=start_x.elf" >> /boot/config.txt
sudo echo "start_fixup=fixup_x.dat" >> /boot/config.txt
EDIT: that last line may need to be
fixup_file=fixup_x.dat, though that's not what I used - may have gotten lucky.

Turn it off and on again.

Take a picture of a monkey.
Last edited by bspratt on Sun Apr 14, 2013 7:25 pm, edited 2 times in total.

MattWherry
Posts: 3
Joined: Fri Apr 12, 2013 6:09 pm

Late starter wins no marks

Fri Apr 12, 2013 9:55 pm

Hi,

After my Wife has finally returned my Monitor etc. I have eventually been able to start looking at my Pi Camera. Just in time to realise that I've lost Emma's mail with the instructions.

As Emma's on holiday - I was wondering whether one of you fine people can help me out.

Thanks,

Matt

bspratt
Posts: 16
Joined: Mon Apr 08, 2013 10:37 pm

Re: Late starter wins no marks

Sat Apr 13, 2013 2:22 pm

My most recent post should have you covered.

Good luck!
Brian

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 2:55 pm

I setup a new sd card for the camera and now the new sd card and the old one don't even recognize the camera app. It comes up as " no such directory"

User avatar
jbeale
Posts: 3736
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Camera competition winners' thread

Sat Apr 13, 2013 3:20 pm

Are you saying the 'raspicam' executable is missing? Did you do these steps http://www.raspberrypi.org/phpBB3/viewt ... 25#p330036 exactly? What kernel version do you see? After typing sudo rpi-update I see raspicam among the other seven files in /opt/vc/bin as below:

Code: Select all

pi@rp3 ~ $ uname -a
Linux rp3 3.6.11+ #408 PREEMPT Wed Apr 10 20:33:39 BST 2013 armv6l GNU/Linux
pi@rp3 ~ $ ls /opt/vc/bin
edidparser  raspivid  tvservice  vcgencmd
raspicam    raspiyuv  vcdbg      vchiq_test

MattWherry
Posts: 3
Joined: Fri Apr 12, 2013 6:09 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 5:46 pm

Thanks Brian for responding, and thanks Rob for sending me the original doc.

I had in fact followed Brian's post last night ( I was wondering if there was some extra juju inthe document ).

I'm still not having much joy - Can I confirm with someone who's got things working - When you created the SD card image - did you use the 2012-12-16 Rasbian image ( hyperlinked from the quickstart guide), or the 2013-02-09 Feb ( Current in the downloads section )?
-> I used the 2013-12-09. Reason I ask is that I also had to sudo apt-get install cmake , which wasn't on Brian's instructions.

And just because I'm en eternal optimist - There's an LED ( D1 ) on the camera module- Does anyone know under which circumstances this should be lit? Is it a power LED? - It's all dark on mine. Just wondering, 'cos it wouldn't be the first time in my life I'd tried to fix broken hardware in Software ;-).

Bah.Rebuilding rapicam and friends from source not helping either.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27461
Joined: Sat Jul 30, 2011 7:41 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 5:49 pm

The red LED is in effect a power light - when the module is powered up its on. So when you run RaspiCam/Vid it should go on, when it exits it should go off.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

bspratt
Posts: 16
Joined: Mon Apr 08, 2013 10:37 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 6:26 pm

I didn't have to install cmake. I used 2012-12-16-wheezy-raspian. As an RPi n00b I wasn't going to get creative...

Persevere! And good luck.

Brian

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27461
Joined: Sat Jul 30, 2011 7:41 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 7:54 pm

bspratt wrote:I didn't have to install cmake. I used 2012-12-16-wheezy-raspian. As an RPi n00b I wasn't going to get creative...

Persevere! And good luck.

Brian
Indeed. If you have installed everything correctly, RaspiCam and RaspiVid should work fine. Check /opt/vc/bin for the executables to ensure they are there. If not, something went wrong in the updates/installs.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Sat Apr 13, 2013 9:01 pm

The executable is there now but even on the new sd card it comes up as:
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component

User avatar
jbeale
Posts: 3736
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Camera competition winners' thread

Sat Apr 13, 2013 11:48 pm

If the flex cable is firmly plugged in and locked, and is positioned the right way around on both ends... I don't know what else to do. Except try to find a different R-Pi board.

A few people with working cameras have reported that some specific R-Pi boards they tried just don't work with the camera, for yet-unknown reasons. Those non-working boards had the interesting symptom that the red LED on the camera would briefly come on when a finger was pressed against the side of the ribbon cable.

MATT227
Posts: 7
Joined: Thu Apr 11, 2013 11:45 pm

Re: Camera competition winners' thread

Sun Apr 14, 2013 2:42 am

Those are the symptoms my raspberry pi has so it looks like all have to get a new one. Is there a risk that the new board I get will have the same problem.

User avatar
jbeale
Posts: 3736
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Camera competition winners' thread

Sun Apr 14, 2013 3:55 pm

Maybe someone else can address that, at this point I think you know as much as I do about the situation.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5664
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Camera competition winners' thread

Sun Apr 14, 2013 4:21 pm

bspratt wrote:Victory!
Adding

Code: Select all

start_file=start_x.elf
start_fixup=fixup_x.dat
to the end of /boot/config.txt was indeed the answer (for me - I hope we can get aframe sorted as well). Thanks to the group for the help!
Let the hacking begin.
Actually:

Code: Select all

start_file=start_x.elf
fixup_file=fixup_x.dat
are the correct options. (Not having the correct fixup file specified will probably only work for default gpu_mem split).

Return to “Camera board”