Build Rasplex from sources to include own WiFi drivers

Hi, is it possible to build Rasplex from sources and include a local driver source while building it in it? I have Xiaomi Mini USB WiFi dongle, which is not directly supported by the Pi, but has drivers source which can be used to build drivers, but since the Rasplex is based on OpenELEC, I cannot build the driver on it. So I would like to know if it is possible to do so directly while building. Also, please don't suggest Me to buy a new dongle, as they are hard to get where I live.

Hi, is it possible to build Rasplex from sources and include a local driver source while building it in it? I have Xiaomi Mini USB WiFi dongle, which is not directly supported by the Pi, but has drivers source which can be used to build drivers, but since the Rasplex is based on OpenELEC, I cannot build the driver on it. So I would like to know if it is possible to do so directly while building. Also, please don't suggest Me to buy a new dongle, as they are hard to get where I live.


Please do not double post, there is already a topic for this which you started https://forums.plex.tv/topic/165005-build-on-driver-for-wifi-dongle-on-rasplex/#entry943741

Please do not double post, there is already a topic for this which you started https://forums.plex.tv/topic/165005-build-on-driver-for-wifi-dongle-on-rasplex/#entry943741

Please check, the thread You quoted although created by Me asks if I can somehow build driver on already available Rasplex OS. Given from the replies, it was clear that it is not possible. This thread is aimed to inquire if I can build Rasplex from sources and modify it while building it, and not the driver only.

Start here https://github.com/RasPlex/RasPlex/wiki/Developer-launchpad

Hi, I thanks for the link! Don't why I couldn't find it!

Also, I'm trying to build now, but I get this error. I tried searching it, but no solution seems to come up! I tried searching the file too, but I don't know how to load it manually even if I find it!

Following is the output of build:
 

./buildman -wrlfi
kernel => False
ci => False
rpversion => wip
force => True
targetdir => /home/mirhawk/ras/RasPlex/OpenELEC.tv/target
outfilename => rasplex-RPi.arm-wip
rebuild => True
buildtype => release
outimagename => rasplex-wip.img
devtools => False
buildtype_str => LIVEDEBUG="yes"
outimagefile => /home/mirhawk/ras/RasPlex/OpenELEC.tv/tmp/rasplex-wip.img
linkfast => True
version => wip
oeversion => devel
distroname => rasplex
image => True
tmpdir => /home/mirhawk/ras/RasPlex/OpenELEC.tv/tmp

Building rasplex
rm: cannot remove ‘/home/mirhawk/ras/RasPlex/OpenELEC.tv/build.rasplex-RPi.arm-devel-release/.stamps/plexht’: No such file or directory
./scripts/image release
-e

Configuration for rasplex (unofficial)

Buildoptions:

  • CPU (ARCH): arm1176jzf-s (arm)
  • FLOAT: hard
  • FPU: vfp
  • SIMD support: no
  • Optimizations: size
  • LTO (Link Time Optimization) support: yes
  • GOLD (Google Linker) Support: yes
  • LLVM support:

Graphic configuration:

  • XORG support:
  • XORG Composite support:
  • XORG Xinerama support:
  • SDL support: no
  • OpenGL (GLX) support (provider): no (no)
  • OpenGLES support (provider): yes (bcm2835-driver)
  • WindowManager: none
  • Xorg Graphic Drivers:

Hardware decoder configuration:

  • Broadcom CrystalHD Decoder: no
  • XBMC Player driver: bcm2835-driver
  • VAAPI Support: no
  • VDPAU Support: no
  • XVBA Support: no

Input device configuration:

  • Remote support: yes
  • ATV Remote support: no
  • CEC Adapter support: yes
  • IRTrans support: no
  • XBMC Joystick support: no

Misc. hardware configuration:

  • ALSA support: no
  • Pulseaudio support:
  • Blu-Ray support: yes
  • Bluetooth support: yes
  • Hardware Sensors support: yes
  • LCD drivers: irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428
  • Include driver: RTL8192CU
  • Include driver: RTL8192DU
  • Include driver: RTL8188EU
  • Include driver: RTL8812AU
  • Include firmware: misc-firmware
  • Include firmware: wlan-firmware
  • Include firmware: dvb-firmware

