View Single Post
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#18
Originally Posted by reinob View Post
Care to explain what exactly you've done? Would be nice if you could post your /sbin/preinit!
Basic idea: /lib, /usr/bin, /usr/lib, /usr/share are all from eMMC. ie: I do a "mount -o bind /home/mnt/.emmcfs0/lib /lib" etc in /sbin/preinit. There's a /lib-nand that still resides in NAND, & which was the original /lib. Same for usr/bin, /usr/lib, /usr/share. Files in /lib-nand are soft linked over to /lib (on eMMC). Due to the way it is, install of new apps would install into eMMC.

My /sbin/preinit attached. Not the latest yet as there's one small bit I'm fixing.

There's actually some more details... will post later if you want.

I did all that on a new flash image, & then reinstalled my apps.
Found out FAM lets one export list of installed apps & can reinstall all of them using that same list! But I decided to scrutinize each deb being installed this time to control mem usage (separate story; but basically, with only BT & GSM turned on, after 20 hours of idle time, I still have 80% batt left).

kh
Attached Files
File Type: zip preinit-20120903.zip (4.1 KB, 90 views)
 

The Following 4 Users Say Thank You to bozoid For This Useful Post: