sgjava

Members
  • Content Count

    127
  • Joined

  • Last visited

About sgjava

  • Rank
    Elite member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @Igor, thanks again. I used armbian-config to set up the wifi via serial. Do you have an idea when you'll have the dev kernel working? The only reason I'm asking is >= 4.16 allows PWM in user space. Linux nanopiduo 4.14.70-sunxi #240 SMP Mon Sep 17 13:32:31 CEST 2018 armv7l armv7l armv7l GNU/Linux
  2. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    Cool, thanks @Igor I'll check out the new build tonight when I get home and report results here.
  3. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @Igor It worked with beta using 4.17 kernel (Linux nanopiduo 4.17.3-sunxi #28 SMP Sat Jun 30 21:45:31 UTC 2018 armv7l armv7l armv7l GNU/Linux). Don't remember what version it came with or if I updated the kernel.
  4. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @Igor Is there a way to tell the difference between the beta (xradio works) and stable?
  5. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @fehernyul The Armbian mainline beta worked fine with wifi using 4.17 kernel. I'm not sure why the xradio stuff was stripped out of the stable release. If you do not have a mini shield then the only way to access the Duo is through the serial port (USB when plugged into PC powers Duo and allows serial access) or build your own Ethernet port. In any event the stable release is worthless for stand alone Duos which most of my usage scenarios require. I was lucky to have 3 mini shields, so I was able to get Ethernet working to play around with configuring wifi. For now I have been using the FriendlyElec image since xradio works fine, but I'd really like to use Armbian again.
  6. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @ag123 I'll try that this weekend. There are no nightly images for Duo, but I'll try to update armbian-config over Ethernet connection. The dtb looks like it has the right settings, so it's a matter of getting the modules, etc. that were working in the Beta release. Good thing I bought the mini shield or I wouldn't have Ethernet to do this
  7. sgjava

    testers wanted ArmbianIO API proposal

    I think when I built it for Python/Java stuff I made it use a SO since that's the only way to wrap the C lib.
  8. sgjava

    C2 mainline networking issues

    @Igor I fixed this by using armbian-config, clearing interfaces and using /etc/network/interfaces. Now I can reboot with a static address. With NanoPi Duo I had to remove netplan and use ifupdown for eth0, but the xradio wifi stuff seems to be missing from the kernel (modules, etc.). But in essence they exhibited the same issue with eth0.
  9. It seems the networking in Armbian 5.59 is messed up. It creates a eth0 adapter (disabled) and Wired network 1 adapter. You can delete these in nmtui, but they always return. I had the same issue with NanoPi Duo using mainline Stable. I can get it to work a bit using armbian-config, removing all interfaces and configuring IP, but it get screwed up again. I cannot trust to run 5.59 headless because I have no way to get into the SBC without hooking video back up.
  10. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @martinayotte @Igor Both of those sections are in the dtb. I found vcc-wifi: disabling in dmesg, but no xradio stuff. The Duo with beta has xradio dmesg and more files, so it looks like files are missing in Stable release, not just DT problem. Beta: [ 13.746635] xradio_wlan mmc1:0001:1: no mac address provided, using random [ 14.100561] xradio_wlan mmc1:0001:1: missed interrupt [ 14.100717] xradio_wlan mmc1:0001:1: Input buffers: 30 x 1632 bytes [ 14.100724] xradio_wlan mmc1:0001:1: Firmware Label:XR_C01.08.0043 Jun 6 2016 20:41:04 Beta: sudo find / -name xradio* /sys/devices/platform/xradio_pm.0 /sys/bus/platform/devices/xradio_pm.0 /sys/bus/platform/drivers/xradio_pm /sys/bus/platform/drivers/xradio_pm/xradio_pm.0 /sys/bus/sdio/drivers/xradio_wlan /sys/module/mac80211/holders/xradio_wlan /sys/module/xradio_wlan /sys/module/cfg80211/holders/xradio_wlan /lib/modules/4.17.3-sunxi/kernel/drivers/net/wireless/xradio /lib/modules/4.17.3-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko /proc/irq/104/xradio Stable: /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko
  11. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @martinayotte OK, I have static eth0 config working with the Mini Shield and no more dynamically creating adapters on reboot. I still have the original issue of no wifi device. I assume I need to get the XR819 device working. It used to work fine in beta Linux nanopiduo 4.17.3-sunxi #28 SMP Sat Jun 30 21:45:31 UTC 2018 armv7l armv7l armv7l GNU/Linux which has xradio_wlan. Seems to be missing from stable mainline release (only /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko is present). uname -a Linux nanopiduo 4.14.65-sunxi #12 SMP Tue Aug 21 10:46:54 CEST 2018 armv7l armv7l armv7l GNU/Linux lsmod Module Size Used by lz4 16384 20 lz4_compress 53248 1 lz4 zram 24576 5 sun8i_codec_analog 24576 0 snd_soc_core 118784 1 sun8i_codec_analog snd_pcm_dmaengine 16384 1 snd_soc_core snd_pcm 65536 2 snd_pcm_dmaengine,snd_soc_core snd_timer 24576 1 snd_pcm snd 45056 3 snd_timer,snd_soc_core,snd_pcm soundcore 16384 1 snd sun4i_gpadc_iio 16384 0 uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq sch_fq_codel 20480 2 usb_f_acm 16384 1 u_serial 20480 3 usb_f_acm g_serial 16384 0 libcomposite 40960 2 g_serial,usb_f_acm ip_tables 20480 0 x_tables 20480 1 ip_tables pwrseq_simple 16384 1 uas 20480 0 sudo lshw -C network *-network description: Ethernet interface physical id: 7 logical name: eth0 serial: ee:ee:ee:ee:ee:ee size: 100Mbit/s capacity: 100Mbit/s capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=st_mac100 driverversion=Jan_2016 duplex=full ip=192.168.1.69 link=yes multicast=yes port=MII speed=100Mbit/s nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.69 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 Remove netplan, etc. systemctl stop networkd-dispatcher systemctl disable networkd-dispatcher systemctl mask networkd-dispatcher apt-get purge nplan netplan.io
  12. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    OK, I'll start there when I get home.
  13. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    @martinayotte I have a build VM now, so If there's something I can try build wise to get wifi working I'll try it. I was able to get eth0 working using the Mini Shield, but normally I do not use the Mini Shield. If I try to make eth0 static it creates another wired connection, weird.
  14. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    I noticed the build tool mentioned Ethernet in the description for Duo. I'm going to fiddle with the kernel options and see what happens, but when I build an image it exhibits the same behavior.
  15. sgjava

    NanoPi Duo no wifi with lastest Ubuntu

    The previous dev mainline release (maybe from a month or two ago) worked with 4.17 kernel. I'm seeing the same issue using the FriendlyElec dtb, so something is off.