Jump to content

Search the Community

Showing results for 'xradio'.

  • 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. Hi everyone, Got problem with WiFi using nightly kernel. I installed Armbian_5.24.161219_Orangepizero_Ubuntu_xenial_4.9.0.7z and upgraded the nightly repo via sed -i "s/apt/beta/" /etc/apt/sources.list.d/armbian.list apt-get update apt-get upgrade then copied the repo from github.com/fifteenhex/xradio and compiled the kernel with root@orangepizero:# make -C /lib/modules/4.9.0-sun8i/build M=`pwd` modules -j4 root@orangepizero:# cp xradio_wlan.ko /lib/modules/4.9.0-sun8i/kernel/drivers/net/wireless root@orangepizero:# depmod -a root@orangepizero:# modprobe xradio_wlan and loaded the kernel module properly. dmesg: [ 246.402613] xradio_wlan: loading out-of-tree module taints kernel. [ 246.404432] xradio_wlan: unknown parameter 'macaddr' ignored But there are no interface available at ifconfig -a as a wlan0. I also tried original branch of xradio with same result. Can you guess why?
  2. This is the error that is showing up on DMESG while booting - [ 8.505766] xradio wlan power on [ 9.015178] [XRADIO_ERR] xradio_load_firmware: can't read config register, err=-110. [ 9.024007] [XRADIO_ERR] xradio_load_firmware failed(-110). [ 9.351533] xradio wlan power off
  3. Hi I've bought two weeks ago Orange Pi Zero 512M with WiFi and still can not make WIFi work. I tried Armbian_5.24_Orangepizero_Debian_jessie_3.4.113, Armbian_5.24_Orangepizero_Ubuntu_xenial_3.4.113, Armbian_5.24.161208_Orangepizero_Ubuntu_xenial_3.4.113 "ifconfig -a" does not show wlan0 interface modprobe xradio_wlan modprobe: ERROR: could not insert 'xradio_wlan': Connection timed out grep XRADIO syslog Dec 15 11:05:08 localhost kernel: [ 1303.967141] [XRADIO_ERR] xradio_host_dbg_init failed=2599 Dec 15 11:05:08 localhost kernel: [ 1303.967200] [XRADIO] Driver Label:L34M.01.08.0002 Nov 14 2016 08:41:12 Dec 15 11:05:08 localhost kernel: [ 1303.967401] [XRADIO] Allocated hw_priv @ d4be9240 Dec 15 11:05:08 localhost kernel: [ 1303.967985] [XRADIO_ERR] Access_file failed, path:/data/xr_wifi.conf! Dec 15 11:05:09 localhost kernel: [ 1304.126722] [XRADIO] Detect SDIO card 1 Dec 15 11:05:11 localhost kernel: [ 1306.184294] [XRADIO] Remove SDIO card 1 Dec 15 11:05:11 localhost kernel: [ 1306.194319] [XRADIO_ERR] sbus_sdio_init failed I've seen in forums that in armbian wifi works from the beginning. In my case it can not even load the driver. What do I do wrong or it is just a faulty Zero?
  4. On first glance I see some XRADIO_ERR errors, this xradio is the wifi driver I believe...But I'm not a dev so just sharing obervations.
  5. That is good news ! So, I've started trying this out even before PR been merged. It compiled fine, but boot freeze ... Early investigation : boot freeze isn't related with xradio, but related with branch switch. Using DTB from sun8i-emac-wip-v5 branch along with this new build binaries is Ok. So, something is wrong in DT of orange-pi-4.9 branch for Zero ! More investigations tomorrow ...
  6. The one that came with latest Armbian: zero@orangepizero:~$ sudo modinfo xradio_wlan filename: /lib/modules/3.4.113-sun8i/kernel/drivers/net/wireless/xradio/xradio_wlan.ko alias: xradio_core license: GPL description: XRadioTech WLAN driver core author: XRadioTech depends: mac80211 intree: Y vermagic: 3.4.113-sun8i SMP preempt mod_unload modversions ARMv7 p2v8 parm: macaddr:First MAC address (charp)
  7. Which version of the xradio driver? Anyhow you are probably missing interrupts.
  8. Got mine delivered (Lahore, Pakistan) earlier this week but only just managed to test it. Everything is running smooth so far except wifi which has huge latency problem. Tried disabling power management but no luck. I know it's just early days with xradio driver but is this known issue? Some info and ping results: zero@orangepizero:~$ sudo iwconfig wlan0 IEEE 802.11bgn ESSID:"XS 2.4G" Mode:Managed Frequency:2.462 GHz Access Point: xx:xx:xx:xx:xx:xx Bit Rate=39 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=60/70 Signal level=-50 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:54 Invalid misc:0 Missed beacon:0 ping 192.168.5.174 64 bytes from 192.168.5.174: icmp_seq=0 ttl=64 time=3562.208 ms 64 bytes from 192.168.5.174: icmp_seq=3 ttl=64 time=546.935 ms 64 bytes from 192.168.5.174: icmp_seq=4 ttl=64 time=1003.713 ms 64 bytes from 192.168.5.174: icmp_seq=5 ttl=64 time=587.229 ms
  9. Refactoring (Fix the structure and back filling the existing code until it works) the xr819 driver is taking some time so I have created a branch that incorporates some changes that make the driver work properly with a DT based system and added some usage instructions: https://github.com/fifteenhex/xradio/tree/original Aside from that a mainline based branch that has a DT for the pi zero and has working ethernet etc is available here: https://github.com/fifteenhex/linux/tree/orangepizero I will add a defconf for the pi zero sometime today. Uboot with a defconf for the pi zero is here: https://github.com/fifteenhex/u-boot/tree/orangepizero
  10. Unless you need SPI (which is planned for 4.10 apparently) you should be able to do everything you want with the mainline kernel and the current xradio driver. Once SPI is supported it should be possible to put a very small rootfs (buildroot generated or similar) on the SPI flash and have a system that that's a bit more reliable than a complete linux distro running on SD cards.
  11. No, he did a lot more work that Icenowy has not done yet. Many empty stubs were still there in her branch. https://github.com/Icenowy/xradio/compare/master...fifteenhex:master For the MAC, he merged a commit from her : https://github.com/fifteenhex/xradio/commit/911c488ebab45d075215ae4967044134df358ad7
  12. Out of tree Wi-Fi driver that works with mainline kernel: https://github.com/fifteenhex/xradio (DT bits here)
  13. It seems that Icenowy is working to port the XRadio WiFi driver into mainline. Not ready yet, but should be there soon. https://github.com/Icenowy/xradio
  14. This might be related. So maybe just wait how she solves it and then 'port' the fix back to BSP driver the next days? I also wonder whether this xradio thingie needs special module load options to work in AP mode? And does anyone already have a clue whether monitor mode should also work?
  15. AP mode is supported, see http://filez.zoobab.com/allwinner/h2/201609022/lichee/linux-3.4/drivers/net/wireless/xradio/ And here 'iw list': ___ ____ _ _____ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) |__ /___ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | / // _ \ '__/ _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | / /| __/ | | (_) | \___/|_| \__,_|_| |_|\__, |\___| |_| |_| /____\___|_| \___/ |___/ Welcome to ARMBIAN Ubuntu 16.04.1 LTS 4.9.0-sun8i System load: 0.05 Up time: 4 min Memory usage: 10 % of 241Mb IP: 192.168.83.162 Usage of /: 16% of 4.0G Last login: Fri Nov 11 13:08:38 2016 tk@orangepizero:~$ sudo -s [sudo] password for tk: root@orangepizero:~# iw list root@orangepizero:~# armbianmonitor -u /var/log/armhwinfo.log has been uploaded to http://sprunge.us/jNJW Please post the URL in the Armbian forum where you've been asked for. Sorry, am already on latest and greatest mainline kernel and there Wi-Fi driver is missing (needs to be ported).
  16. Thanks for the fast reply! Okay, so that doesn't sound too difficult. I'm going to try to find the correct xradio driver and see how far I can get. I will have two of these boards very soon, so if there is anything I can do to contribute to getting this board supported, please let me know...I am eager to give back to the community. Would the Opi Lite image be a good starting point? It looks like there are many similarities between these boards (voltage regulator, SDRAM). It would be nice also to have a "h2consumption" tool to play with using the Opi zero as a low power IoT node, but I guess I can change settings manually for now. Cheers
  17. Well, Xunlong devices with Wi-FI usually ship with a small but suitable antenna (see pictures in CNX or Aliexpress link). And there's no heatsink needed if we're talking about IoT stuff (Armbian contains h3consumption tool for a reason). Then please do a google search for POE-PAN8 or POE-PAN16 (passive PoE injectors), combine that with a suitable PSU and then start to think about TCO in such a PoE scenario. Using Armbian's build system you can let the boards do netbooting so only small/cheap SD cards are necessary if at all -- there is the option to boot from SPI NOR flash on recent Xunlong boards, just check schematics: https://download.cnx-software.com/index.php/s/ow8SLL5drCSHeWb Given SPI flash is populated (maybe on the 512MiB version that will be available soon for $9) and using 2 Zero-ohm surface-mount resistors on the PCB all you need is Ethernet cabling and an appropriate PSU + PoE injector panel, TCO will be pretty low then. You have to calculate/measure voltage drops and in case distance is too high use a higher voltage + step-down converters. These two features (SPI flash + PoE option) really make the difference for me compared to other IoT nodes especially if TCO is considered. Update: 512MB variant is available too: https://www.aliexpress.com/store/product/New-Orange-Pi-Zero-H2-Quad-Core-Open-source-512MB-development-board-beyond-Raspberry-Pi/1553371_32761500374.html (unfortunately SPI flash not populated by default) Update 2: Schematic uploaded to linux-sunxi wiki. Same SY8113B voltage regulator switching between 1.1V and 1.3V so I would assume all that's needed to support the board is adding xradio driver for Wi-Fi and fiddling around in fex file to support TV out.
  18. If it supports passive PoE (which is the case IMO, just look at the comments in CNX link above) and in case Xunlong provides a variant with SPI NOR (also see bottom PCB side) then all you need to connect an ultra cheap data collector (booting from SPI flash and then network, powered through Ethernet too) is such a sub $10 dollar device and an Ethernet cable. Which can then build an AP to connect sensors through 802.11b (max range). I would assume this here is the driver for Allwinner's Wi-Fi radio https://github.com/BPI-SINOVOIP/BPI-M2U-bsp/tree/master/linux-sunxi/drivers/net/wireless/compat-wireless/drivers/xradio (didn't look through already, maybe other modes of operation are also possible). As for 'pay for extra wifi'... I don't know whether you realized that you get an OPi Zero with Ethernet and Wi-Fi for $10.x (including shipping) while the smallest NanoPi NEO (feature-wise almost comparable but lacking Wi-Fi) is at $13 (shipping included).
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines