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

Product Groups

  • Misc
  • Support

Categories

  • Armbian
  • Armbian releases

Categories

  • Volunteering opportunities

Calendars

  • Community Calendar

Categories

  • Members

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. Hi, I am using Linux nanopiair 3.4.113-sun8i distribution on my Nano Pi Neo Air and trying to get the g_ether works. After using modprobe g_ether and set up the network/interfaces auto usb0 iface usb0 inet static address 192.168.0.2 netmask 255.255.255.0 then edit /etc/modprobe.d/g_ether.conf: options g_ether host_addr= 06:7b:95:4c:59:d7 After reboot it shows: [ 6.868451] usb0: MAC 06:7b:95:4c:59:d7 [ 6.868475] usb0: HOST MAC 5e:5b:65:8f:94:85 [ 11.484526] systemd[1]: Found device /sys/subsystem/net/devices/usb0. [ 16.249726] ADDRCONF(NETDEV_UP): usb0: link is not ready in this case my PC can not recognize the usb driver when I plug my nano Pi after I set up the DHCP server on the Nano Pi. I do not know if it relates to [ 16.249726] ADDRCONF(NETDEV_UP): usb0: link is not ready
  2. Try to use a DTS file to add bluetooth reset gpio control to rfkill, but `rfkill list` doesn't show "sunxi-bt". /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { bt_pwr_pin: bt_pwr_pin@0 { pins = "PG13"; function = "gpio_out"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { rfkill_bt { compatible = "rfkill-gpio"; pinctrl-names = "default"; pinctrl-0 = <&bt_pwr_pin>; reset-gpios = <&pio 6 13 1>; clocks = <&osc32k>; clock-frequency = <32768>; rfkill-name = "sunxi-bt"; rfkill-type = "bluetooth"; }; }; }; }; Background: Try to enable bluetooth on Nanopi Neo Air. After a lot of search, get bluetooth work finally. A few details are: 1. enable UART3 and its CTS & DTS. In /boot/armbianEnv.txt, add something like: param_uart3_rtscts=1 overlays=uart3 2. control bluetooth reset pin PG13 3. enable RTC LOSC output I use a script to test: #!/bin/sh # sudo apt install sunxi-tools devmem2 echo 'Enable 32K RTC LOSC output' devmem2 0x1f00060 b 1 echo 'reset bt' sunxi-pio -m PG13=0 sleep 1 sunxi-pio -m PG13=1 sleep 1 echo 'attach' hciattach /dev/ttyS3 bcm43xx 1500000 flow bdaddr 11:22:33:44:55:66 echo 'config' #hciconfig hci0 up To setup RTC LOSC and PG13, we can also use the above DTS file.
  3. I haven't solved the problem of spdif-out on mainline kernel. But, on legacy kernel 3.4.112, spdif-out works. but, has a limitation upt 48khz? doesn't work of 88khz, 96khz, 176khz on my Nanopi Neo Air 1.0. Is it correct to have a limitation. Thanks in advance.
  4. Hello, as already described in this topic: https://forum.armbian.com/topic/5619-nanopi-duo-sound-delay/ I have the same problem with delayed audio. -> " if I run speaker-test -t wav, instead of the sound playing "front left" it just play the work left, the continues playing "front left" correctly." When I run an audio-output-command two times, the audio is played well with the second command. But the greater problem in my case is a loud cracking noise when audio stops. Is there anyway to prevent the shutdown of the amplifier? I have to repeatingly start and stop audio files from nodejs. Thanks for your help, Jimmy
  5. Hi, I have a quesiton/problem: How can I access the Nano Pi Neo Air with current Ambian (Stretch) OS (Armbian_5.69_Nanopiair_Debian_stretch_next_4.19.13) using USB SSH? Access to serial console is working fine, but I need SSH. How can I activate this, WLAN is no option for me due to requirements for the systems. Thank you!
  6. I have few of i2c devices that was successfully tested working with RPi Zero W (Tiny RTC, BME280), but no one is visible to NanoPi Neo Air board with Armbian. I can't get it to work on latest few versions of Armbian. As soon as I add i2c0 to overlays there appears two of i2c devices (both silent): $ ls -la /dev/i2c* crw-rw---- 1 root i2c 89, 0 Jan 28 14:58 /dev/i2c-0 crw-rw---- 1 root i2c 89, 1 Jan 28 14:58 /dev/i2c-1 I need to admit that scan itself took quite significant amount of time. $ sudo time i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- 0.00user 0.04system 3:59.62elapsed 0%CPU (0avgtext+0avgdata 1036maxresident)k 0inputs+0outputs (0major+64minor)pagefaults 0swaps Since it could be a problem with pull-up resistors, I've tried to add 4K7 resistors to SDA and to SCL lines, but situation remains the same. What am I doing wrong? What step is missed? Will appreciate any help. Thank you.
  7. Good time of day fellows. How can I mount SD card to transfer data into when Armbian 3.35 Ubuntu 16.04 started from flash? Cant see SD card nor mount it. Installed USBmount and it works with USB flashes on OTG port but no with SD card. Thanks to anyone for advice. Additional info: NanoPi Air 32Gb eMMC http://sprunge.us/OLNS
  8. I haven't had any luck getting the ov5640 camera module working with the nanopi air. I have compiled the latest dev version of bionic and enabled the ov5640 as a module in menuconfig. I currently cannot get it showing up under /dev/video* Any ideas?
  9. 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
  10. I had to resolder the pins of the debug port on my NanoPi NEO Air and must have damaged the RX connection as I am unable to send commands but can receive read the debug output fine. Is it possible to change the debug port to UART1 or create another root terminal at another serial port?
  11. 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?
  12. 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?
  13. I am using legacy kernel 3.4.113 with Nano-PI NEO/AIR. Up until recently every thing is fine. With NEO/AIR new boards nand-sata-install script is failing with "There is no targets". Unfortunately it is lot of work to upgrade the kernel to mainline at this stage. I greatly appreciate if anyone share the steps to fix this issue for this kernel.
  14. Has anyone had any success with installing numpy on the NanoPi Neo Air? Installing via pip install numpy -v it hangs at these same lines every time: arm-linux-gnueabihf-gcc: numpy/linalg/lapack_litemodule.c arm-linux-gnueabihf-gcc: numpy/linalg/lapack_lite/python_xerbla.c arm-linux-gnueabihf-gcc: numpy/linalg/lapack_lite/f2c_z_lapack.c arm-linux-gnueabihf-gcc: numpy/linalg/lapack_lite/f2c_c_lapack.c arm-linux-gnueabihf-gcc: numpy/linalg/lapack_lite/f2c_d_lapack.c arm-linux-gnueabihf-gcc: numpy/linalg/lapack_lite/f2c_s_lapack.c I am unable to get a response from the serial terminal or ssh into the device whilst it hangs here. I'm currently using Armbian Ubuntu 18.04.
  15. My problem is that each time I try to do anything related to LCD over frame buffer I got next error: ioctl FBIOGET_VSCREENINFO: Inappropriate ioctl for device LCDs (ili9341, st7735s) I'm able to test behave exactly the same way -- every time lighted up white screen, but nothing more. I have NanoPi Neo Air with Armbian (5.59 Nanopiair Debian stretch 4.14.65) on it. All packages in system already updated to latest available versions. Problem remains as on stable kernel, same on nightly build. Currently I have: $ uname -a && cat /etc/issue Linux nanopiair 4.14.74-sunxi #330 SMP Mon Oct 8 00:57:54 CEST 2018 armv7l GNU/Linux Debian GNU/Linux 9 \n \l I'm successfully loading SPI: $ grep spi /boot/armbianEnv.txt overlays=spi-spidev usbhost1 usbhost2 param_spidev_spi_bus=0 param_spidev_spi_cs=0 Here is the way I'm trying to load fbtft_device (e.g. Waveshare 1.44 which is st7735s): modprobe fbtft_device name=fb_st7735r speed=16000000 busnum=0 cs=0 gpios=reset:1,dc:201,led:200,cs:67 custom=1 fps=60 bgr=1 custom=1 verbose=3 width=128 height=128 Wiring was already rechecked for few times already. As a result I can see in dmesg: [ 171.665158] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 171.670433] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [ 171.671639] spidev spi0.0: spidev spi0.0 1000kHz 8 bits mode=0x00 [ 171.671746] spidev spi0.0: Deleting spi0.0 [ 171.672721] fbtft_device: GPIOS used by 'fb_st7735r': [ 171.672735] fbtft_device: 'reset' = GPIO1 [ 171.672739] fbtft_device: 'dc' = GPIO201 [ 171.672743] fbtft_device: 'led' = GPIO200 [ 171.672749] fbtft_device: 'cs' = GPIO67 [ 171.672765] spi spi0.0: fb_st7735r spi0.0 16000kHz 8 bits mode=0x00 [ 171.684388] fb_st7735r: module is from the staging directory, the quality is unknown, you have been warned. [ 172.603112] Console: switching to colour frame buffer device 16x16 [ 172.603392] graphics fb0: fb_st7735r frame buffer, 128x128, 32 KiB video memory, 4 KiB buffer memory, fps=100, spi0.0 at 16 MHz And there is /dev/fb0. But unfortunately next actions can't draw anything on screen: sudo head --bytes 153600 /dev/urandom > /dev/fb0 yes | head --bytes 76800 > /dev/fb0 The only way to get at least some error is to run (from user of from sudo): $ fbset -i -v ioctl FBIOGET_VSCREENINFO: Inappropriate ioctl for device I'll appreciate any help. Thanks.
  16. hi I am grateful for the help that will be given to me. Please help me with the launch of the cam500a by Nano Air. I tried to use http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Air#Connect_to_DVP_Camera_CAM500B guides and go along with it. but I did not succeed . I am very beginner and need help. This is all that I get by following the guide http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Air#Connect_to_DVP_Camera_CAM500B. root@NanoPi-NEO-Air:~# cd /root/mjpg-streamer root@NanoPi-NEO-Air:~/mjpg-streamer# make make: svnversion: Command not found make: Warning: File 'Makefile' has modification time 427105 s in the future gcc -D'SVN_REV=""' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o mjpg_streamer.o mjpg_streamer.c gcc -D'SVN_REV=""' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o utils.o utils.c gcc -D'SVN_REV=""' -O2 -DLINUX -D_GNU_SOURCE -Wall mjpg_streamer.o utils.o -lpthread -ldl -o mjpg_streamer chmod 755 mjpg_streamer make -C plugins/input_uvc all make[1]: Entering directory '/root/mjpg-streamer/plugins/input_uvc' make[1]: Warning: File 'Makefile' has modification time 427103 s in the future gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o v4l2uvc.lo v4l2uvc.c v4l2uvc.c: In function ‘init_videoIn’: v4l2uvc.c:88:23: warning: variable ‘currentHeight’ set but not used [-Wunused-but-set-variable] int currentWidth, currentHeight = 0; ^ v4l2uvc.c:88:9: warning: variable ‘currentWidth’ set but not used [-Wunused-but-set-variable] int currentWidth, currentHeight = 0; ^ gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o jpeg_utils.lo jpeg_utils.c jpeg_utils.c: In function ‘compress_yuv_to_jpeg’: jpeg_utils.c:208:27: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized] r = (y + (359 * v)) >> 8; ^ jpeg_utils.c:209:26: warning: ‘u’ may be used uninitialized in this function [-Wmaybe-uninitialized] g = (y - (88 * u) - (183 * v)) >> 8; ^ jpeg_utils.c:209:20: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] g = (y - (88 * u) - (183 * v)) >> 8; ^ gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o dynctrl.lo dynctrl.c gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory '/root/mjpg-streamer/plugins/input_uvc' cp plugins/input_uvc/input_uvc.so . make -C plugins/output_file all make[1]: Entering directory '/root/mjpg-streamer/plugins/output_file' make[1]: Warning: File 'Makefile' has modification time 427099 s in the future gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_file.so output_file.c make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory '/root/mjpg-streamer/plugins/output_file' cp plugins/output_file/output_file.so . make -C plugins/output_udp all make[1]: Entering directory '/root/mjpg-streamer/plugins/output_udp' make[1]: Warning: File 'Makefile' has modification time 427098 s in the future gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_udp.so output_udp.c make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory '/root/mjpg-streamer/plugins/output_udp' cp plugins/output_udp/output_udp.so . make -C plugins/output_http all make[1]: Entering directory '/root/mjpg-streamer/plugins/output_http' make[1]: Warning: File 'Makefile' has modification time 427097 s in the future gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o httpd.lo httpd.c gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_http.so output_http.c httpd.lo make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory '/root/mjpg-streamer/plugins/output_http' cp plugins/output_http/output_http.so . make -C plugins/input_file all make[1]: Entering directory '/root/mjpg-streamer/plugins/input_file' make[1]: Warning: File 'Makefile' has modification time 427094 s in the future make[1]: Nothing to be done for 'all'. make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory '/root/mjpg-streamer/plugins/input_file' cp plugins/input_file/input_file.so . make: warning: Clock skew detected. Your build may be incomplete. root@NanoPi-NEO-Air:~/mjpg-streamer# ./start.sh MJPG Streamer Version: svn rev: i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1280 x 720 i: Frames Per Second.: 30 i: Format............: YUV i: JPEG Quality......: 90 ERROR opening V4L interface: No such file or directory Init v4L2 failed !! exit fatal i: init_VideoIn failed root@NanoPi-NEO-Air:~/mjpg-streamer# What should i do
  17. Hello, I'm looking for an efficient way to update the eMMC-memory of multiple NanoPi NEO Air's (roll out a production image). I was thinking about integrating my own image in to the eflasher from FriendlyElec but then found this possibility to access the integrated memory via USB-OTG and FEL. https://forum.armbian.com/topic/1580-nanopi-neo-air/?page=9 Wherefore basically two repos are used: sunxi-tools fel-mass-storage I tried following the instructions, build and installed the sunxi-tools (sunxi-fel) and used "dd" to copy "fel-sdboot.img" to an empty SD card. For testing I took a brand new NanoPi NEO Air, connected UART0 with my PC and used "screen" to see the console/debug information. The SD card wont boot, but the pre installed Friendly-Ubuntu starts up. Somewhere I found an even smaller "fel-sdboot.sunxi" file which is also not starting up. I dont know if there is an error with the Image or a way to force booting from SD card. Afterwards I decided to initialize FEL through serial console . Hitting "1" in serial console while booting up the NanoPi. Output: script config pll_video to 297 Mhz script config pll_periph0 to 600 Mhz DRV_DISP_Init end [disk_read_fs] no the partition error: open tv_vdid.fex, maybe it is not exist [disk_read_fs] no the partition error: open disp_rsl.fex, maybe it is not exist [disk_read_fs] no the partition error: open disp_rsl.fex, maybe it is not exist boot_disp.auto_hpd=1 auto hpd check has 100 times! auto check no any connected, the output_type is 4 [ 1.774]finally, output_type=0x4, output_mode=0x4, screen_id=0x0, disp_para=0x0 try to read logic blk 0 without env partition *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial --------fastboot partitions-------- mbr not exist base bootcmd=run setargs_mmc boot_normal bootcmd set setargs_mmc key 0 cant find rcvy value cant find fstbt value no misc partition is found to be run cmd=run setargs_mmc boot_normal the secure storage map is empty no item name rootwait storage_type in the map sunxi storage read fail no item name selinux in the map sunxi storage read fail no item name fsck.repair in the map sunxi storage read fail check user data form private the private part isn't exist WORK_MODE_BOOT adver not need show sunxi_bmp_logo_display [ 1.868][mmc]: blkcnt should not be 0 [ 1.881]screen_id =0, screen_width =0, screen_height =0 [ 1.887]frame buffer address 46400036 [ 1.891]Hit any key to stop autoboot: 0 sunxi# Then I entered "efex" and got this output: The size of uboot is 000e4000. sum=2d2c1301 src_sum=2d2c1301 set_mmc_para,sdly 50M 0 set_mmc_para,sdly 25M 0 Succeed in loading uboot from sdmmc flash. Ready to disable icache. Jump to secend Boot. SUNXI_NORMAL_MODE [ 0.290]e mode U-Boot 2011.09-rc1-00000-g445b952 (Mar 28 2017 - 10:59:46) Allwinner Technology [ 0.298]version: 1.1.0 [ 0.301]uboot commit : 445b95289941113f1e767532e746774e063a30f3 normal mode [ 0.312]pmbus: ready not set main pmu id axp_probe error gpio value=0x20000 [ 0.350]PMU: pll1 1008 Mhz,PLL6=600 Mhz AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz sid read already fel key new mode run key detect no key found 0x32 set next system status reset cpu HELLO! BOOT0 is starting! boot0 version : 4.0.0 boot0 commit : 445b95289941113f1e767532e746774e063a30f3 fel_flag = 0x5aa5a55a rtc[0] value = 0x00000000 rtc[1] value = 0x00000000 rtc[2] value = 0x5aa5a55a rtc[3] value = 0x00000000 rtc[4] value = 0x00000000 rtc[5] value = 0x00000000 rtc[6] value = 0x00000000 rtc[7] value = 0x00000000 eraly jump fel This looks different then the example serial output. Boot1 is not started in my case. On my development PC neither "lsusb" nor "sunxi-fel version" (ERROR: Allwinner USB FEL device not found!) found a new device. Edit: I have successfully entered FEL-Mode on the NanoPi by hitting "1" at boot and then "go 0xffff0020". There is no Output in serial console but "lsusb" recognizes a new device: "Bus 001 Device 012: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode" But I'm still not able to access the device on my Linux machine. (Testet on Windows and was able to see 3 partitions on the eMMC) So there is a problem with sunxi-tools on my Linux PC. zador-blood-stained/fel-mass-storage -> Preparation: (optional) add udev rule to allow access to USB devices to users belonging to (previously created) "sunxi-fel" group: - There is no group "sunxi-fel" in "/etc/group" - Nevertheless I created the rule in "/etc/udev/rules.d/100-my.rules" "sudo sunxi-fel -l" Outputs: "libusb_open() ERROR -1: Input/Output Error" - So there seems to be a problem between libusb and sunxi? Maybe I messed something up while I was building and installing it. I remember that I had trouble building/compiling before installing "pkg-config" and "libusb-1.0-0-dev". After installing these packages I used "make tools" and "make install-tools" to install sunxi-fel. Does anyone know how to fix "ibusb_open() ERROR -1"? Edit[2]: Using an other PC I was able to find the NanoPi via "sunxi-fel version" cmd. Seems to be a problem of user rights. Then i started the mass-storage script from GitHub: /fel-mass-storage# ./start.sh Connect device in FEL mode and press <Enter> Unexpected SCTLR (00C5287A) and ended up in a new error. Thanks for your help, Jimmy Pesto
  18. Hi, After running nand-sata-install at the step "eMMC install: Formating /dev/mmcblk1 to ext4 ... please wait:" mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. dmesg: [ 72.516530] EXT4-fs (mmcblk1p1): Unrecognized mount option "flush" or missing value [ 73.928286] EXT4-fs (mmcblk1p1): Unrecognized mount option "flush" or missing value [ 74.238966] EXT4-fs (mmcblk1p1): Unrecognized mount option "flush" or missing value [ 74.822857] +mmc_blk_issue_discard_rq,1809 [ 74.822921] mmc2:mmc_do_erase: erase from 8192 to 40959 arg 0x00000003 [ 74.839657] -mmc_blk_issue_discard_rq,1845 [ 74.839923] +mmc_blk_issue_discard_rq,1809 [ 74.839975] mmc2:mmc_do_erase: erase from 40960 to 4235263 arg 0x00000003 [ 75.908687] -mmc_blk_issue_discard_rq,1845 [ 75.908733] +mmc_blk_issue_discard_rq,1809 [ 75.908749] mmc2:mmc_do_erase: erase from 4235264 to 8429567 arg 0x00000003 [ 77.046410] -mmc_blk_issue_discard_rq,1845 [ 77.046454] +mmc_blk_issue_discard_rq,1809 [ 77.046472] mmc2:mmc_do_erase: erase from 8429568 to 12623871 arg 0x00000003 [ 78.106266] -mmc_blk_issue_discard_rq,1845 [ 78.106311] +mmc_blk_issue_discard_rq,1809 [ 78.106329] mmc2:mmc_do_erase: erase from 12623872 to 15117183 arg 0x00000003 [ 78.738142] -mmc_blk_issue_discard_rq,1845 [ 82.851026] EXT4-fs (mmcblk1p1): Unrecognized mount option "flush" or missing value [ 82.957791] EXT4-fs (mmcblk1p1): Unrecognized mount option "compress-force=zlib" or missing value and my NanoPi Neo Air could not boot from eMMC Help me, please. Thank you.
  19. 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.
  20. 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.
  21. I have a NanoPi Neo Air (Allwinner H3 SoC) with onboard wifi and a serial interface. Unfortunately during some late hour hacking I managed to accidentally connect 5V onto its TX pin, I think effectively screwing up its UART0. I can no longer connect to it via a USB to TTL Serial cable. Looking at the NeoPi Nano Air's pinout diagram, it seems to have more UART devices (UART1 and UART2 even) so I wonder whether there's a way to set up armbian to communicate via these during boot? Another idea I had was to try to bypass the UART completely and to hook up the board via the wifi. Now, without having any access to a serial console, I need to try getting armbian to connect to a wifi automatically and run an SSH service so that I can control the board. How does one go about this? Do I need to get a bootloader config in place somehow? How do I do it without having another Allwinner H3 device? Any help would be appreciated. Thank you in advance.
  22. I would like to test or reinstall my nanopi air, but I can only find download for "neo core / air" "testing version" with mainline kernel. In fact I was looking for an uptodate uboot/kernel for legacy kernel or a "usable" version with mainline - that is for me - with an asix module and working WIFI / BT.
  23. Hello, I am trying to connect an Android Phone in order to my NanoPi Air in order to be able to have access via IP (ssh, webserver...). I set a bridge to share different BT connections: brctl addbr pan0 brctl setfd pan0 0 brctl stp pan0 off ifconfig pan0 192.168.42.1 netmask 255.255.255.0 ip link set up dev pan0 I register auth agent: bt-agent -c NoInputNoOutput I register network NAP agent: bt-network -s nap pan0 I am able to connect but when I try to enable "Internet access" into my Android phone it fails. I can see in syslog log: Apr 2 16:26:28 localhost bluetoothd[2960]: bnep: Can't add bnep0 to the bridge pan0: Invalid argument(22) Apr 2 16:26:28 localhost bluetoothd[2960]: BNEP server cannot be added Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0133] devices added (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0) Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0136] device added (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0): no ifupdown configuration found. Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0371] devices removed (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0) It seems to fail when NanoPi tries to add bnep0 to pan0 bridge but I don't know why. Any idea? Regards
  24. Using Nanopi neo. Linux Lap 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l GNU/Linux I've tried both the Jessie and Ubuntu versions on the site and tried changing the the kernels to 4.x with the next and dev versions. I get similar results in each. Tried to upload diagnostics but got server error I have an IP camera connected directly to the ethernet port with static IP on both the camera and the port. I ssh to the nanopi via wifi. The wifi port is forwarded to the ethernet connection so I can get images from the camera. The ethernet connection seems to drop at random intervals but the time that it down/up are exactly 1 second multiples. I've got a couple of nanopi and a couple of the same cameras and tried them in different combos with the same results. Tried different power supplies. I haven't found a similar problem on the internet. Must be something that I'm doing .... This is a section of the dmesg log [Jan16 16:06] PHY: gmac0-0:00 - Link is Down [ +2.000012] PHY: gmac0-0:00 - Link is Up - 100/Full [ +19.999982] PHY: gmac0-0:00 - Link is Down [ +1.999998] PHY: gmac0-0:00 - Link is Up - 100/Full [ +5.999988] PHY: gmac0-0:00 - Link is Down [ +1.000022] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 16:33] PHY: gmac0-0:00 - Link is Down [ +1.999999] PHY: gmac0-0:00 - Link is Up - 100/Full [ +2.000010] PHY: gmac0-0:00 - Link is Down [ +2.999958] PHY: gmac0-0:00 - Link is Up - 100/Full [ +14.000039] PHY: gmac0-0:00 - Link is Down [ +1.000001] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:00] PHY: gmac0-0:00 - Link is Down [ +0.999890] PHY: gmac0-0:00 - Link is Up - 100/Full [ +12.000095] PHY: gmac0-0:00 - Link is Down [ +1.000006] PHY: gmac0-0:00 - Link is Up - 100/Full [ +23.999968] PHY: gmac0-0:00 - Link is Down [ +1.000033] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:03] PHY: gmac0-0:00 - Link is Down [ +2.000002] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:05] PHY: gmac0-0:00 - Link is Down [ +0.999836] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:10] PHY: gmac0-0:00 - Link is Down [ +0.999994] PHY: gmac0-0:00 - Link is Up - 100/Full [ +28.000053] PHY: gmac0-0:00 - Link is Down [ +1.999997] PHY: gmac0-0:00 - Link is Up - 100/Full There are some dropped wifi packets but no ethernet. root@Lap:~# ifconfig eth0 Link encap:Ethernet HWaddr 46:bf:e5:d8:89:bf inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::44bf:e5ff:fed8:89bf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4482690 errors:0 dropped:0 overruns:0 frame:0 TX packets:3301078 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2301875353 (2.1 GiB) TX bytes:193423473 (184.4 MiB) Interrupt:114 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:200 errors:0 dropped:0 overruns:0 frame:0 TX packets:200 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16656 (16.2 KiB) TX bytes:16656 (16.2 KiB) wlan0 Link encap:Ethernet HWaddr 00:0b:81:81:58:42 inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20b:81ff:fe81:5842/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3315272 errors:0 dropped:11889 overruns:0 frame:0 TX packets:4502840 errors:0 dropped:3 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:335517701 (319.9 MiB) TX bytes:2434428264 (2.2 GiB) Could it be that I messed up iptables? The images are coming through. root@Lap:~# iptables -L -vt nat Chain PREROUTING (policy ACCEPT 241 packets, 11574 bytes) pkts bytes target prot opt in out source destination 37210 2233K DNAT tcp -- wlan0 any anywhere anywhere tcp dpt:5006 to:10.0.0.100:80 Chain INPUT (policy ACCEPT 15 packets, 3372 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 114 packets, 8444 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 114 packets, 8444 bytes) pkts bytes target prot opt in out source destination 37210 2233K SNAT tcp -- any eth0 anywhere anywhere to:10.0.0.1 I can't see anything which is causing it. Suggestions? Regards, Gord_W
  25. I received NanoPi NEO and NEO Air boards along with the NanoHat PCM5102a that FriendlyArm is selling: http://www.friendlyarm.com/index.php?route=product/product&product_id=169 It's a good quality audio stereo out addon board compatible with NEO and NEO Air. I got it working with Armbian on NEO Air! I adapted commits from FA's repo to match Armbian's tree and get that DAC working, (original commits here: https://github.com/friendlyarm/h3_lichee/search?utf8=%E2%9C%93&q=pcm5102a+&type=Commits). Add these to 'userpatches/kernel/sun8i-default`: https://gist.github.com/Simon-L/c8c119c86d7d3fe4316387c3ae818379 Add this config to 'userpatches' to have the driver built-in: https://gist.github.com/Simon-L/56bf6a3ec423e37973ee0da0bc16979f Then run './compile.sh' The fex file also needs to be modified, you can use this one: https://gist.github.com/Simon-L/f0c88190814f0f482773e81512e56553 This should be all that's needed! Test it with 'aplay /usr/share/sounds/alsa/Noise.wav' and install madplay if you want to try with mp3 files. Can I safely share the content of the /boot folder and expect it to work for user copy-pasting it to the /boot folder on their sdcard? It has the kernel and the fex which are the only files the process has modified. Obviously you'd still have to trust me I'm trying to turn this into a more straightforward way. Do I need to commit to modify defconfig and .fex file or is it supported in userpatches/ folder as well? There is one issue reported in syslog that doesn't seem to prevent it from working, here's the relevant part of the log: [ 1.598532] pcm5102a_probe [ 1.607823] asoc: snddaudio <-> pri_dai mapping ok [ 1.610531] ------------[ cut here ]------------ [ 1.610583] WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x8c/0xac() [ 1.610604] sysfs: cannot create duplicate filename '/devices/platform/snddaudio' [ 1.610625] Modules linked in: [ 1.610694] [<c0016a20>] (unwind_backtrace+0x0/0xe8) from [<c0617cc0>] (dump_stack+0x20/0x24) [ 1.610742] [<c0617cc0>] (dump_stack+0x20/0x24) from [<c0029750>] (warn_slowpath_common+0x5c/0x74) [ 1.610788] [<c0029750>] (warn_slowpath_common+0x5c/0x74) from [<c00297a8>] (warn_slowpath_fmt+0x40/0x48) [ 1.610833] [<c00297a8>] (warn_slowpath_fmt+0x40/0x48) from [<c017aab8>] (sysfs_add_one+0x8c/0xac) [ 1.610877] [<c017aab8>] (sysfs_add_one+0x8c/0xac) from [<c017acb8>] (create_dir+0x70/0xc4) [ 1.610917] [<c017acb8>] (create_dir+0x70/0xc4) from [<c017b0bc>] (sysfs_create_dir+0xc4/0xe4) [ 1.610965] [<c017b0bc>] (sysfs_create_dir+0xc4/0xe4) from [<c0306bf0>] (kobject_add_internal+0xdc/0x1d0) [ 1.611013] [<c0306bf0>] (kobject_add_internal+0xdc/0x1d0) from [<c0306ef8>] (kobject_add+0x78/0x90) [ 1.611064] [<c0306ef8>] (kobject_add+0x78/0x90) from [<c03b0078>] (device_add+0xf8/0x578) [ 1.611114] [<c03b0078>] (device_add+0xf8/0x578) from [<c03b4208>] (platform_device_add+0x110/0x16c) [ 1.611161] [<c03b4208>] (platform_device_add+0x110/0x16c) from [<c03b47a4>] (platform_device_register+0x30/0x34) [ 1.611214] [<c03b47a4>] (platform_device_register+0x30/0x34) from [<c08f6f94>] (sunxi_snddaudio0_init+0x54/0xa4) [ 1.611263] [<c08f6f94>] (sunxi_snddaudio0_init+0x54/0xa4) from [<c000867c>] (do_one_initcall+0xa8/0x164) [ 1.611313] [<c000867c>] (do_one_initcall+0xa8/0x164) from [<c08d1a74>] (kernel_init+0x168/0x254) [ 1.611364] [<c08d1a74>] (kernel_init+0x168/0x254) from [<c000f1b0>] (kernel_thread_exit+0x0/0x8) [ 1.611455] ---[ end trace bd16a9742f20e8dd ]--- [ 1.611481] ------------[ cut here ]------------ [ 1.611509] WARNING: at lib/kobject.c:198 kobject_add_internal+0x180/0x1d0() [ 1.611533] kobject_add_internal failed for snddaudio with -EEXIST, don't try to register things with the same name in the same directory. [ 1.611560] Modules linked in: [ 1.611601] [<c0016a20>] (unwind_backtrace+0x0/0xe8) from [<c0617cc0>] (dump_stack+0x20/0x24) [ 1.611644] [<c0617cc0>] (dump_stack+0x20/0x24) from [<c0029750>] (warn_slowpath_common+0x5c/0x74) [ 1.611686] [<c0029750>] (warn_slowpath_common+0x5c/0x74) from [<c00297a8>] (warn_slowpath_fmt+0x40/0x48) [ 1.611732] [<c00297a8>] (warn_slowpath_fmt+0x40/0x48) from [<c0306c94>] (kobject_add_internal+0x180/0x1d0) [ 1.611778] [<c0306c94>] (kobject_add_internal+0x180/0x1d0) from [<c0306ef8>] (kobject_add+0x78/0x90) [ 1.611825] [<c0306ef8>] (kobject_add+0x78/0x90) from [<c03b0078>] (device_add+0xf8/0x578) [ 1.611870] [<c03b0078>] (device_add+0xf8/0x578) from [<c03b4208>] (platform_device_add+0x110/0x16c) [ 1.611915] [<c03b4208>] (platform_device_add+0x110/0x16c) from [<c03b47a4>] (platform_device_register+0x30/0x34) [ 1.611962] [<c03b47a4>] (platform_device_register+0x30/0x34) from [<c08f6f94>] (sunxi_snddaudio0_init+0x54/0xa4) [ 1.612007] [<c08f6f94>] (sunxi_snddaudio0_init+0x54/0xa4) from [<c000867c>] (do_one_initcall+0xa8/0x164) [ 1.612052] [<c000867c>] (do_one_initcall+0xa8/0x164) from [<c08d1a74>] (kernel_init+0x168/0x254) [ 1.612098] [<c08d1a74>] (kernel_init+0x168/0x254) from [<c000f1b0>] (kernel_thread_exit+0x0/0x8) [ 1.612125] ---[ end trace bd16a9742f20e8de ]--- Any hint? The codec still works fine. There is no control in alsamixer. Thanks to @tkaiser and @Igor for their help on IRC.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines