1 1
sri

Nanopi Neo AIR + CAM500B issue

Recommended Posts

Hi,

 

I am using Armbian for NanoPI NEO AIR + CAM500B.  I am unable to see any /dev/video0.

 

I am able to get the camera working with FA default image. 

 

Here is my dmeg output.


 

[    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.112-sun8i (root@xenial) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016

[    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 c0a24900, node_mem_map c0b5d000

[    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 @c0fef000 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: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=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: 338956k/338956k available, 185332k 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 - 0xc095bce8   (9552 kB)

[    0.000000]       .init : 0xc095c000 - 0xc09aeec0   ( 332 kB)

[    0.000000]       .data : 0xc09b0000 - 0xc0a29750   ( 486 kB)

[    0.000000]        .bss : 0xc0a29f04 - 0xc0b5cf90   (1229 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.000266] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)

[    0.000291] pid_max: default: 32768 minimum: 301

[    0.000646] Mount-cache hash table entries: 512

[    0.001697] Initializing cgroup subsys cpuacct

[    0.001715] Initializing cgroup subsys memory

[    0.001767] Initializing cgroup subsys devices

[    0.001780] Initializing cgroup subsys freezer

[    0.001793] Initializing cgroup subsys blkio

[    0.001821] Initializing cgroup subsys perf_event

[    0.001910] CPU: Testing write buffer coherency: ok

[    0.001971] ftrace: allocating 25740 entries in 76 pages

[    0.030384] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.030405] [sunxi_smp_prepare_cpus] enter

[    0.030457] Setting up static identity map for 0x40691938 - 0x40691990

[    0.031583] CPU1: Booted secondary processor

[    0.031583] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.031721] CPU2: Booted secondary processor

[    0.031721] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

[    0.040562] CPU3: Booted secondary processor

[    0.040562] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

[    0.040684] Brought up 4 CPUs

[    0.040684] SMP: Total of 4 processors activated (19200.00 BogoMIPS).

[    0.041005] devtmpfs: initialized

[    0.051343] wakeup src cnt is : 2.

[    0.051356] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000

[    0.051368] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0

[    0.051378] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40

[    0.051390] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000

[    0.051400] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8

[    0.051410] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40

[    0.051422] sunxi pm init

[    0.051568] pinctrl core: initialized pinctrl subsystem

[    0.058441] NET: Registered protocol family 16

[    0.059525] DMA: preallocated 2048 KiB pool for atomic coherent allocations

[    0.059525] script_sysfs_init success

[    0.059525] sunxi_dump_init success

[    0.059525] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl

[    0.059525] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver

[    0.059525] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[    0.059525] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.059525] script config pll_video to 297 Mhz

[    0.059525] script config pll_de to 864 Mhz

[    0.059525] script config pll_ve to 402 Mhz

[    0.059525] sunxi_default_clk_init

[    0.059525] try to set pll6ahb1 to 200000000

[    0.059525] try to set ahb clk source to pll6ahb1

[    0.059525] set ahb clk source to pll6ahb1

[    0.059525] try to set ahb1 to 200000000

[    0.059525] try to set apb1 to 100000000

[    0.070254] bio: create slab <bio-0> at 0

[    0.070337] [ARISC] :sunxi-arisc driver v1.04

[    0.091965] [ARISC] :arisc version: [v0.1.58]

[    0.198806] [ARISC] :sunxi-arisc driver v1.04 startup succeeded

[    0.200509] SCSI subsystem initialized

[    0.200706] usbcore: registered new interface driver usbfs

[    0.200781] usbcore: registered new interface driver hub

[    0.200806] usbcore: registered new device driver usb

[    0.200806] twi_chan_cfg()340 - [twi0] has no twi_regulator.

[    0.200806] twi_chan_cfg()340 - [twi1] has no twi_regulator.

[    0.200806] twi_chan_cfg()340 - [twi2] has no twi_regulator.

[    0.201079] Linux video capture interface: v2.00

[    0.201317] Advanced Linux Sound Architecture Driver Version 1.0.25.

[    0.202137] cfg80211: Calling CRDA to update world regulatory domain

[    0.202201] Switching to clocksource arch_sys_counter

[    0.215376] FS-Cache: Loaded

[    0.215739] CacheFiles: Loaded

[    0.227326] NET: Registered protocol family 2

[    0.238636] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

[    0.239238] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

[    0.239489] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)

[    0.239763] TCP: Hash tables configured (established 16384 bind 16384)

[    0.239775] TCP: reno registered

[    0.239788] UDP hash table entries: 256 (order: 1, 8192 bytes)

[    0.239814] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

[    0.240228] NET: Registered protocol family 1

[    0.240714] RPC: Registered named UNIX socket transport module.

[    0.240728] RPC: Registered udp transport module.

[    0.240736] RPC: Registered tcp transport module.

[    0.240744] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.240965] Trying to unpack rootfs image as initramfs...

[    0.431748] Freeing initrd memory: 3040K

[    0.432342] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available

[    0.432491] sunxi_reg_init enter

[    0.433519] audit: initializing netlink socket (disabled)

[    0.433579] type=2000 audit(0.430:1): initialized

[    0.435593] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.435794] misc fatfs initialized

[    0.436639] NFS: Registering the id_resolver key type

[    0.437087] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    0.437105] Installing knfsd (copyright © 1996 okir@monad.swb.de).

[    0.437954] NTFS driver 2.1.30 [Flags: R/W].

[    0.438292] fuse init (API version 7.18)

[    0.439034] Btrfs loaded

[    0.439065] msgmni has been set to 987

[    0.440666] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[    0.440692] io scheduler noop registered

[    0.440702] io scheduler deadline registered

[    0.440789] io scheduler cfq registered (default)

[    0.441239] [DISP]disp_module_init

[    0.441570] cmdline,init_disp=

[    0.441604] cmdline,disp=

[    0.442336] [DISP]disp_module_init finish

[    0.442580] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.

[    0.442596] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.

[    0.442610] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.

[    0.442624] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.

[    0.443203] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI

[    0.443218] sw_uart_pm()890 - uart0 clk is already enable

[    0.443238] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n

[    0.443378] console [ttyS0] enabled

[    0.443745] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI

[    0.444024] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI

[    0.444310] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI

[    0.444849] sunxi_cmatest_init enter

[    0.444890] sunxi_cmatest_init success

[    0.449117] brd: module loaded

[    0.453138] loop: module loaded

[    0.453457] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.

[    0.453471] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.

[    0.454142] spi spi0: master is unqueued, this is deprecated

[    0.454468] tun: Universal TUN/TAP device driver, 1.6

[    0.454478] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

[    0.454822] gmac0 not be used

[    0.454860] gmac0: probe of gmac0 failed with error -22

[    0.454892] PPP generic driver version 2.4.2

[    0.455069] PPP BSD Compression module registered

[    0.455080] PPP Deflate Compression module registered

[    0.458076] PPP MPPE Compression module registered

[    0.458096] NET: Registered protocol family 24

[    0.458192] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.478316] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.478356] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1

[    0.479457] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000

[    0.490050] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00

[    0.490813] hub 1-0:1.0: USB hub found

[    0.490840] hub 1-0:1.0: 1 port detected

[    0.511288] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.511321] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2

[    0.511778] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000

[    0.530038] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00

[    0.530644] hub 2-0:1.0: USB hub found

[    0.530670] hub 2-0:1.0: 1 port detected

[    0.551045] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.551073] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3

[    0.551486] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000

[    0.570032] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00

[    0.570551] hub 3-0:1.0: USB hub found

[    0.570575] hub 3-0:1.0: 1 port detected

[    0.590944] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.590974] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4

[    0.591365] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000

[    0.610042] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00

[    0.610591] hub 4-0:1.0: USB hub found

[    0.610611] hub 4-0:1.0: 1 port detected

[    0.611022] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.631103] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver

[    0.631132] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5

[    0.631168] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400

[    0.694554] hub 5-0:1.0: USB hub found

[    0.694575] hub 5-0:1.0: 1 port detected

[    0.714951] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver

[    0.714980] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6

[    0.715015] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400

[    0.774563] hub 6-0:1.0: USB hub found

[    0.774587] hub 6-0:1.0: 1 port detected

[    0.794964] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver

[    0.794993] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7

[    0.795028] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400

[    0.854557] hub 7-0:1.0: USB hub found

[    0.854577] hub 7-0:1.0: 1 port detected

[    0.874968] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver

[    0.874997] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8

[    0.875031] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400

[    0.934583] hub 8-0:1.0: USB hub found

[    0.934603] hub 8-0:1.0: 1 port detected

[    0.934999] Initializing USB Mass Storage driver...

[    0.935239] usbcore: registered new interface driver usb-storage

[    0.935248] USB Mass Storage support registered.

[    0.935317] usbcore: registered new interface driver ums-alauda

[    0.935372] usbcore: registered new interface driver ums-cypress

[    0.935432] usbcore: registered new interface driver ums-datafab

[    0.935478] usbcore: registered new interface driver ums_eneub6250

[    0.935526] usbcore: registered new interface driver ums-freecom

[    0.935574] usbcore: registered new interface driver ums-isd200

[    0.935621] usbcore: registered new interface driver ums-jumpshot

[    0.935665] usbcore: registered new interface driver ums-karma

[    0.935712] usbcore: registered new interface driver ums-onetouch

[    0.935775] usbcore: registered new interface driver ums-realtek

[    0.935826] usbcore: registered new interface driver ums-sddr09

[    0.935875] usbcore: registered new interface driver ums-sddr55

[    0.935923] usbcore: registered new interface driver ums-usbat

[    0.936165]  uinput result 0 , vmouse_init

[    0.936762] mousedev: PS/2 mouse device common for all mice

[    0.936996] sunxikbd_init failed.

[    0.937546] ls_fetch_sysconfig_para: ls_unused.

[    0.937559] ltr_init: ls_fetch_sysconfig_para err.

[    0.938197] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0

[    0.938256] i2c /dev entries driver

[    0.938811] IR RC5(x) protocol handler initialized

[    0.938945] sunxi cedar version 0.1

[    0.938987] [cedar]: install start!!!

[    0.939204] [cedar]: install end!!!

[    0.939434] twi_start()434 - [i2c0] START can't sendout!

[    0.939695] twi_start()434 - [i2c0] START can't sendout!

[    0.939955] twi_start()434 - [i2c0] START can't sendout!

[    0.940221] twi_start()434 - [i2c0] START can't sendout!

[    0.940482] twi_start()434 - [i2c0] START can't sendout!

[    0.940741] twi_start()434 - [i2c0] START can't sendout!

[    0.941003] twi_start()434 - [i2c0] START can't sendout!

[    0.941263] twi_start()434 - [i2c0] START can't sendout!

[    0.941522] twi_start()434 - [i2c0] START can't sendout!

[    0.941784] twi_start()434 - [i2c0] START can't sendout!

[    0.942043] twi_start()434 - [i2c0] START can't sendout!

[    0.942302] twi_start()434 - [i2c0] START can't sendout!

[    0.942564] twi_start()434 - [i2c0] START can't sendout!

[    0.942823] twi_start()434 - [i2c0] START can't sendout!

[    0.943083] twi_start()434 - [i2c0] START can't sendout!

[    0.943344] twi_start()434 - [i2c0] START can't sendout!

[    0.943603] twi_start()434 - [i2c0] START can't sendout!

[    0.943863] twi_start()434 - [i2c0] START can't sendout!

[    0.944124] twi_start()434 - [i2c0] START can't sendout!

[    0.944383] twi_start()434 - [i2c0] START can't sendout!

[    0.944643] twi_start()434 - [i2c0] START can't sendout!

[    0.944904] twi_start()434 - [i2c0] START can't sendout!

[    0.945164] twi_start()434 - [i2c0] START can't sendout!

[    0.945423] twi_start()434 - [i2c0] START can't sendout!

[    0.945684] twi_start()434 - [i2c0] START can't sendout!

[    0.945944] twi_start()434 - [i2c0] START can't sendout!

[    0.946203] twi_start()434 - [i2c0] START can't sendout!

[    0.946468] twi_start()434 - [i2c1] START can't sendout!

[    0.946729] twi_start()434 - [i2c1] START can't sendout!

[    0.946989] twi_start()434 - [i2c1] START can't sendout!

[    0.947252] twi_start()434 - [i2c1] START can't sendout!

[    0.947513] twi_start()434 - [i2c1] START can't sendout!

[    0.947773] twi_start()434 - [i2c1] START can't sendout!

[    0.948035] twi_start()434 - [i2c1] START can't sendout!

[    0.948294] twi_start()434 - [i2c1] START can't sendout!

[    0.948554] twi_start()434 - [i2c1] START can't sendout!

[    0.948815] twi_start()434 - [i2c1] START can't sendout!

[    0.949075] twi_start()434 - [i2c1] START can't sendout!

[    0.949334] twi_start()434 - [i2c1] START can't sendout!

[    0.949596] twi_start()434 - [i2c1] START can't sendout!

[    0.949855] twi_start()434 - [i2c1] START can't sendout!

[    0.950292] twi_start()434 - [i2c1] START can't sendout!

[    0.950558] twi_start()434 - [i2c1] START can't sendout!

[    0.950818] twi_start()434 - [i2c1] START can't sendout!

[    0.951078] twi_start()434 - [i2c1] START can't sendout!

[    0.951340] twi_start()434 - [i2c1] START can't sendout!

[    0.951599] twi_start()434 - [i2c1] START can't sendout!

[    0.951859] twi_start()434 - [i2c1] START can't sendout!

[    0.952120] twi_start()434 - [i2c1] START can't sendout!

[    0.952380] twi_start()434 - [i2c1] START can't sendout!

[    0.952639] twi_start()434 - [i2c1] START can't sendout!

[    0.952901] twi_start()434 - [i2c1] START can't sendout!

[    0.953160] twi_start()434 - [i2c1] START can't sendout!

[    0.953420] twi_start()434 - [i2c1] START can't sendout!

[    0.953731] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x18)

[    0.953932] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x19)

[    0.954129] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x1a)

[    0.954327] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x29)

[    0.954524] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x2a)

[    0.954721] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x2b)

[    0.954917] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4c)

[    0.955114] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4d)

[    0.955310] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4e)

[    0.955326] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0

[    0.955513] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf

[    0.955678] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)

[    0.955693] wdt_enable, write reg 0xf1c20cb8 val 0x00000000

[    0.955707] timeout_to_interv, line 167

[    0.955716] interv_to_timeout, line 189

[    0.955727] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec

[    0.956205] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com

[    0.956456] calibrat: max_cpufreq 1200Mhz Type 0!

[    0.956470] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq

[    0.956865] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Sep 14 2016 at 20:28:08

[    0.956904] [mmc]: get mmc0's sdc_power is null!

[    0.956936] [mmc]: get mmc1's sdc_power is null!

[    0.956945] [mmc]: get mmc1's 2xmode ok, val = 1

[    0.956954] [mmc]: get mmc1's ddrmode ok, val = 1

[    0.956985] [mmc]: get mmc2's sdc_power is null!

[    0.956994] [mmc]: get mmc2's 2xmode ok, val = 1

[    0.957003] [mmc]: get mmc2's ddrmode ok, val = 1

[    0.957016] [mmc]: MMC host used card: 0x7, boot card: 0x5, io_card 2

[    0.958140] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    0.959260] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    0.959870] [mmc]: sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    0.960800] [mmc]: sdc0 power_supply is null

