Tools

rambo said

rambo  

Wondering where to find the original .config file for the stock maemo fremantle kernel, I'd like to compile some modules...

12 comments

rambo posted to #maemo 19.11.2009 (en)

12 comments

Bottom

rambo  

the maemo5 kernel guide all implies it's part of the kernel source package, but it's not (at least anymore).

rambo commented on posted to #maemo 19.11.2009 (en)

rambo  

Oops, missed a step, it's made with a special make command..

rambo commented on posted to #maemo 19.11.2009 (en)

mace  

@rambo iirc back in the day there was a compilation option to store the .config within the linux kernel, also also some tool to retrieve it

mace commented on posted to #maemo Kajaani 19.11.2009 (en)

tkojo  

@rambo Try the kernel sources package in the SDK. It was defconfig arm-rx-51 (or something like that) Or visit the maemo irc channel.

tkojo commented on posted to #maemo 19.11.2009 (en)

rambo  

@mace and @tkojo I figured it out already ("oops, missed a step"): it's actaully in the developers guide, but a easy to miss... left a VM in my home desktop to compile, I'll see how it went when I get back...

rambo commented on posted to #maemo 19.11.2009 (en)

rambo  

It seems the instructions on the wiki are "a bit dated" and failed to insmod my iptable_nat.ko ("invalid module format"). Made some educated guesses on what to change and waiting to recompile all modules...

On the same note, any idea how to get the "iptables" binary tool compiled, manipulating the kernel tables without it is going to be painfull...

rambo commented on posted to #maemo 19.11.2009 (en)

rambo  

didn't work, need to think this more tomorrow...

rambo commented on posted to #maemo 19.11.2009 (en)

rambo  

using dpkg-buildpackage seemed to build usable kernel modules, but of course that reset the config to default...

rambo commented on posted to #maemo 20.11.2009 (en)

ferrix  

@rambo You might want to make your changes and add it to the other patches under the debian directory.

ferrix commented on posted to #maemo 20.11.2009 (en)

rambo  

@ferrix that proved out to be rather complex since the rules file does all kinds of weird stuff, been trying to follow what it exactly does but ...

rambo commented on posted to #maemo 20.11.2009 (en)

rambo  

Figured out how to patch the .config inside the buildroot debian/rules creates. But I really wonder why I get symbol version mismatch even when compiling with dpkg-buildpackage which should set all versions to same as the default kernel.

(I also wonder how is it possible that there are a few symbols missing even when trying to insmod -f nf_conntrack.ko, AFAIUnderstand the missing symbols should be part of netfilter core and thus in the kernel, unless someone optimized things way too far...)

rambo commented on posted to #maemo 21.11.2009 (en)

rambo  

I'm pretty sure I could get all this working in 15 minutes by simply flashing the kernel that dpkg-buildpackage creates, but that would defeat the point of getting NAT working on the stock kernel.

rambo commented on posted to #maemo 21.11.2009 (en)

Login or register to leave a comment

Publicity
These messages are public and can be seen by anyone.