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-12 11:02

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

Originally Posted by lma (Post 1220849)
An analogy, not a direct comparison :-) A lot of the same underlying issues apply, ie you won't see much of the potential performance improvement until you have converted most of the software stack.

Agree.

Quote:

Well, if you have a thumb2 binary issuing calls to the standard (non-thumb) libc etc, there's going to be switching. Or am I missing something?
If you use VFP then there is no difference whether it is pure ARM, ot thumb2, in either case you have a penalty if the code is not well optimized. The major difference between thumb and thumb2 is that thumb2 is almost as fast as ARM, and AFAIK there is no penalty for mixing ARM/thumb2 code.

don_falcone 2012-06-12 11:09

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Info: with 2.9M available rootfs, i still have to move '/usr/share/themes/beta' (7.1M) and '/usr/share/nokia-maps' (8.1M) back. This is after removal of kernel-power.

mankir 2012-06-12 11:34

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Some observations:
-2.6.28.10-cssu1 is running on 850 Mhz
-you have to install kernel-cssu-flasher
-cat /proc/cpuinfo doesn't show thumb2
-kernel too old to chroot into ubuntu 12.04

praveenchand 2012-06-12 11:40

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
after installing N900 is hanging after a while, also i cannot use terminal, when i open it get freeze

freemangordon 2012-06-12 11:54

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

Originally Posted by praveenchand (Post 1220872)
after installing N900 is hanging after a while, also i cannot use terminal, when i open it get freeze

Which kernel boots? it MUST be -cssu1

freemangordon 2012-06-12 11:57

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

Originally Posted by mankir (Post 1220871)
Some observations:
-2.6.28.10-cssu1 is running on 850 Mhz
-you have to install kernel-cssu-flasher
-cat /proc/cpuinfo doesn't show thumb2
-kernel too old to chroot into ubuntu 12.04

But of course, it is the same old KP50 with some modification, read the OP.

You only have to install kernel-cssu-flasher if you did not update in HAM/did not do apt-get update, so an older version of mp-fremantle-community-pr is used

praveenchand 2012-06-12 12:02

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

Originally Posted by freemangordon (Post 1220880)
Which kernel boots? it MUST be -cssu1

i have installed CSSU testing.....booting into power kernel

//Edit: I did apt-upgrade, not via HAM

Hurrian 2012-06-12 12:05

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

Originally Posted by praveenchand (Post 1220884)
i have installed CSSU testing.....booting into power kernel

//Edit: I did apt-upgrade, not via HAM

You need to boot into the CSSU kernel, using CSSU thumb.

(Side note: this is incredibly promising. Wish both of these get merged into CSSU-main and KP.)

freemangordon 2012-06-12 12:07

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

Originally Posted by praveenchand (Post 1220884)
i have installed CSSU testing.....booting into power kernel

//Edit: I did apt-upgrade, not via HAM

Well, again, you MUST have kernel-cssu flashed (or kernel-cssu-bootimg booted via u-boot) in order to have stable thumb2, there is just no other way.

You could try a full power cycle, sometimes the device does not cleanly reboot and SGX driver almost freezes the system

freemangordon 2012-06-12 12:08

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

Originally Posted by Hurrian (Post 1220886)
You need to boot into the CSSU kernel, using CSSU thumb.

(Side note: this is incredibly promising. Wish both of these get merged into CSSU-main and KP.)

Thumb2 support is going in next KP for sure. While for CSSU-main, well, you'd better ask the maintainers :P

ivgalvez 2012-06-12 12:49

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Which CSSU flavour are you using for Thumb2 version (Stable, Testing, Devel) ?

freemangordon 2012-06-12 13:27

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

Originally Posted by ivgalvez (Post 1220909)
Which CSSU flavour are you using for Thumb2 version (Stable, Testing, Devel) ?

CSSU-Testing

EDIT: Plus there will be stuff like microb(if I find a way to correctly thumb-compile it) and other system things which are not in CSSU.

dr_frost_dk 2012-06-12 14:22

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