[    0.962293] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    0.965115] no red_led, ignore it!

[    0.965389] Registered led device: green_led

[    0.965497] Registered led device: blue_led

[    0.965514] no led_0, ignore it!

[    0.965521] no led_1, ignore it!

[    0.965528] no led_2, ignore it!

[    0.965535] no led_3, ignore it!

[    0.965542] no led_4, ignore it!

[    0.965550] no led_5, ignore it!

[    0.965556] no led_6, ignore it!

[    0.965563] no led_7, ignore it!

[    0.966424] usbcore: registered new interface driver usbhid

[    0.966435] usbhid: USB HID core driver

[    0.967877] script_get_item return type err

[    0.967899] sunxi-pcm-codec: probe of sunxi-pcm-codec failed with error -14

[    0.968140] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!

[    0.968321] [i2S]snddaudio cannot find any using configuration for controllers, return directly!

[    0.968335] [DAUDIO0] driver not init,just return.

[    0.973068] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok

[    0.974212] oprofile: using arm/armv7-ca7

[    0.974438] u32 classifier

[    0.974445]     Performance counters on

[    0.974452]     input device check on

[    0.974459]     Actions configured

[    0.974658] IPv4 over IPv4 tunneling driver

[    0.975339] TCP: bic registered

[    0.975353] TCP: cubic registered

[    0.975361] TCP: westwood registered

[    0.975368] TCP: highspeed registered

[    0.975376] TCP: hybla registered

[    0.975383] TCP: htcp registered

[    0.975390] TCP: vegas registered

[    0.975398] TCP: veno registered

[    0.975405] TCP: scalable registered

[    0.975413] TCP: lp registered

[    0.975420] TCP: yeah registered

[    0.975428] TCP: illinois registered

[    0.975435] Initializing XFRM netlink socket

[    0.975693] NET: Registered protocol family 10

[    0.976823] NET: Registered protocol family 17

[    0.976853] NET: Registered protocol family 15

[    0.976905] Registering the dns_resolver key type

[    0.977463] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

[    0.977491] ThumbEE CPU extension supported.

[    0.977516] Registering SWP/SWPB emulation handler

[    0.978111] registered taskstats version 1

[    0.978829] ths_fetch_sysconfig_para: type err  device_used = 1.

[    0.980090] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    0.980255] CPU Budget:corekeeper enabled

[    0.980508] CPU Budget:Register notifier

[    0.980522] CPU Budget:register Success

[    0.980536] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0

[    0.984053] [rf_pm]: Did not config module_power0 in sys_config

[    0.984072] [rf_pm]: Did not config module_power1 in sys_config

[    0.984082] [rf_pm]: Did not config module_power2 in sys_config

[    0.984092] [rf_pm]: Did not config module_power3 in sys_config

[    0.984102] [rf_pm]: mod has no chip_en gpio

[    0.984111] [rf_pm]: regulator on.

[    0.984126] [rf_pm]: set losc_out 32k out[wifi_pm]: wifi gpio init is OK !!

[    0.984823] [rfkill]: rfkill set power 1

[    1.000114] ALSA device list:

[    1.000123]   #0: sndhdmi

[    1.000982] Freeing init memory: 328K

[    1.001746] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.004328] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.009803] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.009969] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.012573] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.031701] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.033362] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.033535] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B

[    1.033628] mmc0: new SDHC card at address 0001

[    1.034353] mmcblk0: mmc0:0001 ASTC 7.43 GiB

[    1.036304]  mmcblk0: p1

[    1.037109] mmcblk mmc0:0001: Card claimed for testing.

[    1.037129] mmc0:0001: ASTC 7.43 GiB

[    1.037186] *******************sd init ok*******************

[    1.037216] [mmc]: sdc2 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.038783] [mmc]: sdc2 power_supply is null

[    1.046723] systemd-udevd[94]: starting version 215

[    1.050144] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.071832] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.074387] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.084172] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.084772] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.084934] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.085089] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.087674] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.101481] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.113822] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.114352] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.114535] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    1.114675] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B

[    1.114786] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B

[    1.114941] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B

[    1.115078] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B

[    1.115282] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B

[    1.115404] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.115493] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.115601] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.115717] mmc1: new high speed DDR MMC card at address 0001

[    1.116436] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB

[    1.116790] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB

[    1.117115] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB

[    1.118712]  mmcblk1: p1 p2

[    1.121158] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.122709]  mmcblk1boot1: unknown partition table

[    1.123911] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.125932]  mmcblk1boot0: unknown partition table

[    1.126334] mmcblk mmc1:0001: Card claimed for testing.

[    1.126356] mmc1:0001: 8WPD3R 7.28 GiB

[    1.126414] *******************mmc init ok *******************

[    1.205385] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.225778] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.226176] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.226908] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.227179] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.227575] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.227839] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.228118] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.228398] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.228799] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.229067] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.229396] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.229671] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.229998] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.230384] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.230756] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.231064] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.231463] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.231758] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.232033] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.232345] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.232882] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.233221] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.234069] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.234399] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.235207] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.235482] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.236038] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.236314] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.236841] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.237122] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.237397] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.237660] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.237928] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.238180] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.238430] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.238704] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.238965] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.239218] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.239478] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.239778] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.240161] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.240437] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.240707] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.240973] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.241276] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.241548] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.241816] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.242070] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.242331] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.242582] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.242847] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.243101] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.243367] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.243626] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.243892] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.244152] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.244405] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.244659] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.244917] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.245186] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.245454] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.245720] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.245989] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.246252] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.246600] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.254232] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.254808] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.255277] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.255565] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.256206] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.256481] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.257204] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    1.257532] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    2.182744] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    2.188091] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    2.675750] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)

[    4.120366] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)

[    4.120728] systemd[1]: Detected architecture 'arm'.

[    4.129604] systemd[1]: Set hostname to <nanopiair>.

[    4.777640] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.

[    4.780599] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.

[    4.781016] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

[    4.781103] systemd[1]: Expecting device dev-ttyS0.device...

[    4.781628] systemd[1]: Starting Remote File Systems (Pre).

[    4.781894] systemd[1]: Reached target Remote File Systems (Pre).

[    4.782064] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.

[    4.782851] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.

[    4.782947] systemd[1]: Starting Encrypted Volumes.

[    4.783193] systemd[1]: Reached target Encrypted Volumes.

[    4.783282] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.

[    4.783491] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.

[    4.783551] systemd[1]: Starting Paths.

[    4.783786] systemd[1]: Reached target Paths.

[    4.783869] systemd[1]: Starting Root Slice.

[    4.784206] systemd[1]: Created slice Root Slice.

[    4.784272] systemd[1]: Starting User and Session Slice.

[    4.784663] systemd[1]: Created slice User and Session Slice.

[    4.784727] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.

[    4.785147] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.

[    4.785212] systemd[1]: Starting Delayed Shutdown Socket.

[    4.785558] systemd[1]: Listening on Delayed Shutdown Socket.

[    4.785627] systemd[1]: Starting Journal Socket (/dev/log).

[    4.785986] systemd[1]: Listening on Journal Socket (/dev/log).

[    4.786074] systemd[1]: Starting udev Control Socket.

[    4.786371] systemd[1]: Listening on udev Control Socket.

[    4.786450] systemd[1]: Starting udev Kernel Socket.

[    4.786741] systemd[1]: Listening on udev Kernel Socket.

[    4.786827] systemd[1]: Starting Journal Socket.

[    4.787173] systemd[1]: Listening on Journal Socket.

[    4.787299] systemd[1]: Starting System Slice.

[    4.787690] systemd[1]: Created slice System Slice.

[    4.787809] systemd[1]: Started File System Check on Root Device.

[    4.787866] systemd[1]: Starting system-serial\x2dgetty.slice.

[    4.788359] systemd[1]: Created slice system-serial\x2dgetty.slice.

[    4.788424] systemd[1]: Starting system-getty.slice.

[    4.788837] systemd[1]: Created slice system-getty.slice.

[    4.788976] systemd[1]: Starting Increase datagram queue length...

[    4.850949] systemd[1]: Starting Restore / save the current clock...

[    4.951045] systemd[1]: Mounted Huge Pages File System.

[    4.951192] systemd[1]: Starting udev Coldplug all Devices...

[    5.057177] systemd[1]: Started Set Up Additional Binary Formats.

[    5.057359] systemd[1]: Mounting POSIX Message Queue File System...

[    5.112914] systemd[1]: Starting Load Kernel Modules...

[    5.171309] systemd[1]: Starting Create list of required static device nodes for the current kernel...

[    5.220717] Bluetooth: Core ver 2.16

[    5.220807] NET: Registered protocol family 31

[    5.220817] Bluetooth: HCI device and connection manager initialized

[    5.220829] Bluetooth: HCI socket layer initialized

[    5.220839] Bluetooth: L2CAP socket layer initialized

[    5.220869] Bluetooth: SCO socket layer initialized

[    5.229747] Bluetooth: HCI UART driver ver 2.2

[    5.229764] Bluetooth: HCI H4 protocol initialized

[    5.229773] Bluetooth: HCI BCSP protocol initialized

[    5.229781] Bluetooth: HCILL protocol initialized

[    5.229789] Bluetooth: HCIATH3K protocol initialized

[    5.240225] Bluetooth: RFCOMM TTY layer initialized

[    5.240271] Bluetooth: RFCOMM socket layer initialized

[    5.240282] Bluetooth: RFCOMM ver 1.11

[    5.247165] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[    5.251495] systemd[1]: Mounting Debug File System...

[    5.344564] dhd_module_init: in

[    5.344655] ======== bcm_wlan_set_plat_data ========

[    5.344674] bcm_wlan_get_oob_irq enter.

[    5.344774] gpio [202] map to virq [10] ok

[    5.344782] host_oob_irq: 10

[    5.344791] host_oob_irq_flags=4

[    5.344799] dhd_wifi_platform_load: Enter

[    5.344839] Power-up adapter 'DHD generic adapter'

[    5.344906] wifi_platform_set_power = 1

[    5.344916] ======== PULL WL_REG_ON HIGH! ========

[    5.344925] [wifi_pm]: set wl_reg_on 1 !

[    5.390740] systemd[1]: Starting LSB: Set keymap...

[    5.430747] systemd[1]: Starting Slices.

[    5.431245] systemd[1]: Reached target Slices.

[    5.434068] systemd[1]: Mounted Debug File System.

[    5.434663] systemd[1]: Mounted POSIX Message Queue File System.

[    5.490577] systemd[1]: Started Increase datagram queue length.

[    5.560502] systemd[1]: Started Restore / save the current clock.

[    5.650149] wifi_platform_bus_enumerate device present 1

[    5.650169] ======== Card detection to detect SDIO card! ========

[    5.650256] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    5.651816] [mmc]: sdc1 power_supply is null

[    5.670079] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    5.693228] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    5.695736] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    5.697991] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[    5.700786] systemd[1]: Started Create list of required static device nodes for the current kernel.

[    5.707555] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)

[    5.709122] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

[    5.710686] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

[    5.713489] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

[    5.750516] systemd[1]: Started LSB: Set keymap.

[    5.800426] systemd[1]: Started udev Coldplug all Devices.

[    5.801563] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B

[    5.801728] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B

[    5.801927] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[    5.802733] systemd[1]: Time has been changed

[    5.803396] systemd[1]: Starting Create Static Device Nodes in /dev...

[    5.804124] mmc2: new high speed SDIO card at address 0001

[    5.804810] *******************sdio init ok*******************

[    5.820156] bcmsdh_register: register client driver

[    5.820324] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter

[    5.820438] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter

[    5.820449] bus num (host idx)=2, slot num (rca)=1

[    5.820460] found adapter info 'DHD generic adapter'

[    5.821008] F1 signature read @0x18000000=0x1540a9a6

[    5.823740] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4

[    5.824746] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

[    5.824897] wifi_platform_get_mac_addr

[    5.824909] dhd_custom_get_mac_address Enter

[    5.824923] dhd_custom_get_mac_address wifi_mac=

[    5.825839] wl_create_event_handler(): thread:wl_event_handler:b0 started

[    5.825853] tsk Enter, tsk = 0xd4c61430

[    5.826958] p2p0: P2P Interface Registered

[    5.827093] dhd_attach(): thread:dhd_watchdog_thread:b1 started

[    5.827198] dhd_attach(): thread:dhd_dpc:b2 started

[    5.827287] dhd_attach(): thread:dhd_rxf:b3 started

[    5.827309] dhd_deferred_work_init: work queue initialized

[    5.827589] dhd_custom_get_mac_address Enter

[    5.827604] dhd_custom_get_mac_address wifi_mac=

[    5.827617] Dongle Host Driver, version 1.201.34.2 (r491657)

[    5.827623] Compiled in drivers/net/wireless/bcmdhd on Sep 14 2016 at 20:28:26

[    5.828338] Register interface [wlan0]  MAC: 00:90:4c:11:22:33

 

[    5.828358] dhd_prot_ioctl : bus is down. we have nothing to do

[    5.828434] bcmsdh_oob_intr_unregister: Enter

[    5.828444] bcmsdh_oob_intr_unregister: irq is not registered

[    5.828462] dhd_txglom_enable: enable 0

[    5.828470] dhd_bus_devreset:  WLAN OFF DONE

[    5.828526] wifi_platform_set_power = 0

[    5.828536] ======== PULL WL_REG_ON LOW! ========

[    5.828545] [wifi_pm]: set wl_reg_on 0 !

[    5.828638] dhd_module_init: Exit err=0

[    5.880999] systemd[1]: Starting Syslog Socket.

[    5.881759] systemd[1]: Listening on Syslog Socket.

[    5.881930] systemd[1]: Starting Journal Service...

[    5.921450] systemd[1]: Started Journal Service.

[    6.316523] systemd-udevd[183]: starting version 215

[    6.600378] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.679889] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.680560] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.681405] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.681949] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.682341] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.682889] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.683189] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.683465] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.683769] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.684911] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.685231] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.685868] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.686158] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.686435] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.686721] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.687086] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.687357] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.687644] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.687927] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.688294] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.688626] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.688957] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.689270] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.689575] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.689867] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.690516] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.691594] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.691974] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.692363] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.692719] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.693071] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.693870] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.694237] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.695075] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.695491] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.695882] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.696255] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.700520] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.700983] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.701400] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.703403] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.703921] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.704438] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.710107] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.710677] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.711063] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.714893] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.715381] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.718300] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.720902] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.721443] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.721867] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.723045] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.723480] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.723954] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.740455] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.741021] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.741505] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.747067] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.750425] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.751131] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.751989] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    6.752904] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    7.475952] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro

[    7.689423] [rfkill]: rfkill set power 1

[    7.857393] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:131068k SS

[    9.298029] systemd-journald[180]: Received request to flush runtime journal from PID 1

[   10.628417] Registered IR keymap rc-empty

[   10.629731] rc0: sunxi-ir as /devices/virtual/rc/rc0

[   10.632949] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0


 

I really appreciate any help to get this working. I would like to use OV5640 with https://github.com/avafinger/ov5640driversto control frame rate.

 

Thanks

Share this post


Link to post
Share on other sites

Steps:

 

 

* edit script.bin and add the correct camera section:

