I tried again to boot from Android with OV5640 connected and not connected... when it is connected it loads the kernel modules, while when it is not connected it doesn't.
root@dolphin-bpi-m2p:/ # lsmod
snd_usb_audio 79205 0 - Live 0x00000000
snd_usbmidi_lib 17391 1 snd_usb_audio, Live 0x00000000
snd_hwdep 5337 1 snd_usb_audio, Live 0x00000000
sunxi_sndspdif 3815 0 - Live 0x00000000
sndspdif 2715 0 - Live 0x00000000
sunxi_spdma 3667 0 - Live 0x00000000
sunxi_spdif 7153 0 - Live 0x00000000
uvcvideo 59634 0 - Live 0x00000000
vfe_v4l2 1017257 0 - Live 0x00000000
ov5640 27249 0 - Live 0x00000000
hi253 12500 0 - Live 0x00000000
vfe_subdev 4495 3 vfe_v4l2,ov5640,hi253, Live 0x00000000
vfe_os 4137 2 vfe_v4l2,vfe_subdev, Live 0x00000000
cci 22824 3 vfe_v4l2,ov5640,hi253, Live 0x00000000
videobuf_dma_contig 4221 1 vfe_v4l2, Live 0x00000000
videobuf_core 16552 2 vfe_v4l2,videobuf_dma_contig, Live 0x00000000
dummy_acc 2003 0 - Live 0x00000000
bt_sleep 9107 0 - Live 0x00000000
gpio_sunxi 8265 0 - Live 0x00000000
sunxi_ir_rx 9150 0 - Live 0x00000000
mali 212223 16 - Live 0x00000000 (O)
fivm 6442 0 - Live 0x00000000
nand 299199 0 - Live 0x00000000 (O)
The Android "Camera" app is showing:
dmesg is showing an error...
<5>[ 145.676961] [VFE]vfe_open
<5>[ 145.676979] [VFE]..........................vfe clk open!.......................
<5>[ 145.677130] [VFE]vfe_open ok
<5>[ 145.677197] [VFE]Set vfe core clk = 216000000, after Set vfe core clk = 200000000
<7>[ 145.677299] NOT_SUPPORT_THIS_FUNCTION:sun8iw7p1_isp_set_table_addr, line: 372
<3>[ 145.688736] [VFE_ERR]sensor standby off error when selecting target device!
<5>[ 145.700491] [VFE]vfe_close
<3>[ 145.712670] [VFE_ERR]sensor power off error at device number when csi close!
<5>[ 145.725805] [VFE]..........................vfe clk close!.......................
<5>[ 145.725840] [VFE]vfe_close end
<5>[ 150.937215] [VFE]vfe_open
<5>[ 150.937475] [VFE]..........................vfe clk open!.......................
<5>[ 150.937521] [VFE]vfe_open ok
<5>[ 150.937689] [VFE]Set vfe core clk = 216000000, after Set vfe core clk = 200000000
<7>[ 150.937706] NOT_SUPPORT_THIS_FUNCTION:sun8iw7p1_isp_set_table_addr, line: 372
<3>[ 150.950194] [VFE_ERR]sensor standby off error when selecting target device!
<5>[ 150.958255] [VFE]vfe_close
<3>[ 150.970114] [VFE_ERR]sensor power off error at device number when csi close!
<5>[ 150.977995] [VFE]..........................vfe clk close!.......................
<5>[ 150.978074] [VFE]vfe_close end
<5>[ 154.241448] [VFE]vfe_open
<5>[ 154.241566] [VFE]..........................vfe clk open!.......................
<5>[ 154.241607] [VFE]vfe_open ok
<5>[ 154.241787] [VFE]Set vfe core clk = 216000000, after Set vfe core clk = 200000000
<7>[ 154.241803] NOT_SUPPORT_THIS_FUNCTION:sun8iw7p1_isp_set_table_addr, line: 372
<3>[ 154.253900] [VFE_ERR]sensor standby off error when selecting target device!
<5>[ 154.262882] [VFE]vfe_close
<3>[ 154.274939] [VFE_ERR]sensor power off error at device number when csi close!
<5>[ 154.283915] [VFE]..........................vfe clk close!.......................
<5>[ 154.283955] [VFE]vfe_close end
<6>[ 238.883073] healthd: battery l=0 v=0 t=0.0 h=1 st=1 chg=