Originally Posted by freemangordon (Post 1220887)
Well, again, you MUST have kernel-cssu flashed (or kernel-cssu-bootimg booted via u-boot) in order to have stable thumb2, there is just no other way.

You could try a full power cycle, sometimes the device does not cleanly reboot and SGX driver almost freezes the system

Im still somewhat of a noob at this.

So far i have: (on my extra N900)
Flashed with 1.3PR
installed FAM & Conky
Installed CSSU testing
what else do i need to do before installing the stable Thumb2, just to be sure before i proceed.

freemangordon 2012-06-12 14:33

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

Originally Posted by dr_frost_dk (Post 1220942)
Im still somewhat of a noob at this.

So far i have: (on my extra N900)
Flashed with 1.3PR
installed FAM & Conky
Installed CSSU testing
what else do i need to do before installing the stable Thumb2, just to be sure before i proceed.

That is pretty enough (and according to merlin1991 even installing CSSU-T is not necessary as he said the the repo is setup in such a way, that installing CSSU-thumb automagicaly pulls what is needed from CSSU-T)

dr_frost_dk 2012-06-12 15:23

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

Using microb on your n900 click here and allow hildon-application-manager to add CSSU-thumb-testing repo. You should receive Maemo5 update once HAM finishes updating its database. Update in the same way as if a new CSSU version is released. There will be a warning that a custom kernel will be installed, acknowledge it.
for someone who just started using CSSU (yes that late...) do i hit the normal update blinking thing, and update like every other thing or does this imply some other way of doing the update.

praveenchand 2012-06-12 16:20

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
is there any way to revert back from this? or reinstall? still my n900 freezes every now and then....

freemangordon 2012-06-12 16:39

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

Originally Posted by praveenchand (Post 1220980)
is there any way to revert back from this? or reinstall? still my n900 freezes every now and then....

may I have your "uname -a" output? Did you do a power off/ on cycle?

@dr_frost_dk: yep, that is the way it should be, please read howto install CSSU on wiki

Alfred 2012-06-12 17:05

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
just made a reflash and then a clean install of Thumb version of CSSU. One question. Is 74 MB in rootfs right after installation of just Thumb CSSU normal?
i am eagerly waiting for more thumb packages...

freemangordon 2012-06-12 17:08

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

Originally Posted by Alfred (Post 1220999)
just made a reflash and then a clean install of Thumb version of CSSU. One question. Is 74 MB in rootfs right after installation of just Thumb CSSU normal?
i am eagerly waiting for more thumb packages...

I don't get the point, is it too low? Could be, as explained in OP, Qt libs are moved to rootfs from /opt. That free space will increase when more packages become thumb2 compiled.

n900_ 2012-06-12 17:11

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
It's working great.
It runs faster (I think)
It takes 23MB of rootfs (I have 63MB free before, now 40MB)
We need more thumb packages and open source microb :D

ade 2012-06-12 17:36

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Another interesting project from Freemangordon :)

What's the reason for moving the Qt libs to rootfs? Is it a packaging reason, technical cause, performance or... I could not find that in the easlier posts. And can I move it back to opt using a symlink afterwards if I run low on space in rootfs?

Will definitely give it a try somewhere in the comming weeks.

freemangordon 2012-06-12 17:54

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

Originally Posted by ade (Post 1221012)
Another interesting project from Freemangordon :)

What's the reason for moving the Qt libs to rootfs? Is it a packaging reason, technical cause, performance or... I could not find that in the easlier posts. And can I move it back to opt using a symlink afterwards if I run low on space in rootfs?

Will definitely give it a try somewhere in the comming weeks.

The rationale behind moving Qt is that rootfs is faster than /opt, being a different and faster technology. I hope most of the rootfs space will be regained when more packages are thumb-compiled. And you can move it back (and symlink) to /opt if you wish

praveenchand 2012-06-12 18:10

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

Originally Posted by freemangordon (Post 1220991)
may I have your "uname -a" output? Did you do a power off/ on cycle?

@dr_frost_dk: yep, that is the way it should be, please read howto install CSSU on wiki