[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 = 0
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 = 24
vip_dev1_mname = ""
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 =

* Load the drivers, add it in /etc/modules

ov5640
vfe_v4l2

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for that. I did below steps 

 

1. cd /boot 

2. bin2fex script.bin script.fex

3. Updated the [csi0] section with above fex config

4. fex2bin script.fex script.bin

5. nano /etc/modules-load/modules.conf

6. added ov5640 and vfe_v4l2

 

after reboot, I am able to see /dev/video0 and VFE seems ok but there are issues in CSI-0 pins and stuff. Below is the dmesg output.

 

 

 

 
[    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.112-sun8i (root@xenial) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016
[    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 c0a24900, node_mem_map c0b5d000
[    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 @c0fef000 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: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=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: 338956k/338956k available, 185332k 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 - 0xc095bce8   (9552 kB)
[    0.000000]       .init : 0xc095c000 - 0xc09aeec0   ( 332 kB)
[    0.000000]       .data : 0xc09b0000 - 0xc0a29750   ( 486 kB)
[    0.000000]        .bss : 0xc0a29f04 - 0xc0b5cf90   (1229 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.000269] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000293] pid_max: default: 32768 minimum: 301
[    0.000651] Mount-cache hash table entries: 512
[    0.001697] Initializing cgroup subsys cpuacct
[    0.001714] Initializing cgroup subsys memory
[    0.001767] Initializing cgroup subsys devices
[    0.001779] Initializing cgroup subsys freezer
[    0.001790] Initializing cgroup subsys blkio
[    0.001816] Initializing cgroup subsys perf_event
[    0.001904] CPU: Testing write buffer coherency: ok
[    0.001967] ftrace: allocating 25740 entries in 76 pages
[    0.030380] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.030399] [sunxi_smp_prepare_cpus] enter
[    0.030451] Setting up static identity map for 0x40691938 - 0x40691990
[    0.031560] CPU1: Booted secondary processor
[    0.031560] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.031697] CPU2: Booted secondary processor
[    0.031697] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.040562] CPU3: Booted secondary processor
[    0.040562] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.040684] Brought up 4 CPUs
[    0.040684] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.041013] devtmpfs: initialized
[    0.051295] wakeup src cnt is : 2.
[    0.051311] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.051322] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0
[    0.051333] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.051345] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.051355] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8
[    0.051365] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.051377] sunxi pm init
[    0.051527] pinctrl core: initialized pinctrl subsystem
[    0.058409] NET: Registered protocol family 16
[    0.059490] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.059490] script_sysfs_init success
[    0.059490] sunxi_dump_init success
[    0.059490] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.059490] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.059490] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.059490] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.059490] script config pll_video to 297 Mhz
[    0.059490] script config pll_de to 864 Mhz
[    0.059490] script config pll_ve to 402 Mhz
[    0.059490] sunxi_default_clk_init
[    0.059490] try to set pll6ahb1 to 200000000
[    0.059490] try to set ahb clk source to pll6ahb1
[    0.059490] set ahb clk source to pll6ahb1
[    0.059490] try to set ahb1 to 200000000
[    0.059490] try to set apb1 to 100000000
[    0.070256] bio: create slab <bio-0> at 0
[    0.070334] [ARISC] :sunxi-arisc driver v1.04
[    0.091995] [ARISC] :arisc version: [v0.1.58]
[    0.198834] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.200538] SCSI subsystem initialized
[    0.200708] usbcore: registered new interface driver usbfs
[    0.200784] usbcore: registered new interface driver hub
[    0.200808] usbcore: registered new device driver usb
[    0.200808] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.200808] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.200808] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.201071] Linux video capture interface: v2.00
[    0.201309] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.202136] cfg80211: Calling CRDA to update world regulatory domain
[    0.202199] Switching to clocksource arch_sys_counter
[    0.215367] FS-Cache: Loaded
[    0.215727] CacheFiles: Loaded
[    0.227309] NET: Registered protocol family 2
[    0.238616] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.239212] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.239461] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.239737] TCP: Hash tables configured (established 16384 bind 16384)
[    0.239749] TCP: reno registered
[    0.239762] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.239788] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.240202] NET: Registered protocol family 1
[    0.240689] RPC: Registered named UNIX socket transport module.
[    0.240703] RPC: Registered udp transport module.
[    0.240712] RPC: Registered tcp transport module.
[    0.240720] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.240938] Trying to unpack rootfs image as initramfs...
[    0.431782] Freeing initrd memory: 3040K
[    0.432375] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.432523] sunxi_reg_init enter
[    0.433553] audit: initializing netlink socket (disabled)
[    0.433613] type=2000 audit(0.430:1): initialized
[    0.435612] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.435820] misc fatfs initialized
[    0.436664] NFS: Registering the id_resolver key type
[    0.437108] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.437124] Installing knfsd (copyright © 1996 okir@monad.swb.de).
[    0.437975] NTFS driver 2.1.30 [Flags: R/W].
[    0.438316] fuse init (API version 7.18)
[    0.439056] Btrfs loaded
[    0.439089] msgmni has been set to 987
[    0.440668] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.440692] io scheduler noop registered
[    0.440702] io scheduler deadline registered
[    0.440790] io scheduler cfq registered (default)
[    0.441237] [DISP]disp_module_init
[    0.441570] cmdline,init_disp=
[    0.441604] cmdline,disp=
[    0.442332] [DISP]disp_module_init finish
[    0.442570] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.442586] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
[    0.442600] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[    0.442614] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.
[    0.443195] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.443209] sw_uart_pm()890 - uart0 clk is already enable
[    0.443230] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.443370] console [ttyS0] enabled
[    0.443741] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[    0.444018] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    0.444301] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
[    0.444841] sunxi_cmatest_init enter
[    0.444880] sunxi_cmatest_init success
[    0.449094] brd: module loaded
[    0.453125] loop: module loaded
[    0.453447] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.453462] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.
[    0.454120] spi spi0: master is unqueued, this is deprecated
[    0.454450] tun: Universal TUN/TAP device driver, 1.6
[    0.454461] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.454803] gmac0 not be used
[    0.454843] gmac0: probe of gmac0 failed with error -22
[    0.454875] PPP generic driver version 2.4.2
[    0.455054] PPP BSD Compression module registered
[    0.455065] PPP Deflate Compression module registered
[    0.458080] PPP MPPE Compression module registered
[    0.458101] NET: Registered protocol family 24
[    0.458194] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.478316] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.478357] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.479459] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.490045] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.490803] hub 1-0:1.0: USB hub found
[    0.490831] hub 1-0:1.0: 1 port detected
[    0.511279] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.511314] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    0.511755] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    0.530040] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    0.530650] hub 2-0:1.0: USB hub found
[    0.530674] hub 2-0:1.0: 1 port detected
[    0.551052] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.551081] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
[    0.551497] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
[    0.570035] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
[    0.570559] hub 3-0:1.0: USB hub found
[    0.570584] hub 3-0:1.0: 1 port detected
[    0.590951] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.590981] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
[    0.591365] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
[    0.610034] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
[    0.610576] hub 4-0:1.0: USB hub found
[    0.610595] hub 4-0:1.0: 1 port detected
[    0.611008] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.631085] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.631115] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
[    0.631152] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    0.694569] hub 5-0:1.0: USB hub found
[    0.694591] hub 5-0:1.0: 1 port detected
[    0.714952] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.714982] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
[    0.715016] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    0.774566] hub 6-0:1.0: USB hub found
[    0.774590] hub 6-0:1.0: 1 port detected
[    0.794972] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.795001] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
[    0.795035] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
[    0.854573] hub 7-0:1.0: USB hub found
[    0.854594] hub 7-0:1.0: 1 port detected
[    0.874986] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.875015] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
[    0.875050] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
[    0.934587] hub 8-0:1.0: USB hub found
[    0.934607] hub 8-0:1.0: 1 port detected
[    0.935007] Initializing USB Mass Storage driver...
[    0.935247] usbcore: registered new interface driver usb-storage
[    0.935256] USB Mass Storage support registered.
[    0.935322] usbcore: registered new interface driver ums-alauda
[    0.935379] usbcore: registered new interface driver ums-cypress
[    0.935435] usbcore: registered new interface driver ums-datafab
[    0.935491] usbcore: registered new interface driver ums_eneub6250
[    0.935542] usbcore: registered new interface driver ums-freecom
[    0.935596] usbcore: registered new interface driver ums-isd200
[    0.935642] usbcore: registered new interface driver ums-jumpshot
[    0.935688] usbcore: registered new interface driver ums-karma
[    0.935734] usbcore: registered new interface driver ums-onetouch
[    0.935797] usbcore: registered new interface driver ums-realtek
[    0.935847] usbcore: registered new interface driver ums-sddr09
[    0.935895] usbcore: registered new interface driver ums-sddr55
[    0.935943] usbcore: registered new interface driver ums-usbat
[    0.936181]  uinput result 0 , vmouse_init
[    0.936782] mousedev: PS/2 mouse device common for all mice
[    0.937013] sunxikbd_init failed.
[    0.937555] ls_fetch_sysconfig_para: ls_unused.
[    0.937566] ltr_init: ls_fetch_sysconfig_para err.
[    0.938200] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    0.938261] i2c /dev entries driver
[    0.938814] IR RC5(x) protocol handler initialized
[    0.938947] sunxi cedar version 0.1
[    0.938989] [cedar]: install start!!!
[    0.939204] [cedar]: install end!!!
[    0.939435] twi_start()434 - [i2c0] START can't sendout!
[    0.939696] twi_start()434 - [i2c0] START can't sendout!
[    0.939955] twi_start()434 - [i2c0] START can't sendout!
[    0.940222] twi_start()434 - [i2c0] START can't sendout!
[    0.940483] twi_start()434 - [i2c0] START can't sendout!
[    0.940742] twi_start()434 - [i2c0] START can't sendout!
[    0.941004] twi_start()434 - [i2c0] START can't sendout!
[    0.941263] twi_start()434 - [i2c0] START can't sendout!
[    0.941523] twi_start()434 - [i2c0] START can't sendout!
[    0.941784] twi_start()434 - [i2c0] START can't sendout!
[    0.942043] twi_start()434 - [i2c0] START can't sendout!
[    0.942303] twi_start()434 - [i2c0] START can't sendout!
[    0.942564] twi_start()434 - [i2c0] START can't sendout!
[    0.942824] twi_start()434 - [i2c0] START can't sendout!
[    0.943083] twi_start()434 - [i2c0] START can't sendout!
[    0.943344] twi_start()434 - [i2c0] START can't sendout!
[    0.943604] twi_start()434 - [i2c0] START can't sendout!
[    0.943863] twi_start()434 - [i2c0] START can't sendout!
[    0.944124] twi_start()434 - [i2c0] START can't sendout!
[    0.944384] twi_start()434 - [i2c0] START can't sendout!
[    0.944643] twi_start()434 - [i2c0] START can't sendout!
[    0.944905] twi_start()434 - [i2c0] START can't sendout!
[    0.945164] twi_start()434 - [i2c0] START can't sendout!
[    0.945423] twi_start()434 - [i2c0] START can't sendout!
[    0.945685] twi_start()434 - [i2c0] START can't sendout!
[    0.945944] twi_start()434 - [i2c0] START can't sendout!
[    0.946204] twi_start()434 - [i2c0] START can't sendout!
[    0.946468] twi_start()434 - [i2c1] START can't sendout!
[    0.946729] twi_start()434 - [i2c1] START can't sendout!
[    0.946990] twi_start()434 - [i2c1] START can't sendout!
[    0.947253] twi_start()434 - [i2c1] START can't sendout!
[    0.947513] twi_start()434 - [i2c1] START can't sendout!
[    0.947774] twi_start()434 - [i2c1] START can't sendout!
[    0.948035] twi_start()434 - [i2c1] START can't sendout!
[    0.948295] twi_start()434 - [i2c1] START can't sendout!
[    0.948554] twi_start()434 - [i2c1] START can't sendout!
[    0.948816] twi_start()434 - [i2c1] START can't sendout!
[    0.949076] twi_start()434 - [i2c1] START can't sendout!
[    0.949335] twi_start()434 - [i2c1] START can't sendout!
[    0.949597] twi_start()434 - [i2c1] START can't sendout!
[    0.949856] twi_start()434 - [i2c1] START can't sendout!
[    0.950303] twi_start()434 - [i2c1] START can't sendout!
[    0.950570] twi_start()434 - [i2c1] START can't sendout!
[    0.950830] twi_start()434 - [i2c1] START can't sendout!
[    0.951090] twi_start()434 - [i2c1] START can't sendout!
[    0.951351] twi_start()434 - [i2c1] START can't sendout!
[    0.951611] twi_start()434 - [i2c1] START can't sendout!
[    0.951870] twi_start()434 - [i2c1] START can't sendout!
[    0.952132] twi_start()434 - [i2c1] START can't sendout!
[    0.952391] twi_start()434 - [i2c1] START can't sendout!
[    0.952651] twi_start()434 - [i2c1] START can't sendout!
[    0.952913] twi_start()434 - [i2c1] START can't sendout!
[    0.953172] twi_start()434 - [i2c1] START can't sendout!
[    0.953432] twi_start()434 - [i2c1] START can't sendout!
[    0.953744] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x18)
[    0.953943] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x19)
[    0.954141] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x1a)
[    0.954339] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x29)
[    0.954536] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x2a)
[    0.954732] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x2b)
[    0.954928] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4c)
[    0.955122] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4d)
[    0.955319] sunxi_i2c_do_xfer()985 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x4e)
[    0.955335] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    0.955522] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    0.955690] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    0.955704] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    0.955715] timeout_to_interv, line 167
[    0.955723] interv_to_timeout, line 189
[    0.955733] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    0.956206] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    0.956460] calibrat: max_cpufreq 1200Mhz Type 0!
[    0.956475] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[    0.956868] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Sep 14 2016 at 20:28:08
[    0.956909] [mmc]: get mmc0's sdc_power is null!
[    0.956939] [mmc]: get mmc1's sdc_power is null!
[    0.956948] [mmc]: get mmc1's 2xmode ok, val = 1
[    0.956957] [mmc]: get mmc1's ddrmode ok, val = 1
[    0.956986] [mmc]: get mmc2's sdc_power is null!
[    0.956995] [mmc]: get mmc2's 2xmode ok, val = 1
[    0.957004] [mmc]: get mmc2's ddrmode ok, val = 1
[    0.957017] [mmc]: MMC host used card: 0x7, boot card: 0x5, io_card 2
[    0.958139] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.959261] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.959861] [mmc]: sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.960799] [mmc]: sdc0 power_supply is null
[    0.962288] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.965109] no red_led, ignore it!
[    0.965384] Registered led device: green_led
[    0.965488] Registered led device: blue_led
[    0.965506] no led_0, ignore it!
[    0.965513] no led_1, ignore it!
[    0.965520] no led_2, ignore it!
[    0.965527] no led_3, ignore it!
[    0.965534] no led_4, ignore it!
[    0.965541] no led_5, ignore it!
[    0.965548] no led_6, ignore it!
[    0.965555] no led_7, ignore it!
[    0.966420] usbcore: registered new interface driver usbhid
[    0.966432] usbhid: USB HID core driver
[    0.967897] script_get_item return type err
[    0.967921] sunxi-pcm-codec: probe of sunxi-pcm-codec failed with error -14
[    0.968164] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    0.968352] [i2S]snddaudio cannot find any using configuration for controllers, return directly!
[    0.968369] [DAUDIO0] driver not init,just return.
[    0.973104] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    0.974231] oprofile: using arm/armv7-ca7
[    0.974462] u32 classifier
[    0.974471]     Performance counters on
[    0.974478]     input device check on
[    0.974485]     Actions configured
[    0.974684] IPv4 over IPv4 tunneling driver
[    0.975361] TCP: bic registered
[    0.975372] TCP: cubic registered
[    0.975380] TCP: westwood registered
[    0.975388] TCP: highspeed registered
[    0.975396] TCP: hybla registered
[    0.975404] TCP: htcp registered
[    0.975411] TCP: vegas registered
[    0.975419] TCP: veno registered
[    0.975426] TCP: scalable registered
[    0.975434] TCP: lp registered
[    0.975441] TCP: yeah registered
[    0.975449] TCP: illinois registered
[    0.975457] Initializing XFRM netlink socket
[    0.975710] NET: Registered protocol family 10
[    0.976832] NET: Registered protocol family 17
[    0.976865] NET: Registered protocol family 15
[    0.976918] Registering the dns_resolver key type
[    0.977409] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.977434] ThumbEE CPU extension supported.
[    0.977460] Registering SWP/SWPB emulation handler
[    0.978060] registered taskstats version 1
[    0.978771] ths_fetch_sysconfig_para: type err  device_used = 1.
[    0.980114] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.980208] CPU Budget:corekeeper enabled
[    0.980458] CPU Budget:Register notifier
[    0.980472] CPU Budget:register Success
[    0.980485] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    0.984012] [rf_pm]: Did not config module_power0 in sys_config
[    0.984031] [rf_pm]: Did not config module_power1 in sys_config
[    0.984041] [rf_pm]: Did not config module_power2 in sys_config
[    0.984052] [rf_pm]: Did not config module_power3 in sys_config
[    0.984062] [rf_pm]: mod has no chip_en gpio
[    0.984071] [rf_pm]: regulator on.
[    0.984087] [rf_pm]: set losc_out 32k out[wifi_pm]: wifi gpio init is OK !!
[    0.984790] [rfkill]: rfkill set power 1
[    1.000114] ALSA device list:
[    1.000123]   #0: sndhdmi
[    1.000987] Freeing init memory: 328K
[    1.001754] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.004340] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.009811] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.009981] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.012585] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.031708] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.033403] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.033570] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[    1.033679] mmc0: new SDHC card at address 0001
[    1.034376] mmcblk0: mmc0:0001 ASTC 7.43 GiB
[    1.036378]  mmcblk0: p1
[    1.037113] mmcblk mmc0:0001: Card claimed for testing.
[    1.037137] mmc0:0001: ASTC 7.43 GiB
[    1.037198] *******************sd init ok*******************
[    1.037234] [mmc]: sdc2 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.038816] [mmc]: sdc2 power_supply is null
[    1.046476] systemd-udevd[94]: starting version 215
[    1.060143] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.082992] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.085639] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.094569] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.095113] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.095247] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.095391] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.098010] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.111485] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.123713] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.124272] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.124510] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.124675] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[    1.124771] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[    1.124905] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[    1.125080] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B
[    1.125345] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B
[    1.125511] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.125606] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.125738] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.125882] mmc1: new high speed DDR MMC card at address 0001
[    1.126653] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[    1.127006] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    1.127335] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[    1.128644]  mmcblk1: p1 p2
[    1.130584] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.131782]  mmcblk1boot1: unknown partition table
[    1.132983] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.133972]  mmcblk1boot0: unknown partition table
[    1.134309] mmcblk mmc1:0001: Card claimed for testing.
[    1.134331] mmc1:0001: 8WPD3R 7.28 GiB
[    1.134396] *******************mmc init ok *******************
[    1.205477] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.225020] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.225522] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.226023] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.226377] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.226919] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.227237] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.227951] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.228221] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.228760] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.229038] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.229398] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.229660] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.229984] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.230349] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.230624] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.230884] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.231140] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.231400] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.231667] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.231919] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.232169] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.232441] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.232695] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.232948] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.233201] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.233452] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.233712] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.233981] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.234248] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.234502] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.234760] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.235012] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.235273] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.235525] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.235783] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.236034] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.236289] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.236548] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.236805] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.237083] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.237349] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.237602] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.237861] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.238116] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.238389] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.238654] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.238910] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.239172] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.239432] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.239708] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.239966] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.240278] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.240597] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.240902] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.241199] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.241513] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.241815] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.242111] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.242440] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.243123] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.243518] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.244264] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    1.244649] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    2.192235] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    2.197605] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    2.708481] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    4.110368] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    4.110738] systemd[1]: Detected architecture 'arm'.
[    4.120783] systemd[1]: Set hostname to <nanopiair>.
[    4.765976] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    4.768822] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.769207] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.769289] systemd[1]: Expecting device dev-ttyS0.device...
[    4.769814] systemd[1]: Starting Remote File Systems (Pre).
[    4.770146] systemd[1]: Reached target Remote File Systems (Pre).
[    4.770330] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    4.771124] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.771217] systemd[1]: Starting Encrypted Volumes.
[    4.771465] systemd[1]: Reached target Encrypted Volumes.
[    4.771552] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    4.771779] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    4.771841] systemd[1]: Starting Paths.
[    4.772073] systemd[1]: Reached target Paths.
[    4.772153] systemd[1]: Starting Root Slice.
[    4.772479] systemd[1]: Created slice Root Slice.
[    4.772541] systemd[1]: Starting User and Session Slice.
[    4.772914] systemd[1]: Created slice User and Session Slice.
[    4.772981] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    4.773407] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.773473] systemd[1]: Starting Delayed Shutdown Socket.
[    4.773831] systemd[1]: Listening on Delayed Shutdown Socket.
[    4.773897] systemd[1]: Starting Journal Socket (/dev/log).
[    4.774251] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.774339] systemd[1]: Starting udev Control Socket.
[    4.774643] systemd[1]: Listening on udev Control Socket.
[    4.774721] systemd[1]: Starting udev Kernel Socket.
[    4.775007] systemd[1]: Listening on udev Kernel Socket.
[    4.775098] systemd[1]: Starting Journal Socket.
[    4.775456] systemd[1]: Listening on Journal Socket.
[    4.775583] systemd[1]: Starting System Slice.
[    4.775988] systemd[1]: Created slice System Slice.
[    4.776110] systemd[1]: Started File System Check on Root Device.
[    4.776165] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.776646] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.776706] systemd[1]: Starting system-getty.slice.
[    4.777122] systemd[1]: Created slice system-getty.slice.
[    4.777261] systemd[1]: Starting Increase datagram queue length...
[    4.910910] systemd[1]: Starting Restore / save the current clock...
[    5.050901] systemd[1]: Mounted Huge Pages File System.
[    5.051051] systemd[1]: Starting udev Coldplug all Devices...
[    5.137721] systemd[1]: Started Set Up Additional Binary Formats.
[    5.137896] systemd[1]: Mounting POSIX Message Queue File System...
[    5.243610] systemd[1]: Starting Load Kernel Modules...
[    5.341227] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    5.367263] this module is used not!
[    5.367278] gpio_init finish with uesd 0!
[    5.391317] systemd[1]: Mounting Debug File System...
[    5.400395] Bluetooth: Core ver 2.16
[    5.400501] NET: Registered protocol family 31
[    5.400512] Bluetooth: HCI device and connection manager initialized
[    5.400526] Bluetooth: HCI socket layer initialized
[    5.400535] Bluetooth: L2CAP socket layer initialized
[    5.400559] Bluetooth: SCO socket layer initialized
[    5.408982] Bluetooth: HCI UART driver ver 2.2
[    5.408998] Bluetooth: HCI H4 protocol initialized
[    5.409006] Bluetooth: HCI BCSP protocol initialized
[    5.409015] Bluetooth: HCILL protocol initialized
[    5.409023] Bluetooth: HCIATH3K protocol initialized
[    5.419950] Bluetooth: RFCOMM TTY layer initialized
[    5.419977] Bluetooth: RFCOMM socket layer initialized
[    5.419986] Bluetooth: RFCOMM ver 1.11
[    5.427579] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.510764] systemd[1]: Starting LSB: Set keymap...
[    5.525797] dhd_module_init: in
[    5.525889] ======== bcm_wlan_set_plat_data ========
[    5.525907] bcm_wlan_get_oob_irq enter.
[    5.526006] gpio [202] map to virq [10] ok
[    5.526013] host_oob_irq: 10
[    5.526024] host_oob_irq_flags=4
[    5.526032] dhd_wifi_platform_load: Enter
[    5.526073] Power-up adapter 'DHD generic adapter'
[    5.526142] wifi_platform_set_power = 1
[    5.526150] ======== PULL WL_REG_ON HIGH! ========
[    5.526159] [wifi_pm]: set wl_reg_on 1 !
[    5.630798] systemd[1]: Starting Slices.
[    5.631220] systemd[1]: Reached target Slices.
[    5.634045] systemd[1]: Mounted Debug File System.
[    5.634525] systemd[1]: Mounted POSIX Message Queue File System.
[    5.690524] systemd[1]: Started Increase datagram queue length.
[    5.760491] systemd[1]: Started Restore / save the current clock.
[    5.830175] wifi_platform_bus_enumerate device present 1
[    5.830197] ======== Card detection to detect SDIO card! ========
[    5.830266] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.831818] [mmc]: sdc1 power_supply is null
[    5.850127] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.873277] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.875815] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.878069] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.887383] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    5.888926] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.890471] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.893241] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    5.930809] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    5.980840] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.980999] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.981190] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    5.983241] mmc2: new high speed SDIO card at address 0001
[    5.983841] *******************sdio init ok*******************
[    5.999946] bcmsdh_register: register client driver
[    6.000106] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    6.000204] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    6.000215] bus num (host idx)=2, slot num (rca)=1
[    6.000225] found adapter info 'DHD generic adapter'
[    6.000770] F1 signature read @0x18000000=0x1540a9a6
[    6.003612] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
[    6.004665] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    6.004816] wifi_platform_get_mac_addr
[    6.004827] dhd_custom_get_mac_address Enter
[    6.004840] dhd_custom_get_mac_address wifi_mac=
[    6.005757] wl_create_event_handler(): thread:wl_event_handler:b1 started
[    6.005769] tsk Enter, tsk = 0xd5021430
[    6.006890] p2p0: P2P Interface Registered
[    6.007022] dhd_attach(): thread:dhd_watchdog_thread:b2 started
[    6.007124] dhd_attach(): thread:dhd_dpc:b3 started
[    6.007211] dhd_attach(): thread:dhd_rxf:b4 started
[    6.007233] dhd_deferred_work_init: work queue initialized
[    6.007519] dhd_custom_get_mac_address Enter
[    6.007535] dhd_custom_get_mac_address wifi_mac=
[    6.007548] Dongle Host Driver, version 1.201.34.2 (r491657)
[    6.007553] Compiled in drivers/net/wireless/bcmdhd on Sep 14 2016 at 20:28:26
[    6.008256] Register interface [wlan0]  MAC: 00:90:4c:11:22:33
 
