I can capture an image after following the steps below for ov8865:
https://bananapi.gitbooks.io/bpi-m3/en/bpim3csicamerainterface.html
However, OV5640 does not work, there is only one /dev/video0. How can I make both the cameras to work? one for front and one for rear view.