What's new

R9000: How to develop a kernel module for stock firmware

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

yugo

New Around Here
Hey guys,

Voxel already explained me how to install a kernel module on the R9000 over telnet.

Now my question is how to compile a kernel module for the stock firmware.

In order to compile a kernel module I need the kernel, kernel config and header files.

So I searched for the source code of the stock firmware and found this link:
https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL

And also the source code for R9000 firmware v1.0.2.40:
https://www.downloads.netgear.com/files/GPL/R9000-V1.0.2.40_gpl_src.tar.bz2

My question is now: Is this the source code for the stock firmware, which is installed on a R9000? Or is it for a custom firmware?
 
Hey guys,

Voxel already explained me how to install a kernel module on the R9000 over telnet.

Now my question is how to compile a kernel module for the stock firmware.

In order to compile a kernel module I need the kernel, kernel config and header files.

So I searched for the source code of the stock firmware and found this link:
https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL

And also the source code for R9000 firmware v1.0.2.40:
https://www.downloads.netgear.com/files/GPL/R9000-V1.0.2.40_gpl_src.tar.bz2

My question is now: Is this the source code for the stock firmware, which is installed on a R9000? Or is it for a custom firmware?

Stock. NETGEAR publishes stock GPL. You can create your modules using these codes.

P.S.
But do not try to flash firmware compiled from these GPL source codes ;) (brick). Just for modules they are OK.

Voxel.
 
Thanks again Voxel, you are the best! :)

In the next days I will try to compile a simple kernel module.
If I have problems or questions I will come back here.

Till then I wish you the best Voxel ;)
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top