Closed Thread
Thread Tools
Posts: 163 | Thanked: 175 times | Joined on Dec 2007 @ Alabama
#241
I keep leaving out stuff, forgive me. You have to enable R&D mode before flashing.

Code:
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-ext-wd -R
I apologize as I don't have an N900 with me, but thats off-topic
__________________
Hi! I'm a Maemo Greeter!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)

If I can help with anything else, just ask!
 

The Following 2 Users Say Thank You to bdogg64 For This Useful Post:
Posts: 14 | Thanked: 0 times | Joined on Mar 2010 @ Bergen, Norway
#242
I tried compiling my own kernel for the N900 this morning, following http://natisbad.org/N900/n900-custom-kernel.html and patching it with the android patches posted earlier in this thread.

However, my modules are frickin huuuge!

For comparison:

My nfs.ko: 3622kb
Titan's nfs.ko: 300kb

Anyone have any idea how I can reduce the size of these gigantic modules? Right now I can't even fit them all on / on my N900.
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#243
newer kern = new modules = bigger - you have enabled the compile for small ystems option in general settings havent you ? and modules should not be an issue as they are put in /lib/modules not as part of kernel
and you could always symlink the modules folder to your emmc in theory
 
Posts: 14 | Thanked: 0 times | Joined on Mar 2010 @ Bergen, Norway
#244
The problem is that I can't even fit them on the filesystem.

And me and Titan's kernel is the same version from the same sources, still a huge size difference.

And I used Nokia's default config-file with the exception of the additions from the android patches and adding a localversion.

However, I just noticed that CONFIG_DEBUG_KERNEL was set to y, disabling that and attempting to recompile.

I would tho honestly expect a good working config to be shipped with the kernel sources, but oh-well.
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#245
yep debug symbols would be a good cause of el huge files
 
Posts: 14 | Thanked: 0 times | Joined on Mar 2010 @ Bergen, Norway
#246
All modules are just over 3 MB now.
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#247
sounds better, im trying to slim down my kernel too just over 2.2mb and i need it to be closer to 1.9
 
Posts: 14 | Thanked: 0 times | Joined on Mar 2010 @ Bergen, Norway
#248
But that's just the kernel? Not the modules too, I hope?
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#249
yep just kernel, modules i aint worried about as i got 2gb mem card they be goin on once i get kernel bootin
 

The Following User Says Thank You to dj_steve For This Useful Post:
Posts: 14 | Thanked: 0 times | Joined on Mar 2010 @ Bergen, Norway
#250
Tell me, all the modules you put in /lib/modules/`uname -r` will be automatically loaded right? As long as you do the proper depmod routine etc. aswell.
 
Closed Thread

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:23.