Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcam not working using next branch. Ok with stable #125

Closed
qdel opened this issue Aug 9, 2016 · 7 comments

Comments

@qdel
Copy link

commented Aug 9, 2016

Hello,

Up-to-date raspbian, using

$> sudo BRANCH=next rpi-update
 *** If no errors appeared, your firmware was successfully updated to 47d64831ccbc99080f98c1bc8948717c3416cb0f

after reboot:

$> raspistill -v

raspistill Camera App v1.3.8

Width 3280, Height 2464, quality 85, filename (null)
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
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
mmal: Camera is not enabled in this build. Try running "sudo raspi-config" and ensure that "camera" has been enabled

Doing only:

$> sudo rpi-update
 *** If no errors appeared, your firmware was successfully updated to e7178c06ac5b527085ceb380aa56f1ed52558ea0

after reboot:

raspistill -v

raspistill Camera App v1.3.8

Width 3280, Height 2464, quality 85, filename (null)
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Closing down
Close down completed, all components disconnected, disabled and destroyed

Camera is enabled, split is 256.

@qdel qdel changed the title Webcam not working using this branch. Ok with stable Webcam not working using next branch. Ok with stable Aug 10, 2016
@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Aug 10, 2016

what does vcgencmd get_camera report?
And vcgencmd version?

What were you on before updating to BRANCH=next?
It would be useful if you can confirm if master branch of rpi-update works.
sudo rpi-update should return you to bleeding edge of master branch.

@qdel

This comment has been minimized.

Copy link
Author

commented Aug 10, 2016

Using stable:

$> vcgencmd get_camera 
supported=1 detected=1
$> vcgencmd version
Jul 28 2016 12:46:32 
Copyright (c) 2012 Broadcom
version e12916091ba9d68ef2780e4e142ade56aa301754 (clean) (release)

Using next:

$> vcgencmd get_camera 
supported=0 detected=0
$> vcgencmd version
Aug  8 2016 11:47:45 
Copyright (c) 2012 Broadcom
version b86cd0444798d376c8c7e955dea5dabf22f4abe4 (clean) (release)

Yes, rpi-update work perfectly, i can switch to next or stable without any kind of problem (i make test on the same pi, switching with rpi-update and reboot just after it.)

@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Aug 10, 2016

Seems to be a bug in the updated bootcode.bin where it doesn't load start_x.elf.
If you were to rename start_x.elf to start.elf and fixup_x.dat to fixup.dat that should provide a temporary solution.

Ping @ghollingworth for the bootcode fix.

@qdel

This comment has been minimized.

Copy link
Author

commented Aug 11, 2016

Using this fix, is it still possible to boot directly on usb device?

@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Aug 11, 2016

Should be fine

popcornmix added a commit to raspberrypi/firmware that referenced this issue Aug 15, 2016
See: Hexxeh/rpi-firmware#125

bootcode: Adds support for Pi 3 LEDs that get controlled through a gpio expander

firmware/kernel: Update to latest master branch
popcornmix added a commit that referenced this issue Aug 15, 2016
See: #125

bootcode: Adds support for Pi 3 LEDs that get controlled through a gpio expander

firmware/kernel: Update to latest master branch
@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Aug 15, 2016

BRANCH=next has been updated with a fix for this. Renaming the start files should no longer be necessary. Please test it is okay.

@qdel

This comment has been minimized.

Copy link
Author

commented Aug 15, 2016

hi,

Could not test before, updated as request.

No problem for the webcam part. So I consider this bug as closed.

But, usb boot doesn't work for me. Is there any way place where we can register working / not working device (mine is a ssd msata device on a usb3 enclosure, Inateck)

Thanks for your fast debugging!

@qdel qdel closed this Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.