DebWrt

Debian on embedded devices

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: native kernel compilation
sleep_walk-
er
Newbie
Posts: 3
Post native kernel compilation
on: September 6, 2011, 23:06

Hi,

RSPRO 2.0 release lacks some features I'd like to have in kernel - support for LVM2, bluetooth, ..., but I can't find any how to about native kernel compilation on my router. I know that it will take _a lot_ of time, but I don't care about that. I found kernel configuration on this site but I'm not sure where to get kernel sources.

Thanks.

amain
Administrator
Posts: 137
Post Re: native kernel compilation
on: September 10, 2011, 22:02

Hi, see http://dev.debwrt.net/wiki/DebWrtSvn and http://dev.debwrt.net/wiki/Doc. That should give you enough pointers to get you started :-)

sleep_walk-
er
Newbie
Posts: 3
Post Re: native kernel compilation
on: September 12, 2011, 15:45

Of course I already tried wiki. It did not. I'm still not sure where the sources are. In RSPRO 2.0 release kernel shows 2.6.32.20, but linux sources from http://downloads.openwrt.org/sources/ doesn't contain this version.

I was hoping for some URL with tarball or VCS.

Or are any newer versions tested too?

amain
Administrator
Posts: 137
Post Re: native kernel compilation
on: September 12, 2011, 21:35

DebWrt Trunk will build OpenWrt Trunk. Once in a while I build a new Trunk version and test it on my RS PRO and haven't had any problems. e.g. trunk is quite stable. In the future I will try to have a DebWrt release cycle which matches OpenWrt's release cycle.

And/Or are you looking for the DebWrt release 2.0 sources? See http://www.debwrt.net/download/releases/2.0/src/rspro/ and look for the files config-debwrt and config-openwrt which contain the respective SVN revision numbers.

sumpfralle
Newbie
Posts: 1
Post Re: native kernel compilation
on: April 18, 2012, 02:22

I am not sure if I understand this answer. Does it mean that it is possible to compile kernel features that are currently not available via "make menuconfig" in debwrt's build tree? (I was following http://dev.debwrt.net/wiki/DebWrtSvn)
Specifically I am interested in cryptsetup (dm_crypt).

btw: thanks for your work on debwrt - it feels great to unleash the full power of small devices with debian!

amain
Administrator
Posts: 137
Post Re: native kernel compilation
on: May 1, 2012, 18:47

Thanks! And yes, it is possible to compile other modules into the kernel than the ones available with make menuconfig, make openwork/menuconfig. It is a little harder to do. First compile DebWrt as usual. Then locate the openwrt/linux directory. Make a copy of the kernel .config before proceeding. Do a make menuconfig. Diff the original .config and the new .config and add the differences to build/<openwrt-base-dir>/.config. And press make all again. That should to the trick.

R. Amain

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33 ; Page loaded in: 0.028 seconds.