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)

mrsellout 2012-06-15 11:22

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@ Megaltariak they realised themselves and corrected it with the n9:
http://talk.maemo.org/showpost.php?p...1&postcount=14

Edit:
Quote:

Originally Posted by don_falcone (Post 1222236)
Hmm, swap on rootfs and everything else on EMMC.... IIRC it was nolo who couldn't can't handle such a setup.

From the Maemo5 running 32GB eMMC root FS (scripts) thread

Quote:

Originally Posted by egoshin (Post 772265)
You can't use UBIFS as swap or format it in any way. N900 bootloader (forget it's exact name) boots /sbin/preinit from UBIFS. Changing that requires bootloader modification and flashing it into MTD0 (or MTD1 - I don't remember for a moment).

Besides of that it has no big sense - swap functions in kernel use a big blocks for swapping, so there is no advantage in OneNAND UBIFS vs microSD. It is a little faster, of course, but it would be interesting to test Class 10 and see.


Megaltariak 2012-06-15 11:42

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Didn't even know that they did that for the N9.

Now the problem is either hacking NOLO to boot on another storage device (would be really difficult because NOLO is closed source) or resize/create new partitions on the 256Mo chip (would be trivial with standard tools if it was recognized as a standard storage device like EMMC, but that is not the case if I recall correctly)

hxka 2012-06-15 12:47

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
That's a huge offtopic, but…
It is not NOLO mounts ubifs and runs /sbin/preinit. It is KERNEL. And we can recompile it or use u-boot to change it's cmdline to mount /dev/mmcblk0p2 as /. So, NOLO doesn't needed to be changed.

Obviously, swap on UBIFS with compression is bad choice. But mtdswap or even swap on uncompressed UBIFS is interesting idea to try.
Anover idea is to optify some more libs and other stuff and use uncompressed UBIFS as rootfs.

@Megaltariak, partitions on NAND are either compiled in kernel or specified in it's cmdline.

freemangordon 2012-06-15 17:45

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
New version (21.2011.38-1Tmaemo4-thumb7) is available, check the first post for changelog

doctorwhiz 2012-06-15 18:43

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
i installed successful; tanx

Fabry 2012-06-15 19:09

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

Originally Posted by Megaltariak (Post 1222222)
I believe that choosing UBIFS instead of standard ext3 was a really bad decision from Nokia

UbiFS is a MUST for Nand.

Nand is a raw flash chip (MTD) and not a generic block device so we need a software layer which handles directly a MTD and implements: tracking NAND flash bad blocks and providing wear leveling.
UbiFs / JFFS2 / LogFS are this kind of software layer

eMMC or SD Card have a custom hardware chip which handles the flash chips, so they are generic block devices that can be formatted with Ext2/3/4 or other FS

Alfred 2012-06-15 21:32

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
had to reflash after upgrade...

szopin 2012-06-16 00:43

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

Originally Posted by freemangordon (Post 1222167)
You're missing my point, it is not about the writes at all, rootfs is much faster on writes, but that does not matter when we're talking about executable code ;). Is is all about the read operations, and there is where rootfs is not only slower, but consumes 90% CPU time to achieve that slowness. BTW the reason i choose 95MB file to do the read test was to get rid of cache/buffers/whatever effects on the speed.

Also have in mind that there is no performance penalty for doing random reads on flash (i.e. /opt) it is only write operations that are affected.



Nah, there is no such thing like compression chip, it is the standard ubifs de/compression and it uses CPU. I definitely say it is slower, as my test ( the "time cat" one) shows the maximum reading speed achieved when there is noone else using the CPU. Imagine what happens with that speed when there are several processes using the CPU.

The case is closed for me, expect a new update (hopefully today) which moves Qt back to /opt.

Sorry for corpospeak, but that clarifies, thanks!

seanmcken 2012-06-16 03:18

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
wats difference between power kernel and this custom cssu kernel??

hxka 2012-06-16 04:43

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Did you try to read first post?


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

vBulletin® Version 3.8.8