Hi,
after the recent update on 3 different Raspberry Pis (armv6h and armv7h) with pacman -Syu, the PiCam stopped working. For example, when calling /opt/vc/bin/raspistill -o /dev/null -t 2 the result was:
$this->bbcode_second_pass_code('', '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')
In my case, this was the following update (excerpt from the pacman log file):
$this->bbcode_second_pass_code('', '[ALPM] upgraded linux-raspberrypi (4.4.45-1 -> 4.4.48-2)
[ALPM] upgraded raspberrypi-bootloader (20170131-1 -> 20170215-1)
[ALPM] upgraded raspberrypi-bootloader-x (20170131-1 -> 20170215-1)
[ALPM] upgraded raspberrypi-firmware (20170127-1 -> 20170213-1)')
The newest update of the kernel to 4.4.49-1 didn't help either.
After downgrading the packages and rebooting the Pis the raspistill command completed without errors again.
$this->bbcode_second_pass_code('', 'cd /var/cache/pacman/pkg
# For armv7:
pacman -U linux-raspberrypi-4.4.45-1-armv7h.pkg.tar.xz raspberrypi-bootloader-20170131-1-any.pkg.tar.xz raspberrypi-bootloader-x-20170131-1-any.pkg.tar.xz raspberrypi-firmware-20170127-1-any.pkg.tar.xz
# For armv6:
pacman -U linux-raspberrypi-4.4.45-1-armv6h.pkg.tar.xz raspberrypi-bootloader-20170131-1-any.pkg.tar.xz raspberrypi-bootloader-x-20170131-1-any.pkg.tar.xz raspberrypi-firmware-20170127-1-any.pkg.tar.xz')
Since I've found a quick solution that worked for me, I thought I should share it here...
Kind regards,
Bernd