Jump to content

Compiling Xradio_wlan into Armbian for the OrangePi Zero LTS


Joshua Strutton

Recommended Posts

I am trying to figure out how to compile and load the Xradio drivers onto an orange pi zero LTS. I am having some troubles with the xradio drivers that came with my image and am hoping that https://github.com/fifteenhex/xradio will add some improvements. There does seem to be some code change so I am remaining optimistic.

 

I am able to compile the drivers with the kernel from https://github.com/orangepi-xunlong/orangepi-build but it crashes network manager and a few other modules when I try to modprobe it, I am guessing it is because this kernel is not an armbian kernel. I am trying to get the kernel https://github.com/armbian/build to work, but it doesn't look like that's what I need to do.

 

I am lost as to how to get this compiled and any help would be appreciated.

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

9 hours ago, Joshua Strutton said:

will add some improvements


Looking at the code, the only improvements is that it will (probably) compile and work on K6.0+, while quality will remain the same. Search on this forum for more topic associated with xradio, xr819, wireless on zero ... to understand how much time was already wasted for nothing. If you are not an expert in wireless networking that you will dig deep into the this chip in particular ... rather do something else. Perhaps extend driver we use https://github.com/armbian/build/blob/main/lib/functions/compilation/patch/drivers_network.sh#L229 to be compatible with K6.0+ https://armbian.atlassian.net/browse/AR-1486 which is adding few last commits from fifteenhex repo.

 

Most of those drivers, and especially those that were delivered immature, are maintained with minimum effort. Nobody has months of time, knowledge and equipment to fix everything what is wrong ...

 

(Sorry for being honest)

 

9 hours ago, Joshua Strutton said:

I am trying to get the kernel https://github.com/armbian/build to work, but it doesn't look like that's what I need to do.


It should work on Armbian for Armbian. Orangepi is using some very old variant of this build system and hasn't been updated since. tl;dr; Armbian is much better then what HW vendors are able to deliver.

Link to comment
Share on other sites

Actually I want to change course, as many people have said this is a waste of time to attempt to fix the drivers.

 

So I am experiencing issues with this driver that mainly drops the device off the network. When this happens I find a dmesg saying the device issued a deauth, and a xradio dmesg saying it is issuing a deauth. But what catches my attention more is the red text saying xradio WSM-ERR: wsm_generic_confirm failed for request 0x0010. and another message I get but this one is spammed on the dmesg is xradio WRN: BH: missed 1848 consecutive interrupts! Which is an error message. Honestly, the true reason I wanted to compile drivers was to debug what was causing these to happen on my devices. 

 

These are just a list of all the dmesg entries I have seen. Some of these I have not seen anywhere else while searching the internet. 

  • xradio WSM-ERR: wsm_generic_confirm failed for request 0x0010.
  • xradio WRN: BH: missed 1848 consecutive interrupts!
  • xradio TXRX-WRN: received frame has no key status
  • xradio WSM-WRN: Issue unjoin command(TX).
  • xradio STA-ERR: [CQM] if0 Reporting connection loss.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines