![]() |
2010-01-12
, 18:22
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#2
|
![]() |
2010-01-12
, 19:06
|
Posts: 5 |
Thanked: 0 times |
Joined on Dec 2009
|
#3
|
You can look at my build scripts here:
http://www.freemoe.org/users/jebba/scratchbox/kernel/
![]() |
2010-10-03
, 10:49
|
Posts: 19 |
Thanked: 16 times |
Joined on Sep 2010
|
#4
|
I have been trying to build custom kernel following these instructions:
Maemo Kernel Guide
Jebba compile custom kernel
After successfult compilation I was shocked when found out that new kernel modules takes ~50Mb !
Issuing strip reduces module size drastically.
However file reports that booth original modules and Jebba modules are unstripped.
Is it safe to fully strip all modules? Has anyone tried?
Or should i use objcopy --strip-debug -R .modinfo -R __versions hello.ko from the Maemo Kernel Guide?
Sizes comparison:
From phone wl12xx.ko - 100K
Jebba wl12xx.ko - 100K
Just compiled wl12xx.ko - 1.5M
stripped wl12xx.ko - 68K
objcopy --strip-debug -R .modinfo -R __versions wl12xx.ko - 104K
Thanks in advance.