Reply
Thread Tools
Posts: 5 | Thanked: 6 times | Joined on Apr 2010
#131
egoshin, 009

Success - thanks for the guide. ( screenshot attached )
Initially on eMMC, very jerky and slow, with about 47 % RAM usage but loads of space, and I'm sure, as it settles in, it will speed up and smoothen out.
If you see anything wrong on the screenshot - please let me know.
And THANKS again.
FYI, the new scripts in post 125 work as advertised on 1.3 with Kernel-power46.
Also did the " mv /home/var/lib/gconf /var/lib/gconf.home
ln -s /mnt/initfs/var/lib/gconf.home /home/var/lib/gconf " script on UBIFS.
Attached Images
 
 
Posts: 152 | Thanked: 58 times | Joined on Oct 2010 @ void
#132
Congrats!
Egoshin's fine-tuning script does make a difference. With OC it feels even smoother than the factory setting.
btw are you using any bootloader or simply use egoshin's open-or-close-keyboard-booting-method?
 
Posts: 5 | Thanked: 6 times | Joined on Apr 2010
#133
Using the open/close method. open = eMMC, closed = UBIFS
Tried with multiboot - no luck, tried with bootmenu-n900 - no luck.
Tried every concieveable .item file configuration.

I will miss multiboot, as I had MER, UBUNTU, Meego, SHR and NITDroid running off SD's with multiboot - and also tried NITDroid on a partitioned eMMC - worked great - v.fast but got very hot !
Yip - the fine tuning script worked great on second reboot, the device is whistling along - faster and smoother than original !

Now to adding back all my applications - Queen Bee Widget and Fcron have revolutionised the way I use my n900, mainly saving 3-4 button presses per function, and automating functions, respectively !
 

The Following 2 Users Say Thank You to kashortie For This Useful Post:
Posts: 152 | Thanked: 58 times | Joined on Oct 2010 @ void
#134
Ya, multiboot and bootmenu-n900 don't work in this scenario. Next I am going to try kexec but first I have to get the right kernel image. AFAIK power-kernel supports kexec.
Thanks for mentioning Fcron. Haven't tried that yet but a couple of scripts look interesting...

Off topic. Also did some hacks today:
- Matan's modified-hildon-desktop, particularly the new task view (Ctrl-Backspace) which enables cycling windows.
- Remapping Fn-arrow keys and Shift-arrow keys
http://wiki.maemo.org/Remapping_keyboard -- say goodbye to the bulky toolbar in terminal.
- Cool stuff from http://wiki.maemo.org/User:Joerg_rw/tools
- Bash a la colorful terminal: http://talk.maemo.org/showthread.php?t=14613

Ah, forgot to mention something more relevant: installed a whole bunch of compilation tools (GCC, G++, etc.) right in the rootfs. Who cares about space?

PS @kashortie: how would you choose these: http://talk.maemo.org/showthread.php?t=66280 ?

Last edited by 009N; 2010-11-30 at 14:34.
 

The Following User Says Thank You to 009N For This Useful Post:
Posts: 5 | Thanked: 6 times | Joined on Apr 2010
#135
009N

As well as the rootfs on eMMC and egoshins scripts mv /home/var/lib/gconf /var/lib/gconf.home
ln -s /mnt/initfs/var/lib/gconf.home /home/var/lib/gconf " UBIFS ....- I'm also now using swappolube with swappiness 30 etc...
O/C'd to 950... battery life up incredibly, as is the speed, and transitions - its SOOOO smooth !!! can multitask without the hanging - especially when browsing web, no more white screen hangs.

I'm also using MohammadAG thp/matan hildon-desktop tweaks, and manually modded with some osso/hilden-desktop bool true and int 1,2,3 etc http://my.arava.co.il/~matan/repo/Mo...n_Desktop.html to get CTRL+Backspace to scroll the nav tasks ( like windows/tab ) - NICE !
Scrolling is v.fast

I also using Fcam, and did a mod where the camera can use ext3 space when vfat full ...http://talk.maemo.org/showpost.php?p...1&postcount=66

cd /home/user
umount MyDocs
dd if=/dev/zero of=FAT bs=1M seek=256 count=0 # small 256MB image
losetup /dev/loop0 FAT
mkfs.vfat -F32 /dev/loop0
vi /etc/fstab # replace /dev/mmcblk0p2 with /dev/loop0
mount MyDocs
this works only till the next reboot.
Now we only need to modify the scripts (in ke-recv?) to do this automatically
and we could completey get rid of the VFAT partition

Last edited by kashortie; 2010-12-01 at 14:55. Reason: typos
 

The Following 2 Users Say Thank You to kashortie For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#136
Scripts worked for me.

I got it to work with multiboot and stock kernel, but wouldn't work with kernel-power.

I used the stock scripts, with all the version checks commented out.
Then I installed bootmenu-n900, and edited /etc/bootmenu.conf just to test it. It worked.

