Coder Social home page Coder Social logo

Comments (4)

masterzorag avatar masterzorag commented on June 29, 2024 3

@Alex66955 cross-compile is supported, as build out-of-tree is supported;
Your Warning is just a warning, but you are building against kernel-headers instead of full kernel-sources;
Example:

blackbox RTL8192EU-linux # pwd
/Storage/RTL8192EU-linux

blackbox RTL8192EU-linux # make KSRC=/Archive/linux-4.12.10
make ARCH=x86_64 CROSS_COMPILE= -C /Archive/linux-4.12.10 M=/Storage/RTL8192EU-linux  modules
make[1]: Entering directory '/Archive/linux-4.12.10'

  WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.
...

blackbox RTL8192EU-linux # ls -l 8192eu.ko 
-rw-r--r-- 1 root root 2358944 Sep  6 10:15 8192eu.ko

So, try just appending KSRC=/path/to/kernel-source to your make invocation, like this:

make ARCH=arm CROSS_COMPILE=arm-v7a-linux-gnueabihf- KSRC=/path/to/kernel-source

Note that:

  • at least make modules_prepare has to be called (on kernel-source) before building Realtek module!
  • you have to change target into Makefile module source

Also, consider moving to linux-4.4 if you get any more issues.

from rtl8192eu-linux-driver.

Alex66955 avatar Alex66955 commented on June 29, 2024 1

Thank you very much.
It is working now and I could test the driver in Client and AP-Mode!

from rtl8192eu-linux-driver.

CGarces avatar CGarces commented on June 29, 2024

Hi.

Which branch are you using ? master or realtek-4.4?

Cross compile must work, this driver is used by projects like OpenElec and LibreElec for all architectures, including IMX6.

Based on the code from LibreELEC master branch compiles with 3.14, 4,4, 4.8 and 4.10.

I have tested the realtek-4.4 with the LibreELEC toolchain and kernel 4.4 and look good for me.

from rtl8192eu-linux-driver.

rohitsay89 avatar rohitsay89 commented on June 29, 2024

Thanks for the explanation above, just wanted to know how to locate the kernel folder in the beaglebone black. As I am trying to build the drivers for the same beaglebone black, do I need to mention the kernel files ?

from rtl8192eu-linux-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.