View Single Post
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: