|
Hello !
@loboris thank you for your great job.
I am using lubuntu image with mate desktop from mega. I am trying to use OV5640 CSI camera, but without success. .
When I issue modprobe ov5640, and modptobe vfe_v4l2 - dmesg says:
[ 981.379644] [VFE]cci probe start cci_sel = 0!
[ 981.379751] [VFE]cci probe end cci_sel = 0!
[ 981.380111] [VFE]cci_init end
[ 1004.006508] [VFE]Welcome to Video Front End driver
[ 1004.006843] [VFE]pdev->id = 0
[ 1004.006852] [VFE]dev->mipi_sel = 0
[ 1004.006860] [VFE]dev->vip_sel = 0
[ 1004.006866] [VFE]dev->isp_sel = 0
[ 1004.012996] [VFE_WARN]vfe vpu clock is null
[ 1004.020716] [VFE]..........................vfe clk open!.......................
[ 1004.020745] [ISP] isp platform_id = 5!
[ 1004.020882] [VFE]vfe_init end
[ 1004.030122] [VFE]probe_work_handle start!
[ 1004.030145] [VFE]v4l2 subdev register input_num = 0
[ 1004.030157] [VFE]vfe sensor detect start! input_num = 0
[ 1004.030172] [VFE]Find sensor name is "gc2035", i2c address is 78, type is "YUV" !
[ 1004.030184] [VFE]Sub device register "gc2035" i2c_addr = 0x78 start!
[ 1004.030196] [VFE_ERR]Error registering v4l2 subdevice No such device!
[ 1004.037382] [VFE_ERR]vfe sensor register check error at input_num = 0
[ 1004.044902] [VFE]V4L2 device registered as video0
[ 1004.044936] [VFE]..........................vfe clk close!.......................
[ 1004.044961] [VFE]probe_work_handle end!
[ 1004.051036] [VFE]vfe_open
[ 1004.051059] [VFE]..........................vfe clk open!.......................
[ 1004.051094] [VFE]vfe_open ok
[ 1004.051284] [VFE]vfe_close
[ 1004.051297] [VFE]vfe select input flag = 0, s_input have not be used .
[ 1004.051315] [VFE]..........................vfe clk close!.......................
[ 1004.051344] [VFE]vfe_close end
It seems that modules are loaded:
root@OrangePI:/home/orangepi# lsmod
Module Size Used by
vfe_v4l2 680171 0
videobuf_dma_contig 4189 1 vfe_v4l2
videobuf_core 16552 2 vfe_v4l2,videobuf_dma_contig
ov5640 27249 0
vfe_subdev 4495 2 vfe_v4l2,ov5640
vfe_os 4137 2 vfe_v4l2,vfe_subdev
cci 22135 2 vfe_v4l2,ov5640
8189es 887631 0
So I tried to compile kernel from h3-lichee-1.0.tar with patch from mega - lichee.tar using scripts to configure and build.
Building is succesful but uimage is 88 megabytes and rootfs.cpio.gz - 83 megabytes (is this initrd?) so I had to resize my BOOT partition on sd card. Why it is so big?
The original uimage boots without problems, but if I try to boot my big uimage - uboot complainsthat it has no script.bin.
I copied one from mega but it still fails to boot - some mmc setings and reboots.
Could you help plesae ? |
|