How to add a driver to a Kong release using the 3.18 kernel?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Author Message
tabicat
DD-WRT Novice


Joined: 13 Jan 2018
Posts: 25

PostPosted: Sun Mar 03, 2019 16:26    Post subject: How to add a driver to a Kong release using the 3.18 kernel? Reply with quote
I have an r7500v2 running the latest Kong firmware, which is using the 3.18.124 kernel. I want to compile a driver for it, ftdi_sio.ko. I've done kernel development for a variety of platforms, so I know the basics. I just have a few questions:

1) Does Kong use the same 3.18.124 kernel as stock DD-WRT? That is, https://svn.dd-wrt.com/browser/src/linux/universal/linux-3.18?

Quote:
# uname -a
Linux DD-WRT 3.18.124 #361 SMP PREEMPT Sun Oct 28 16:18:27 CET 2018 armv7l DD-WRT


2) If so, then for the r7500v2, which .config should I use? .config_ipq806x? I think all I need to do is CONFIG_USB_SERIAL_FTDI_SIO=y and rebuild.

3) Where can I get the cross-compiler?
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum