maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] Eclair NITDroid (WIP) (https://talk.maemo.org/showthread.php?t=35112)

bdogg64 2010-03-07 00:17

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
I apologize as I don't have an N900 with me, but thats off-topic

mockillo 2010-03-07 11:23

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.

dj_steve 2010-03-07 11:29

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

mockillo 2010-03-07 11:36

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.

dj_steve 2010-03-07 11:37

Re: [Android] Eclair NITDroid (WIP)
 
yep debug symbols would be a good cause of el huge files

mockillo 2010-03-07 12:12

Re: [Android] Eclair NITDroid (WIP)
 
All modules are just over 3 MB now. :)

dj_steve 2010-03-07 12:13

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

mockillo 2010-03-07 13:14

Re: [Android] Eclair NITDroid (WIP)
 
But that's just the kernel? Not the modules too, I hope?

dj_steve 2010-03-07 13:31

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

mockillo 2010-03-07 15:32

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