$ uname -a
Linux Nokia-N900 2.6.28.10-power50 #1 PREEMPT Sun Mar 18 20:10:56 EET 2012 armv7l GNU/Linux

dr_frost_dk 2012-06-12 18:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Ok so far im using 127MB before and after this...

But before i had a max memory of 240, now 230?
I can see in conky that all running programs (at same uptime as before) are using a little less memory so there is something here.

Submitting 2x screenshots, download and compare, alot of things are changed.

https://dl.dropbox.com/u/29047266/N9...612-171637.png
-
https://dl.dropbox.com/u/29047266/N9...612-200858.png

Now i have just installed this so i can't say about performance.

And followup: can i install powerkernel and OC?

don_falcone 2012-06-12 18:26

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
a) this is basically KP50 and replaces it (for this purpose here)
b) freemangordon said the install can be forced for the current 'kernel-power-settings' package, but it needs to be updated

EDIT: come on, this thread is not even 2 full pages long and you are an oldtimer here ;)

praveenchand 2012-06-12 19:33

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
i tried power off / on also, i removed battery for a while and restarted......can i reinstall this?

Android_808 2012-06-12 20:17

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
freemangordon: Can you give a little more info on the microb you tried to build.
Complete compile of microb or just the microb-engine?
Are the full sources (ui, microb-engine, browserd) now available?

D@vIcHoJD 2012-06-12 21:48

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
2 Attachment(s)
Quote:

Originally Posted by Android_808 (Post 1221074)
freemangordon: Can you give a little more info on the microb you tried to build.
Complete compile of microb or just the microb-engine?
Are the full sources (ui, microb-engine, browserd) now available?

Very impressive, and I did not install it no inconvenience, no errors detected, and apparently see better performance, applications are opened little faster, and do not stutter badly when multitasking. I look forward to new updates and the new compilation of microb.

One question you mention above about moving Qt libs to roofts, but my n900 have now 18.2mb (before updating had 36,1mb) in rootfs and Use moveroot.sh (script for tanner) http://wiki.maemo.org/User:Tanner#Re...ing_the_flash; and other command post to other roofts Cleanup ie; http://talk.maemo.org/showthread.php...ghlight=moving and Sifo script http://talk.maemo.org/showthread.php?t=84398&page=2, in the following updates are occupied more space in the rootfs? can I free more space for rootfs by other means?

Thank you and all community of maemo for keeping alive my n900.:D:D:D

szopin 2012-06-12 21:56

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

Originally Posted by freemangordon (Post 1221027)
The rationale behind moving Qt is that rootfs is faster than /opt, being a different and faster technology. I hope most of the rootfs space will be regained when more packages are thumb-compiled. And you can move it back (and symlink) to /opt if you wish

rootfs is also compressed on the go which actually makes all that blessed speed gain negligible if not counterproductive. If someone opened up rootfs he would be a saviour (in speed dept and a blasphemer as what is now in rootfs will need a LOT more space to fit. I can put 10mb of .c/.h files and they will take around 500kb of it. With uncompressed rootfs no libraries/dev packages that's for sure).
One easy experiment is moving microb binary to opt and comparing starttime after kill. For me opted binary starts faster (lots of non-plaintext code to decompress), but probably biased. See for yourself, difference in size taken from rootfs vs claimed is easily confirmed, just copy a file there and compare. Since saving rootfs is the goal, crowding it with qt, no idea why

dr_frost_dk 2012-06-12 21:59

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Hmm installed power kernel to OC, now everything crashes & getting internal error, FAM does not work.

Is there anyway to use the Thumb2 and OC, i can defiantly see a less memory impact vs my main N900, very little swap used so far, less then half.

Glad i have my extra N900 now to test with :)

szopin 2012-06-12 22:07

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

Originally Posted by D@vIcHoJD (Post 1221102)
my n900 have now 18.2mb (before updating had 36,1mb) in rootfs and Use moveroot.sh (script for tanner) http://wiki.maemo.org/User:Tanner#Re...ing_the_flash; and other command post to other roofts Cleanup ie; http://talk.maemo.org/showthread.php...ghlight=moving and Sifo script http://talk.maemo.org/showthread.php?t=84398&page=2, in the following updates are occupied more space in the rootfs? can I free more space for rootfs by other means?