Network service configuration:

  • Avahi (Zeroconf) support: yes
  • SAMBA server support: yes
  • SFTP server support: yes
  • PPTP support: yes
  • OpenVPN support: yes
  • XBMC Airplay support: yes
  • XBMC Airtunes support: yes
  • XBMC AFP support: yes
  • XBMC NFS support: yes
  • XBMC SAMBA client support: yes
  • XBMC Webserver support: yes

OS configuration:

  • OEM Support: no
  • Default Hostname: rasplex
  • Default ROOT Password: rasplex
  • Bootloader: bcm2835-bootloader
  • UDevil support: yes
  • Parted support: yes
  • UPower support: no
  • Installer support: no

Misc. Filesystems:

  • Swap Support: yes
  • Swapfile default size: 250
  • exFAT Support (via Fuse): yes
  • NTFS Support (via Fuse): yes
  • Install HFS Tools: yes

XBMC configuration:

  • XBMC version: plexht
  • XBMC nonfree support: yes
  • XBMC DVDCSS support: yes
  • Include Skin: Confluence
  • Default Skin: Confluence
  • Include extra fonts: yes
  • Include RSXS Screensaver: no
  • Include ProjectM Visualization: no
  • Include Goom Visualization: no

=================================================================================
End Configuration for rasplex

  BUILD    gcc-final (deprecated packageformat, please convert soon!)
      BUILD    binutils (deprecated packageformat, please convert soon!)
          GET      ppl

–2015-06-09 19:32:30-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:31 ERROR 404: Not Found.

–2015-06-09 19:32:31-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:32 ERROR 404: Not Found.

–2015-06-09 19:32:32-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:33 ERROR 404: Not Found.

–2015-06-09 19:32:33-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:34 ERROR 404: Not Found.

–2015-06-09 19:32:34-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:35 ERROR 404: Not Found.

–2015-06-09 19:32:35-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:36 ERROR 404: Not Found.

–2015-06-09 19:32:36-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:37 ERROR 404: Not Found.

–2015-06-09 19:32:37-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:38 ERROR 404: Not Found.

–2015-06-09 19:32:38-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:39 ERROR 404: Not Found.

–2015-06-09 19:32:39-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:39 ERROR 404: Not Found.

–2015-06-09 19:32:39-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:41 ERROR 404: Not Found.

–2015-06-09 19:32:41-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:41 ERROR 404: Not Found.

–2015-06-09 19:32:41-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:42 ERROR 404: Not Found.

–2015-06-09 19:32:42-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:43 ERROR 404: Not Found.

–2015-06-09 19:32:43-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:44 ERROR 404: Not Found.

–2015-06-09 19:32:44-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:45 ERROR 404: Not Found.

–2015-06-09 19:32:45-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:46 ERROR 404: Not Found.

–2015-06-09 19:32:46-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:46 ERROR 404: Not Found.

–2015-06-09 19:32:46-- http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Resolving bugseng.com (bugseng.com)… 160.78.167.1
Connecting to bugseng.com (bugseng.com)|160.78.167.1|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:48 ERROR 404: Not Found.

–2015-06-09 19:32:48-- http://sources.rasplex.com/mirror/ppl/ppl-1.1pre10.tar.xz
Resolving sources.rasplex.com (sources.rasplex.com)… 162.243.195.16
Connecting to sources.rasplex.com (sources.rasplex.com)|162.243.195.16|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-06-09 19:32:48 ERROR 404: Not Found.

Cant’t get ppl sources : http://bugseng.com/products/ppl/download/ftp/snapshots/ppl-1.1pre10.tar.xz
Try later !!
make: *** [release] Error 1
Request processed in 22.00s

Bump?

What's so complicated, your network connection was down it seems...

Actually, I see now your problem. Simply search the file on openelec.tv or somewhere else, and change the download location. Or download into sources/PKG and add file.md5 files.