Reply
Thread Tools
Posts: 286 | Thanked: 259 times | Joined on Jan 2006 @ Cambridge, England
#151
Originally Posted by ascherjim
I have been frustrated for some time because Wolfram's seemingly excellent deb is not usable with OS 2006. I know that I can now partition swap space without it, but I want to be able to do more than that. I want to be able to fully effect the partitioning recommended by Wolfram (moving key elements of the root system to the memory card, and accessing them on the card). In other words (or the same words!) I want to be able to install Wolfram's script (or its equivalant aspects) to my 770 for accessing as part of the repartitioning process. Can anyone out there help me?
Last I heard mmc-unionfs is being worked on, though the last update was back in July, http://www.heike-zimmerer.de/software/mmc-unionfs.html

This might be more elegant and easier, if the author Heike can get it working.

Rich
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#152
Originally Posted by richie
Last I heard mmc-unionfs is being worked on, though the last update was back in July, http://www.heike-zimmerer.de/software/mmc-unionfs.html

This might be more elegant and easier, if the author Heike can get it working.

Rich
Rich: Thanks. Will give it a try. Jim
 
Posts: 286 | Thanked: 259 times | Joined on Jan 2006 @ Cambridge, England
#153
Sorry I've mislead you, its not working yet for IT2006, it did for 2005 OS. I meant that the package is being worked on to make it work with IT2006 and hopefully will be available soon.
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#154
Richie: No problem. I'll wait until that method is perfected for the 2006 OS. In the meantime I may have a try at the system described in http://maemo.org/pipermail/maemo-de...ust/005040.html transferring the whole root system to, and accessing from, the memory card. I'll keep my eye on this forum as things develop. Thanks for the assistance. Jim

Last edited by ascherjim; 2006-08-13 at 06:07. Reason: misspelling
 
Posts: 97 | Thanked: 5 times | Joined on Aug 2006
#155
Shouldn't access to the MMC-Card be much slower than to the internal RAM?
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#156
Good point. I guess I'll just sit back and watch the forum and wait for the "union" system to be perfected. Thanks again. Jim
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2006
#157
I've upgraded to IT2006 and I'm now looking for a way to mount an ext2 filesystem duing boot (and umount it during shutdown).

Things have changed a lot in IT2006 and I'm lost. This works for me:

insmod /mnt/initfs/lib/modules/current/ext2.ko
mount /dev/mmcblk0p2 /media/mmc2

But which startup file should I modify to automate this during the boot sequence?

Reinhard
 
Posts: 106 | Thanked: 3 times | Joined on Dec 2005
#158
Originally Posted by Reinhard
This works for me:

insmod /mnt/initfs/lib/modules/current/ext2.ko
mount /dev/mmcblk0p2 /media/mmc2

But which startup file should I modify to automate this during the boot sequence?

Reinhard
/etc/init.d/minircS

At least, that makes sense to me, and seems to be working well.

And a question in return: does anyone know if it's safe to mount an ext3 fs as ext2, or why the corresponding insmod for ext3.ko (same as above but with 3 instead of 2) fails? I realize that ext3 is not recommended, but I mistakenly chose ext3 for my MMC partition some time ago and have quite a lot of stuff on it now.

- Neil
 
Posts: 264 | Thanked: 28 times | Joined on May 2006
#159
I put the insmod near the top of /etc/init.d/minircS just after the PATH= line,
I put the mount near the bottom of that file just before the exit 0.

I unmount (umount) the filesystem in /etc/init.d/minireboot and minishutdown on the same line that mmc1 is unmounted:

Code:
echo "Unmounting filesystems... "
umount -r /media/mmc1 /media/mmc2 /mnt/initfs /
swapoff -a
echo "done."
I can reference just the mountpoint because I have a line in /etc/fstab for mmc2:

Code:
/dev/mmcblk0p2  /media/mmc2 ext2 rw,noauto      0 0
Neil, copy your stuff off to your hard drive, delete the ext3 partition, create an ext2 partition (and maybe a swap partition) then copy your stuff back.

Last edited by BanditRider; 2006-08-17 at 12:41.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#160
Originally Posted by schmolch
Shouldn't access to the MMC-Card be much slower than to the internal RAM?
In theory, yes. Raw mmc read speed is 1,5MB/s, raw internal flash read speed is 4MB/s (both measured by dd utility). In reality it is hard to notice. Internal flash uses jffs2 filesystem which is compressed. This saves space in flash but takes cpu cycles to decompress and slows things down both for reading and writing. It even feels to me that ext2 on mmc is a bit faster than jffs2 on internal flash. I may get some numbers in future but I know I can hardly tell whether I booted from mmc or internal flash without using df utility to check :-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:58.