![]() |
Re: [Android] Eclair NITDroid (WIP)
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 |
Re: [Android] Eclair NITDroid (WIP)
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. |
Re: [Android] Eclair NITDroid (WIP)
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 |
Re: [Android] Eclair NITDroid (WIP)
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. |
Re: [Android] Eclair NITDroid (WIP)
yep debug symbols would be a good cause of el huge files
|
Re: [Android] Eclair NITDroid (WIP)
All modules are just over 3 MB now. :)
|
Re: [Android] Eclair NITDroid (WIP)
sounds better, im trying to slim down my kernel too just over 2.2mb and i need it to be closer to 1.9
|
Re: [Android] Eclair NITDroid (WIP)
But that's just the kernel? Not the modules too, I hope?
|
Re: [Android] Eclair NITDroid (WIP)
yep just kernel, modules i aint worried about as i got 2gb mem card they be goin on once i get kernel bootin
|
Re: [Android] Eclair NITDroid (WIP)
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.
|
All times are GMT. The time now is 23:10. |
vBulletin® Version 3.8.8