[    6.008276] dhd_prot_ioctl : bus is down. we have nothing to do
[    6.008338] bcmsdh_oob_intr_unregister: Enter
[    6.008347] bcmsdh_oob_intr_unregister: irq is not registered
[    6.008365] dhd_txglom_enable: enable 0
[    6.008373] dhd_bus_devreset:  WLAN OFF DONE
[    6.008439] wifi_platform_set_power = 0
[    6.008448] ======== PULL WL_REG_ON LOW! ========
[    6.008456] [wifi_pm]: set wl_reg_on 0 !
[    6.008543] dhd_module_init: Exit err=0
[    6.030683] systemd[1]: Started LSB: Set keymap.
[    6.037097] [VFE]cci probe start cci_sel = 0!
[    6.037153] [VFE]cci probe end cci_sel = 0!
[    6.037247] [VFE]cci_init end
[    6.090759] systemd[1]: Started udev Coldplug all Devices.
[    6.093317] systemd[1]: Time has been changed
[    6.093999] systemd[1]: Starting Create Static Device Nodes in /dev...
[    6.154480] [VFE]Welcome to Video Front End driver
[    6.154896] [VFE]pdev->id = 0
[    6.154905] [VFE]dev->mipi_sel = 0
[    6.154912] [VFE]dev->vip_sel = 0
[    6.154919] [VFE]dev->isp_sel = 0
[    6.160098] [VFE_WARN]vfe vpu clock is null
[    6.161264] sunxi-pinctrl sunxi-pinctrl: pin already requested
[    6.161283] sunxi-pinctrl sunxi-pinctrl: pin-140 (csi0) status -22
[    6.161296] sunxi-pinctrl sunxi-pinctrl: could not get request pin 140 on device sunxi-pinctrl
[    6.161318] [VFE_ERR]vip0 request pinctrl handle for device [csi0] failed!
[    6.161396] [VFE]..........................vfe clk open!.......................
[    6.161427] [iSP] isp platform_id = 5!
[    6.161565] [VFE]vfe_init end
[    6.170080] [VFE]probe_work_handle start!
[    6.170103] [VFE]v4l2 subdev register input_num = 0
[    6.170114] [VFE]vfe sensor detect start! input_num = 0
[    6.170128] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[    6.170139] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[    6.170154] [VFE]v4l2_device_register_subdev return 0
[    6.170163] [VFE]registered sensor subdev is OK!
[    6.170170] [VFE]Check sensor!
[    6.181020] systemd[1]: Starting Syslog Socket.
[    6.181784] systemd[1]: Listening on Syslog Socket.
[    6.181926] systemd[1]: Starting Journal Service...
[    6.183550] [VFE]mclk on
[    6.250347] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1, val = 12f0a30
[    6.250629] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1, val = 1000a30
[    6.250901] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1, val = 1000a30
[    6.250917] [OV5640]error at sensor_detect
[    6.250925] [OV5640]chip found is not an target chip.
[    6.250936] [VFE]mclk off
[    6.287107] [VFE]vfe sensor subdev unregister!
[    6.287127] [VFE]Sub device register "ov5640" failed!
[    6.287138] [VFE_ERR]vfe sensor register check error at input_num = 0
[    6.287445] [VFE]V4L2 device registered as video0
[    6.287492] [VFE]..........................vfe clk close!.......................
[    6.287515] [VFE]probe_work_handle end!
[    6.291492] systemd[1]: Started Journal Service.
[    6.690491] systemd-udevd[183]: starting version 215
[    6.964539] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    6.995820] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.000666] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.001726] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.002125] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.003099] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.003524] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.004341] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.004668] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.005048] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.007348] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.007694] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.008033] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.008383] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.008705] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.009062] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.009424] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.009863] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.010339] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.010970] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.011347] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.011669] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.016414] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.016851] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.017286] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.017715] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.018188] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.018662] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.019113] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.019785] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.020390] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.020990] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.021851] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.022280] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.022677] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.023182] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.023658] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.024206] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.024601] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.025053] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.025511] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.029589] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.030208] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.030840] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.031737] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.032247] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.033875] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.038269] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.038699] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.043427] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.043962] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.044599] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.045167] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.045644] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.046019] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.046492] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.046843] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.047301] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.047659] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.048090] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.048447] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.048905] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.049269] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.049791] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.050245] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.050728] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.051126] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.051569] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.052024] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.052534] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.053119] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    7.247362] [VFE]vfe_open
[    7.247390] [VFE]..........................vfe clk open!.......................
[    7.247432] [VFE]vfe_open ok
[    7.247632] [VFE]vfe_close
[    7.247643] [VFE]vfe select input flag = 0, s_input have not be used .
[    7.247663] [VFE]..........................vfe clk close!.......................
[    7.247695] [VFE]vfe_close end
[    7.907840] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.169360] [rfkill]: rfkill set power 1
[    8.296021] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:131068k SS
[    9.638137] systemd-journald[182]: Received request to flush runtime journal from PID 1
[    9.919843] dhd_open: Enter d4845800
 
