Active Topics

 



Notices


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
WARNING: IF YOU **** UP, DESTROY, ETC YOUR NOKIA INTERNET TABLET, MMC/SD CARDS BY TRYING/USING THIS SOFTWARE, I WONT GIVE A ****. OR TAKE RESPONSIBILITY. This is provided 'as is', any damages while installing, using etc are solely your fault i.e I will not incur any blame. Saying that, I will try and help you out.
WARNING: DO NOT RUN mmc-unionfs boot-disable. I just did and it went and deleted all my links in the /etc/rc2.d/ folder.
I'm working on a fix. But do not touch the boot options for your own safety.

Hi, I've compiled union-fs for os2008.

What is it?

From http://www.hczim.de/software/mmc-unionfs.html

mmc-unionfs extends your internal file system's available space (both from the user's and the programmer's perspective) by up to the total amount of your MMC. That means that, after having installed it, you can use your MMC for anything (only exception: low level firmware) you can do in internal memory without any modification to the applications or the file system (like links pointing into the MMC).
How to install:

1. You need a kernel with case_copy symbol enabled.

To build your own:
Grab the unionfs patch from here: http://download.filesystems.org/unio...6.21.7.diff.gz
Grab fanoush's patch to enable menu makeconfig and enable unionfs as a module.
Open arch/arm/kernel/armksyms.c and insert EXPORT_SYMBOL(copy_page); after EXPORT_SYMBOL(__strncpy_from_user);

Or grab one of these already compiled kernels:

Standard kernel with case_copy:
http://www.mediafire.com/?byzz1y9ojmf

This is my experimental kernel. It may have problems in it but it's the one I'm running. Contains the features of Fanoush's kernel (fixed rotation, 48Hz Faster MMC, extended brightness & crypto api) , plus the USB DMA & Powercheck disabled, LUKS, IPv6 and the case copy symbol. Be careful when using this one.

http://www.mediafire.com/?jx1s1qsyyin

You can flash a kernel with the Linux/Mac flasher-3.0 or on the device with Fanoush's kernel_flasher.

2. Learn how to prepare your memory card for this here:
http://www.hczim.de/software/mmc-unionfs.html

Install this deb:
http://www.mediafire.com/?dcewxtsnmyy

(It says 2.6.12.3 but it's for 2.6.21 - the kernel in OS2008)

I modified the old one and fixed it up so it would work on OS2008.

sudo gainroot
dpkg -i mmc-unionfs-2.6.12.3-omap1-2.3.deb
cd to /var/lib/install/usr/share/mmc-unionfs
./setup.

Enable mmc-unionfs and enjoy

*I tried enabling bootup option and I get on startup

Problems and todo.
mmc-unionfs: 0.3.1
mmc-unionfs: searching for mmc-union on MMC partitions
mmc-unionfs: trying: mmcblk0p1 ... mmc-unionfs: trying to mount /dev/mmcblk0p1 on /media/mmmmc-unionfs: Didn't find any valid partition.
mmc-unionfs: Partitions searched: mmcblk0p1
mmc-unionfs: No mmc-union found. Please setup one firstmmc-unionfs: Errors, aborting.
The init script runs at S00, at which point do mmc cards get mounted and how do I manually mount a card in that script?
Extending /home/user segfaults.

Fix unionfs enabling on boot.
Add an option to modify the mmc's scripts so it will unmount your unionfs partition and remount when taken out.
Fix boot-disable option. **** just went and deleted RC2 folder.

Last edited by qwerty12; 2008-04-14 at 18:08.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Bump,

Post updated with an much easier way of installing.
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#3
qwerty12, really, your hypocrisy knows no bounds!
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Originally Posted by GeraldKo View Post
qwerty12, really, your hypocrisy knows no bounds!
Hehe, what can I say

I do think mmc boot is better but my mmc cards are quite small and I get i/o errors which in the end destroy my mmc boot.

So this is more space saving and less wearing on my mmc
 

The Following User Says Thank You to qwerty12 For This Useful Post:
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#5
This would be nice to install on a fresh os flash... where you might flag the internal 256megs to be a read only partition and union mount a partition on sd.

When you screw it up just create a new partition on mmc and union it back to original fs.

The eee does this with their xandros os install... its readonly partition and the other partition is user files/progs.

Additionally this would have added benefit that you could back up the mmc image and its basically just backing up whats 'different from base install'.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Nice idea ,infact it could be compiled straight into kernel for that purpose.

But I don't have the time or knowledge to maintain this. The kernel module is fine, it's just that the shell scripts needs fixing so if anyone is interested...
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#7
Here's a bump.

I compiled the latest aufs from their cvs. I changed it to use atomic_cmpxchg instead of cmpxchg. To use cmpxchg means kernel modifications which puts me in same situation as unionfs so I chose to use atomic_cmpxchg. This module will insert on any 2.6.21-omap1 kernel that is flashed on your tablets (48 Mhz, rotation etc).

http://qwerty12.maemobox.org/modules_libs/aufs.ko
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:55.