Open company-ms opened 5 years ago
I don't have the board and the camera but i can try to build one image. But i think they mean there is no support due to CSI pins not tied to I2C. If that is really the case, unfortunately, no support yet.
Please, can you check the schematic of the OPI Lite2 H6 if csi_sda and csi_clk are attached to i2c?
I found the schematic, unfortunately, that is the case for all OPI boards. No camera support on Mainline but you get support on 3.10 and possibly 4.9.
CSI-SCK <--> CAM-SCK (D12/LCD0-D18/TS1-CLK/CSI-SCK/RGMII-TXCTL/RMII-TXE) CSI-SDA <--> CAM-SDA (PD13/LCD0-D19/TS1-ERR/CSI-SDA/RGMII-CLKIN/RMII-NULL)
Have you tried BSP 4.9?
What is this BSP 4.9? Where can I read for BSP 4.9?
I installed sunxi a64-dev and linux-source-5.1.7-dev-sunxi a64, but did not solve the problem
I installed sunxi a64-dev and linux-source-5.1.7-dev-sunxi a64, but did not solve the problem
sunxi a64-dev is for the A64 chip (OPI WIn ???) and not for the H6 chip found in OPI Lite2 H6. BSP is the one provided by the manufacturer with kernel 4.9. There you will find support for the camera.
I installed IMG with Karnel 4.9, but i don't running camera OV5647
root@OrangePi:~/v4l2loopback# modprobe gc2035
modprobe: FATAL: Module gc2035 not found in directory /lib/modules/4.9.118+
root@OrangePi:~/v4l2loopback# modprobe OV5640
modprobe: FATAL: Module OV5640 not found in directory /lib/modules/4.9.118+
root@OrangePi:~/v4l2loopback# modprobe vfe_v4l2
modprobe: FATAL: Module vfe_v4l2 not found in directory /lib/modules/4.9.118+
root@OrangePi:~/v4l2loopback# modprobe v4l2loopback
modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/4.9.118+
Help me pleace!
What camera do you have?
Your current IMG has not been compiled with camera support. I think you must build it yourself or find the one with camera support from the manufacturer, i am not following their work, i don't know which IMG should be.
It is not going to be an easy task if you are not used to building kernels.
The steps are:
;--------------------------------------------------------------------------------
[csi0]
csi0_used = 1
csi0_sensor_list = 1
csi0_pck = port:PE00<2><default><default><default>
csi0_mck = port:PE01<1><0><1><0>
csi0_hsync = port:PE02<2><default><default><default>
csi0_vsync = port:PE03<2><default><default><default>
csi0_d0 = port:PE04<2><default><default><default>
csi0_d1 = port:PE05<2><default><default><default>
csi0_d2 = port:PE06<2><default><default><default>
csi0_d3 = port:PE07<2><default><default><default>
csi0_d4 = port:PE08<2><default><default><default>
csi0_d5 = port:PE09<2><default><default><default>
csi0_d6 = port:PE10<2><default><default><default>
csi0_d7 = port:PE11<2><default><default><default>
csi0_sck = port:PE12<2><default><default><default>
csi0_sda = port:PE13<2><default><default><default>
[csi0/csi0_dev0]
csi0_dev0_used = 1
csi0_dev0_mname = "ov5640"
csi0_dev0_twi_addr = 0x78
csi0_dev0_pos = "rear"
csi0_dev0_isp_used = 1
csi0_dev0_fmt = 0
csi0_dev0_stby_mode = 0
csi0_dev0_vflip = 0
csi0_dev0_hflip = 0
csi0_dev0_iovdd = "iovdd-csi"
csi0_dev0_iovdd_vol = 2800000
csi0_dev0_avdd = "avdd-csi"
csi0_dev0_avdd_vol = 2800000
csi0_dev0_dvdd = "dvdd-csi-18"
csi0_dev0_dvdd_vol = 1500000
csi0_dev0_afvdd = "afvcc-csi"
csi0_dev0_afvdd_vol = 2800000
;csi0_dev0_power_en = port:PB04<1><0><1><0>
csi0_dev0_power_en =
csi0_dev0_reset = port:PE14<1><0><1><0>
csi0_dev0_pwdn = port:PE15<1><0><1><0>
csi0_dev0_flash_used = 0
csi0_dev0_flash_type = 2
csi0_dev0_flash_en =
csi0_dev0_flash_mode =
csi0_dev0_flvdd = ""
csi0_dev0_flvdd_vol =
csi0_dev0_af_pwdn =
csi0_dev0_act_used = 0
csi0_dev0_act_name = "ad5820_act"
csi0_dev0_act_slave = 0x18
I think the file is pack/chips/sun50iw2p1/configs/cheetah-p1
Can you devolop an img with a camera for orange pi lite 2 ? I can spend some money an your work,
Can you devolop an img with a camera for orange pi lite 2 ?
I can try with the BSP 4.9 when time permits. but 4.9 is really in bad shape compared to Mainline Kernel.
I can spend some money an your work,
Great, save the best Russian Vodka you have in case i get this to work without the board. TBH if you want something serious with the camera you should consider nanoPi M4. Anyway, i can't promise it will work.
Will be cool if you tryed to compile img. I opened topic on the forum May be i can bring russian vodka to you counrty :)
Hello dear Avafinger! I trying setting working the camera on Orange Pi Lite2 (H6) but I can’t do anything. The forums say the kernel does not support camera drivers. Could you include a driver for the card in the next releases?
Sorry for my Еnglish)