[    9.919879] Dongle Host Driver, version 1.201.34.2 (r491657)
[    9.919884] Compiled in drivers/net/wireless/bcmdhd on Sep 14 2016 at 20:28:26
[    9.919897] wl_android_wifi_on in 1
[    9.919909] wl_android_wifi_on in 2: g_wifi_on=0
[    9.919919] wifi_platform_set_power = 1
[    9.919928] ======== PULL WL_REG_ON HIGH! ========
[    9.919937] [wifi_pm]: set wl_reg_on 1 !
[   10.230063] sdio_reset_comm():
[   10.230091] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   10.232293] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   10.233388] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[   10.234442] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[   10.258355] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[   10.262339] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.266325] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.273484] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[   10.500371] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   10.500565] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   10.500743] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
 
 
[   10.501256] dhd_bus_devreset: == WLAN ON ==
[   10.501387] F1 signature read @0x18000000=0x1540a9a6
[   10.504045] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
[   10.505031] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[   10.511919] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt
[   10.511944] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/ap6212/fw_bcm43438a0.bin
[   10.511959] Final fw_path=/lib/firmware/ap6212/fw_bcm43438a0.bin
[   10.511968] Final nv_path=/lib/firmware/ap6212/nvram.txt
[   10.511976] Final conf_path=/lib/firmware/ap6212/config.txt
[   10.571377] NVRAM version: AP6212_NVRAM_V1.0_20140603
[   10.572059] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   10.627961] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[   10.628078] bcmsdh_oob_intr_register: Enter
[   10.628088] bcmsdh_oob_intr_register OOB irq=10 flags=4
[   10.628237] bcmsdh_oob_intr_register: enable_irq_wake
[   10.628249] bcmsdh_oob_intr_register: enable_irq_wake failed with -6
[   10.629097] dhd_conf_set_band: Set band 0
[   10.629727] wifi_platform_get_mac_addr
[   10.629738] dhd_custom_get_mac_address Enter
[   10.629750] dhd_custom_get_mac_address wifi_mac=
[   10.633326] Firmware up: op_mode=0x0005, MAC=94:a1:a2:a3:ba:10
[   10.633340] dhd_conf_set_country: Set country CN, revision 0
[   10.697868] Country code: CN (CN/0)
[   10.698536] dhd_conf_set_roam: Set roam_off 1
[   10.712293] Firmware version = wl0: Jun  6 2014 14:50:39 version 7.10.226.49 ® FWID 01-8962686a
[   10.712311]   Driver: 1.201.34.2 (r491657)
[   10.712316]   Firmware: wl0: Jun  6 2014 14:50:39 version 7.10.226.49 ® FWID 01-8962686a
[   10.712330] dhd_txglom_enable: enable 0
[   10.714724] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[   10.715306] wl_android_wifi_on: Success
[   10.716444] p2p0: p2p_dev_addr=96:a1:a2:a3:ba:10
[   10.790125] dhd_open: Exit ret=0
[   11.943784] Registered IR keymap rc-empty
[   11.945169] rc0: sunxi-ir as /devices/virtual/rc/rc0
[   11.948684] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[   12.679037] Connectting with 7e:8d:4e:1b:90:ac channel (1) ssid "AIRCARPARK", len (10)
 
[   12.691756] wl_bss_connect_done succeeded with 7e:8d:4e:1b:90:ac
[   12.746681] wl_bss_connect_done succeeded with 7e:8d:4e:1b:90:ac
[   20.970132] wlan0: no IPv6 routers present
 

 

 

 

I installed v4l2-utils and fswebcam. wsfebcam output giving below error.

 

--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Unable to query input 0.
VIDIOC_ENUMINPUT: Invalid argument

Thanks

Sri

Share this post


Link to post
Share on other sites

Hi,

 

I changed fex file as recommended and I see no issues in dmesg. The camera is recognized and here is the v4l2 output.

 

root@nanopiair:~/ov5640# v4l2-ctl --list-devices
[ 1241.007437] [VFE]vfe_open
[ 1241.010457] [VFE]..........................vfe clk open!.......................
[ 1241.018636] [VFE]vfe_open ok
[ 1241.021953] [VFE]vfe_close
[ 1241.024977] [VFE]vfe select input flag = 0, s_input have not be used .
[ 1241.032297] [VFE]..........................vfe clk close!.......................
[ 1241.040597] [VFE]vfe_close end
sunxi-vfe (sunxi_vfe sunxi_vfe.0[ 1241.044432] [VFE]vfe_open
):
        /dev/video0
 
[ 1241.049964] [VFE]..........................vfe clk open!.......................
[ 1241.059880] [VFE]vfe_open ok
[ 1241.063185] [VFE_WARN]v4l2 sub device queryctrl (null) unsuccess!
[ 1241.069990] [VFE_WARN]v4l2 sub device queryctrl Brightness unsuccess!
[ 1241.077206] [VFE_WARN]v4l2 sub device queryctrl Contrast unsuccess!
[ 1241.084226] [VFE_WARN]v4l2 sub device queryctrl Saturation unsuccess!
[ 1241.091429] [VFE_WARN]v4l2 sub device queryctrl Hue unsuccess!
[ 1241.097927] [VFE_WARN]v4l2 sub device queryctrl (null) unsuccess!
[ 1241.104760] [VFE_WARN]v4l2 sub device queryctrl Volume unsuccess!
[ 1241.111579] [VFE_WARN]v4l2 sub device queryctrl Balance unsuccess!
[ 1241.118464] [VFE_WARN]v4l2 sub device queryctrl Bass unsuccess!
[ 1241.125088] [VFE_WARN]v4l2 sub device queryctrl Treble unsuccess!
[ 1241.131905] [VFE_WARN]v4l2 sub device queryctrl Mute unsuccess!
[ 1241.138499] [VFE_WARN]v4l2 sub device queryctrl Loudness unsuccess!
[ 1241.145512] [VFE_WARN]v4l2 sub device queryctrl Black Level unsuccess!
[ 1241.152939] [VFE_WARN]v4l2 sub device queryctrl Do White Balance unsuccess!
[ 1241.160732] [VFE_WARN]v4l2 sub device queryctrl Red Balance unsuccess!
[ 1241.168004] [VFE_WARN]v4l2 sub device queryctrl Blue Balance unsuccess!
[ 1241.175405] [VFE_WARN]v4l2 sub device queryctrl Gamma unsuccess!
[ 1241.182177] [VFE_WARN]v4l2 sub device queryctrl Gain, Automatic unsuccess!
[ 1241.189928] [VFE_WARN]v4l2 sub device queryctrl Horizontal Center unsuccess!
[ 1241.197815] [VFE_WARN]v4l2 sub device queryctrl Vertical Center unsuccess!
[ 1241.205512] [VFE_WARN]v4l2 sub device queryctrl Power Line Frequency unsuccess!
[ 1241.213688] [VFE_WARN]v4l2 sub device queryctrl Hue, Automatic unsuccess!
[ 1241.221280] [VFE_WARN]v4l2 sub device queryctrl White Balance Temperature unsuccess!
[ 1241.229910] [VFE_WARN]v4l2 sub device queryctrl Sharpness unsuccess!
[ 1241.237027] [VFE_WARN]v4l2 sub device queryctrl Backlight Compensation unsuccess!
[ 1241.245402] [VFE_WARN]v4l2 sub device queryctrl Chroma AGC unsuccess!
[ 1241.252605] [VFE_WARN]v4l2 sub device queryctrl Color Killer unsuccess!
[ 1241.260056] [VFE_WARN]v4l2 sub device queryctrl Brightness, Automatic unsuccess!
[ 1241.268298] [VFE_WARN]v4l2 sub device queryctrl Band-Stop Filter unsuccess!
[ 1241.276082] [VFE_WARN]v4l2 sub device queryctrl Rotate unsuccess!
[ 1241.282903] [VFE_WARN]v4l2 sub device queryctrl Background Color unsuccess!
[ 1241.290685] [VFE_WARN]v4l2 sub device queryctrl Chroma Gain unsuccess!
[ 1241.297957] [VFE_WARN]v4l2 sub device queryctrl Illuminator 1 unsuccess!
[ 1241.305450] [VFE_WARN]v4l2 sub device queryctrl Illuminator 2 unsuccess!
[ 1241.312946] [VFE_WARN]v4l2 sub device queryctrl Min Number of Capture Buffers unsuccess!
[ 1241.321990] [VFE_WARN]v4l2 sub device queryctrl Min Number of Output Buffers unsuccess!
[ 1241.330939] [VFE_WARN]v4l2 sub device queryctrl Alpha Component unsuccess!
[ 1241.338598] [VFE_WARN]v4l2 sub device queryctrl Color Effects, CbCr unsuccess!
[ 1241.346675] [VFE_WARN]v4l2 sub device queryctrl Horizontal Flip For Thumb unsuccess!
[ 1241.355385] [VFE]vfe_close
[ 1241.358400] [VFE]vfe select input flag = 0, s_input have not be used .
[ 1241.365705] [VFE]..........................vfe clk close!.......................
[ 1241.373986] [VFE]vfe_close end
 

 

 

 

I compiled and able to use https://github.com/avafinger/fswebcam. happy to see I have good exposure control.

 

https://drive.google.com/open?id=0B-dDl4KN9nbdbVZwa2hhY29TLU0

 

Exposure range seems 0 - 5.

 

I am only able to get max 800X600 resolution with default armbian ov5640 driver. 

 

My aim is to get control of exposure and frame-rate. 

 

As per https://github.com/avafinger/ov5640/tree/Armbian_H3I should be able to control frame rate as module params.

 

So I am started comipleing drivier but i didnt see any make file in the project. So I added simple make file as blow 

obj-m += ov5640.o

all:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean


make command returned errors

make -C /lib/modules/3.4.112-sun8i/build M=/root/ov5640 modules
make[1]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i'
  CC [M]  /root/ov5640/ov5640.o
/root/ov5640/ov5640.c:18:20: fatal error: camera.h: No such file or directory
 #include "camera.h"
                    ^
compilation terminated.
scripts/Makefile.build:313: recipe for target '/root/ov5640/ov5640.o' failed
make[2]: *** [/root/ov5640/ov5640.o] Error 1
Makefile:1368: recipe for target '_module_/root/ov5640' failed
make[1]: *** [_module_/root/ov5640] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i'
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 2
 

I am trying to work this cam with openCV. I used ELP 5MP usb camera with opencv before but I couldn't get control over frame-rate as that's hard coded in their UVC drivers.

 

So I guess if I can get this ov5640 driver I may have an opportunity to good control through my app.  I am doing an opencv image processing project.

 

I appriciate any help on compiling this driver.

 

Thanks

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

OK,

 

I suppose "avafinger" driver is targeting android. So I am trying to take allwinner's 

 

https://github.com/allwinner-ics/lichee_linux-3.0/blob/master/drivers/media/video/sun4i_csi/device/ov5640.c

 

and do a merger with "avafinger" version to leverage his efforts.

 

I am using https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdffor understanding register values.

 

Appreciate any suggestions to get this working. Please let me know if anybody already drove through this stuff :-)

Share this post


Link to post
Share on other sites

This OV5640 driver was developed on Pine64+ and then adapted to H3 with the help of @lvmc (created the patch) and with the help of @JulesThuillier.

I get all possible image sizes and good image and frame rate with CAM500B on M1.

 

Sounds like is not working on NanoPi Neo Air.

 

@sri, can you print some boot logs?

 

@Igor, do you confirm it is bad as this? If you have NanoPi M1 can you check if it is the same?

Share this post


Link to post
Share on other sites

Below is the boot log 

 

 


U-Boot SPL 2016.09-armbian (Sep 15 2016 - 05:37:42)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09-armbian (Sep 15 2016 - 05:37:42 +0200) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM: 512 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2886 bytes read in 198 ms (13.7 KiB/s)
## Executing script at 43100000
gpio: pin PL10 (gpio 298) value is 1
Warning: value of pin is still 0
gpio: pin PG11 (gpio 203) value is 1
55 bytes read in 140 ms (0 Bytes/s)
** File not found /boot/.next **
** Unrecognized filesystem type **
** File not found .next **
35632 bytes read in 380 ms (90.8 KiB/s)
3114512 bytes read in 371 ms (8 MiB/s)
5025168 bytes read in 531 ms (9 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3114448 Bytes = 3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

[sun8i_fixup]: From boot, get meminfo:
Start: 0x40000000
Size: 512MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid [0x2004620!
ion_reserve_common: ion reserve: [0x56000000, 0x60000000]!
[ 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.112-sun8i (root@xenial) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016
[ 0.000000] cma: CMA: reserved 160 MiB at 56000000
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0fef000 s11968 r8192 d12608 u32768
[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=7
[ 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: 338956k/338956k available, 185332k 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 - 0xc095bce8 (9552 kB)
[ 0.000000] .init : 0xc095c000 - 0xc09aeec0 ( 332 kB)
[ 0.000000] .data : 0xc09b0000 - 0xc0a29750 ( 486 kB)
[ 0.000000] .bss : 0xc0a29f04 - 0xc0b5cf90 (1229 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.001025] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[ 0.001094] pid_max: default: 32768 minimum: 301
[ 0.001469] Mount-cache hash table entries: 512
[ 0.002539] Initializing cgroup subsys cpuacct
[ 0.002583] Initializing cgroup subsys memory
[ 0.002652] Initializing cgroup subsys devices
[ 0.002687] Initializing cgroup subsys freezer
[ 0.002720] Initializing cgroup subsys blkio
[ 0.002767] Initializing cgroup subsys perf_event
[ 0.002880] CPU: Testing write buffer coherency: ok
[ 0.002967] ftrace: allocating 25740 entries in 76 pages
[ 0.030384] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.030438] [sunxi_smp_prepare_cpus] enter
[ 0.030502] Setting up static identity map for 0x40691938 - 0x40691990
[ 0.031641] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.031779] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.040557] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.040680] Brought up 4 CPUs
[ 0.040680] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[ 0.041087] devtmpfs: initialized
[ 0.051466] wakeup src cnt is : 2.
[ 0.051561] sunxi pm init
[ 0.051718] pinctrl core: initialized pinctrl subsystem
[ 0.058613] NET: Registered protocol family 16
[ 0.059729] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.059729] script_sysfs_init success
[ 0.059729] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[ 0.059729] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[ 0.059729] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.059729] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.059729] script config pll_video to 297 Mhz
[ 0.059729] script config pll_de to 864 Mhz
[ 0.059729] script config pll_ve to 402 Mhz
[ 0.070257] bio: create slab at 0
[ 0.070368] [ARISC] :sunxi-arisc driver v1.04
[ 0.092403] [ARISC] :arisc version: [v0.1.58]
[ 0.199284] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[ 0.201005] SCSI subsystem initialized
[ 0.201005] usbcore: registered new interface driver usbfs
[ 0.201005] usbcore: registered new interface driver hub
[ 0.201005] usbcore: registered new device driver usb
[ 0.201005] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[ 0.201005] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[ 0.201005] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[ 0.201005] Linux video capture interface: v2.00
[ 0.201136] Advanced Linux Sound Architecture Driver Version 1.0.25.
[ 0.201975] cfg80211: Calling CRDA to update world regulatory domain
[ 0.202058] Switching to clocksource arch_sys_counter
[ 0.215363] FS-Cache: Loaded
[ 0.215743] CacheFiles: Loaded
[ 0.227314] NET: Registered protocol family 2
[ 0.238654] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.239285] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.239560] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[ 0.239854] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.239881] TCP: reno registered
[ 0.239904] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.239945] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.240371] NET: Registered protocol family 1
[ 0.240871] RPC: Registered named UNIX socket transport module.
[ 0.240904] RPC: Registered udp transport module.
[ 0.240926] RPC: Registered tcp transport module.
[ 0.240947] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.241181] Trying to unpack rootfs image as initramfs...
[ 0.432036] Freeing initrd memory: 3040K
[ 0.432657] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[ 0.432829] sunxi_reg_init enter
[ 0.433877] audit: initializing netlink socket (disabled)
[ 0.433959] type=2000 audit(0.430:1): initialized
[ 0.435991] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.437074] NFS: Registering the id_resolver key type
[ 0.437539] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.437577] Installing knfsd (copyright © 1996 okir@monad.swb.de).
[ 0.438446] NTFS driver 2.1.30 [Flags: R/W].
[ 0.438802] fuse init (API version 7.18)
[ 0.439614] Btrfs loaded
[ 0.439657] msgmni has been set to 987
[ 0.441266] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.441326] io scheduler noop registered
[ 0.441346] io scheduler deadline registered
[ 0.441446] io scheduler cfq registered (default)
[ 0.441901] [DISP]disp_module_init
[ 0.442259] cmdline,init_disp=
[ 0.442305] cmdline,disp=
[ 0.443041] [DISP]disp_module_init finish
[ 0.443305] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[ 0.443341] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
[ 0.443371] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[ 0.443400] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.
[ 0.443999] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[ 0.444032] sw_uart_pm()890 - uart0 clk is already enable
[ 0.444066] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[ 0.555215] console [ttyS0] enabled
[ 1.033725] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[ 1.211874] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[ 1.218841] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
[ 1.230478] brd: module loaded
[ 1.237847] loop: module loaded
[ 1.241698] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[ 1.248773] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.
[ 1.256511] spi spi0: master is unqueued, this is deprecated
[ 1.263181] tun: Universal TUN/TAP device driver, 1.6
[ 1.268800] tun: © 1999-2004 Max Krasnyansky
[ 1.276044] gmac0 not be used
[ 1.279379] gmac0: probe of gmac0 failed with error -22
[ 1.285234] PPP generic driver version 2.4.2
[ 1.290188] PPP BSD Compression module registered
[ 1.295423] PPP Deflate Compression module registered
[ 1.303981] PPP MPPE Compression module registered
[ 1.309332] NET: Registered protocol family 24
[ 1.314403] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.341798] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.350749] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[ 1.360291] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[ 1.380045] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[ 1.387378] hub 1-0:1.0: USB hub found
[ 1.391600] hub 1-0:1.0: 1 port detected
[ 1.416418] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.425367] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[ 1.434238] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[ 1.460034] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[ 1.467223] hub 2-0:1.0: USB hub found
[ 1.471436] hub 2-0:1.0: 1 port detected
[ 1.496172] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.505116] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
[ 1.513956] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
[ 1.540041] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
[ 1.547129] hub 3-0:1.0: USB hub found
[ 1.551332] hub 3-0:1.0: 1 port detected
[ 1.576071] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.585009] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
[ 1.593809] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
[ 1.620039] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
[ 1.627150] hub 4-0:1.0: USB hub found
[ 1.631349] hub 4-0:1.0: 1 port detected
[ 1.636118] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.663083] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 1.671634] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
[ 1.680097] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[ 1.744552] hub 5-0:1.0: USB hub found
[ 1.748732] hub 5-0:1.0: 1 port detected
[ 1.773486] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 1.782034] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
[ 1.790495] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[ 1.854590] hub 6-0:1.0: USB hub found
[ 1.858775] hub 6-0:1.0: 1 port detected
[ 1.883548] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 1.892098] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
[ 1.900567] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
[ 1.964628] hub 7-0:1.0: USB hub found
[ 1.968812] hub 7-0:1.0: 1 port detected
[ 1.993567] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 2.002117] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
[ 2.010609] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
[ 2.074607] hub 8-0:1.0: USB hub found
[ 2.078795] hub 8-0:1.0: 1 port detected
[ 2.083567] Initializing USB Mass Storage driver...
[ 2.089230] usbcore: registered new interface driver usb-storage
[ 2.095928] USB Mass Storage support registered.
[ 2.101135] usbcore: registered new interface driver ums-alauda
[ 2.107761] usbcore: registered new interface driver ums-cypress
[ 2.114511] usbcore: registered new interface driver ums-datafab
[ 2.121249] usbcore: registered new interface driver ums_eneub6250
[ 2.128164] usbcore: registered new interface driver ums-freecom
[ 2.134905] usbcore: registered new interface driver ums-isd200
[ 2.141564] usbcore: registered new interface driver ums-jumpshot
[ 2.148381] usbcore: registered new interface driver ums-karma
[ 2.154926] usbcore: registered new interface driver ums-onetouch
[ 2.161775] usbcore: registered new interface driver ums-realtek
[ 2.168496] usbcore: registered new interface driver ums-sddr09
[ 2.175148] usbcore: registered new interface driver ums-sddr55
[ 2.181843] usbcore: registered new interface driver ums-usbat
[ 2.189186] mousedev: PS/2 mouse device common for all mice
[ 2.195627] sunxikbd_init failed.
[ 2.199943] ls_fetch_sysconfig_para: ls_unused.
[ 2.205724] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[ 2.213157] i2c /dev entries driver
[ 2.217453] IR RC5(x) protocol handler initialized
[ 2.223429] twi_start()434 - [i2c0] START can't sendout!
[ 2.229594] twi_start()434 - [i2c0] START can't sendout!
[ 2.235768] twi_start()434 - [i2c0] START can't sendout!
[ 2.241946] twi_start()434 - [i2c0] START can't sendout!
[ 2.248103] twi_start()434 - [i2c0] START can't sendout!
[ 2.254274] twi_start()434 - [i2c0] START can't sendout!
[ 2.260447] twi_start()434 - [i2c0] START can't sendout!
[ 2.266602] twi_start()434 - [i2c0] START can't sendout!
[ 2.272781] twi_start()434 - [i2c0] START can't sendout!
[ 2.278940] twi_start()434 - [i2c0] START can't sendout!
[ 2.285110] twi_start()434 - [i2c0] START can't sendout!
[ 2.291280] twi_start()434 - [i2c0] START can't sendout!
[ 2.297438] twi_start()434 - [i2c0] START can't sendout!
[ 2.303608] twi_start()434 - [i2c0] START can't sendout!
[ 2.309764] twi_start()434 - [i2c0] START can't sendout!
[ 2.315936] twi_start()434 - [i2c0] START can't sendout!
[ 2.322106] twi_start()434 - [i2c0] START can't sendout!
[ 2.328262] twi_start()434 - [i2c0] START can't sendout!
[ 2.334434] twi_start()434 - [i2c0] START can't sendout!
[ 2.340604] twi_start()434 - [i2c0] START can't sendout!
[ 2.346760] twi_start()434 - [i2c0] START can't sendout!
[ 2.352932] twi_start()434 - [i2c0] START can't sendout!
[ 2.359088] twi_start()434 - [i2c0] START can't sendout!
[ 2.365258] twi_start()434 - [i2c0] START can't sendout!
[ 2.371430] twi_start()434 - [i2c0] START can't sendout!
[ 2.377586] twi_start()434 - [i2c0] START can't sendout!
[ 2.383755] twi_start()434 - [i2c0] START can't sendout!
[ 2.389917] twi_start()434 - [i2c1] START can't sendout!
[ 2.396088] twi_start()434 - [i2c1] START can't sendout!
[ 2.402258] twi_start()434 - [i2c1] START can't sendout!
[ 2.408417] twi_start()434 - [i2c1] START can't sendout!
[ 2.414587] twi_start()434 - [i2c1] START can't sendout!
[ 2.420757] twi_start()434 - [i2c1] START can't sendout!
[ 2.426915] twi_start()434 - [i2c1] START can't sendout!
[ 2.433085] twi_start()434 - [i2c1] START can't sendout!
[ 2.439241] twi_start()434 - [i2c1] START can't sendout!
[ 2.445414] twi_start()434 - [i2c1] START can't sendout!
[ 2.451584] twi_start()434 - [i2c1] START can't sendout!
[ 2.457740] twi_start()434 - [i2c1] START can't sendout!
[ 2.463912] twi_start()434 - [i2c1] START can't sendout!
[ 2.470068] twi_start()434 - [i2c1] START can't sendout!
[ 2.476224] twi_start()434 - [i2c1] START can't sendout!
[ 2.482388] twi_start()434 - [i2c1] START can't sendout!
[ 2.488544] twi_start()434 - [i2c1] START can't sendout!
[ 2.494714] twi_start()434 - [i2c1] START can't sendout!
[ 2.500886] twi_start()434 - [i2c1] START can't sendout!
[ 2.507042] twi_start()434 - [i2c1] START can't sendout!
[ 2.513212] twi_start()434 - [i2c1] START can't sendout!
[ 2.519371] twi_start()434 - [i2c1] START can't sendout!
[ 2.525541] twi_start()434 - [i2c1] START can't sendout!
[ 2.531718] twi_start()434 - [i2c1] START can't sendout!
[ 2.537878] twi_start()434 - [i2c1] START can't sendout!
[ 2.544048] twi_start()434 - [i2c1] START can't sendout!
[ 2.550205] twi_start()434 - [i2c1] START can't sendout!
[ 2.556214] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[ 2.563352] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[ 2.574552] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[ 2.582040] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[ 2.588237] timeout_to_interv, line 167
[ 2.592515] interv_to_timeout, line 189
[ 2.596779] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[ 2.606356] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 2.616050] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[ 2.633930] no red_led, ignore it!
[ 2.638114] no led_0, ignore it!
[ 2.641724] no led_1, ignore it!
[ 2.645312] no led_2, ignore it!
[ 2.648897] no led_3, ignore it!
[ 2.652500] no led_4, ignore it!
[ 2.656087] no led_5, ignore it!
[ 2.659673] no led_6, ignore it!
[ 2.663270] no led_7, ignore it!
[ 2.667711] usbcore: registered new interface driver usbhid
[ 2.673935] usbhid: USB HID core driver
[ 2.679680] script_get_item return type err
[ 2.684379] sunxi-pcm-codec: probe of sunxi-pcm-codec failed with error -14
[ 2.692372] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[ 2.702945] [i2S]snddaudio cannot find any using configuration for controllers, return directly!
[ 2.703316] mmc0: new SDHC card at address 0001
[ 2.703845] mmcblk0: mmc0:0001 ASTC 7.43 GiB
[ 2.706220] mmcblk0: p1
[ 2.706826] mmcblk mmc0:0001: Card claimed for testing.
[ 2.706840] mmc0:0001: ASTC 7.43 GiB
[ 2.706857] *******************sd init ok*******************
[ 2.741583] [DAUDIO0] driver not init,just return.
[ 2.751587] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[ 2.758868] oprofile: using arm/armv7-ca7
[ 2.763614] u32 classifier
[ 2.766631] Performance counters on
[ 2.770912] input device check on
[ 2.774984] Actions configured
[ 2.778956] IPv4 over IPv4 tunneling driver
[ 2.784310] TCP: bic registered
[ 2.787813] TCP: cubic registered
[ 2.791523] TCP: westwood registered
[ 2.795498] TCP: highspeed registered
[ 2.799568] TCP: hybla registered
[ 2.803263] TCP: htcp registered
[ 2.806850] TCP: vegas registered
[ 2.810548] TCP: veno registered
[ 2.814134] TCP: scalable registered
[ 2.818107] TCP: lp registered
[ 2.821512] TCP: yeah registered
[ 2.825099] TCP: illinois registered
[ 2.829071] Initializing XFRM netlink socket
[ 2.834094] NET: Registered protocol family 10
[ 2.840160] NET: Registered protocol family 17
[ 2.845139] NET: Registered protocol family 15
[ 2.850149] Registering the dns_resolver key type
[ 2.854829] mmc1: new high speed DDR MMC card at address 0001
[ 2.855376] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[ 2.855613] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[ 2.855852] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[ 2.856945] mmcblk1: p1 p2
[ 2.860168] mmcblk1boot1: unknown partition table
[ 2.861715] mmcblk1boot0: unknown partition table
[ 2.861956] mmcblk mmc1:0001: Card claimed for testing.
[ 2.861970] mmc1:0001: 8WPD3R 7.28 GiB
[ 2.861992] *******************mmc init ok *******************
[ 2.910752] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 2.919300] ThumbEE CPU extension supported.
[ 2.924094] Registering SWP/SWPB emulation handler
[ 2.930032] registered taskstats version 1
[ 2.935421] ths_fetch_sysconfig_para: type err device_used = 1.
[ 2.943631] CPU Budget:corekeeper enabled
[ 2.948349] CPU Budget:Register notifier
[ 2.952742] CPU Budget:register Success
[ 2.957012] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[ 2.990126] ALSA device list:
[ 2.993449] #0: sndhdmi
[ 2.997184] Freeing init memory: 328K
[ 3.046980] systemd-udevd[97]: starting version 215
[ 5.192336] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[ 6.650346] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 6.665557] systemd[1]: Detected architecture 'arm'.
[ 6.680577] systemd[1]: Set hostname to .
[ 7.346923] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 7.366345] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 7.375321] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.383854] systemd[1]: Expecting device dev-ttyS0.device...
[ 7.390692] systemd[1]: Starting Remote File Systems (Pre).
[ 7.397159] systemd[1]: Reached target Remote File Systems (Pre).
[ 7.404147] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 7.414628] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.425199] systemd[1]: Starting Encrypted Volumes.
[ 7.430872] systemd[1]: Reached target Encrypted Volumes.
[ 7.436945] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 7.446132] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 7.455029] systemd[1]: Starting Paths.
[ 7.459550] systemd[1]: Reached target Paths.
[ 7.464496] systemd[1]: Starting Root Slice.
[ 7.469589] systemd[1]: Created slice Root Slice.
[ 7.474907] systemd[1]: Starting User and Session Slice.
[ 7.481230] systemd[1]: Created slice User and Session Slice.
[ 7.487675] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 7.495478] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 7.503305] systemd[1]: Starting Delayed Shutdown Socket.
[ 7.509655] systemd[1]: Listening on Delayed Shutdown Socket.
[ 7.516128] systemd[1]: Starting Journal Socket (/dev/log).
[ 7.522741] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.529409] systemd[1]: Starting udev Control Socket.
[ 7.535353] systemd[1]: Listening on udev Control Socket.
[ 7.541447] systemd[1]: Starting udev Kernel Socket.
[ 7.547264] systemd[1]: Listening on udev Kernel Socket.
[ 7.553281] systemd[1]: Starting Journal Socket.
[ 7.558764] systemd[1]: Listening on Journal Socket.
[ 7.564439] systemd[1]: Starting System Slice.
[ 7.569767] systemd[1]: Created slice System Slice.
[ 7.575326] systemd[1]: Started File System Check on Root Device.
[ 7.582173] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 7.589139] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 7.596194] systemd[1]: Starting system-getty.slice.
[ 7.602153] systemd[1]: Created slice system-getty.slice.
[ 7.608288] systemd[1]: Starting Increase datagram queue length...
[ 7.680878] systemd[1]: Starting Restore / save the current clock...
[ 7.790928] systemd[1]: Mounted Huge Pages File System.
[ 7.796993] systemd[1]: Starting udev Coldplug all Devices...
[ 7.877136] systemd[1]: Started Set Up Additional Binary Formats.
[ 7.884195] systemd[1]: Mounting POSIX Message Queue File System...
[ 7.982425] systemd[1]: Starting Load Kernel Modules...
[ 8.051252] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 8.077578] this module is used not!
[ 8.114448] Bluetooth: Core ver 2.16
[ 8.118528] NET: Registered protocol family 31
[ 8.123515] Bluetooth: HCI device and connection manager initialized
[ 8.130649] Bluetooth: HCI socket layer initialized
[ 8.131409] systemd[1]: Mounting Debug File System...
[ 8.141784] Bluetooth: L2CAP socket layer initialized
[ 8.147449] Bluetooth: SCO socket layer initialized
[ 8.161550] Bluetooth: HCI UART driver ver 2.2
[ 8.166518] Bluetooth: HCI H4 protocol initialized
[ 8.171887] Bluetooth: HCI BCSP protocol initialized
[ 8.177409] Bluetooth: HCILL protocol initialized
[ 8.182656] Bluetooth: HCIATH3K protocol initialized
[ 8.199179] Bluetooth: RFCOMM TTY layer initialized
[ 8.204669] Bluetooth: RFCOMM socket layer initialized
[ 8.210408] Bluetooth: RFCOMM ver 1.11
[ 8.220564] systemd[1]: Starting LSB: Set keymap...
[ 8.222330] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 8.280743] systemd[1]: Starting Slices.
[ 8.285708] systemd[1]: Reached target Slices.
[ 8.293544] systemd[1]: Mounted Debug File System.
[ 8.299414] systemd[1]: Mounted POSIX Message Queue File System.
[ 8.480702] systemd[1]: Started Increase datagram queue length.
[ 8.570482] systemd[1]: Started Restore / save the current clock.
[ 8.687973] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 8.695777] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 8.703537] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 8.712476] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 8.750778] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 8.809000] mmc2: new high speed SDIO card at address 0001
[ 8.815767] *******************sdio init ok*******************
[ 8.860655] systemd[1]: Started LSB: Set keymap.
[ 8.868997] [VFE]cci probe start cci_sel = 0!
[ 8.873955] [VFE]cci probe end cci_sel = 0!
[ 8.878698] [VFE]cci_init end
[ 8.930726] systemd[1]: Started udev Coldplug all Devices.
[ 8.939470] systemd[1]: Time has been changed
[ 8.945222] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 8.999189] [VFE]Welcome to Video Front End driver
[ 9.005014] [VFE]pdev->id = 0
[ 9.008320] [VFE]dev->mipi_sel = 0
[ 9.012379] [VFE]dev->vip_sel = 0
[ 9.016072] [VFE]dev->isp_sel = 0
[ 9.025880] [VFE_WARN]vfe vpu clock is null
[ 9.038048] [VFE]..........................vfe clk open!.......................
[ 9.046370] [VFE]vfe_init end
[ 9.050161] [VFE]probe_work_handle start!
[ 9.054634] [VFE]v4l2 subdev register input_num = 0
[ 9.061043] systemd[1]: Starting Syslog Socket.
[ 9.061058] [VFE]vfe sensor detect start! input_num = 0
[ 9.061072] [VFE_WARN]Camer detect "YUV" fmt is different from sys_config!
[ 9.061083] [VFE_WARN]Apply detect fmt = 0 replace sys_config fmt = 1!
[ 9.061095] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[ 9.061105] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[ 9.061119] [VFE]v4l2_device_register_subdev return 0
[ 9.061131] [VFE]registered sensor subdev is OK!
[ 9.061137] [VFE]Check sensor!
[ 9.076522] [VFE]mclk on
[ 9.119988] systemd[1]: Listening on Syslog Socket.
[ 9.125576] systemd[1]: Starting Journal Service...
[ 9.191331] systemd[1]: Started Journal Service.
[ 9.233742] [VFE]mclk off
[ 9.248744] [VFE]Sub device register "ov5640" is OK!
[ 9.254655] [VFE]V4L2 device registered as video0
[ 9.259920] [VFE]..........................vfe clk close!.......................
[ 9.268224] [VFE]probe_work_handle end!
[ 9.580539] systemd-udevd[184]: starting version 215
[ 10.124476] [VFE]vfe_open
[ 10.127457] [VFE]..........................vfe clk open!.......................
[ 10.135679] [VFE]vfe_open ok
[ 10.139100] [VFE]vfe_close
[ 10.142235] [VFE]vfe select input flag = 0, s_input have not be used .
[ 10.149516] [VFE]..........................vfe clk close!.......................
[ 10.157842] [VFE]vfe_close end
[ 10.857946] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[ 11.197775] Adding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS
[ 12.558149] systemd-journald[183]: Received request to flush runtime journal from PID 1
[ 13.238362] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 13.248488] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 13.258587] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 13.271860] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 15.030982] Registered IR keymap rc-empty
[ 15.036213] rc0: sunxi-ir as /devices/virtual/rc/rc0
[ 15.044978] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0

