Jump to content

Search the Community

Showing results for tags 'nanopiair'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Hello. I need use MCP23017 extension. I have found kernel module gpio-mcp23s08. I have trouble with dtb overlay. I have only found RPi overlay. Can anyone have or can help with write correct overlay? I am using MCP with I2C bus at 0x20 address.
  2. Hello, I have a couple of NEO Pi Air's and they show up as the same device in LightBlue. After a bit of digging, I noticed that the BD addr of the devices are the same. hci0: Type: BR/EDR Bus: UART BD Address: 43:29:B1:55:01:01 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:6552 acl:180 sco:0 events:373 errors:0 TX bytes:6809 acl:180 sco:0 commands:248 errors:0 Is there any way to change the address?
  3. I installed the experimental version of the NanoPi Neo Air distribution on my Air a month or two ago. At the time I believe Bluetooth was not working on that version. I don't see any indication that it is not working now, but it doesn't seem to be working on my install. Is Bluetooth working on the experimental kernel? If so, should I just re-install, or is it not hard to get it working on an existing install? I just installed the latest updates and rebooted, and that didn't fix it. The symptom that I'm seeing is that if I run bluetoothctl it prints a prompt, but seems to lock up.
  4. Hi, I'm using my NanoPi NeoAir as a bluetooth streaming sink and as a webserver for several configurations and monitoring of the device. Bluetooth works fine as long as I don't disable the powersafe mode of wifi. Even in powersafe mode the bluetooth performance is not the best. If I disable wifi at all the bluetooth performance is great. My system is: Ubuntu 16.04.3 LTS 4.11.2 iwconfig: wlan0 IEEE 802.11 ESSID:"Teebeutel" Mode:Managed Frequency:2.412 GHz Access Point: 2C:41:38:FB:D7:30 Bit Rate=54 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=43/70 Signal level=-67 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 how I disable powersafe: sudo /sbin/iwconfig wlan0 power off Bluetooth is barely usable when powersafe is off... Any idea? Is this a driver problem? Thanks for your support. Regards Bernhard
  5. All, I downloaded and built WiringNP according to the FriendlyARM instructions. Running 'gpio read all' gives me an error saying piBoardRev: Unable to determine board revision from /proc/cpuinfo for the rest the Neo Air Armbian runs fine. any ideas what's wrong?
  6. Guest

    Nano Pi Air AP

    Hi All, I try to get a web page accessible from a hotspot with a notification sent to customer when it connects to the AP (using lighttpd, hostapd, dnsmasq, squid and squidguard) I can connect to the AP but I have no response to the ping On the Nano Pi Air in AP mode : iwconfig => wlan0 IEEE 802.11 ESSID:"Armbian" ifconfig => inet addr:192.168.101.1 I must be able to switch between modes with my software so I use scripts : To switch in AP mode => pkill -f 'ifup .*wlan0'; ifdown wlan0 ifdown wlan0 /bin/systemctl stop NetworkManager && /bin/systemctl disable NetworkManager && kill $(cat /var/run/dnsmasq/dnsmasq.pid) && kill $(cat /run/dnsmasq/dnsmasq.pid) rmmod dhd && modprobe dhd op_mode=2 pkill -f 'ifup .*wlan0'; ifdown wlan0 cp /home/user/interfaces_hostapd /etc/network/interfaces ifup wlan0 service dnsmasq restart & service isc-dhcp-server restart & service hostapd restart To switch in Normal mode => pkill -f 'ifup .*wlan0'; ifdown wlan0 /bin/systemctl stop hostapd & kill $(cat /var/run/dnsmasq.pid) rmmod dhd && modprobe dhd cp /home/user/interfaces_default /etc/network/interfaces && service dnsmasq stop & service hostapd stop & service isc-dhcp-server stop /bin/systemctl start networking.service && /bin/systemctl enable NetworkManager && /bin/systemctl start NetworkManager && /usr/bin/nmcli d set wlan0 managed yes When I switch in normal mode, I can ping and access to the webpage. In AP mode I can connect, get an IP, and then I have no response to ping, I don't know why.....
  7. I've updated to the latest kernel code, rebuilt and I I can now see /dev/video when I call "modprobe ov5640; modprobe vfe_v4l2" after booting into the nanopi. However, when I run the following ffmpeg -re -i /dev/video0 -c:v libx265 -preset ultrafast -x265-params crf=23 -f h264 ./out.mp4 I get the following error error [video4linux2,v4l2 @ 0x1a9a7f0] Dequeued v4l2 buffer contains 40960 bytes, but 38016 were expected. Flags: 0x00000001. The video format is yuv420p, 176x144, so it should be 176*144*1.5 bytes = 38016bytes. However the buffer seems to be slightly larger. I have written a few small c programs of my own and no matter what there seems to be a bit of extra bytes in the buffer. output of dmesg is attached. dmesg.out
  8. Hi, I'm trying to use bluetooth with the Mainline 4.11.9-sun8i armbian kernel (I also tried 4.11.7-sun8i). I activated ttyS3 (uart3) in armbianEnv.txt: verbosity=1 logo=disabled console=serial overlay_prefix=sun8i-h3 rootdev=UUID=59c35982-ddad-4bf0-8b72-a8974bfe88a6 rootfstype=ext4 overlays=uart3 spi-spidev param_uart3_rtscts=1 param_spidev_spi_bus=0 Unfortunately hciconfig -a does not find any device. I already tried to set the baudrate but no chance to get bluetooth alive: service bluetooth stop rfkill unblock all echo "0" > /sys/class/rfkill/rfkill0/state echo "1" > /sys/class/rfkill/rfkill0/state echo " " > /dev/ttyS3 hciattach /dev/ttyS3 bcm43xx 1500000 flow hciconfig hci0 up brings: bcm43xx_init Initialization timed out. Can't get device info: No such device root@nanopiair:~# Any idea whats going wrong here? Regards Bernhard
  9. This is on a fresh build of Armbian from source. I'm not seeing the camera appearing in /dev/video0, as you would expect. I've tried the solution that @sri suggested on this thread https://forum.armbian.com/index.php?/topic/3225-nanopi-neo-air-cam500b-issue/ but the device is still not visible. Here is the contents of my /etc/modules file #w1-sunxi #w1-gpio #w1-therm sunxi-cir hci_uart rfcomm hidp dhd g_serial ov5640 vfe_v4l2 And here is the output from dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.113-sun8i (root@crosscompile) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #10 SMP PREEMPT Thu Jul 20 11:40:34 BST 2017 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 160 MiB at 56000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0a7b900, node_mem_map c0c01000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 129920 pages, LIFO batch:31 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c1093000 s11968 r8192 d12608 u32768 [ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=0f2fc787-984f-4361-a5eb-3c1c9964b243 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=1833f8f9-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 1048576 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 336300k/336300k available, 187988k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0981220 (9701 kB) [ 0.000000] .init : 0xc0982000 - 0xc09d8ec0 ( 348 kB) [ 0.000000] .data : 0xc09da000 - 0xc0a88fd0 ( 700 kB) [ 0.000000] .bss : 0xc0a89784 - 0xc0c004c0 (1500 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000279] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.000304] pid_max: default: 32768 minimum: 301 [ 0.000479] Security Framework initialized [ 0.000541] AppArmor: AppArmor disabled by boot time parameter [ 0.000743] Mount-cache hash table entries: 512 [ 0.001818] Initializing cgroup subsys cpuacct [ 0.001836] Initializing cgroup subsys memory [ 0.001887] Initializing cgroup subsys devices [ 0.001900] Initializing cgroup subsys freezer [ 0.001911] Initializing cgroup subsys blkio [ 0.001935] Initializing cgroup subsys perf_event [ 0.002029] CPU: Testing write buffer coherency: ok [ 0.002087] ftrace: allocating 25333 entries in 75 pages [ 0.030396] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.030417] [sunxi_smp_prepare_cpus] enter [ 0.030469] Setting up static identity map for 0x4066a498 - 0x4066a4f0 [ 0.031611] CPU1: Booted secondary processor [ 0.031611] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.031753] CPU2: Booted secondary processor [ 0.031753] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.040575] CPU3: Booted secondary processor [ 0.040575] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.040697] Brought up 4 CPUs [ 0.040697] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.041022] devtmpfs: initialized [ 0.052069] wakeup src cnt is : 2. [ 0.052081] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.052092] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0 [ 0.052103] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.052115] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.052125] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8 [ 0.052136] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.052148] sunxi pm init [ 0.052304] pinctrl core: initialized pinctrl subsystem [ 0.059242] NET: Registered protocol family 16 [ 0.062179] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.062275] script_sysfs_init success [ 0.062305] sunxi_dump_init success [ 0.063295] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.064509] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.064509] plat: add bmp085 device [ 0.064509] plat: add pcf8591 device [ 0.064509] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.064509] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.064509] script config pll_video to 297 Mhz [ 0.064509] script config pll_de to 864 Mhz [ 0.064509] script config pll_ve to 402 Mhz [ 0.064509] sunxi_default_clk_init [ 0.064509] try to set pll6ahb1 to 200000000 [ 0.064509] try to set ahb clk source to pll6ahb1 [ 0.064509] set ahb clk source to pll6ahb1 [ 0.064509] try to set ahb1 to 200000000 [ 0.064509] try to set apb1 to 100000000 [ 0.070263] bio: create slab <bio-0> at 0 [ 0.070342] [ARISC] :sunxi-arisc driver v1.04 [ 0.093850] [ARISC] :arisc version: [v0.1.58] [ 0.200700] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.202460] SCSI subsystem initialized [ 0.202460] usbcore: registered new interface driver usbfs [ 0.202460] usbcore: registered new interface driver hub [ 0.202460] usbcore: registered new device driver usb [ 0.202460] twi_chan_cfg()340 - [twi0] has no twi_regulator. [ 0.202460] twi_chan_cfg()340 - [twi1] has no twi_regulator. [ 0.202460] twi_chan_cfg()340 - [twi2] has no twi_regulator. [ 0.202460] Linux video capture interface: v2.00 [ 0.202460] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.202460] cfg80211: Calling CRDA to update world regulatory domain [ 0.202460] NetLabel: Initializing [ 0.202460] NetLabel: domain hash size = 128 [ 0.202460] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.202460] NetLabel: unlabeled traffic allowed by default [ 0.202460] Switching to clocksource arch_sys_counter [ 0.214858] FS-Cache: Loaded [ 0.215224] CacheFiles: Loaded [ 0.227056] NET: Registered protocol family 2 [ 0.238355] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.238993] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.239243] TCP bind hash table entries: 16384 (order: 5, 196608 bytes) [ 0.239517] TCP: Hash tables configured (established 16384 bind 16384) [ 0.239529] TCP: reno registered [ 0.239542] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.239568] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.239926] NET: Registered protocol family 1 [ 0.240441] RPC: Registered named UNIX socket transport module. [ 0.240454] RPC: Registered udp transport module. [ 0.240463] RPC: Registered tcp transport module. [ 0.240471] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.240708] Trying to unpack rootfs image as initramfs... [ 0.582081] Freeing initrd memory: 5040K [ 0.582796] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.582949] sunxi_reg_init enter [ 0.584027] audit: initializing netlink socket (disabled) [ 0.584094] type=2000 audit(0.580:1): initialized [ 0.585690] VFS: Disk quotas dquot_6.5.2 [ 0.585887] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.586484] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.586709] misc fatfs initialized [ 0.587025] NFS: Registering the id_resolver key type [ 0.587464] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.587479] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.588336] NTFS driver 2.1.30 [Flags: R/W]. [ 0.588650] fuse init (API version 7.18) [ 0.589065] msgmni has been set to 986 [ 0.590722] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.590744] io scheduler noop registered [ 0.590753] io scheduler deadline registered [ 0.590819] io scheduler cfq registered (default) [ 0.591311] [DISP]disp_module_init [ 0.591648] cmdline,init_disp= [ 0.591682] cmdline,disp= [ 0.592448] [DISP]disp_module_init finish [ 0.592705] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.592721] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator. [ 0.592736] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator. [ 0.592750] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator. [ 0.593331] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.593347] sw_uart_pm()890 - uart0 clk is already enable [ 0.593368] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.593514] console [ttyS0] enabled [ 0.593860] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI [ 0.594146] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI [ 0.594450] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI [ 0.595000] sunxi_cmatest_init enter [ 0.595050] sunxi_cmatest_init success [ 0.599313] brd: module loaded [ 0.603369] loop: module loaded [ 0.603699] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator. [ 0.603713] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator. [ 0.604369] spi spi0: master is unqueued, this is deprecated [ 0.604878] gmac0 not be used [ 0.604916] gmac0: probe of gmac0 failed with error -22 [ 0.604948] PPP generic driver version 2.4.2 [ 0.605130] PPP BSD Compression module registered [ 0.605140] PPP Deflate Compression module registered [ 0.608257] PPP MPPE Compression module registered [ 0.608278] NET: Registered protocol family 24 [ 0.608380] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.628512] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.628552] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 0.629662] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 0.640054] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 0.640827] hub 1-0:1.0: USB hub found [ 0.640854] hub 1-0:1.0: 1 port detected [ 0.661314] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.661348] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 0.661792] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 0.680044] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 0.680683] hub 2-0:1.0: USB hub found [ 0.680709] hub 2-0:1.0: 1 port detected [ 0.701121] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.701152] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 0.701600] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 0.720037] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 0.720567] hub 3-0:1.0: USB hub found [ 0.720591] hub 3-0:1.0: 1 port detected [ 0.740958] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.740990] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 0.741383] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 0.760031] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 0.760578] hub 4-0:1.0: USB hub found [ 0.760598] hub 4-0:1.0: 1 port detected [ 0.760984] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.781071] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.781101] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 0.781137] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 0.844578] hub 5-0:1.0: USB hub found [ 0.844601] hub 5-0:1.0: 1 port detected [ 0.864974] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.865004] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 0.865041] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 0.924604] hub 6-0:1.0: USB hub found [ 0.924626] hub 6-0:1.0: 1 port detected [ 0.945006] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.945036] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 0.945074] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 1.004626] hub 7-0:1.0: USB hub found [ 1.004649] hub 7-0:1.0: 1 port detected [ 1.025058] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.025090] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 1.025142] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 1.084618] hub 8-0:1.0: USB hub found [ 1.084638] hub 8-0:1.0: 1 port detected [ 1.085043] Initializing USB Mass Storage driver... [ 1.085295] usbcore: registered new interface driver usb-storage [ 1.085305] USB Mass Storage support registered. [ 1.085374] usbcore: registered new interface driver ums-alauda [ 1.085428] usbcore: registered new interface driver ums-cypress [ 1.085498] usbcore: registered new interface driver ums-datafab [ 1.085546] usbcore: registered new interface driver ums_eneub6250 [ 1.085593] usbcore: registered new interface driver ums-freecom [ 1.085646] usbcore: registered new interface driver ums-isd200 [ 1.085702] usbcore: registered new interface driver ums-jumpshot [ 1.085752] usbcore: registered new interface driver ums-karma [ 1.085801] usbcore: registered new interface driver ums-onetouch [ 1.085870] usbcore: registered new interface driver ums-realtek [ 1.085929] usbcore: registered new interface driver ums-sddr09 [ 1.085978] usbcore: registered new interface driver ums-sddr55 [ 1.086028] usbcore: registered new interface driver ums-usbat [ 1.086265] uinput result 0 , vmouse_init [ 1.086892] mousedev: PS/2 mouse device common for all mice [ 1.087137] sunxikbd_init failed. [ 1.087975] ls_fetch_sysconfig_para: ls_unused. [ 1.087987] ltr_init: ls_fetch_sysconfig_para err. [ 1.088614] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.088674] i2c /dev entries driver [ 1.102754] [ISP] isp platform_id = 5! [ 1.102936] sunxi cedar version 0.1 [ 1.102990] [cedar]: install start!!! [ 1.103253] [cedar]: install end!!! [ 1.103510] twi_start()434 - [i2c0] START can't sendout! [ 1.103777] twi_start()434 - [i2c0] START can't sendout! [ 1.104042] twi_start()434 - [i2c0] START can't sendout! [ 1.104312] twi_start()434 - [i2c0] START can't sendout! [ 1.104577] twi_start()434 - [i2c0] START can't sendout! [ 1.104842] twi_start()434 - [i2c0] START can't sendout! [ 1.105110] twi_start()434 - [i2c0] START can't sendout! [ 1.105375] twi_start()434 - [i2c0] START can't sendout! [ 1.105640] twi_start()434 - [i2c0] START can't sendout! [ 1.105908] twi_start()434 - [i2c0] START can't sendout! [ 1.106173] twi_start()434 - [i2c0] START can't sendout! [ 1.106438] twi_start()434 - [i2c0] START can't sendout! [ 1.106706] twi_start()434 - [i2c0] START can't sendout! [ 1.106971] twi_start()434 - [i2c0] START can't sendout! [ 1.107236] twi_start()434 - [i2c0] START can't sendout! [ 1.107504] twi_start()434 - [i2c0] START can't sendout! [ 1.107769] twi_start()434 - [i2c0] START can't sendout! [ 1.108034] twi_start()434 - [i2c0] START can't sendout! [ 1.108302] twi_start()434 - [i2c0] START can't sendout! [ 1.108567] twi_start()434 - [i2c0] START can't sendout! [ 1.108832] twi_start()434 - [i2c0] START can't sendout! [ 1.109099] twi_start()434 - [i2c0] START can't sendout! [ 1.109365] twi_start()434 - [i2c0] START can't sendout! [ 1.109630] twi_start()434 - [i2c0] START can't sendout! [ 1.109897] twi_start()434 - [i2c0] START can't sendout! [ 1.110069] [VFE_ERR]Error registering v4l2 subdevice No such device! [ 1.110266] twi_start()434 - [i2c0] START can't sendout! [ 1.110532] twi_start()434 - [i2c0] START can't sendout! [ 1.110806] twi_start()434 - [i2c1] START can't sendout! [ 1.111071] twi_start()434 - [i2c1] START can't sendout! [ 1.111336] twi_start()434 - [i2c1] START can't sendout! [ 1.111603] twi_start()434 - [i2c1] START can't sendout! [ 1.111869] twi_start()434 - [i2c1] START can't sendout! [ 1.112134] twi_start()434 - [i2c1] START can't sendout! [ 1.112401] twi_start()434 - [i2c1] START can't sendout! [ 1.112666] twi_start()434 - [i2c1] START can't sendout! [ 1.112931] twi_start()434 - [i2c1] START can't sendout! [ 1.113198] twi_start()434 - [i2c1] START can't sendout! [ 1.113463] twi_start()434 - [i2c1] START can't sendout! [ 1.113728] twi_start()434 - [i2c1] START can't sendout! [ 1.113996] twi_start()434 - [i2c1] START can't sendout! [ 1.114261] twi_start()434 - [i2c1] START can't sendout! [ 1.114526] twi_start()434 - [i2c1] START can't sendout! [ 1.114793] twi_start()434 - [i2c1] START can't sendout! [ 1.115058] twi_start()434 - [i2c1] START can't sendout! [ 1.115323] twi_start()434 - [i2c1] START can't sendout! [ 1.115590] twi_start()434 - [i2c1] START can't sendout! [ 1.115855] twi_start()434 - [i2c1] START can't sendout! [ 1.116120] twi_start()434 - [i2c1] START can't sendout! [ 1.116387] twi_start()434 - [i2c1] START can't sendout! [ 1.116653] twi_start()434 - [i2c1] START can't sendout! [ 1.116918] twi_start()434 - [i2c1] START can't sendout! [ 1.117185] twi_start()434 - [i2c1] START can't sendout! [ 1.117450] twi_start()434 - [i2c1] START can't sendout! [ 1.117715] twi_start()434 - [i2c1] START can't sendout! [ 1.117827] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 1.118011] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 1.118177] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 1.118191] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 1.118203] timeout_to_interv, line 167 [ 1.118211] interv_to_timeout, line 189 [ 1.118221] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 1.118666] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 1.118937] calibrat: max_cpufreq 1200Mhz Type 0! [ 1.118952] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq [ 1.119381] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Jul 20 2017 at 11:28:23 [ 1.119420] [mmc]: get mmc0's sdc_power is null! [ 1.119450] [mmc]: get mmc1's sdc_power is null! [ 1.119460] [mmc]: get mmc1's 2xmode ok, val = 1 [ 1.119469] [mmc]: get mmc1's ddrmode ok, val = 1 [ 1.119498] [mmc]: get mmc2's sdc_power is null! [ 1.119507] [mmc]: get mmc2's 2xmode ok, val = 1 [ 1.119517] [mmc]: get mmc2's ddrmode ok, val = 1 [ 1.119530] [mmc]: MMC host used card: 0x7, boot card: 0x0, io_card 2 [ 1.123291] [mmc]: sdc0 power_supply is null [ 1.126877] no red_led, ignore it! [ 1.127142] Registered led device: green_led [ 1.127248] Registered led device: blue_led [ 1.127265] no led_0, ignore it! [ 1.127273] no led_1, ignore it! [ 1.127280] no led_2, ignore it! [ 1.127287] no led_3, ignore it! [ 1.127294] no led_4, ignore it! [ 1.127301] no led_5, ignore it! [ 1.127308] no led_6, ignore it! [ 1.127316] no led_7, ignore it! [ 1.128181] usbcore: registered new interface driver usbhid [ 1.128193] usbhid: USB HID core driver [ 1.129629] script_get_item audio_pa_ctrl not found [ 1.134087] asoc: sndcodec <-> sunxi-codec mapping ok [ 1.135387] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly! [ 1.135623] [I2S]snddaudio cannot find any using configuration for controllers, return directly! [ 1.135637] [DAUDIO0] driver not init,just return. [ 1.139573] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 1.141037] oprofile: using arm/armv7-ca7 [ 1.141290] u32 classifier [ 1.141299] Performance counters on [ 1.141307] input device check on [ 1.141315] Actions configured [ 1.141654] TCP: bic registered [ 1.141665] TCP: cubic registered [ 1.141673] TCP: westwood registered [ 1.141681] TCP: highspeed registered [ 1.141689] TCP: hybla registered [ 1.141696] TCP: htcp registered [ 1.141704] TCP: vegas registered [ 1.141712] TCP: veno registered [ 1.141719] TCP: scalable registered [ 1.141727] TCP: lp registered [ 1.141735] TCP: yeah registered [ 1.141743] TCP: illinois registered [ 1.141750] Initializing XFRM netlink socket [ 1.141980] NET: Registered protocol family 10 [ 1.143017] NET: Registered protocol family 17 [ 1.143054] NET: Registered protocol family 15 [ 1.143107] Registering the dns_resolver key type [ 1.143708] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 1.143731] ThumbEE CPU extension supported. [ 1.143758] Registering SWP/SWPB emulation handler [ 1.144392] registered taskstats version 1 [ 1.145459] ths_fetch_sysconfig_para: type err device_used = 1. [ 1.146827] CPU Budget:corekeeper enabled [ 1.147078] CPU Budget:Register notifier [ 1.147092] CPU Budget:register Success [ 1.147106] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 1.150840] [rf_pm]: Did not config module_power0 in sys_config [ 1.150861] [rf_pm]: Did not config module_power1 in sys_config [ 1.150871] [rf_pm]: Did not config module_power2 in sys_config [ 1.150882] [rf_pm]: Did not config module_power3 in sys_config [ 1.150892] [rf_pm]: mod has no chip_en gpio [ 1.150901] [rf_pm]: regulator on. [ 1.150919] [rf_pm]: set losc_out 32k out[wifi_pm]: set wl_reg_on 1 ! [ 1.237511] mmc0: new high speed SDHC card at address aaaa [ 1.238117] mmcblk0: mmc0:aaaa SS16G 14.8 GiB [ 1.239636] mmcblk0: p1 [ 1.240478] mmcblk mmc0:aaaa: Card claimed for testing. [ 1.240494] mmc0:aaaa: SS16G 14.8 GiB [ 1.242081] [mmc]: sdc2 power_supply is null [ 1.251333] WRN:L148(drivers/usb/sunxi_usb/manager/usb_hcd_servers.c):ERR: unkown usbc_no(5) [ 1.351354] [wifi_pm]: wifi gpio init is OK !! [ 1.351798] [rfkill]: rfkill set power 1 [ 1.364599] mmc2: new high speed DDR MMC card at address 0001 [ 1.365133] mmcblk1: mmc2:0001 8WPD3R 7.28 GiB [ 1.365372] mmcblk1boot0: mmc2:0001 8WPD3R partition 1 4.00 MiB [ 1.365616] mmcblk1boot1: mmc2:0001 8WPD3R partition 2 4.00 MiB [ 1.366984] mmcblk1: p1 p2 [ 1.370196] ALSA device list: [ 1.370208] #0: audiocodec [ 1.370216] #1: sndhdmi [ 1.370414] mmcblk1boot1: unknown partition table [ 1.371271] Freeing init memory: 344K [ 1.372217] mmcblk1boot0: unknown partition table [ 1.372547] mmcblk mmc2:0001: Card claimed for testing. [ 1.372569] mmc2:0001: 8WPD3R 7.28 GiB [ 1.374213] [mmc]: sdc1 power_supply is null [ 1.428027] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.429672] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.431382] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.434324] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.526532] mmc1: new high speed SDIO card at address 0001 [ 1.750232] vmouse_input_dev_open [ 1.830179] vmouse_input_dev_close [ 2.095884] Btrfs loaded [ 2.510249] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 2.996705] systemd[1]: System time before build time, advancing clock. [ 3.460313] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 3.460692] systemd[1]: Detected architecture arm. [ 3.491017] systemd[1]: Set hostname to <nanopiair>. [ 3.938274] systemd[1]: Created slice User and Session Slice. [ 3.961064] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.980509] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.010367] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.030453] systemd[1]: Listening on Journal Socket. [ 4.050352] systemd[1]: Listening on fsck to fsckd communication Socket. [ 4.070177] systemd[1]: Reached target Encrypted Volumes. [ 4.090282] systemd[1]: Listening on udev Kernel Socket. [ 4.110404] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.130369] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.150568] systemd[1]: Listening on Journal Audit Socket. [ 4.170419] systemd[1]: Started Trigger resolvconf update for networkd DNS. [ 4.190289] systemd[1]: Listening on Syslog Socket. [ 4.210165] systemd[1]: Reached target Remote File Systems (Pre). [ 4.230164] systemd[1]: Reached target Remote File Systems. [ 4.250572] systemd[1]: Created slice System Slice. [ 4.350784] systemd[1]: Starting Load Kernel Modules... [ 4.450553] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.470396] systemd[1]: Reached target Slices. [ 4.479696] Registered IR keymap rc-empty [ 4.480328] rc0: sunxi-ir as /devices/virtual/rc/rc0 [ 4.502857] IR RC5(x) protocol handler initialized [ 4.506905] Bluetooth: Core ver 2.16 [ 4.507011] NET: Registered protocol family 31 [ 4.507024] Bluetooth: HCI device and connection manager initialized [ 4.507041] Bluetooth: HCI socket layer initialized [ 4.507054] Bluetooth: L2CAP socket layer initialized [ 4.507082] Bluetooth: SCO socket layer initialized [ 4.512356] Bluetooth: HCI UART driver ver 2.2 [ 4.512375] Bluetooth: HCI H4 protocol initialized [ 4.512384] Bluetooth: HCI BCSP protocol initialized [ 4.512392] Bluetooth: HCILL protocol initialized [ 4.512400] Bluetooth: HCIATH3K protocol initialized [ 4.521423] Bluetooth: RFCOMM TTY layer initialized [ 4.521457] Bluetooth: RFCOMM socket layer initialized [ 4.521467] Bluetooth: RFCOMM ver 1.11 [ 4.526574] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.560937] systemd[1]: Starting Restore / save the current clock... [ 4.577186] rc s_cir0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0 [ 4.582636] dhd_module_init: in [ 4.582655] ======== bcm_wlan_set_plat_data ======== [ 4.582673] bcm_wlan_get_oob_irq enter. [ 4.582774] gpio [202] map to virq [10] ok [ 4.582782] host_oob_irq: 10 [ 4.582789] host_oob_irq_flags=0x414 [ 4.582797] dhd_wifi_platform_load: Enter [ 4.582838] Power-up adapter 'DHD generic adapter' [ 4.582849] wifi_platform_set_power = 1 [ 4.582857] ======== PULL WL_REG_ON HIGH! ======== [ 4.582867] [wifi_pm]: set wl_reg_on 0 ! [ 4.690479] systemd[1]: Mounting POSIX Message Queue File System... [ 4.782913] [wifi_pm]: set wl_reg_on 1 ! [ 4.890945] systemd[1]: Starting Set console keymap... [ 5.020477] systemd[1]: Mounting Debug File System... [ 5.160861] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 5.290077] wifi_platform_bus_enumerate device present 1 [ 5.290094] ======== Card detection to detect SDIO card! ======== [ 5.290295] dummy_sdmmc: probe of mmc1:0001:1 failed with error -123 [ 5.290335] dummy_sdmmc: probe of mmc1:0001:2 failed with error -123 [ 5.290536] mmc1: card 0001 removed [ 5.290782] [mmc]: sdc1 power_supply is null [ 5.294915] [mmc]: sdc1 power_supply is null [ 5.310527] systemd[1]: Starting Nameserver information manager... [ 5.347264] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 5.348812] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.350365] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.353129] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 5.442898] mmc1: new high speed SDIO card at address 0001 [ 5.450801] systemd[1]: Starting Remount Root and Kernel File Systems... [ 5.459670] bcmsdh_register: register client driver [ 5.459815] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 5.459920] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 5.459931] bus num (host idx)=1, slot num (rca)=1 [ 5.459942] found adapter info 'DHD generic adapter' [ 5.460052] sdioh_attach: set sd_f2_blocksize 128 [ 5.460567] F1 signature read @0x18000000=0x1530a9a6 [ 5.463506] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3 [ 5.464556] DHD: dongle ram size is set to 524288(orig 524288) at 0x0 [ 5.464737] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=0 [ 5.464813] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/ap6212/config.txt [ 5.467025] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 5.467831] wl_create_event_handler(): thread:wl_event_handler:c8 started [ 5.467844] tsk Enter, tsk = 0xd51e1430 [ 5.468124] dhd_attach(): thread:dhd_watchdog_thread:c9 started [ 5.468204] dhd_attach(): thread:dhd_dpc:ca started [ 5.468223] dhd_dpc_thread: set dpc_cpucore 0 from config.txt [ 5.468292] dhd_attach(): thread:dhd_rxf:cb started [ 5.468315] dhd_deferred_work_init: work queue initialized [ 5.468750] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 5.468772] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/ap6212/fw_bcm43438a0.bin [ 5.468787] dhdsdio_download_firmware: set use_rxchain 0 [ 5.468796] dhdsdio_download_firmware: set txglomsize 40 [ 5.468807] sdioh_set_mode: set txglom_mode to multi-desc [ 5.468815] Final fw_path=/lib/firmware/ap6212/fw_bcm43438a0.bin [ 5.468824] Final nv_path=/lib/firmware/ap6212/nvram.txt [ 5.468832] Final conf_path=/lib/firmware/ap6212/config.txt [ 5.470393] systemd[1]: Reached target Paths. [ 5.490703] systemd[1]: Listening on udev Control Socket. [ 5.518735] NVRAM version: AP6212_NVRAM_V1.0_20140603 [ 5.519412] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded. [ 5.541081] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 5.573753] systemd[1]: Mounted POSIX Message Queue File System. [ 5.577176] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us) [ 5.577300] bcmsdh_oob_intr_register: Enter [ 5.577309] bcmsdh_oob_intr_register: HW_OOB enabled [ 5.577320] bcmsdh_oob_intr_register OOB irq=10 flags=414 [ 5.577460] bcmsdh_oob_intr_register: disable_irq_wake [ 5.578303] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0 [ 5.578944] dhd_preinit_ioctls: Set tcpack_sup_mode 0 [ 5.580336] Firmware up: op_mode=0x0001, MAC=94:a1:a2:94:9c:5e [ 5.580350] dhd_conf_set_country: set country CN, revision 0 [ 5.580361] dhd_conf_set_fw_string_struct_cmd: set country [ 5.590380] systemd[1]: Mounted Debug File System. [ 5.644555] Country code: CN (CN/0) [ 5.645252] dhd_conf_set_fw_string_cmd: set roam_off 1 [ 5.659262] Firmware version = wl0: Jun 6 2014 14:50:39 version 7.10.226.49 (r) FWID 01-8962686a [ 5.659280] Driver: 1.201.59.6 (r506368) [ 5.659285] Firmware: wl0: Jun 6 2014 14:50:39 version 7.10.226.49 (r) FWID 01-8962686a [ 5.659302] dhd_txglom_enable: enable 0 [ 5.659312] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0 [ 5.659321] dhd_conf_set_txglom_params: txglom_bucket_size=0 [ 5.659331] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=0 [ 5.659342] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0 [ 5.659353] dhd_conf_set_disable_proptx: set disable_proptx 0 [ 5.661771] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64 [ 5.673190] Dongle Host Driver, version 1.201.59.6 (r506368) [ 5.673198] Compiled in drivers/net/wireless/bcmdhd [ 5.674130] Register interface [wlan0] MAC: 94:a1:a2:94:9c:5e [ 5.674240] dhd_module_init: Exit err=0 [ 5.682206] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1ac, 0xd466ddc0, ep1in-bulk) [ 5.682229] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1ac, 0xd466ddc0, ep1in-bulk) [ 5.682242] ep_matches, wrn: endpoint already claimed, ep(0xc0a2f1f8, 0xd466ddc0, ep1out-bulk) [ 5.682252] gadget_is_softwinner_otg is not -int [ 5.682260] gadget_is_softwinner_otg is not -int [ 5.682279] g_serial gadget: Gadget Serial v2.4 [ 5.682295] g_serial gadget: g_serial ready [ 5.689672] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 5.760222] systemd[1]: Started Restore / save the current clock. [ 5.920147] systemd[1]: Started Load Kernel Modules. [ 6.090167] systemd[1]: Started Set console keymap. [ 6.230137] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 6.700215] systemd[1]: Started Remount Root and Kernel File Systems. [ 6.920738] systemd[1]: Started Nameserver information manager. [ 7.015234] systemd[1]: Time has been changed [ 7.043839] systemd[1]: Reached target Network (Pre). [ 7.120495] systemd[1]: Activating swap /var/swap... [ 7.226696] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:139260k SS [ 7.261001] systemd[1]: Starting udev Coldplug all Devices... [ 7.350954] systemd[1]: Starting Load/Save Random Seed... [ 7.500827] systemd[1]: Starting Create Static Device Nodes in /dev... [ 7.660441] systemd[1]: Mounting FUSE Control File System... [ 7.790732] systemd[1]: Starting Apply Kernel Variables... [ 7.817888] systemd[1]: Activated swap /var/swap. [ 7.834219] systemd[1]: Mounted FUSE Control File System. [ 8.360285] systemd[1]: Started Load/Save Random Seed. [ 8.480149] systemd[1]: Started Create Static Device Nodes in /dev. [ 8.620144] systemd[1]: Started Apply Kernel Variables. [ 8.760131] systemd[1]: Started udev Coldplug all Devices. [ 8.900888] systemd[1]: Starting udev Kernel Device Manager... [ 8.920282] systemd[1]: Reached target Local File Systems (Pre). [ 9.090470] systemd[1]: Mounting /tmp... [ 9.110437] systemd[1]: Reached target Swap. [ 9.165925] systemd[1]: Started udev Kernel Device Manager. [ 9.194922] systemd[1]: Mounted /tmp. [ 9.214178] systemd[1]: Found device /dev/ttyGS0. [ 9.230657] systemd[1]: Reached target Local File Systems. [ 9.311134] systemd[1]: Starting Armbian enhanced Log2Ram... [ 9.440825] systemd[1]: Starting Raise network interfaces... [ 9.496850] twi_start()434 - [i2c0] START can't sendout! [ 9.497129] twi_start()434 - [i2c0] START can't sendout! [ 9.497395] twi_start()434 - [i2c0] START can't sendout! [ 9.497537] bmp085: probe of 0-0077 failed with error -121 [ 9.497759] twi_start()434 - [i2c0] START can't sendout! [ 9.498030] twi_start()434 - [i2c0] START can't sendout! [ 9.498309] twi_start()434 - [i2c0] START can't sendout! [ 9.498589] twi_start()434 - [i2c0] START can't sendout! [ 9.498858] twi_start()434 - [i2c0] START can't sendout! [ 9.499127] twi_start()434 - [i2c0] START can't sendout! [ 9.591071] systemd[1]: Starting Set console font and keymap... [ 9.623504] vmouse_input_dev_open [ 9.681517] vmouse_input_dev_close [ 9.711136] systemd[1]: Started Entropy daemon using the HAVEGE algorithm. [ 10.025065] systemd[1]: Started Armbian enhanced Log2Ram. [ 10.133428] systemd[1]: Found device /dev/ttyS0. [ 10.360320] systemd[1]: Started Set console font and keymap. [ 10.478733] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 10.500793] systemd[1]: Stopped LSB: Starts LIRC daemon.. [ 10.640887] systemd[1]: Starting LSB: Starts LIRC daemon.... [ 10.720865] systemd[1]: Created slice system-getty.slice. [ 10.740861] systemd[1]: Reached target Sound Card. [ 10.821132] systemd[1]: Starting Journal Service... [ 10.905022] systemd[1]: Started Journal Service. [ 11.173839] [rfkill]: rfkill set power 0 [ 11.514715] systemd-journald[493]: Received request to flush runtime journal from PID 1 [ 16.010578] [rfkill]: rfkill set power 0 [ 16.031254] [rfkill]: rfkill set power 1 [ 16.050690] [rfkill]: rfkill set power 0 [ 17.986559] dhd_open: Enter d51a8000 [ 18.069676] dhd_open: Exit ret=0 [ 20.538215] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 20.538237] Bluetooth: BNEP filters: protocol multicast [ 20.995351] Connectting with 8a:15:04:81:2f:20 channel (1) ssid "Masabi-2.4", len (10) [ 21.004944] wl_iw_event: Link UP with BSSID=8A:15:00:00:2F:20 [ 21.005009] wl_bss_connect_done succeeded with 8a:15:04:81:2f:20 One of the odd things about this logging that I note compared to others is that there is not much comign out of VFE. Have i forgot to include somethign when compiling the kernel? The aim of all of this is to get a build where I can control the focus of the camera. Teh standard build offered my friendlyarm will run the camera, but I can't control the focus with those builds.
  10. Good evening, I'm using a NanoPi Neo Air for streaming audio via bluetooth to a I2S sink. It's working in general but the audio data breaks away every second. It's always a on/off. I'm pretty sure it's connected to the speed between H3 - AP6212a but I'm not able to get it to work propably. I set the UART ttyS3 speed to 1500000 bit/s: My Fexedit looks like that: [bt_para] │ │bt_used = 1 │ │bt_uart_id = 3 │ │bt_uart_baud = 1500000 │ │bt_rst_n = port:PG13<1><default><default><0> │ │bt_wake = port:PA08<1><default><default><0> │ │bt_host_wake = port:PA07<0><default><default><0> │ │bt_host_wake_invert = 0 and I changed the AP6212a speed like this: systemctl stop bluetooth.service cp /lib/firmware/ap6212/bcm43438a1.hcd /etc/firmware/ap6212/4343A0.hcd echo "0" > /sys/class/rfkill/rfkill0/state echo "1" > /sys/class/rfkill/rfkill0/state echo " " > /dev/ttyS3 hciattach /dev/ttyS3 bcm43xx 1500000 bcm43xx_init Set Controller UART speed to 1500000 bit/s Flash firmware /etc/firmware/ap6212/4343A0.hcd Set Controller UART speed to 1500000 bit/s Device setup complete I already tried to go up 3000000 bit/s but the firmware flashing process stucks when I try it. Any idea why my I2S audio bus can't deliver the whole data? Regards Bernhard EDIT: output of hciconfig -a: root@nanopiair:~# hciconfig -a hci0: Type: BR/EDR Bus: UART BD Address: 43:29:B1:55:01:01 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING PSCAN RX bytes:520 acl:0 sco:0 events:23 errors:0 TX bytes:1090 acl:0 sco:0 commands:23 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'nanopiair' Class: 0x00041c Service Classes: Unspecified Device Class: Audio/Video, Portable Audio HCI Version: 4.1 (0x7) Revision: 0xf2 LMP Version: 4.1 (0x7) Subversion: 0x2122 Manufacturer: Broadcom Corporation (15)
  11. Hi,I have a problem with the ssh wifi connection with the nanopi neo air it has every faith that I connect it is too slowI have disabled the NetworkManager with the following commandsSystemctl stop NetworkManager.serviceSystemctl disable NetworkManager.serviceAnd configured my network connection with the / etc / network / interfaces fileAnd also i have disabled iwconfigIwconfig wlan0 power offalways remains the problem of SSH slowthenks for your help
  12. Hi all. I install Ubuntu_xenial_default with kernel 3.4.113 and want record video from CAM500B with ov5640 image sensor. I had edited camera section in fex file with next options: [csi0] vip_used = 1 vip_mode = 0 vip_dev_qty = 1 vip_define_sensor_list = 0 vip_csi_pck = port:PE00<2><default><default><default> vip_csi_mck = port:PE01<2><default><default><default> vip_csi_hsync = port:PE02<2><default><default><default> vip_csi_vsync = port:PE03<2><default><default><default> vip_csi_d0 = port:PE04<2><default><default><default> vip_csi_d1 = port:PE05<2><default><default><default> vip_csi_d2 = port:PE06<2><default><default><default> vip_csi_d3 = port:PE07<2><default><default><default> vip_csi_d4 = port:PE08<2><default><default><default> vip_csi_d5 = port:PE09<2><default><default><default> vip_csi_d6 = port:PE10<2><default><default><default> vip_csi_d7 = port:PE11<2><default><default><default> vip_csi_sck = port:PE12<2><default><default><default> vip_csi_sda = port:PE13<2><default><default><default> vip_dev0_mname = "ov5640" vip_dev0_pos = "rear" vip_dev0_lane = 4 vip_dev0_twi_id = 2 vip_dev0_twi_addr = 0x78 vip_dev0_isp_used = 1 vip_dev0_fmt = 0 vip_dev0_stby_mode = 1 vip_dev0_vflip = 1 vip_dev0_hflip = 0 vip_dev0_iovdd = "" vip_dev0_iovdd_vol = 2800000 vip_dev0_avdd = "" vip_dev0_avdd_vol = 2800000 vip_dev0_dvdd = "" vip_dev0_dvdd_vol = 1500000 vip_dev0_afvdd = "" vip_dev0_afvdd_vol = 2800000 vip_dev0_power_en = vip_dev0_reset = port:PE14<1><default><default><default> vip_dev0_pwdn = port:PE15<1><default><default><default> vip_dev0_flash_en = vip_dev0_flash_mode = vip_dev0_af_pwdn = vip_dev0_act_used = 0 vip_dev0_act_name = "ad5820_act" vip_dev0_act_slave = 0x18 vip_dev1_pos = "rear" vip_dev1_lane = 1 vip_dev1_twi_id = 0 vip_dev1_twi_addr = vip_dev1_isp_used = 0 vip_dev1_fmt = 1 vip_dev1_stby_mode = 0 vip_dev1_vflip = 0 vip_dev1_hflip = 0 vip_dev1_iovdd = "" vip_dev1_iovdd_vol = 2800000 vip_dev1_avdd = "" vip_dev1_avdd_vol = 2800000 vip_dev1_dvdd = "" vip_dev1_dvdd_vol = 1500000 vip_dev1_afvdd = "" vip_dev1_afvdd_vol = 2800000 vip_dev1_power_en = vip_dev1_reset = vip_dev1_pwdn = vip_dev1_flash_en = vip_dev1_flash_mode = vip_dev1_af_pwdn = And had added to file /etc/modules ov5640 vfe_v4l2 After reboot I can list video0 device in /dev but dmesg | grep ov5640 and dmesg | grep VFE returns nothing. And dmesg | grep OV5640 show [ 7.860317] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 7.952205] [OV5640@lex]CSI_SUBDEV_PWR_ON! [ 8.020823] [OV5640@lex]sensor_init 0x0 [ 8.065071] [OV5640@lex]CSI_SUBDEV_PWR_OFF! Then ffmpeg -f v4l2 -s 640x480 -i /dev/video0 -r 30 -c:v mpeg4 ./test/test.avi returns error: ioctl(VIDIOCENUMINPUT): invalid argument /dev/video0: Invalid argument. Please help me with this problem.
  13. I use armbian installed on emmc of Nanopi neo air. I want use the sdcard, buit i can't see the card. I insert the card after i boot from emmc. How can i mount the card?
  14. Hi, I got a new nano pi neo air and wanted to add a microphone to record sound. First I tried my USB mic and it worked without any problem then I saw a topic in here: https://forum.armbian.com/index.php?/topic/3598-nano-pi-neo-air-mic-audio-out/ According to this topic, I can attach a mic to the pins that mentioned. But my big problem is what is the hardware name? I tried to use arecord -l and the output was: root@NanoPi-NEO-Air:~# arecord -l **** List of CAPTURE Hardware Devices **** card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 But it is the HDMI sound card which I think is not right. How can I record sound with the attached mic? Thanks.
  15. Hi everyone. I heard Armbian was the to-go distribution for the Nanopi NEO Air. I've got a bunch of these boards where I'd like to use the built-in Bluetooth and Wi-Fi capability in a small form factor for a project. I don't need video or audio or other functionality. I see a legacy kernel "stable build" and a mainline kernel "experimental" build. For the experimental build it lists the following known problems: No Mali drivers No hardware accelerated video decoding schedutil CPU governor may cause clicks and pops on audio output – change(d) to ondemand to work around this issue This sounds fine with me. I need no video, and no audio. I also see from the documentation: Is this still currently the case? Would using mainline kernel potentially overheat the board if there is a processing load on it? Lastly, what else about this experimental mainline kernel board for the Nanopi NEO Air should I be keeping in mind in case it's not well-documented but known to people using this board that might be relevant to me?
  16. I want to use a shutdown button to make a secure shutdown with the nanopi neo air. But i am completly lost how it works. I don't find out, which GPIO's i can use for a script. And if i need a puuldown or not. Can somebody help me? Thanks Chris
  17. It seems that the latest Nano Pi Neo Air Boards and the relatively new Orange Pi Zero Plus 2 both use a modified version of the AP6212 WiFi+Bluetooth module, which is physically labelled as AP6212A. This new module apparently requires different drivers to operate. From my own experience, I was unable to get the internal WiFi module to work on a Nano Pi Neo Air (with AP6212A) using any of the Armbian distributions. However, I was able to get WiFi to work on that board with the Friendly Arm distribution at from https://www.mediafire.com/folder/sr5d0qpz774cs/NanoPi-NEO_Air#oc15bwqbuxgxe. I just received a second Nano Pi Neo Air from a different vendor, and this one was apparently one of the older boards because it came without a wifi antenna, and the WiFi module was labeled AP6212. The internal WiFi on this board worked perfectly with the legacy Armbian distribution for the Nano Pi Neo Air. I've seen elsewhere that there has been some trouble getting WiFi to work with the Orange Pi Zero Plus 2, and I suspect it is because of the change in the WiFi module. I personally know nothing of how to change or compile WiFi drivers, but would comparing the drivers in the Friendly Arm distribution help?
  18. Hi, is it possible to install armbian on the emmc and a second armbian on the microsd card? So, if no microsd card insert the nanopi boot from emmc, otherwise boot from microsd?
  19. Dear community. I like to get the NanoPi Neo air work as HID Gadget using libcomposite. I am using the dev kernel (4.10) and libcomposite is loaded. Following this tutorial http://isticktoit.net/?p=1383 the usb gadget init script is running without errors on startup. But there is no entry in /sys/class/udc/ and i get no /dev/hidg0 device Did i missed something? is there a special overlay directive for the usb controller? or is something missing in the kernel? is it better to use the g_hid module?
  20. Hey folks, I'm hoping for some advice on achieving decent graphics for my application. I've got a prototype running with a custom board hosting the NanoPi Neo Air and a bunch of my own hardware. The biggest issue right now is getting reasonable graphics performance. The difference between mainline and legacy support has had me confused and switching back and forth trying to find a useful solution. Here's what I've learned so far: Mainline feels like the future, so that's my preference. My application uses fbtft over SPI for the graphics. I achieved 72MHz SPI on mainline which gives almost reasonable performance. On legacy the SPI driver seems buggy and locks up after random intervals. It never worked at more than 32MHz or so... too slow for my screen. (this happened to me on Raspbian too) So far my application is built on SDL2 which I now learn is not supported by fbdev. I would run X if there was an advantage... but it just feels like more layers unless I can use Mali to get some hardware acceleration. I could port my app to SDL1.2 and use fbdev without X... but that feels like a backwards move also. Not related to graphics, but mainline still has no i2s support on H3, which I need but apparently it's coming soon. Does this work reliably (slave mode) on legacy? So I think the showstoppers for using the legacy kernel are: Afraid of developing something new against an old kernel Lack of understanding of FEX files, although maybe it's not so bad SPI bug causing random lockup of the graphics... is there a known workaround for this problem? If someone could point me in the right direction that would be great. I feel like I'm going around in circles. Thanks!
  21. Hi there, I recently purchased a NanoPi NEO Air from FriendlyElec with a CAM500B module. It works alright with the mjpg-streamer and their provided Ubuntu Core. I built an Arabian 5.27 Nano Pi Air Debian Jessie image with the default kernel and the device is no longer found. I've forced the load of ov5640 and vfe_v4l2 in /etc/modules, but /dev/video0 isn't appearing. The kernel log has this in it when the module is loaded: [ 116.519650] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 If I boot back to Ubuntu Core via SD, the camera is back.
  22. Guest

    Nano Pi Neo Air Gpio

    I am trying to use gpio without C or Python library, I follow pinout in the wiki : http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Air 7 GPIOG11 203 modprobe gpio-sunxi echo 203 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio203/direction echo 1 > /sys/class/gpio/gpio203/value LED I connected to Gpio don't light for the moment, I have missed something ? What Linux Gpio may I use ?
  23. Hi, I just got a NanoPi Neo Air, and I've tried both legacy jessie and ubuntu, as well as the nightly build, and with all three I have been unable to find the onboard wifi. When I run iwconfig, there is no sign of a wifi module; when I try nmtui there is nothing there to activate. lsmod shows the following: Module Size Used by evdev 9979 1 sun8i_codec_analog 13766 0 snd_soc_core 115473 1 sun8i_codec_analog snd_pcm_dmaengine 4221 1 snd_soc_core snd_pcm 70145 2 snd_pcm_dmaengine,snd_soc_core sun8i_ths 3134 0 gpio_keys 8517 0 uio_pdrv_genirq 3354 0 cpufreq_dt 3522 0 uio 8012 1 uio_pdrv_genirq thermal_sys 43232 2 cpufreq_dt,sun8i_ths g_serial 3737 0 libcomposite 34692 1 g_serial brcmfmac 165505 0 brcmutil 6270 1 brcmfmac cfg80211 192770 1 brcmfmac rfkill 10928 2 cfg80211 Is one of these the WiFi module? ifup wlan0 reported the following root@nanopiair:~# ifup wlan0 wlan0: ERROR while getting interface flags: No such device Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; No such device. Error for wireless request "Set Power Management" (8B2C) : SET failed on device wlan0 ; No such device. wpa_supplicant: cannot read contents of /etc/wpa_supplicant/wpa_supplicant.conf run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Failed to bring up wlan0. WiFi works fine with the FA distribution from https://www.mediafire.com/folder/sr5d0qpz774cs/NanoPi-NEO_Air#oc15bwqbuxgxe. What am I doing wrong? Thanks very much.
  24. Hi all, I am using NanoPi-Neo Air and my application is just logging binary data to a file. The board is powered by usb from a pc. I can dump and list to see binary data inside the file but after unplug power from usb then power up the board from usb again, I found the binary data is gone or some errors data, unknown data appended. Do you guys have same issued? or any suggestions? Thanks in advance
  25. Hi, I am new to nano-pi air neo. I am trying to get analog audio from the device. I had no success with the four connectors near to the camera connector. But if I connect the speaker to the DOUT of the audio, I get the sound but with lots of noises. How can I play audio in this device ? Am I missing something here ? Thank You.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines