Active Topics

 


Reply
Thread Tools
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#31
Ok, here goes.. the source for compcache-bfs and its associated config script (the kernel patch that I created can be found in the patches/ folder):

http://ifile.it/ubkhade/compcache-bfs-0.1.tar.bz2

The compiled deb, plus patched kernel-bfs (which has had the two voltage patches removed);

http://ifile.it/ojirv61/compcache-bfs_0.1_armel.deb
http://ifile.it/ptbxcor/kernel-bfs-m...bfs5_armel.deb
http://ifile.it/n4k0ebv/kernel-bfs-b...bfs5_armel.deb
http://ifile.it/l7rjmsp/kernel-bfs_2...bfs5_armel.deb
http://ifile.it/6kf84yj/kernel-bfs-f...bfs5_armel.deb

.. and finally, an updated busybox, with getopts enabled and -p flag for swapon, only needed if you're going to use the config script:

http://ifile.it/rd92pjb/busybox_1.10...B0m5_armel.deb

It should all be fairly self-explanatory, the scripts are in /opt/maemo/usr/sbin and symlinked to /usr/sbin, and the modules in /opt/maemo/usr/lib/compcache-bfs which are symlinked to /lib/modules/current/compcache. The main config script is simply compcache-config; without arguments, it will give you the usage parameters.

Have fun

Last edited by Tigerite; 2011-04-01 at 15:57.
 

The Following 8 Users Say Thank You to Tigerite For This Useful Post:
Posts: 63 | Thanked: 26 times | Joined on Jul 2010 @ Canada
#32
That's really great, thanks for spending some good amount of time of this! Would you consider sharing this with the Community SSU team? The compcache could be a powerful addition to the overall performance of the phone. The CSSU team promotes the power-kernel but if I unerstood your previous posts, you've done that work already...
 
humble's Avatar
Posts: 355 | Thanked: 396 times | Joined on Dec 2009 @ USA
#33
@Tigerite

to install compcache-bfs_0.1_armel.debi have to edit "compcache-bfs.postinst" remove the -t. is this ok?
__________________
Would you like to Donate?

My"Current Project(s)":
[Resurrecting] DON
 
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#34
Originally Posted by Tigerite View Post
Ok, here goes.. the source for compcache-bfs and its associated config script (the kernel patch that I created can be found in the patches/ folder):

http://ifile.it/ubkhade/compcache-bfs-0.1.tar.bz2

The compiled deb, plus patched kernel-bfs (which has had the two voltage patches removed);

http://ifile.it/ojirv61/compcache-bfs_0.1_armel.deb
http://ifile.it/ptbxcor/kernel-bfs-m...bfs5_armel.deb
http://ifile.it/n4k0ebv/kernel-bfs-b...bfs5_armel.deb
http://ifile.it/l7rjmsp/kernel-bfs_2...bfs5_armel.deb
http://ifile.it/6kf84yj/kernel-bfs-f...bfs5_armel.deb

.. and finally, an updated busybox, with getopts enabled and -p flag for swapon, only needed if you're going to use the config script:

http://ifile.it/rd92pjb/busybox_1.10...B0m5_armel.deb

It should all be fairly self-explanatory, the scripts are in /opt/maemo/usr/sbin and symlinked to /usr/sbin, and the modules in /opt/maemo/usr/lib/compcache-bfs which are symlinked to /lib/modules/current/compcache. The main config script is simply compcache-config; without arguments, it will give you the usage parameters.

Have fun
Awesome work, but it is usesless for me, because 1) I can't get multiboot to work 2) compcache performance is mediocre, I've tested it with Flash and there is alot of sound artifacts. 3) compcache -s didn't show anything.I want to to try multiboot again but ATM I'm back to the old bfs-kernel. Thank you anyway!

Last edited by epitaph; 2011-04-03 at 13:31.
 
humble's Avatar
Posts: 355 | Thanked: 396 times | Joined on Dec 2009 @ USA
#35
Originally Posted by humble View Post
@Tigerite

to install compcache-bfs_0.1_armel.debi have to edit "compcache-bfs.postinst" remove the -t. is this ok?
nopeits not
__________________
Would you like to Donate?

My"Current Project(s)":
[Resurrecting] DON
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#36
Sorry all, my USB port has broken so work on this is going to have to be suspended for the time being - Nokia Care are sending UPS tomorrow to pick up my striken N900 parting will be sweet sorrow! I forgot to compile compcache with the ramzswap stats flag; I have fixed this since, but I have also been working on improving the zram/compcache code so that only one of each module is needed (i.e. just zram.ko and ramzswap.ko, no zramnn/ramzswapnn). I've also improved compcache-config script so that it now lets you use zram as the backing swap for compcache, although this for me was unstable before the incident yesterday.

Oh and I have recompiled lxp's modules and packaged them for this latest BFS (the headers have changed due to zram/compcache), I will be posting these a bit later. And as for the CSSU question, I would be only too happy for it to be used. I have indeed compiled it for kernel-power, but not for power46 as it is; it has to be patched, as explained previously. It's probably better to hold off though until I have tidied up the code with the unpatched kernel "emulation".

As for the -t question I am confused as to why that would need to be removed? It simply tells ln its target directory, and then lists the files to create in that directory. It is simpler and fewer lines than

cd /usr/sbin
ln -f -s /opt/maemo/usr/sbin/compcache-config compcache-config
ln -f -s /opt/maemo/usr/sbin/zram_stats zram_stats

..etc.

Last edited by Tigerite; 2011-04-06 at 13:27.
 

The Following 2 Users Say Thank You to Tigerite For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#37
Hopefully they give you a quick turnaround. Wish I could help you out

https://twitpic.com/4d02ia

https://twitpic.com/4hef26
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#38
All donations gratefully received

Anyway, here are lxp's modules packaged up. They install to /opt/maemo/usr/lib/wl1251-bfs and are then symlinked to /usr/lib/modules/2.6.28-bfs5/wl1251-maemo - rather than /lib, as otherwise the kernel may insert the wrong modules when using modprobe to revert to the stock wifi.

http://ifile.it/oqrs6lu/wl1251-bfs_0.1_armel.deb
 

The Following 3 Users Say Thank You to Tigerite For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#39
FWIW, `ln` linked in busybox doesn't support the -target directory argument.

No big deal. symlink gln to ln and issue resolved, or manually link.
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#40
I'm so used to the gnu-tools way of doing things, I miss such problems - sorry. I'll fix the postinst to use the second form of ln, with the target directory last, as it looks like (from the source of busybox) that's supported at least.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:20.