Debian GNU/Linux 8 nanopiair ttyS0

@qualcomm.com>

Share this post


Link to post
Share on other sites

Sounds like is not working on NanoPi Neo Air.

It's working for me but gucview doesn't want to save capture to .avi ... it shows it to terminal which is odd and funky :) It's clear enough to see that camera is working.

 

Got no time to move on from here.

Share this post


Link to post
Share on other sites

Could you please point me the latest ov5640.c and makefile for armbian?

 

I may try to figure out if I can compile the driver.

Share this post


Link to post
Share on other sites

@Igor

I have not tested guvcview on NanoPi NEO Air, if i recall correctly, @mattday tested it on OPI headless and it crashed if the images size was larger than the desktop size area.

 

One thing to note:

* the driver has DEBUG enabled flooding with debugging messages, better disable it:

#define DEV_DBG_EN 0 // 1 - Debugging / 0 - Release

Also, vfe has some debugging/printing enabled, so better disable or clean the log from time to time.

 

For the Desktop user i would recommend:

* fswebcam compiled from source (https://github.com/avafinger/fswebcam), sorry @gravelrash, i haven't finished supporting  the deb package

* motion (stock version) or compiled from source

* cap-v4l2 with OpenCV help ( compiled from https://github.com/avafinger/cap-v4l2)- Contributors: @lvmc and @JulesThuillier.

* grabbing video with guvcview (compiled from source)

 

For the headless user i would recommend:

* fswebcam compiled from source (https://github.com/avafinger/fswebcam),

* motion (stock version) or compiled from source

* cap-v4l2 with OpenCV help ( compiled from https://github.com/avafinger/cap-v4l2)

* jmpeg-streamer compiled from source (****)

* ffmpeg with cedrus264. choose one the runs on your distro: https://github.com/avafinger?tab=repositories

 

(****)

To support JMPEG-streamer, we need this fix if you have not done it yet (credit goes to FA):

static enum v4l2_mbus_pixelcode try_yuv422_bus[] = {
V4L2_MBUS_FMT_UYVY10_20X1,
V4L2_MBUS_FMT_UYVY8_16X1,


V4L2_MBUS_FMT_YUYV10_2X10,
V4L2_MBUS_FMT_YVYU10_2X10,
V4L2_MBUS_FMT_YUYV8_2X8,
V4L2_MBUS_FMT_YVYU8_2X8,
V4L2_MBUS_FMT_UYVY8_2X8,
V4L2_MBUS_FMT_VYUY8_2X8,


V4L2_MBUS_FMT_YUYV10_1X20,
V4L2_MBUS_FMT_YVYU10_1X20,
V4L2_MBUS_FMT_UYVY8_1X16,
V4L2_MBUS_FMT_VYUY8_1X16,
V4L2_MBUS_FMT_YUYV8_1X16,
V4L2_MBUS_FMT_YVYU8_1X16,


V4L2_MBUS_FMT_YUV8_1X24,
};

 

* Update:

Command line for the applications:

 

fswebcam:

fswebcam --Vflip 1 -r 1600x1200 -p YUV420P  cam640x480_2.jpg
fswebcam --Hflip 1 -r 640x480 -p YUV420P  cam640x480_1.jpg
fswebcam --exposure 4 -r 640x480 -p YUV420P  cam640x480_3.jpg

ffmpeg-xxxx (where xxxx is the version you installed)

sudo ffmpeg-3.1.4 -f v4l2 -channel 0 -video_size 1024x768 -i /dev/video0 -pix_fmt nv12 -c:v cedrus264 test4_1024x768.mp4

Guvcview:

There is a Gui Menu where you can change the codec used to compress and save on the container, there is some command line to choose the codec also, but can't remember it right now

Share this post


Link to post
Share on other sites

Thaks for input @lex

 

first time compiling Linux driver..  java guy here :-) 

 

I wget ov5640.c into /usr/src/linux-headers-3.4.112-sun8i/drivers/media/video/sunxi-vfe/device/ and ran make cmd from linux-headers-3.4.112-sun8i/ directory.

root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# export CC=gcc
root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j2 INSTALL_MOD_PATH=output SUBDIRS=drivers/media/video/sunxi-vfe/device  modules
make[1]: *** No rule to make target 'drivers/media/video/sunxi-vfe/device/ov2640.c', needed by 'drivers/media/video/sunxi-vfe/device/ov2640.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  CC [M]  drivers/media/video/sunxi-vfe/device/ov5640.o
drivers/media/video/sunxi-vfe/device/ov5640.c:18:20: fatal error: camera.h: No such file or directory
 #include "camera.h"
                    ^
compilation terminated.
scripts/Makefile.build:313: recipe for target 'drivers/media/video/sunxi-vfe/device/ov5640.o' failed
make[1]: *** [drivers/media/video/sunxi-vfe/device/ov5640.o] Error 1
Makefile:1368: recipe for target '_module_drivers/media/video/sunxi-vfe/device' failed
make: *** [_module_drivers/media/video/sunxi-vfe/device] Error 2
 

Can't get my head around that camera.h. Below are the camera.h files in file system.
 
root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# find -name camera.h
./include/config/soc/camera.h
./arch/arm/mach-omap1/include/mach/camera.h
./arch/arm/mach-pxa/include/mach/camera.h
 
Not sure what I am missing :-)

Share this post


Link to post
Share on other sites

By Cross-compiling i mean you should compile it from your HOST PC, not from device.

 

To compile it on device, you should pre-process (on HOST) to make Armbian pull and patches all the files then copy the entire tree, but i am afraid 8GB will be not enough.

Maybe some developer has some advice about this...

Share this post


Link to post
Share on other sites

Fex:


 

[product]
version = "100"
machine = "nanopi-air"

[platform]
debug_mode = 1
eraseflag = 1
next_work = 2

[target]
boot_clock = 1008
storage_type = -1

[key_detect_en]
keyen_flag = 0

[fel_key]
fel_key_max = 7
fel_key_min = 2

[card_boot]
logical_start = 40960
sprite_work_delay = 500
sprite_err_delay = 200
next_work = 3

[box_start_os]
used = 1
start_type = 1
irkey_used = 1
pmukey_used = 1
pmukey_num = 3
led_power = 0
led_state = 0

[boot_init_gpio]
used = 1
gpio0 = port:PL10<1><1>
gpio1 = port:PG11<1><1>

[recovery_para]
used = 0
mode = 2
recovery_key = port:PL04<0>

[pm_para]
standby_mode = 1

[card0_boot_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><2>
sdc_d0 = port:PF01<2><1><2>
sdc_clk = port:PF02<2><1><2>
sdc_cmd = port:PF03<2><1><2>
sdc_d3 = port:PF04<2><1><2>
sdc_d2 = port:PF05<2><1><2>

[card2_boot_para]
card_ctrl = 2
card_high_speed = 1
card_line = 8
sdc_cmd = port:PC06<3><1><2>
sdc_clk = port:PC05<3><1><2>
sdc_d0 = port:PC08<3><1><2>
sdc_d1 = port:PC09<3><1><2>
sdc_d2 = port:PC10<3><1><2>
sdc_d3 = port:PC11<3><1><2>
sdc_d4 = port:PC12<3><1><2>
sdc_d5 = port:PC13<3><1><2>
sdc_d6 = port:PC14<3><1><2>
sdc_d7 = port:PC15<3><1><2>
sdc_2xmode = 1
sdc_ddrmode = 1

[twi_para]
twi_port = 0
twi_scl = port:PA11<2>
twi_sda = port:PA12<2>

[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PA04<2><1>
uart_debug_rx = port:PA05<2><1>

[force_uart_para]
force_uart_port = 0
force_uart_tx = port:PF02<3><1>
force_uart_rx = port:PF04<3><1>

[jtag_para]
jtag_enable = 0
jtag_ms = port:PA00<3>
jtag_ck = port:PA01<3>
jtag_do = port:PA02<3>
jtag_di = port:PA03<3>

[clock]
pll_video = 297
pll_ve = 402
pll_periph0 = 600
pll_gpu = 576
pll_periph1 = 600
pll_de = 864

[dram_para]
dram_clk = 408
dram_type = 3
dram_zq = 0x3b3bfb
dram_odt_en = 1
dram_para1 = 283377664
dram_para2 = 0
dram_mr0 = 6208
dram_mr1 = 64
dram_mr2 = 24
dram_mr3 = 2
dram_tpr0 = 0x48a192
dram_tpr1 = 0x1c2418d
dram_tpr2 = 0x76051
dram_tpr3 = 0x0
dram_tpr4 = 0x0
dram_tpr5 = 0x0
dram_tpr6 = 0x64
dram_tpr7 = 0x0
dram_tpr8 = 0x0
dram_tpr9 = 0x0
dram_tpr10 = 0x0
dram_tpr11 = 0x6aaa0000
dram_tpr12 = 0x7979
dram_tpr13 = 0x800800

[wakeup_src_para]
cpu_en = 0
cpu_freq = 48
pll_ratio = 273
dram_selfresh_en = 1
dram_freq = 36
wakeup_src0 =
wakeup_src_wl = port:PG10<4><0>
wakeup_src_bt = port:PL03<6><0>

[twi0]
twi_used = 1
twi_scl = port:PA11<2>
twi_sda = port:PA12<2>

[twi1]
twi_used = 1
twi_scl = port:PA18<3>
twi_sda = port:PA19<3>

[twi2]
twi_used = 0
twi_scl = port:PE12<3>
twi_sda = port:PE13<3>

[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PA04<2><1>
uart_rx = port:PA05<2><1>

[uart1]
uart_used = 1
uart_port = 1
uart_type = 2
uart_tx = port:PG06<2><1>
uart_rx = port:PG07<2><1>

[uart2]
uart_used = 1
uart_port = 2
uart_type = 4
uart_tx = port:PA00<2><1>
uart_rx = port:PA01<2><1>
uart_rts = port:PA02<2><1>
uart_cts = port:PA03<2><1>

[uart3]
uart_used = 1
uart_port = 3
uart_type = 4
uart_tx = port:PA13<3><1>
uart_rx = port:PA14<3><1>
uart_rts = port:PA15<3><1>
uart_cts = port:PA16<3><1>

[spi0]
spi_used = 1
spi_cs_bitmap = 1
spi_mosi = port:PC00<3>
spi_miso = port:PC01<3>
spi_sclk = port:PC02<3>
spi_cs0 = port:PC03<3><1>

[spi1]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA13<2><1>
spi_sclk = port:PA14<2>
spi_mosi = port:PA15<2>
spi_miso = port:PA16<2>

[spi_devices]
spi_dev_num = 1

[spi_board0]
modalias = "spidev"
max_speed_hz = 33000000
bus_num = 0
chip_select = 0
mode = 0
full_duplex = 1
manual_cs = 0

[gpio_para]
gpio_used = 0
gpio_num = 19
gpio_pin_1 = port:PA06<1><0>
gpio_pin_2 = port:PA13<1><0>
gpio_pin_3 = port:PA14<1><0>
gpio_pin_4 = port:PA01<1><0>
gpio_pin_5 = port:PD14<1><0>
gpio_pin_6 = port:PA00<1><0>
gpio_pin_7 = port:PA03<1><0>
gpio_pin_8 = port:PC04<1><0>
gpio_pin_9 = port:PC07<1><0>
gpio_pin_10 = port:PA02<1><0>
gpio_pin_11 = port:PA21<1><0>
gpio_pin_12 = port:PA07<1><0>
gpio_pin_13 = port:PA08<1><0>
gpio_pin_14 = port:PG08<1><0>
gpio_pin_15 = port:PA09<1><0>
gpio_pin_16 = port:PA10<1><0>
gpio_pin_17 = port:PG09<1><0>
gpio_pin_18 = port:PG06<1><0>
gpio_pin_19 = port:PG07<1><0>

[leds_para]
leds_used = 1
green_led = port:PL10<1><1>
green_led_active_low = 0
blue_led = port:PA10<1><0>
blue_led_active_low = 0

[ths_para]
ths_used = 1
ths_trip1_count = 8
ths_trip1_0 = 65
ths_trip1_1 = 70
ths_trip1_2 = 75
ths_trip1_3 = 80
ths_trip1_4 = 85
ths_trip1_5 = 90
ths_trip1_6 = 95
ths_trip1_7 = 105
ths_trip1_0_min = 0
ths_trip1_0_max = 1
ths_trip1_1_min = 1
ths_trip1_1_max = 2
ths_trip1_2_min = 2
ths_trip1_2_max = 3
ths_trip1_3_min = 3
ths_trip1_3_max = 4
ths_trip1_4_min = 4
ths_trip1_4_max = 6
ths_trip1_5_min = 6
ths_trip1_5_max = 8
ths_trip1_6_min = 8
ths_trip1_6_max = 10
ths_trip1_7_min = 0
ths_trip1_7_max = 0
ths_trip2_count = 1
ths_trip2_0 = 105

[cooler_table]
cooler_count = 11
cooler0 = "1200000 4 4294967295 0"
cooler1 = "1008000 4 4294967295 0"
cooler2 = "816000 4 4294967295 0"
cooler3 = "720000 4 4294967295 0"
cooler4 = "648000 4 4294967295 0"
cooler5 = "480000 4 4294967295 0"
cooler6 = "312000 4 4294967295 0"
cooler7 = "240000 4 4294967295 0"
cooler8 = "240000 3 4294967295 0"
cooler9 = "240000 2 4294967295 0"
cooler10 = "240000 1 4294967295 0"

[nand0_para]
nand_support_2ch = 0
nand0_used = 0
nand0_we = port:PC00<2>
nand0_ale = port:PC01<2>
nand0_cle = port:PC02<2>
nand0_ce1 = port:PC03<2>
nand0_ce0 = port:PC04<2>
nand0_nre = port:PC05<2>
nand0_rb0 = port:PC06<2>
nand0_rb1 = port:PC07<2>
nand0_d0 = port:PC08<2>
nand0_d1 = port:PC09<2>
nand0_d2 = port:PC10<2>
nand0_d3 = port:PC11<2>
nand0_d4 = port:PC12<2>
nand0_d5 = port:PC13<2>
nand0_d6 = port:PC14<2>
nand0_d7 = port:PC15<2>
nand0_ndqs = port:PC16<2>

[boot_disp]
advert_disp = 0
auto_hpd = 1
output_type = 4
hdmi_channel = 0
hdmi_mode = 4
cvbs_channel = 1
cvbs_mode = 11
output_full = 1
hdmi_mode_check = 1

[disp_init]
disp_init_enable = 0
disp_mode = 0
screen0_output_type = 3
screen0_output_mode = 5
screen1_output_type = 2
screen1_output_mode = 14
fb0_format = 0
fb0_width = 0
fb0_height = 0
fb1_format = 0
fb1_width = 0
fb1_height = 0

[hdmi_para]
hdmi_used = 0
hdmi_power = "vcc-hdmi-18"

[tv_para]
tv_used = 0
tv_dac_used = 1
tv_dac_src0 = 0

[pwm0_para]
pwm_used = 0
pwm_positive = port:PA05<3><0>

[gmac0]
gmac_used = 0
gmac_power1 =

[csi0]
vip_used = 1
vip_mode = 0
vip_dev_qty = 1
vip_define_sensor_list = 0
vip_csi_pck = port:PE00<2>
vip_csi_mck = port:PE01<2>
vip_csi_hsync = port:PE02<2>
vip_csi_vsync = port:PE03<2>
vip_csi_d0 = port:PE04<2>
vip_csi_d1 = port:PE05<2>
vip_csi_d2 = port:PE06<2>
vip_csi_d3 = port:PE07<2>
vip_csi_d4 = port:PE08<2>
vip_csi_d5 = port:PE09<2>
vip_csi_d6 = port:PE10<2>
vip_csi_d7 = port:PE11<2>
vip_csi_sck = port:PE12<2>
vip_csi_sda = port:PE13<2>
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 = 0
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 =
vip_dev0_power_en =
vip_dev0_reset = port:PE14<1>
vip_dev0_pwdn = port:PE15<1>
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

[tvout_para]
tvout_used =
tvout_channel_num =
tv_en =

[tvin_para]
tvin_used =
tvin_channel_num =

[di_para]
di_used = 1

[mmc0_para]
sdc_used = 1
sdc_detmode = 3
sdc_buswidth = 4
sdc_clk = port:PF02<2><1><2>
sdc_cmd = port:PF03<2><1><2>
sdc_d0 = port:PF01<2><1><2>
sdc_d1 = port:PF00<2><1><2>
sdc_d2 = port:PF05<2><1><2>
sdc_d3 = port:PF04<2><1><2>
sdc_det = port:PF06<0><1><2>
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
sdc_power_supply = "none"

[mmc1_para]
sdc_used = 1
sdc_detmode = 4
sdc_buswidth = 4
sdc_clk = port:PG00<2><1><3>
sdc_cmd = port:PG01<2><1><3>
sdc_d0 = port:PG02<2><1><3>
sdc_d1 = port:PG03<2><1><3>
sdc_d2 = port:PG04<2><1><3>
sdc_d3 = port:PG05<2><1><3>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 1
sdc_regulator = "none"
sdc_power_supply = "none"
sdc_2xmode = 1
sdc_ddrmode = 1

[mmc2_para]
sdc_used = 1
sdc_detmode = 3
sdc_buswidth = 8
sdc_clk = port:PC05<3><1><2>
sdc_cmd = port:PC06<3><1><2>
sdc_d0 = port:PC08<3><1><2>
sdc_d1 = port:PC09<3><1><2>
sdc_d2 = port:PC10<3><1><2>
sdc_d3 = port:PC11<3><1><2>
sdc_d4 = port:PC12<3><1><2>
sdc_d5 = port:PC13<3><1><2>
sdc_d6 = port:PC14<3><1><2>
sdc_d7 = port:PC15<3><1><2>
emmc_rst = port:PC16<3><1><2>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
sdc_power_supply = "none"
sdc_2xmode = 1
sdc_ddrmode = 1

[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 0
usb_id_gpio = port:PG12<0><1>
usb_det_vbus_gpio = port:PG12<0><1>
usb_drv_vbus_gpio = port:PL02<1><0><0>
usb_host_init_state = 1
usb_restrict_gpio =
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity = 5
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc1]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc2]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc3]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usb_feature]
vendor_id = 6353
mass_storage_id = 1
adb_id = 2
manufacturer_name = "USB Developer"
product_name = "Android"
serial_number = "20080411"

[msc_feature]
vendor_name = "USB 2.0"
product_name = "USB Flash Driver"
release = 100
luns = 3

[serial_feature]
serial_unique = 0

[module_para]
module_power0 =
module_power0_vol = 0
module_power1 =
module_power1_vol = 1
module_power2 =
module_power2_vol =
module_power3 =
module_power3_vol =
chip_en =
lpo_use_apclk = "losc_out"

[wifi_para]
wifi_used = 1
wifi_sdc_id = 1
wifi_usbc_id = 5
wifi_usbc_type = 1
wl_reg_on = port:PL07<1><0>
wl_host_wake = port:PG10<0><0>
wl_host_wake_invert = 0

[bt_para]
bt_used = 1
bt_uart_id = 3
bt_uart_baud = 1500000
bt_rst_n = port:PG13<1><0>
bt_wake = port:PA08<1><0>
bt_host_wake = port:PA07<0><0>
bt_host_wake_invert = 0

[pcm0]
daudio_used = 0
daudio_master = 4
daudio_select = 1
audio_format = 1
signal_inversion = 1
mclk_fs = 128
sample_resolution = 16
slot_width_select = 32
pcm_lrck_period = 32
pcm_lrckr_period = 1
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 32
frame_width = 0
tx_data_mode = 0
rx_data_mode = 0
i2s_mclk = port:PA18<2><1>
i2s_bclk = port:PA19<2><1>
i2s_dout0 = port:PA20<2><1>
i2s_din = port:PA21<2><1>

[pcm1]
daudio_used = 0
daudio_master = 4
daudio_select = 1
audio_format = 1
signal_inversion = 1
mclk_fs = 128
sample_resolution = 16
slot_width_select = 32
pcm_lrck_period = 32
pcm_lrckr_period = 1
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 32
frame_width = 0
tx_data_mode = 0
rx_data_mode = 0
i2s_mclk = port:PG10<2><1>
i2s_bclk = port:PG11<2><1>
i2s_dout0 = port:PG12<2><1>
i2s_din = port:PG13<2><1>

[audio0]
audio_used = 1
lineout_vol = 31
cap_vol = 5
audio_hp_ldo = "none"
adcagc_used = 0
adcdrc_used = 0
dacdrc_used = 0
adchpf_used = 0
dachpf_used = 0

[spdif0]
spdif_used = 0
spdif_dout = port:PA17<2><1>

[audiohub]
hub_used = 0
codec_used = 1
spdif_used = 1
hdmi_used = 0

[s_cir0]
ir_used = 1
ir_rx = port:PL11<2><1>
ir_power_key_code0 = 0
ir_addr_code0 = 50235
ir_power_key_code1 = 8
ir_addr_code1 = 50235
ir_power_key_code2 = 26
ir_addr_code2 = 50235
ir_power_key_code3 = 10
ir_addr_code3 = 50235
ir_power_key_code4 = 13
ir_addr_code4 = 50235
ir_power_key_code5 = 16
ir_addr_code5 = 50235
ir_power_key_code6 = 17
ir_addr_code6 = 50235
ir_power_key_code7 = 18
ir_addr_code7 = 50235
ir_power_key_code8 = 21
ir_addr_code8 = 50235
ir_power_key_code9 = 14
ir_addr_code9 = 50235
ir_power_key_code10 = 22
ir_addr_code10 = 50235
ir_power_key_code11 = 12
ir_addr_code11 = 50235
ir_power_key_code12 = 81
ir_addr_code12 = 50235
ir_power_key_code13 = 20
ir_addr_code13 = 50235
ir_power_key_code14 = 80
ir_addr_code15 = 50235

[cir]
ir_used = 0
ir_tx = port:PH07<2>

[ls_para]
ls_used = 0

[dvfs_table]
pmuic_type = 1
pmu_gpio0 = port:PL06<1><1><2><1>
pmu_level0 = 11300
pmu_level1 = 1100
max_freq = 1200000000
min_freq = 240000000
LV_count = 6
LV1_freq = 1200000000
LV1_volt = 1300
LV2_freq = 1008000000
LV2_volt = 1300
LV3_freq = 912000000
LV3_volt = 1100
LV4_freq = 648000000
LV4_volt = 1100
LV5_freq = 480000000
LV5_volt = 1100
LV6_freq = 240000000
LV6_volt = 1100

[gpu_dvfs_table]
G_LV_count = 3
G_LV0_freq = 312000000
G_LV0_volt = 1200000
G_LV1_freq = 384000000
G_LV1_volt = 1200000
G_LV2_freq = 456000000
G_LV2_volt = 1200000

[board_vendor]
vid_used = 0
vid_count = 2
vid_bit_0 = port:PC04<0><1>
vid_bit_1 = port:PC07<0><1>

[Vdevice]
Vdevice_used = 0
Vdevice_0 = port:PH10<5><1><2>
Vdevice_1 = port:PH11<5><1><2>

[s_uart0]
s_uart_used = 0
s_uart_tx = port:PL02<2>
s_uart_rx = port:PL03<2>

[s_rsb0]
s_rsb_used = 1
s_rsb_sck = port:PL00<2><1><2>
s_rsb_sda = port:PL01<2><1><2>

[s_jtag0]
s_jtag_used = 0
s_jtag_tms = port:PL04<2><1><2>
s_jtag_tck = port:PL05<2><1><2>
s_jtag_tdo = port:PL06<2><1><2>
s_jtag_tdi = port:PL07<2><1><2>

[s_powchk]
s_powchk_used = -2147483648
s_power_reg = 0
s_system_power = 50

[ts0]
tsc_used = 0
tsc_clk = port:PE00<3>
tsc_err = port:PE01<3>
tsc_sync = port:PE02<3>
tsc_dvld = port:PE03<3>
tsc_d0 = port:PE04<3>
tsc_d1 = port:PE05<3>
tsc_d2 = port:PE06<3>
tsc_d3 = port:PE07<3>
tsc_d4 = port:PE08<3>
tsc_d5 = port:PE09<3>
tsc_d6 = port:PE10<3>
tsc_d7 = port:PE11<3>

[gpio_power_key]
key_used = 1
key_io = port:PL03<6><0>

[key_para]
key_used = 0
key_cnt = 5
key1_vol = 222
key2_vol = 444
key3_vol = 666
key4_vol = 857
key5_vol = 2000

[d7s_para]
d7s_used = 0
din_gpio = port:PD00<1><1>
clk_gpio = port:PD01<1><1>
stb_gpio = port:PD02<1><1>

[mali_para]
mali_used = 0
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400

[w1_para]
w1_used = 1
gpio = 20

[corekeeper]
corekeeper_enabled = 1

 

 

 

Nanopi AIR with latest Xenial from sources / nightly.

modules: ov5640 vfe_v4l2

https://github.com/avafinger/cap-v4l2

./cap 2592 1936 4 1 -999 -1 -1

frame_2592x1936.jpg

Share this post


Link to post
Share on other sites

@Igor @Lex

 

using cap_v4l2, I am able to get 2592X1936 " 7.5 fps :-)

 

fswebcam is limiting to 800X600.

 

guvcview is not working. (no still image , video files is black)

 

I am wokring on porting cap_v4l2 to my openCV java binding to connect to app. I will run a field test to see the prformance and let you guys know :-)

 

Thanks

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
1 1