Jump to content

Search the Community

Showing results for 'ov5640' in topics.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. I am stucked in the dmesg output [ 9.887800] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 9.902103] [OV5640@lex]CSI_SUBDEV_PWR_ON! [ 9.970081] [OV5640@lex]sensor_init 0x0 [ 9.970886] [OV5640@lex]sensor read retry=2 [ 9.970896] [OV5640@lex]error at sensor_detect [ 9.970904] [OV5640@lex]chip found is not an target chip. [ 9.970914] [OV5640@lex]CSI_SUBDEV_PWR_OFF!
  2. To get OV5640 working for your Allwinner H3 based board: Step 1. Update the fex file The file is usually located in /boot directory, name could be script.bin or *.bin depends on the os. Use bin2fex to convert the bin file to fex file. (If you don't have fex2bin, do "apt install sunxi-tools") the fex file is just a text file, search for "[csi0]", it stands for Camera Serial Interface 0. if you are using Orange Pi Zero Plus2 H3 board with OV5640 camera, you can use the following setting, if you are using a different board, you need to check the board schematic to make sure the pins(port:Pxnn<n><default><default><default>) defined in the fex file are in line with what's in the schematic(you can refer to my previous post in this thread on where in the schematic to check) and update them accordingly. twi address(vip_dev0_twi_addr), voltage settings(vip_dev1_iovdd_vol,vip_dev1_avdd_vol,vip_dev1_dvdd_vol,vip_dev1_afvdd_vol) are described in OV5640 datasheet(8.3 DC characteristics https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdf). Once done, use fex2bin to convert the fex file to bin file. Reboot the board to load the updated bin file. [csi0] vip_used = 1 vip_mode = 0 vip_dev_qty = 1 vip_define_sensor_list = 0 vip_csi_pck = port:PE00<2><default><default><default> vip_csi_mck = port:PE01<2><default><default><default> vip_csi_hsync = port:PE02<2><default><default><default> vip_csi_vsync = port:PE03<2><default><default><default> vip_csi_d0 = port:PE04<2><default><default><default> vip_csi_d1 = port:PE05<2><default><default><default> vip_csi_d2 = port:PE06<2><default><default><default> vip_csi_d3 = port:PE07<2><default><default><default> vip_csi_d4 = port:PE08<2><default><default><default> vip_csi_d5 = port:PE09<2><default><default><default> vip_csi_d6 = port:PE10<2><default><default><default> vip_csi_d7 = port:PE11<2><default><default><default> vip_csi_sck = port:PE12<2><default><default><default> vip_csi_sda = port:PE13<2><default><default><default> vip_dev0_mname = "ov5640" vip_dev0_pos = "rear" vip_dev0_lane = 2 vip_dev0_twi_id = 2 vip_dev0_twi_addr = 120 vip_dev0_isp_used = 0 vip_dev0_fmt = 0 vip_dev0_stby_mode = 0 vip_dev0_vflip = 1 vip_dev0_hflip = 1 vip_dev0_iovdd = "" vip_dev0_iovdd_vol = 1800000 vip_dev0_avdd = "" vip_dev0_avdd_vol = 2800000 vip_dev0_dvdd = "" vip_dev0_dvdd_vol = 1500000 vip_dev0_afvdd = "" vip_dev0_afvdd_vol = 0 vip_dev0_power_en = port:PA08<1><default><default><default> vip_dev0_reset = port:PE14<1><default><default><default> vip_dev0_pwdn = port:PE15<1><default><default><default> vip_dev0_flash_en = vip_dev0_flash_mode = vip_dev0_af_pwdn = vip_dev0_act_used = 0 vip_dev0_act_name = "ad5820_act" vip_dev0_act_slave = 24 vip_dev1_mname = "" vip_dev1_pos = "front" vip_dev1_lane = 1 vip_dev1_twi_id = 0 vip_dev1_twi_addr = vip_dev1_isp_used = 0 vip_dev1_fmt = 1 vip_dev1_stby_mode = 0 vip_dev1_vflip = 0 vip_dev1_hflip = 0 vip_dev1_iovdd = "" vip_dev1_iovdd_vol = 2800000 vip_dev1_avdd = "" vip_dev1_avdd_vol = 2800000 vip_dev1_dvdd = "" vip_dev1_dvdd_vol = 1500000 vip_dev1_afvdd = "" vip_dev1_afvdd_vol = 2800000 vip_dev1_power_en = vip_dev1_reset = vip_dev1_pwdn = vip_dev1_flash_en = vip_dev1_flash_mode = vip_dev1_af_pwdn = Step 2. Load the drivers modprobe ov5640 modprobe vfe_v4l2 check dmesg, the normal log should look like this: [ 24.397287] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 35.772109] [OV5640@lex]CSI_SUBDEV_PWR_ON! [ 35.849649] [OV5640@lex]sensor_init 0x0 [ 35.897182] [OV5640@lex]CSI_SUBDEV_STBY_ON! [ 35.906344] [OV5640@lex]sensor_s_release_af [ 35.927791] [OV5640@lex]disalbe oe! At this point you should have a working /dev/video0
  3. I tried to install ov5640 on orange pi one, after running sudo modprobe ov5640 frame_rate=2 sudo modprobe vfe_v4l2 then install the https://github.com/avafinger/cap-v4l2 i throw this error
  4. https://forum.armbian.com/topic/7502-ov5640-on-mainline-kernel/
  5. I think this is all out of date. I am running a 4.16 on FriendlyArm H3 and H5 boards which all have CSI enabled and working OV5640 hardware. These are the FA CAM500B models. A set of patches was posted to the V4L list some months back with a CSI driver and subsequent device tree mods. The CSI/OV drivers are enabled (and built-in) in the latest FA distros. Should be trivial to port to the Armbian set ups. FWIW my experience with the OPi camera was _terrible_. Apart from being limited to 2MP max, they never 'worked' at better than VGA and image quality was appalling. HTH.
  6. with that configuration, you should have sun6i_csi as a module, when this module loads it creates the device node /dev/video0 but only if you have the end points for the correct sensor. Igor's patch is for ov5640 if you are trying to use gc2035 you need that driver. I think there is no gc2035 driver for mainline yet. If you have ov5640 then check if sun61_csi was built as a module and try to load it and check dmesg for some messages. * Update: And if you have the correct DT node you will not need to load the driver with modprobe, it should be loaded automagically on boot
  7. Quite after a lot of reading and trying, I checked back my camera module, and found out, that somewhere in the process, I forgot that I have an ov5640, NOT a gc2035. So I changed fex to vip_dev1_mname = "ov5640" reboot and run sudo sunxi-pio -m "PA8<1><0><1><1>" sudo sunxi-pio -m "PE15<1><0><1><0>" sudo sunxi-pio -m "PE14<1><0><1><1>" sudo modprobe ov5640 frame_rate=2 sudo modprobe vfe_v4l2 sleep 5 sudo modprobe -f v4l2loopback And voila, camera is working on my Orange Pi Zero Plus 2 H3. Thank you Armbian, thank you all
  8. Hi Chen, Can you post your tutorial to use both OV5640 and GC2035 on Orange Pi PC Plus?
  9. I'm able to use both OV5640 and GC2035 on Orange Pi PC Plus v1.1 with ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i I can't seem to get either GC2035 or OV5640 to work on Orange Pi Zero Plus v1.0 H3 with ARMBIAN 5.38 stable Ubuntu 16.04.3 LTS 3.4.113-sun8i I noticed there's a change in the circuit schematics: In Orange Pi PC Plus v1.1, CSI-PWR-EN is on PA17 In Orange Pi Zero Plus v1.0, CSI-PWR-EN is on PA8
  10. same issue, is that the right solution for OV5640?
  11. Hi, I got a very similar result for the same camera as @Vladimir Petrovic, but with Orange Pi Zero Plus 2 H3 . [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 sensor_remove ov5640 sd = d5126a80! ... similar later ... [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 sensor_remove ov5640 sd = d5be42c0! And some other addresses like that a couple of other times. Maybe while modprobe or reboot.
  12. Hi, Sorry for bringing this topic from dead but I have some problems with ov5640. I bought this camera module : https://www.aliexpress.com/item/OPI-5MP-Camera-OV5640-Auto-zoom-with-wide-angle-lens-for-Orange-Pi-PC-Pi-One/32869355445.html?spm=a2g0s.9042311.0.0.2ac84c4d4jeaqv and I connected it to Orange Pi One. I've isntalled lts 16 image with kernel 3.4.113 and I've loaded ov5640 kernel and vfe_v4l2 modules. I dont get /dev/video0 device and have this otput from kernel.log: [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ISP] isp platform_id = 5! [OV5640@lex]CSI_SUBDEV_PWR_ON! [OV5640@lex]sensor_init 0x0 [OV5640@lex]sensor read retry=2 [OV5640@lex]error at sensor_detect [OV5640@lex]chip found is not an target chip. [OV5640@lex]CSI_SUBDEV_PWR_OFF! what could be wrong? Do I have to swap R6 and r5 on this board?
  13. FYI Xunlong finally has a official OV5460 camera... not that makes driver support any better. https://www.aliexpress.com/store/product/OPI-5MP-Camera-OV5640-Auto-zoom-with-wide-angle-lens-for-Orange-Pi-PC-Pi-One/1553371_32869355445.html?spm=2114.12010612.0.0.59c5603aG2nPmt
  14. So legacy is a choice? Can I get ov5640 work in legacy ubuntu on opi one?
  15. This is on a fresh build of Armbian from source. I'm not seeing the camera appearing in /dev/video0, as you would expect. I've tried the solution that @sri suggested on this thread https://forum.armbian.com/index.php?/topic/3225-nanopi-neo-air-cam500b-issue/ but the device is still not visible. Here is the contents of my /etc/modules file #w1-sunxi #w1-gpio #w1-therm sunxi-cir hci_uart rfcomm hidp dhd g_serial ov5640 vfe_v4l2 And here is the output from dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.113-sun8i (root@crosscompile) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #10 SMP PREEMPT Thu Jul 20 11:40:34 BST 2017 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 160 MiB at 56000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0a7b900, node_mem_map c0c01000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 129920 pages, LIFO batch:31 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c1093000 s11968 r8192 d12608 u32768 [ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=0f2fc787-984f-4361-a5eb-3c1c9964b243 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=1833f8f9-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 1048576 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 336300k/336300k available, 187988k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0981220 (9701 kB) [ 0.000000] .init : 0xc0982000 - 0xc09d8ec0 ( 348 kB) [ 0.000000] .data : 0xc09da000 - 0xc0a88fd0 ( 700 kB) [ 0.000000] .bss : 0xc0a89784 - 0xc0c004c0 (1500 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000279] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.000304] pid_max: default: 32768 minimum: 301 [ 0.000479] Security Framework initialized [ 0.000541] AppArmor: AppArmor disabled by boot time parameter [ 0.000743] Mount-cache hash table entries: 512 [ 0.001818] Initializing cgroup subsys cpuacct [ 0.001836] Initializing cgroup subsys memory [ 0.001887] Initializing cgroup subsys devices [ 0.001900] Initializing cgroup subsys freezer [ 0.001911] Initializing cgroup subsys blkio [ 0.001935] Initializing cgroup subsys perf_event [ 0.002029] CPU: Testing write buffer coherency: ok [ 0.002087] ftrace: allocating 25333 entries in 75 pages [ 0.030396] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.030417] [sunxi_smp_prepare_cpus] enter [ 0.030469] Setting up static identity map for 0x4066a498 - 0x4066a4f0 [ 0.031611] CPU1: Booted secondary processor [ 0.031611] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.031753] CPU2: Booted secondary processor [ 0.031753] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.040575] CPU3: Booted secondary processor [ 0.040575] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.040697] Brought up 4 CPUs [ 0.040697] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.041022] devtmpfs: initialized [ 0.052069] wakeup src cnt is : 2. [ 0.052081] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.052092] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0 [ 0.052103] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.052115] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.052125] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8 [ 0.052136] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.052148] sunxi pm init [ 0.052304] pinctrl core: initialized pinctrl subsystem [ 0.059242] NET: Registered protocol family 16 [ 0.062179] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.062275] script_sysfs_init success [ 0.062305] sunxi_dump_init success [ 0.063295] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.064509] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.064509] plat: add bmp085 device [ 0.064509] plat: add pcf8591 device [ 0.064509] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.064509] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.064509] script config pll_video to 297 Mhz [ 0.064509] script config pll_de to 864 Mhz [ 0.064509] script config pll_ve to 402 Mhz [ 0.064509] sunxi_default_clk_init [ 0.064509] try to set pll6ahb1 to 200000000 [ 0.064509] try to set ahb clk source to pll6ahb1 [ 0.064509] set ahb clk source to pll6ahb1 [ 0.064509] try to set ahb1 to 200000000 [ 0.064509] try to set apb1 to 100000000 [ 0.070263] bio: create slab <bio-0> at 0 [ 0.070342] [ARISC] :sunxi-arisc driver v1.04 [ 0.093850] [ARISC] :arisc version: [v0.1.58] [ 0.200700] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.202460] SCSI subsystem initialized [ 0.202460] usbcore: registered new interface driver usbfs [ 0.202460] usbcore: registered new interface driver hub [ 0.202460] usbcore: registered new device driver usb [ 0.202460] twi_chan_cfg()340 - [twi0] has no twi_regulator. [ 0.202460] twi_chan_cfg()340 - [twi1] has no twi_regulator. [ 0.202460] twi_chan_cfg()340 - [twi2] has no twi_regulator. [ 0.202460] Linux video capture interface: v2.00 [ 0.202460] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.202460] cfg80211: Calling CRDA to update world regulatory domain [ 0.202460] NetLabel: Initializing [ 0.202460] NetLabel: domain hash size = 128 [ 0.202460] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.202460] NetLabel: unlabeled traffic allowed by default [ 0.202460] Switching to clocksource arch_sys_counter [ 0.214858] FS-Cache: Loaded [ 0.215224] CacheFiles: Loaded [ 0.227056] NET: Registered protocol family 2 [ 0.238355] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.238993] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.239243] TCP bind hash table entries: 16384 (order: 5, 196608 bytes) [ 0.239517] TCP: Hash tables configured (established 16384 bind 16384) [ 0.239529] TCP: reno registered [ 0.239542] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.239568] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.239926] NET: Registered protocol family 1 [ 0.240441] RPC: Registered named UNIX socket transport module. [ 0.240454] RPC: Registered udp transport module. [ 0.240463] RPC: Registered tcp transport module. [ 0.240471] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.240708] Trying to unpack rootfs image as initramfs... [ 0.582081] Freeing initrd memory: 5040K [ 0.582796] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.582949] sunxi_reg_init enter [ 0.584027] audit: initializing netlink socket (disabled) [ 0.584094] type=2000 audit(0.580:1): initialized [ 0.585690] VFS: Disk quotas dquot_6.5.2 [ 0.585887] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.586484] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.586709] misc fatfs initialized [ 0.587025] NFS: Registering the id_resolver key type [ 0.587464] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.587479] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.588336] NTFS driver 2.1.30 [Flags: R/W]. [ 0.588650] fuse init (API version 7.18) [ 0.589065] msgmni has been set to 986 [ 0.590722] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.590744] io scheduler noop registered [ 0.590753] io scheduler deadline registered [ 0.590819] io scheduler cfq registered (default) [ 0.591311] [DISP]disp_module_init [ 0.591648] cmdline,init_disp= [ 0.591682] cmdline,disp= [ 0.592448] [DISP]disp_module_init finish [ 0.592705] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.592721] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator. [ 0.592736] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator. [ 0.592750] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator. [ 0.593331] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.593347] sw_uart_pm()890 - uart0 clk is already enable [ 0.593368] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.593514] console [ttyS0] enabled [ 0.593860] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI [ 0.594146] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI [ 0.594450] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI [ 0.595000] sunxi_cmatest_init enter [ 0.595050] sunxi_cmatest_init success [ 0.599313] brd: module loaded [ 0.603369] loop: module loaded [ 0.603699] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator. [ 0.603713] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator. [ 0.604369] spi spi0: master is unqueued, this is deprecated [ 0.604878] gmac0 not be used [ 0.604916] gmac0: probe of gmac0 failed with error -22 [ 0.604948] PPP generic driver version 2.4.2 [ 0.605130] PPP BSD Compression module registered [ 0.605140] PPP Deflate Compression module registered [ 0.608257] PPP MPPE Compression module registered [ 0.608278] NET: Registered protocol family 24 [ 0.608380] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.628512] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.628552] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 0.629662] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 0.640054] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 0.640827] hub 1-0:1.0: USB hub found [ 0.640854] hub 1-0:1.0: 1 port detected [ 0.661314] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.661348] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 0.661792] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 0.680044] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 0.680683] hub 2-0:1.0: USB hub found [ 0.680709] hub 2-0:1.0: 1 port detected [ 0.701121] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.701152] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 0.701600] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 0.720037] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 0.720567] hub 3-0:1.0: USB hub found [ 0.720591] hub 3-0:1.0: 1 port detected [ 0.740958] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.740990] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 0.741383] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 0.760031] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 0.760578] hub 4-0:1.0: USB hub found [ 0.760598] hub 4-0:1.0: 1 port detected [ 0.760984] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.781071] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.781101] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 0.781137] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 0.844578] hub 5-0:1.0: USB hub found [ 0.844601] hub 5-0:1.0: 1 port detected [ 0.864974] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.865004] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 0.865041] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 0.924604] hub 6-0:1.0: USB hub found [ 0.924626] hub 6-0:1.0: 1 port detected [ 0.945006] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.945036] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 0.945074] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 1.004626] hub 7-0:1.0: USB hub found [ 1.004649] hub 7-0:1.0: 1 port detected [ 1.025058] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.025090] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 1.025142] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 1.084618] hub 8-0:1.0: USB hub found [ 1.084638] hub 8-0:1.0: 1 port detected [ 1.085043] Initializing USB Mass Storage driver... [ 1.085295] usbcore: registered new interface driver usb-storage [ 1.085305] USB Mass Storage support registered. [ 1.085374] usbcore: registered new interface driver ums-alauda [ 1.085428] usbcore: registered new interface driver ums-cypress [ 1.085498] usbcore: registered new interface driver ums-datafab [ 1.085546] usbcore: registered new interface driver ums_eneub6250 [ 1.085593] usbcore: registered new interface driver ums-freecom [ 1.085646] usbcore: registered new interface driver ums-isd200 [ 1.085702] usbcore: registered new interface driver ums-jumpshot [ 1.085752] usbcore: registered new interface driver ums-karma [ 1.085801] usbcore: registered new interface driver ums-onetouch [ 1.085870] usbcore: registered new interface driver ums-realtek [ 1.085929] usbcore: registered new interface driver ums-sddr09 [ 1.085978] usbcore: registered new interface driver ums-sddr55 [ 1.086028] usbcore: registered new interface driver ums-usbat [ 1.086265] uinput result 0 , vmouse_init [ 1.086892] mousedev: PS/2 mouse device common for all mice [ 1.087137] sunxikbd_init failed. [ 1.087975] ls_fetch_sysconfig_para: ls_unused. [ 1.087987] ltr_init: ls_fetch_sysconfig_para err. [ 1.088614] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.088674] i2c /dev entries driver [ 1.102754] [ISP] isp platform_id = 5! [ 1.102936] sunxi cedar version 0.1 [ 1.102990] [cedar]: install start!!! [ 1.103253] [cedar]: install end!!! [ 1.103510] twi_start()434 - [i2c0] START can't sendout! [ 1.103777] twi_start()434 - [i2c0] START can't sendout! [ 1.104042] twi_start()434 - [i2c0] START can't sendout! [ 1.104312] twi_start()434 - [i2c0] START can't sendout! [ 1.104577] twi_start()434 - [i2c0] START can't sendout! [ 1.104842] twi_start()434 - [i2c0] START can't sendout! [ 1.105110] twi_start()434 - [i2c0] START can't sendout! [ 1.105375] twi_start()434 - [i2c0] START can't sendout! [ 1.105640] twi_start()434 - [i2c0] START can't sendout! [ 1.105908] twi_start()434 - [i2c0] START can't sendout! [ 1.106173] twi_start()434 - [i2c0] START can't sendout! [ 1.106438] twi_start()434 - [i2c0] START can't sendout! [ 1.106706] twi_start()434 - [i2c0] START can't sendout! [ 1.106971] twi_start()434 - [i2c0] START can't sendout! [ 1.107236] twi_start()434 - [i2c0] START can't sendout! [ 1.107504] twi_start()434 - [i2c0] START can't sendout! [ 1.107769] twi_start()434 - [i2c0] START can't sendout! [ 1.108034] twi_start()434 - [i2c0] START can't sendout! [ 1.108302] twi_start()434 - [i2c0] START can't sendout! [ 1.108567] twi_start()434 - [i2c0] START can't sendout! [ 1.108832] twi_start()434 - [i2c0] START can't sendout! [ 1.109099] twi_start()434 - [i2c0] START can't sendout! [ 1.109365] twi_start()434 - [i2c0] START can't sendout! [ 1.109630] twi_start()434 - [i2c0] START can't sendout! [ 1.109897] twi_start()434 - [i2c0] START can't sendout! [ 1.110069] [VFE_ERR]Error registering v4l2 subdevice No such device! [ 1.110266] twi_start()434 - [i2c0] START can't sendout! [ 1.110532] twi_start()434 - [i2c0] START can't sendout! [ 1.110806] twi_start()434 - [i2c1] START can't sendout! [ 1.111071] twi_start()434 - [i2c1] START can't sendout! [ 1.111336] twi_start()434 - [i2c1] START can't sendout! [ 1.111603] twi_start()434 - [i2c1] START can't sendout! [ 1.111869] twi_start()434 - [i2c1] START can't sendout! [ 1.112134] twi_start()434 - [i2c1] START can't sendout! [ 1.112401] twi_start()434 - [i2c1] START can't sendout! [ 1.112666] twi_start()434 - [i2c1] START can't sendout! [ 1.112931] twi_start()434 - [i2c1] START can't sendout! [ 1.113198] twi_start()434 - [i2c1] START can't sendout! [ 1.113463] twi_start()434 - [i2c1] START can't sendout! [ 1.113728] twi_start()434 - [i2c1] START can't sendout! [ 1.113996] twi_start()434 - [i2c1] START can't sendout! [ 1.114261] twi_start()434 - [i2c1] START can't sendout! [ 1.114526] twi_start()434 - [i2c1] START can't sendout! [ 1.114793] twi_start()434 - [i2c1] START can't sendout! [ 1.115058] twi_start()434 - [i2c1] START can't sendout! [ 1.115323] twi_start()434 - [i2c1] START can't sendout! [ 1.115590] twi_start()434 - [i2c1] START can't sendout! [ 1.115855] twi_start()434 - [i2c1] START can't sendout! [ 1.116120] twi_start()434 - [i2c1] START can't sendout! [ 1.116387] twi_start()434 - [i2c1] START can't sendout! [ 1.116653] twi_start()434 - [i2c1] START can't sendout! [ 1.116918] twi_start()434 - [i2c1] START can't sendout! [ 1.117185] twi_start()434 - [i2c1] START can't sendout! [ 1.117450] twi_start()434 - [i2c1] START can't sendout! [ 1.117715] twi_start()434 - [i2c1] START can't sendout! [ 1.117827] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 1.118011] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 1.118177] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 1.118191] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 1.118203] timeout_to_interv, line 167 [ 1.118211] interv_to_timeout, line 189 [ 1.118221] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 1.118666] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 1.118937] calibrat: max_cpufreq 1200Mhz Type 0! [ 1.118952] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq [ 1.119381] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Jul 20 2017 at 11:28:23 [ 1.119420] [mmc]: get mmc0's sdc_power is null! [ 1.119450] [mmc]: get mmc1's sdc_power is null! [ 1.119460] [mmc]: get mmc1's 2xmode ok, val = 1 [ 1.119469] [mmc]: get mmc1's ddrmode ok, val = 1 [ 1.119498] [mmc]: get mmc2's sdc_power is null! [ 1.119507] [mmc]: get mmc2's 2xmode ok, val = 1 [ 1.119517] [mmc]: get mmc2's ddrmode ok, val = 1 [ 1.119530] [mmc]: MMC host used card: 0x7, boot card: 0x0, io_card 2 [ 1.123291] [mmc]: sdc0 power_supply is null [ 1.126877] no red_led, ignore it! [ 1.127142] Registered led device: green_led [ 1.127248] Registered led device: blue_led [ 1.127265] no led_0, ignore it! [ 1.127273] no led_1, ignore it! [ 1.127280] no led_2, ignore it! [ 1.127287] no led_3, ignore it! [ 1.127294] no led_4, ignore it! [ 1.127301] no led_5, ignore it! [ 1.127308] no led_6, ignore it! [ 1.127316] no led_7, ignore it! [ 1.128181] usbcore: registered new interface driver usbhid [ 1.128193] usbhid: USB HID core driver [ 1.129629] script_get_item audio_pa_ctrl not found [ 1.134087] asoc: sndcodec <-> sunxi-codec mapping ok [ 1.135387] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly! [ 1.135623] [I2S]snddaudio cannot find any using configuration for controllers, return directly! [ 1.135637] [DAUDIO0] driver not init,just return. [ 1.139573] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 1.141037] oprofile: using arm/armv7-ca7 [ 1.141290] u32 classifier [ 1.141299] Performance counters on [ 1.141307] input device check on [ 1.141315] Actions configured [ 1.141654] TCP: bic registered [ 1.141665] TCP: cubic registered [ 1.141673] TCP: westwood registered [ 1.141681] TCP: highspeed registered [ 1.141689] TCP: hybla registered [ 1.141696] TCP: htcp registered [ 1.141704] TCP: vegas registered [ 1.141712] TCP: veno registered [ 1.141719] TCP: scalable registered [ 1.141727] TCP: lp registered [ 1.141735] TCP: yeah registered [ 1.141743] TCP: illinois registered [ 1.141750] Initializing XFRM netlink socket [ 1.141980] NET: Registered protocol family 10 [ 1.143017] NET: Registered protocol family 17 [ 1.143054] NET: Registered protocol family 15 [ 1.143107] Registering the dns_resolver key type [ 1.143708] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 1.143731] ThumbEE CPU extension supported. [ 1.143758] Registering SWP/SWPB emulation handler [ 1.144392] registered taskstats version 1 [ 1.145459] ths_fetch_sysconfig_para: type err device_used = 1. [ 1.146827] CPU Budget:corekeeper enabled [ 1.147078] CPU Budget:Register notifier [ 1.147092] CPU Budget:register Success [ 1.147106] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 1.150840] [rf_pm]: Did not config module_power0 in sys_config [ 1.150861] [rf_pm]: Did not config module_power1 in sys_config [ 1.150871] [rf_pm]: Did not config module_power2 in sys_config [ 1.150882] [rf_pm]: Did not config module_power3 in sys_config [ 1.150892] [rf_pm]: mod has no chip_en gpio [ 1.150901] [rf_pm]: regulator on. [ 1.150919] [rf_pm]: set losc_out 32k out[wifi_pm]: set wl_reg_on 1 ! [ 1.237511] mmc0: new high speed SDHC card at address aaaa [ 1.238117] mmcblk0: mmc0:aaaa SS16G 14.8 GiB [ 1.239636] mmcblk0: p1 [ 1.240478] mmcblk mmc0:aaaa: Card claimed for testing. [ 1.240494] mmc0:aaaa: SS16G 14.8 GiB [ 1.242081] [mmc]: sdc2 power_supply is null [ 1.251333] WRN:L148(drivers/usb/sunxi_usb/manager/usb_hcd_servers.c):ERR: unkown usbc_no(5) [ 1.351354] [wifi_pm]: wifi gpio init is OK !! [ 1.351798] [rfkill]: rfkill set power 1 [ 1.364599] mmc2: new high speed DDR MMC card at address 0001 [ 1.365133] mmcblk1: mmc2:0001 8WPD3R 7.28 GiB [ 1.365372] mmcblk1boot0: mmc2:0001 8WPD3R partition 1 4.00 MiB [ 1.365616] mmcblk1boot1: mmc2:0001 8WPD3R partition 2 4.00 MiB [ 1.366984] mmcblk1: p1 p2 [ 1.370196] ALSA device list: [ 1.370208] #0: audiocodec [ 1.370216] #1: sndhdmi [ 1.370414] mmcblk1boot1: unknown partition table [ 1.371271] Freeing init memory: 344K [ 1.372217] mmcblk1boot0: unknown partition table [ 1.372547] mmcblk mmc2:0001: Card claimed for testing. [ 1.372569] mmc2:0001: 8WPD3R 7.28 GiB [ 1.374213] [mmc]: sdc1 power_supply is null [ 1.428027] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.429672] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.431382] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.434324] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.526532] mmc1: new high speed SDIO card at address 0001 [ 1.750232] vmouse_input_dev_open [ 1.830179] vmouse_input_dev_close [ 2.095884] Btrfs loaded [ 2.510249] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 2.996705] systemd[1]: System time before build time, advancing clock. [ 3.460313] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 3.460692] systemd[1]: Detected architecture arm. [ 3.491017] systemd[1]: Set hostname to <nanopiair>. [ 3.938274] systemd[1]: Created slice User and Session Slice. [ 3.961064] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.980509] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.010367] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.030453] systemd[1]: Listening on Journal Socket. [ 4.050352] systemd[1]: Listening on fsck to fsckd communication Socket. [ 4.070177] systemd[1]: Reached target Encrypted Volumes. [ 4.090282] systemd[1]: Listening on udev Kernel Socket. [ 4.110404] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.130369] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.150568] systemd[1]: Listening on Journal Audit Socket. [ 4.170419] systemd[1]: Started Trigger resolvconf update for networkd DNS. [ 4.190289] systemd[1]: Listening on Syslog Socket. [ 4.210165] systemd[1]: Reached target Remote File Systems (Pre). [ 4.230164] systemd[1]: Reached target Remote File Systems. [ 4.250572] systemd[1]: Created slice System Slice. [ 4.350784] systemd[1]: Starting Load Kernel Modules... [ 4.450553] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.470396] systemd[1]: Reached target Slices. [ 4.479696] Registered IR keymap rc-empty [ 4.480328] rc0: sunxi-ir as /devices/virtual/rc/rc0 [ 4.502857] IR RC5(x) protocol handler initialized [ 4.506905] Bluetooth: Core ver 2.16 [ 4.507011] NET: Registered protocol family 31 [ 4.507024] Bluetooth: HCI device and connection manager initialized [ 4.507041] Bluetooth: HCI socket layer initialized [ 4.507054] Bluetooth: L2CAP socket layer initialized [ 4.507082] Bluetooth: SCO socket layer initialized [ 4.512356] Bluetooth: HCI UART driver ver 2.2 [ 4.512375] Bluetooth: HCI H4 protocol initialized [ 4.512384] Bluetooth: HCI BCSP protocol initialized [ 4.512392] Bluetooth: HCILL protocol initialized [ 4.512400] Bluetooth: HCIATH3K protocol initialized [ 4.521423] Bluetooth: RFCOMM TTY layer initialized [ 4.521457] Bluetooth: RFCOMM socket layer initialized [ 4.521467] Bluetooth: RFCOMM ver 1.11 [ 4.526574] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.560937] systemd[1]: Starting Restore / save the current clock... [ 4.577186] rc s_cir0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0 [ 4.582636] dhd_module_init: in [ 4.582655] ======== bcm_wlan_set_plat_data ======== [ 4.582673] bcm_wlan_get_oob_irq enter. [ 4.582774] gpio [202] map to virq [10] ok [ 4.582782] host_oob_irq: 10 [ 4.582789] host_oob_irq_flags=0x414 [ 4.582797] dhd_wifi_platform_load: Enter [ 4.582838] Power-up adapter 'DHD generic adapter' [ 4.582849] wifi_platform_set_power = 1 [ 4.582857] ======== PULL WL_REG_ON HIGH! ======== [ 4.582867] [wifi_pm]: set wl_reg_on 0 ! [ 4.690479] systemd[1]: Mounting POSIX Message Queue File System... [ 4.782913] [wifi_pm]: set wl_reg_on 1 ! [ 4.890945] systemd[1]: Starting Set console keymap... [ 5.020477] systemd[1]: Mounting Debug File System... [ 5.160861] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 5.290077] wifi_platform_bus_enumerate device present 1 [ 5.290094] ======== Card detection to detect SDIO card! ======== [ 5.290295] dummy_sdmmc: probe of mmc1:0001:1 failed with error -123 [ 5.290335] dummy_sdmmc: probe of mmc1:0001:2 failed with error -123 [ 5.290536] mmc1: card 0001 removed [ 5.290782] [mmc]: sdc1 power_supply is null [ 5.294915] [mmc]: sdc1 power_supply is null [ 5.310527] systemd[1]: Starting Nameserver information manager... [ 5.347264] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 5.348812] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.350365] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.353129] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 5.442898] mmc1: new high speed SDIO card at address 0001 [ 5.450801] systemd[1]: Starting Remount Root and Kernel File Systems... [ 5.459670] bcmsdh_register: register client driver [ 5.459815] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 5.459920] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 5.459931] bus num (host idx)=1, slot num (rca)=1 [ 5.459942] found adapter info 'DHD generic adapter' [ 5.460052] sdioh_attach: set sd_f2_blocksize 128 [ 5.460567] F1 signature read @0x18000000=0x1530a9a6 [ 5.463506] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3 [ 5.464556] DHD: dongle ram size is set to 524288(orig 524288) at 0x0 [ 5.464737] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=0 [ 5.464813] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/ap6212/config.txt [ 5.467025] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 5.467831] wl_create_event_handler(): thread:wl_event_handler:c8 started [ 5.467844] tsk Enter, tsk = 0xd51e1430 [ 5.468124] dhd_attach(): thread:dhd_watchdog_thread:c9 started [ 5.468204] dhd_attach(): thread:dhd_dpc:ca started [ 5.468223] dhd_dpc_thread: set dpc_cpucore 0 from config.txt [ 5.468292] dhd_attach(): thread:dhd_rxf:cb started [ 5.468315] dhd_deferred_work_init: work queue initialized [ 5.468750] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 5.468772] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/ap6212/fw_bcm43438a0.bin [ 5.468787] dhdsdio_download_firmware: set use_rxchain 0 [ 5.468796] dhdsdio_download_firmware: set txglomsize 40 [ 5.468807] sdioh_set_mode: set txglom_mode to multi-desc [ 5.468815] Final fw_path=/lib/firmware/ap6212/fw_bcm43438a0.bin [ 5.468824] Final nv_path=/lib/firmware/ap6212/nvram.txt [ 5.468832] Final conf_path=/lib/firmware/ap6212/config.txt [ 5.470393] systemd[1]: Reached target Paths. [ 5.490703] systemd[1]: Listening on udev Control Socket. [ 5.518735] NVRAM version: AP6212_NVRAM_V1.0_20140603 [ 5.519412] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded. [ 5.541081] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 5.573753] systemd[1]: Mounted POSIX Message Queue File System. [ 5.577176] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us) [ 5.577300] bcmsdh_oob_intr_register: Enter [ 5.577309] bcmsdh_oob_intr_register: HW_OOB enabled [ 5.577320] bcmsdh_oob_intr_register OOB irq=10 flags=414 [ 5.577460] bcmsdh_oob_intr_register: disable_irq_wake [ 5.578303] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0 [ 5.578944] dhd_preinit_ioctls: Set tcpack_sup_mode 0 [ 5.580336] Firmware up: op_mode=0x0001, MAC=94:a1:a2:94:9c:5e [ 5.580350] dhd_conf_set_country: set country CN, revision 0 [ 5.580361] dhd_conf_set_fw_string_struct_cmd: set country [ 5.590380] systemd[1]: Mounted Debug File System. [ 5.644555] Country code: CN (CN/0) [ 5.645252] dhd_conf_set_fw_string_cmd: set roam_off 1 [ 5.659262] Firmware version = wl0: Jun 6 2014 14:50:39 version 7.10.226.49 (r) FWID 01-8962686a [ 5.659280] Driver: 1.201.59.6 (r506368) [ 5.659285] Firmware: wl0: Jun 6 2014 14:50:39 version 7.10.226.49 (r) FWID 01-8962686a [ 5.659302] dhd_txglom_enable: enable 0 [ 5.659312] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0 [ 5.659321] dhd_conf_set_txglom_params: txglom_bucket_size=0 [ 5.659331] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=0 [ 5.659342] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0 [ 5.659353] dhd_conf_set_disable_proptx: set disable_proptx 0 [ 5.661771] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64 [ 5.673190] Dongle Host Driver, version 1.201.59.6 (r506368) [ 5.673198] Compiled in drivers/net/wireless/bcmdhd [ 5.674130] Register interface [wlan0] MAC: 94:a1:a2:94:9c:5e [ 5.674240] dhd_module_init: Exit err=0 [ 5.682206] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1ac, 0xd466ddc0, ep1in-bulk) [ 5.682229] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1ac, 0xd466ddc0, ep1in-bulk) [ 5.682242] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1f8, 0xd466ddc0, ep1out-bulk) [ 5.682252] gadget_is_softwinner_otg is not -int [ 5.682260] gadget_is_softwinner_otg is not -int [ 5.682279] g_serial gadget: Gadget Serial v2.4 [ 5.682295] g_serial gadget: g_serial ready [ 5.689672] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 5.760222] systemd[1]: Started Restore / save the current clock. [ 5.920147] systemd[1]: Started Load Kernel Modules. [ 6.090167] systemd[1]: Started Set console keymap. [ 6.230137] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 6.700215] systemd[1]: Started Remount Root and Kernel File Systems. [ 6.920738] systemd[1]: Started Nameserver information manager. [ 7.015234] systemd[1]: Time has been changed [ 7.043839] systemd[1]: Reached target Network (Pre). [ 7.120495] systemd[1]: Activating swap /var/swap... [ 7.226696] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:139260k SS [ 7.261001] systemd[1]: Starting udev Coldplug all Devices... [ 7.350954] systemd[1]: Starting Load/Save Random Seed... [ 7.500827] systemd[1]: Starting Create Static Device Nodes in /dev... [ 7.660441] systemd[1]: Mounting FUSE Control File System... [ 7.790732] systemd[1]: Starting Apply Kernel Variables... [ 7.817888] systemd[1]: Activated swap /var/swap. [ 7.834219] systemd[1]: Mounted FUSE Control File System. [ 8.360285] systemd[1]: Started Load/Save Random Seed. [ 8.480149] systemd[1]: Started Create Static Device Nodes in /dev. [ 8.620144] systemd[1]: Started Apply Kernel Variables. [ 8.760131] systemd[1]: Started udev Coldplug all Devices. [ 8.900888] systemd[1]: Starting udev Kernel Device Manager... [ 8.920282] systemd[1]: Reached target Local File Systems (Pre). [ 9.090470] systemd[1]: Mounting /tmp... [ 9.110437] systemd[1]: Reached target Swap. [ 9.165925] systemd[1]: Started udev Kernel Device Manager. [ 9.194922] systemd[1]: Mounted /tmp. [ 9.214178] systemd[1]: Found device /dev/ttyGS0. [ 9.230657] systemd[1]: Reached target Local File Systems. [ 9.311134] systemd[1]: Starting Armbian enhanced Log2Ram... [ 9.440825] systemd[1]: Starting Raise network interfaces... [ 9.496850] twi_start()434 - [i2c0] START can't sendout! [ 9.497129] twi_start()434 - [i2c0] START can't sendout! [ 9.497395] twi_start()434 - [i2c0] START can't sendout! [ 9.497537] bmp085: probe of 0-0077 failed with error -121 [ 9.497759] twi_start()434 - [i2c0] START can't sendout! [ 9.498030] twi_start()434 - [i2c0] START can't sendout! [ 9.498309] twi_start()434 - [i2c0] START can't sendout! [ 9.498589] twi_start()434 - [i2c0] START can't sendout! [ 9.498858] twi_start()434 - [i2c0] START can't sendout! [ 9.499127] twi_start()434 - [i2c0] START can't sendout! [ 9.591071] systemd[1]: Starting Set console font and keymap... [ 9.623504] vmouse_input_dev_open [ 9.681517] vmouse_input_dev_close [ 9.711136] systemd[1]: Started Entropy daemon using the HAVEGE algorithm. [ 10.025065] systemd[1]: Started Armbian enhanced Log2Ram. [ 10.133428] systemd[1]: Found device /dev/ttyS0. [ 10.360320] systemd[1]: Started Set console font and keymap. [ 10.478733] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 10.500793] systemd[1]: Stopped LSB: Starts LIRC daemon.. [ 10.640887] systemd[1]: Starting LSB: Starts LIRC daemon.... [ 10.720865] systemd[1]: Created slice system-getty.slice. [ 10.740861] systemd[1]: Reached target Sound Card. [ 10.821132] systemd[1]: Starting Journal Service... [ 10.905022] systemd[1]: Started Journal Service. [ 11.173839] [rfkill]: rfkill set power 0 [ 11.514715] systemd-journald[493]: Received request to flush runtime journal from PID 1 [ 16.010578] [rfkill]: rfkill set power 0 [ 16.031254] [rfkill]: rfkill set power 1 [ 16.050690] [rfkill]: rfkill set power 0 [ 17.986559] dhd_open: Enter d51a8000 [ 18.069676] dhd_open: Exit ret=0 [ 20.538215] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 20.538237] Bluetooth: BNEP filters: protocol multicast [ 20.995351] Connectting with 8a:15:04:81:2f:20 channel (1) ssid "Masabi-2.4", len (10) [ 21.004944] wl_iw_event: Link UP with BSSID=8A:15:00:00:2F:20 [ 21.005009] wl_bss_connect_done succeeded with 8a:15:04:81:2f:20 One of the odd things about this logging that I note compared to others is that there is not much comign out of VFE. Have i forgot to include somethign when compiling the kernel? The aim of all of this is to get a build where I can control the focus of the camera. Teh standard build offered my friendlyarm will run the camera, but I can't control the focus with those builds.
  16. That's what 'known issues' are for.. We can't avoid that people will not notice it but that's also true for all the boards we currently support. For me, there's no reason to provide the BSP kernel for new boards anymore. IMO the goal must be to get the BSP kernel dropped, as soon as the VPU works on mainline. Then, the only use case which comes to my mind for the BSP kernel would be 'camera' but the last time I looked into it, camera (ov5640 only cause there's no mainlinedriver for the gc2035) on mainline seems to work too (somebody here ever tried it here?). Adding more boards to the BSP kernel would only mean that we have to convince more people that they should switch to mainline as soon as we drop the BSP kernel. Armbian got popular... (I'm one of the guys dropped into it when H2+/H3 boards worked more or less without major issues). Cause initial boardsupport was relatively easy in the past for H3 boards (add a board.conf, fex-file, patching u-boot with adding one defconfig more, mostly copy paste from another one - as long as it isn't a BPi-M2-Zero ) adding more boards was easy, armbian gets more popular --> more boards of the same SoC came to the table. Maintaining all those H3 boards is what needs a lot of resources. More or less every boardmaker selling H3 devices writes the Allwinner specs for the SoC (maybe possible with Android, I don't know, I don't care) and not "what is possible/works with Linux" on their boarddescription, so most people. And people don't do research first for a board which cost 8-20$, they buy it and they expect that this works. Why not? The Raspberry was able to play Kodi with minor issues ~2012, so why should a board which is sold in 2018 not be able to do what's written in the description (don't hang me on the exact date, I'm to lazy do to the research when the RPi was able to run Kodi 'smoothly' )? I can somehow understand people that this should work in 2018. To lazy to go through all boardmakers (I think friendlyarm doesn't advertise 'videocapability' but I can be wrong)... What about: Having them as .csc until one of the GitHub maintainers decide to take care/responsibility for it (doesn't mean that the others should avoid working on/with it, but that at leas one maintainer knows how good the board works/ what's currently not working etc.) all CSC boards have their separate patch folder so that they can't harm board we support (may need some rework of patches when they get moved to wip or supported) but then the maintainer decided to take responsibility for that new board knows what to do. I think even boards which are initially supported by a maintainer should start as csc first, to get 'a feeling' if it's worth to level the board up to wip or supported.. People expect active work on wip boards and we have currently 7 boards (master branch) which are labeled wip (rock64 will switch to supported, and olinuxino A64 disappeared in development). Do we have (at the moment) enough resources to bring more boards to wip (isn't there some work related to the merge of development --> master which might be of higher priority - I happily help with everything I committed to the dev branch)?
  17. Greetings. For anyone interested FriendlyArm have a Github repo which contains a working AW CSI driver. and has device tree files for NanoPi M1+ and Neo Air. See https://github.com/friendlyarm/linux.git. The branch is sunxi-4.16.y This is a work in progress but the setup is vastly simplified compared to the VFE subsystem in the 3.4/3.10 kernels. The OV5640 driver does produce video but I'm getting some odd images at the moment. Possibly colorspace related. As a bonus USB OTG is also working ... fa@FriendlyELEC:~/src$ v4l2-compliance Driver Info: Driver name : sun6i-video Card type : sun6i-csi Bus i[59399.088082] sun6i-csi 1cb0000.camera: ================= START STATUS ================= nfo : platform:camera Driver version: 4.16.0 Capabiliti[59399.102740] sun6i-csi 1cb0000.camera: ================== END STATUS ================== es : 0x84200001 Video Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Compliance test for device /dev/video0 (not using libv4l2): Required ioctls: test VIDIOC_QUERYCAP: OK Allow for multiple opens: test second video open: OK test VIDIOC_QUERYCAP: OK test VIDIOC_G/S_PRIORITY: OK Debug ioctls: test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK Input ioctls: test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported) test VIDIOC_G/S/ENUMINPUT: OK test VIDIOC_G/S_AUDIO: OK (Not Supported) Inputs: 1 Audio Inputs: 0 Tuners: 0 Output ioctls: test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported) Outputs: 0 Audio Outputs: 0 Modulators: 0 Input/Output configuration ioctls: test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported) Test input 0: Control ioctls: test VIDIOC_QUERYCTRL/MENU: OK test VIDIOC_G/S_CTRL: OK test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 14 Private Controls: 0 Format ioctls: fail: v4l2-test-formats.cpp(259): duplicate format 32314d48 test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL test VIDIOC_G/S_PARM: OK (Not Supported) test VIDIOC_G_FBUF: OK (Not Supported) fail: v4l2-test-formats.cpp(314): !colorspace fail: v4l2-test-formats.cpp(417): testColorspace(pix.pixelformat, pix.colorspace) test VIDIOC_G_FMT: FAIL test VIDIOC_TRY_FMT: OK (Not Supported) test VIDIOC_S_FMT: OK (Not Supported) test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) Codec ioctls: test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported) Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK fail: v4l2-test-buffers.cpp(500): q.has_expbuf(node) test VIDIOC_EXPBUF: FAIL Total: 38, Succeeded: 35, Failed: 3, Warnings: 0
  18. Well getting the battery to work was easy enough; battery_power_supply was just missing from the device tree. This simple overlay did the trick: /dts-v1/; /plugin/; / { compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; fragment@0 { target = <&battery_power_supply>; __overlay__ { status = "okay"; }; }; }; As for the camera... It looks like they got the CSI controller working on the H3/H5 and an ov5640 working on the Nano Pi M1+: https://www.spinics.net/lists/devicetree/msg218207.html It also looks like someone was messing with CSI drivers for the A33 at one point: https://patchwork.kernel.org/patch/9866283/ This stuff with the camera is way over my head, but I'll keep playing with it.
  19. I can't remember which kernel version but I'll check when I get home. As far as the camera, the docs reference the M64 for some reason, and link to your(?) modified driver/code: https://github.com/avafinger/ov5640/tree/A64. I have no idea what it will take to get it working with mainline, but I'll play around with it. Do you know if there are any other boards that can run mainline and use the ov5640?
  20. @lex

    BPi R16

    Can you please tell which mainline kernel version you are using? Wifi has some issues with 4.15.y, it works but ping is around 60 ms while 4.14.y is very smooth, around 1.5 ms. If you can get ov5640 with mainline I am in.
  21. I'm looking for a development board to use as a prototype/template for a potential commercial product. Our basic requirements are support for a decent camera, battery/charge controller, and wifi. This setup looks promising, especially since the A33/R18 is pretty cheap. I've been playing around with one of these and so far it works pretty well. A little more RAM would be nice. The board comes with 512MB but I think the chip can handle 1GB. Using one of sinvoip's ubuntu images, the the ov5640 camera seems to work. The battery connector is terrible, but once connected, the AXP223 also works as expected. This weekend I got an ubuntu server image with a mainline kernel working using the armbian build system. So far the wifi works, but I haven't figured out how to read a connected battery. The /sys/class/power_supply directory exists, but the /sys/class/power_supply/battery directory is missing. Has anyone else gotten a chance to play around with this board? I'm going to try and get the camera and battery working in the next week or so. If anyone else is interested I can create a fork on github.
  22. I try to update this: A20: @Igor - legacy kernels should go out due too overall bad kernel quality - reboot/poweroff problems on some boards H3: @chwe - CSI (camera) doesn't work on mainline, gc2035 needs an small script in legacy to start up properly - Amlogic: @TonyMac32 - Mainline support effort is still relatively new. Things like USB, audio, etc are WIP. - "Legacy" kernel that is stable is old and EOL (3.14) and I haven't fooled with it. In that world and all others Amlogic, @balbes150 is the master. - Newer legacy kernel is still a work in progress (4.9 w/bugs) - u-boot blobs are lame and make using mainline u-boot difficult (need both legacy 2015 and mainline u-boot to get a working image) - Lower quality of open source information, all more or less community driven by a very small group, unlike with say Rockchip with a large amount of published info from Rockchip themselves. Rumor/commits say this may change with newer IoT processors. Freescale: @Igor - the legacy kernel is getting obsolete. No point to have it. - possible to implement hw video acceleration on mainline kernel - Solidrun has new 4.9 kernel, but can be safely ditched for mainline Rockchip (I suggest only the one we support at the moment, not RK3399): @chwe - CSI (tinkerboard, rk3288) is supported (RK 4.4 bsp kernel) by kernel (OV6547 OV5640, imx219 - RPI-cam V1.3 resp. V2) but doesn't show up properly when booting). See github issue and related thread. -Wifi driver seems to be problematic for some 'configurations'. @TonyMac32 - Igor and tkaiser are already seeing this, but mkimage/uboot/trust can be finicky. luckily that's a "figure it out and move on" situation, but it is likely to cause headaches. - 4.4 kernel is an increasingly old kernel, now 2 LTS's in the past, however still much better than a lot of others (also has a lot of activity) - RKwifi is something I don't know the reason for. I don't know why it exists, I don't know what it does (other than cause problems). It is a wrapper for some wifi drivers/an rfkill system - Rockchip likes to use their own subsystems in many things, like the "MPP" system for media playing. This has different capabilities per SoC, so may not behave predictably to simply be able to say we know how to use it. Marvell ARMADA: @Igor - missing SFP support in mainline Armbian related scripts: @chwe - h3consumption is legacy only -
  23. A20: @Igor - legacy kernels should go out due too overall bad kernel quality - reboot/poweroff problems on some boards H3: @chwe - CSI (camera) doesn't work on mainline, gc2035 needs an small script in legacy to start up properly - Armlogic: @TonyMac32 - Mainline support effort is still relatively new. Things like USB, audio, etc are WIP. - "Legacy" kernel that is stable is old and EOL (3.14) and I haven't fooled with it. In that world and all others Amlogic, @balbes150 is the master. - Newer legacy kernel is still a work in progress (4.9 w/bugs) - u-boot blobs are lame and make using mainline u-boot difficult (need both legacy 2015 and mainline u-boot to get a working image) - Lower quality of open source information, all more or less community driven by a very small group, unlike with say Rockchip with a large amount of published info from Rockchip themselves. Rumor/commits say this may change with newer IoT processors. Freescale: @Igor - the legacy kernel is getting obsolete. No point to have it. - possible to implement hw video acceleration on mainline kernel - Solidrun has new 4.9 kernel, but can be safely ditched for mainline Rockchip (I suggest only the one we support at the moment, not RK3399): @chwe - CSI (tinkerboard, rk3288) is supported (RK 4.4 bsp kernel) by kernel (OV6547 OV5640, imx219 - RPI-cam V1.3 resp. V2) but doesn't show up properly when booting) @TonyMac32 - Igor and tkaiser are already seeing this, but mkimage/uboot/trust can be finicky. luckily that's a "figure it out and move on" situation, but it is likely to cause headaches. - 4.4 kernel is an increasingly old kernel, now 2 LTS's in the past, however still much better than a lot of others (also has a lot of activity) - RKwifi is something I don't know the reason for. I don't know why it exists, I don't know what it does (other than cause problems). It is a wrapper for some wifi drivers/an rfkill system - Rockchip likes to use their own subsystems in many things, like the "MPP" system for media playing. This has different capabilities per SoC, so may not behave predictably to simply be able to say we know how to use it. Marvell ARMADA: @Igor - missing SFP support in mainline Armbian related scripts: @chwe - h3consumption is legacy only -
  24. H6 and RK3399 boards with 'interesting features' will arrive soon (or are still there as @tkaiser shows in his 'not a review - review' ). I expect that those boards will generate a lot of new issues (mPCI/PCI allows to connect a bunch of new hardware, GPU and VPU are powerful enough for some fancy stuff - and also more kodi-like stuff). It might be a good time to do some 'house keeping' (before all those boards and their customers arrive). Can we summarize all open issues and actions which are needed to fix them? I see all your rolling eyes cause we don't know the issues before they appear ... A20: - - - H3: - CSI (camera) doesn't work on mainline, gc2035 needs an small script in legacy to start up properly - Armlogic: - - Freescale: - - Rockchip (I suggest only the one we support at the moment, not RK3399): - CSI (tinkerboard, rk3288) is supported (RK 4.4 bsp kernel) by kernel (OV6547 OV5640, imx219 - RPI-cam V1.3 resp. V2) but doesn't show up properly when booting) - Marvell ARMADA: - - Armbian related scripts: - h3consumption is legacy only - I suggest that everyone interested can quote this 'table' and fill it with issues.
  25. Hi all. I install Ubuntu_xenial_default with kernel 3.4.113 and want record video from CAM500B with ov5640 image sensor. I had edited camera section in fex file with next options: [csi0] vip_used = 1 vip_mode = 0 vip_dev_qty = 1 vip_define_sensor_list = 0 vip_csi_pck = port:PE00<2><default><default><default> vip_csi_mck = port:PE01<2><default><default><default> vip_csi_hsync = port:PE02<2><default><default><default> vip_csi_vsync = port:PE03<2><default><default><default> vip_csi_d0 = port:PE04<2><default><default><default> vip_csi_d1 = port:PE05<2><default><default><default> vip_csi_d2 = port:PE06<2><default><default><default> vip_csi_d3 = port:PE07<2><default><default><default> vip_csi_d4 = port:PE08<2><default><default><default> vip_csi_d5 = port:PE09<2><default><default><default> vip_csi_d6 = port:PE10<2><default><default><default> vip_csi_d7 = port:PE11<2><default><default><default> vip_csi_sck = port:PE12<2><default><default><default> vip_csi_sda = port:PE13<2><default><default><default> vip_dev0_mname = "ov5640" vip_dev0_pos = "rear" vip_dev0_lane = 4 vip_dev0_twi_id = 2 vip_dev0_twi_addr = 0x78 vip_dev0_isp_used = 1 vip_dev0_fmt = 0 vip_dev0_stby_mode = 1 vip_dev0_vflip = 1 vip_dev0_hflip = 0 vip_dev0_iovdd = "" vip_dev0_iovdd_vol = 2800000 vip_dev0_avdd = "" vip_dev0_avdd_vol = 2800000 vip_dev0_dvdd = "" vip_dev0_dvdd_vol = 1500000 vip_dev0_afvdd = "" vip_dev0_afvdd_vol = 2800000 vip_dev0_power_en = vip_dev0_reset = port:PE14<1><default><default><default> vip_dev0_pwdn = port:PE15<1><default><default><default> vip_dev0_flash_en = vip_dev0_flash_mode = vip_dev0_af_pwdn = vip_dev0_act_used = 0 vip_dev0_act_name = "ad5820_act" vip_dev0_act_slave = 0x18 vip_dev1_pos = "rear" vip_dev1_lane = 1 vip_dev1_twi_id = 0 vip_dev1_twi_addr = vip_dev1_isp_used = 0 vip_dev1_fmt = 1 vip_dev1_stby_mode = 0 vip_dev1_vflip = 0 vip_dev1_hflip = 0 vip_dev1_iovdd = "" vip_dev1_iovdd_vol = 2800000 vip_dev1_avdd = "" vip_dev1_avdd_vol = 2800000 vip_dev1_dvdd = "" vip_dev1_dvdd_vol = 1500000 vip_dev1_afvdd = "" vip_dev1_afvdd_vol = 2800000 vip_dev1_power_en = vip_dev1_reset = vip_dev1_pwdn = vip_dev1_flash_en = vip_dev1_flash_mode = vip_dev1_af_pwdn = And had added to file /etc/modules ov5640 vfe_v4l2 After reboot I can list video0 device in /dev but dmesg | grep ov5640 and dmesg | grep VFE returns nothing. And dmesg | grep OV5640 show [ 7.860317] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 7.952205] [OV5640@lex]CSI_SUBDEV_PWR_ON! [ 8.020823] [OV5640@lex]sensor_init 0x0 [ 8.065071] [OV5640@lex]CSI_SUBDEV_PWR_OFF! Then ffmpeg -f v4l2 -s 640x480 -i /dev/video0 -r 30 -c:v mpeg4 ./test/test.avi returns error: ioctl(VIDIOCENUMINPUT): invalid argument /dev/video0: Invalid argument. Please help me with this problem.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines