maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900 (https://talk.maemo.org/showthread.php?t=84829)

freemangordon 2012-06-18 15:54

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by Alfred (Post 1223746)
Okay, let's say there were 3 versions of Thumb2 CSSU so far. when i installed 1st when i already had CSSU-T a few things got messed up (like i had only 4 desktops), but i didn't pay much attentions to that, because phone got responsiver and fast in overall. Then i updated and n900 bricked, so i did a clean install of the 2. version, without preinstalling CSSU-Testing. That went all well, and even "fixed" desktops and other little bugs. After that i updated to the last version, and phone slowed down say... 10 to 20 percent. But i will do a reflash today, and do another clean install of the last version available. Therefore i have a qusetion, do You think a eMMC reflash in this case is usefull, or shud i just reflash with a COMBINED image?

Keep in mind i didn't overclock in any of the cases...

Are you sure your slowdown is not caused by tracker? As it takes some time after a reflash for device to settle down, depending on how many songs/pictures/videos/whatever you have. DId you check if there is no some process using CPU? As I don't see any slowdown so far, neither someone else reported such.

I don't think eMMC reflash is needed, at least it should not be. Of course it depends of what is the status of your eMMC :)

freemangordon 2012-06-18 15:58

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by ivgalvez (Post 1223721)
A good proof of concept, apart from the already mentioned MicroB (browserd always loaded in memory) and Firefox, could be building Python with Thumb2.

I will appreciate anyone willing to contribute, it is just not possible for me to recompile all of the packages in repos in a week :) . If anyone is willing to compile and test something specific, I can provide some guidance on how to setup SB with gcc 4.6.2 (it is really easy, a matter of setting up a new target)

pablocrossa 2012-06-18 16:37

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by freemangordon (Post 1223755)
I will appreciate anyone willing to contribute, it is just not possible for me to recompile all of the packages in repos in a week :) . If anyone is willing to compile and test something specific, I can provide some guidance on how to setup SB with gcc 4.6.2 (it is really easy, a matter of setting up a new target)

Could you please provide a quick how-to and where to obtain the target files, much appreciated :)

freemangordon 2012-06-18 18:13

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by pablocrossa (Post 1223771)
Could you please provide a quick how-to and where to obtain the target files, much appreciated :)

Download the toolchain from here and extract it in /scratchox/compilers

run sb-menu and setup a new target (name it FREMANTLE_THUMB) using

/scratchbox/users/maemo/home/maemo/maemo-sdk-rootstrap_5.0_20.2010.36-2_armel.tgz as a rootstrap

choose "perl:debian-etch:doctools:svn:git" as devkits

select qemu-arm as CPU transparency method

select to install files and check all but second option (C runtime IIRC)

once the new target is setup create

/scratchbox/users/maemo/targets/FREMANTLE_THUMB.environment

containing:
Code:

export DEB_BUILD_OPTIONS=maemo-launcher,parallel=4,thumb,vfp
(parallel=4 is for my system, change it as appropriate)

add appropriate repos in /etc/apt/sources.list (sdk, tools,nokia AND CSSU_THUMB, you can just copy the file from FREMANTLE_ARMEL target)

login into the new target, and run gcc -v, you should have version 4.6.2


NOTE: The order of the above steps could be wrong and something could be missing, I wrote it based on my memories :)

szopin 2012-06-18 18:32

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by hxka (Post 1222866)
@szopin, not all of files in rootfs are ELFs.
It's bit tricky to count size of all ELFs in rootfs, I've ended up with this:
Code:

Nokia-N900:~# cat iself.sh
#!/bin/sh
file "$1" | grep ": ELF" 2>&1 >/dev/null && echo "$1"
Nokia-N900:~# du -ch $(find / -xdev -type f -exec sh iself.sh {} \;) | tail -1
191.2M        total

And 30-40% is a reduction of code size, not resulting code size.
So, 345.6−191.2⋅0.4=269.12. Too much, even if not to take into account that not all of them are open source and can be recompiled, that partition size is 251.25 MB, not 256 and that filesystem iteslf require some space to store inodes and other stuff.

Good point, my logic took a bit of over-excited vacation/leap, still, getting /bin(sbin) dirs alone (and lib? thumb2 compiled .so's should count, no?) out of compressed parts should give both battery and performance boost. Hoping to give compiling that toolchain a go over the week and maybe get something to contribute over the weekend.

freemangordon: Please open up a wikipage with detailed instructions for noobs on how to help out (list of parts that still need compilation...), the more step-by-step the better. I'm sure quite a few people would be willing to help the effort. EDIT: even if general steps, will be happy to update with what WFMed once I get to setting it up.

freemangordon 2012-06-18 18:48

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by szopin (Post 1223821)
freemangordon: Please open up a wikipage with detailed instructions for noobs on how to help out (list of parts that still need compilation...), the more step-by-step the better. I'm sure quite a few people would be willing to help the effort. EDIT: even if general steps, will be happy to update with what WFMed once I get to setting it up.

I have a promise from a guy(zeq) on IRC he will do that as soon as he has some free time.

Mitrigol 2012-06-18 19:15

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Hi,

Is this kernel optimized for compache yet?

I wonder because while testing compache, i only get 0 as value when using rzscontrol which is available in compache-tool package. And i read somewhere that this may be due to some kernel config.

I am sorry, but my knowledge of all of this is somewhat limited for now, and i don't know how to check this by myself.

Thanks

guilledoc 2012-06-19 17:50

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
upgraded via fapm cssu now I dont have lock desktop and custom operater widg, and when I opem cssu features says that I dont have the cssu installed other things seems to work tried to reinstall with this cssu-thumb that I allready had and with testing cssu and and didn't work keep saying that I allrready have the cssu enabler also upgrade via x-term made no change
Any clue?

XeonDead 2012-06-19 21:07

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I have fast app manager linked to cssu-thumb and cssu-testing. After installing thumb, there was no changes to cssu-testing improvements. Also, phone got some speedup, even better than speedpatch. THX freemangordon!
Guilledoc, check your repos, cssu-thumb and cssu-testing must be on together.

hxka 2012-06-19 21:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by XeonDead (Post 1224371)
even better than speedpatch

It's not hard to be better than speedpatch.


All times are GMT. The time now is 04:01.

vBulletin® Version 3.8.8