I then installed nitdroid via the nitdroid-installer.

Then i did
Code:
apt-get install kernel-power-bootimg
apt-get install --reinstall multiboot-kernel-power
Then i copied the .item files and edited them (as seen below)

This works: 44-Maemo-2.6.28-omap1.item
Code:
 
ITEM_NAME="Maemo 2.6.28-omap1 home"
ITEM_KERNEL=2.6.28-omap1
ITEM_MODULES=ext3
ITEM_DEVICE=${INT_CARD}p2
ITEM_FSTYPE=ext3
And this works: 01-Maemo-kernel-power46.item
Code:
# AUTOGENERATED by multiboot-kernel-power
# !!! DON'T EDIT !!!
ITEM_NAME="Maemo kernel-power46"
ITEM_KERNEL="2.6.28.10power46"
ITEM_MODULES=ext3
This does not: 55-Maemo-kernel-power46.item

Code:
ITEM_NAME="Maemo kernel-power46 EMMC"
ITEM_KERNEL="2.6.28.10power46"
ITEM_MODULES=ext3
ITEM_DEVICE=${INT_CARD}p2
ITEM_FSTYPE=ext3
Maemo starts to load, I see the five throbbing dots for a few seconds, and then the device powers off.

I figured it was a watchdog thing, so I tried enabling RD mode, but RD mode appears not to work with multiboot.

Any ideas?

Last edited by preflex; 2010-12-22 at 12:53. Reason: more info
 

The Following 2 Users Say Thank You to preflex For This Useful Post:
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#137
It is strange because at "five-dots" moment the DSME already setup communication with hildon-session and started feeding a watchdog. But I may be wrong (couple of months passed).

Let me look again on this. I have no power-kernel installed. Later I will ask you some questions but for now I like to get your /sbin/preinit, /bootmenu.sh and /etc/bootmenu.conf
 
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#138
/sbin/preinit
http://pastebin.com/w2VaFSeU

I'm using multiboot (which works with these scripts when not trying to boot kernel-power), so I doubt the bootmenu files are relevant. In fact, I don't even have a /bootmenu.sh or /etc/bootmenu.conf as the program is no longer installed.

I included the content of my .item files in /etc/multiboot.d/ in my previous post.

I know e-yes said this wouldn't work at all, but it does work when using stock kernel, and it almost works with kernel-power.

Last edited by preflex; 2010-12-25 at 02:59.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#139
Originally Posted by pali View Post
I created configuration for bootmenu-n900 and I moved system to /home/maemo5 So /opt is not same for internal flash system and for system on eMMC.

It needs patches for bootmenu-n900. I testing it now and later I publish my patches.
I tested it a lot and now it works fine without problem. It is good alternative solution to 009N. Scripts are hosted in my bzr branch on launchpad (from can be downloaded):

https://code.launchpad.net/~pali/+junk/maemo_M32GB

It only need lastest version of bootmenu-n900. Maemo5 is installed to /home/maemo5 so /opt is not shared with internal flash. It is now fully dualboot independent system with working bootmenu

For booting it use very ugly hack with overmount, pivot_root and chroot... but it works nice:

Code:
$ mount
rootfs on / type rootfs (rw)
ubi0:rootfs on /mnt/initfs type ubifs (rw,bulk_read,no_chk_data_crc)
/dev/mmcblk0p2 on /home/user type ext3 (rw,noatime,nodiratime,errors=continue,commit=1,data=writeback)
/dev/mmcblk0p2 on / type ext3 (rw,noatime,nodiratime,errors=continue,commit=1,data=writeback)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
Code:
Filesystem            Size  Used Avail Use% Mounted on
rootfs                6.0G  3.5G  2.2G  62% /
ubi0:rootfs           228M  134M   90M  60% /mnt/initfs
/dev/mmcblk0p2        6.0G  3.5G  2.2G  62% /home/user
/dev/mmcblk0p2        6.0G  3.5G  2.2G  62% /
tmpfs                 1.0M   88K  936K   9% /tmp
tmpfs                 256K  108K  148K  43% /var/run
none                   10M   72K   10M   1% /dev
tmpfs                  64M  4.0K   64M   1% /dev/shm
/opt/pymaemo/usr/lib/python2.5
                      6.0G  3.5G  2.2G  62% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
                      6.0G  3.5G  2.2G  62% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
                      6.0G  3.5G  2.2G  62% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
                      6.0G  3.5G  2.2G  62% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
                      6.0G  3.5G  2.2G  62% /usr/lib/python-support
/dev/mmcblk0p1         24G   15G  8.1G  66% /home/user/MyDocs
* Note I have modified size of eMMC partitions
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 9 | Thanked: 1 time | Joined on Nov 2010
#140
Can anyone help me to modify this script to copy rootfs to SD Card instead of eMMC?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:11.