Thank you and all community of maemo for keeping alive my n900.:D:D:D

Yes, you should be able to symlink around 30mb(?) of Qt libraries out of rootfs. No idea where to find the whole listing of files modified/added/removed/replaced in this update, this with a simple macro could prepare you a copy/paste material

Raimu 2012-06-12 22:18

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

Originally Posted by dr_frost_dk (Post 1221108)
Hmm installed power kernel to OC, now everything crashes & getting internal error, FAM does not work.

Is there anyway to use the Thumb2 and OC, i can defiantly see a less memory impact vs my main N900, very little swap used so far, less then half.

Glad i have my extra N900 now to test with :)

The kernel-cssu that comes with the thumb metapackage IS power-kernel, and you can OC with it. Installing pure KP50 over what is essentially KP50 with the fix for the thumb hardware bug added undoes the fix and makes everything unstable.

praveenchand 2012-06-12 23:14

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I have successfully installed via FAM. Now I realize that before the update was not proper. Also eventhough an update shown in HAM, I was not able to update because of meory issue(its since long time and so I use FAM). Now uname -a shows 2.6.28.10-cssu1

Those who tried to help me, a big thanks for respoding to my foolish questions. but beleive me , now only I realize those were too stupid questions.

Mohammed Muid 2012-06-13 00:29

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
i used the moveroot.sh script and i have 65mb free in rootfs but still i get the msg that i need pc suite

sifo 2012-06-13 01:13

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@Mohammed Muid
in FAM add the new repo and use it for updating :) .

im facing "internal error appliction closed " in sittings and conversations but not always :o i dont know if with other apps too ??

Mohammed Muid 2012-06-13 04:56

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
thanks sifo. i did install it. also selected from the multiboot option. my kp50 said guru error. then i selected no.2 cssu internal NAND. but i am not seeing any difference.where is the change?

freemangordon 2012-06-13 06:42

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

Originally Posted by Android_808 (Post 1221074)
freemangordon: Can you give a little more info on the microb you tried to build.
Complete compile of microb or just the microb-engine?
Are the full sources (ui, microb-engine, browserd) now available?

It is microb-engine I am trying to build. Actually it builds, browserd starts ok, but refuses to fork when a client (i.e. browser, rtcom-messaging-ui,...) issues a dbus call to it. The problem is that there are no error messages in syslog from browserd itself, only from the client applications. And we have no -dbg package for browserd, so I cannot set breakpoints properly with gdb in an attempt to check what is going on. Etc, etc,...

On the other hand successful thumb-building of microb-engine is a must, thumb-compiled libxul.so is 11MiB against 14MiB ARM compiled. And that is only one library, there are lots more.

If anyone of you can help on that one I will really appreciate that.

@szopin: hmm, maybe you are right and it was not so good idea to move Qt out of the /opt. Any idea how to compare reading speed of rootfs vs /opt?

EDIT:

We definitely need Oleg Romashin (romaxa) to help us on the microb-engine issue, I just won't be able to fix it by myself :(

Android_808 2012-06-13 07:21

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
what happens if you use the replacement browserd by johnathan wilson mentioned here: http://www.mwkn.net/2011/45/devel.html

in http://talk.maemo.org/showthread.php...light=browserd romaxa also mentioned a new ipc stack which would improve performance but sadly there's been no further news afaik.

don_falcone 2012-06-13 07:46

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

Originally Posted by freemangordon (Post 1221194)
@szopin: hmm, maybe you are right and it was not so good idea to move Qt out of the /opt. Any idea how to compare reading speed of rootfs vs /opt?

Maybe this suite could help. The makefile at least specifies 'linux-arm'.

MastaG 2012-06-13 07:49

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Thanks freemangordon, working very well here!
I only had to reinstall pali's u-boot but the item files are already there :)
Also looking forward to your microb engine work.

Question:
Once the CSSU-testing gets thumb2 will we be able to switch back?


All times are GMT. The time now is 19:56.

vBulletin® Version 3.8.8