Recently I was developing an application with the raspberry PI camera module, when the camera stopped working. The error when running raspistill was “mmal_vc_component_create: failed to create component ‘vc.ril.camera'”.
I tried all kinds troubleshooting, like checking the connector, checking that the module was enabled in the config, apt-get update etc, but no luck.
Then the Raspberry PI official site troubleshooting guide helped med out; “…Is the camera module connector, between the smaller black camera module itself and the camera PCB, firmly attached?”
Nope it wasn’t! There’s a tiny tiny connector on the camera module PCB that can disconnect and needs to be put in place.