CD exfat support for Tomato. https://github.com/dorimanx/exfat-nofuse.
[tomato.git] / release / src-rt / linux / linux-2.6 / fs / exfat / README.md
blobe14291263ae745bc8c53b0e4189da2b73b43bd1c
1 exfat-nofuse
2 ============
4 Linux non-fuse read/write kernel driver for the exFAT file system.<br />
5 Originally ported from android kernel v3.0.
8 Kudos to ksv1986 for the mutex patch!<br />
9 Thanks to JackNorris for being awesome and providing the clear_inode() patch.<br />
10 <br />
11 Big thanks to lqs for completing the driver!
12 Big thanks to benpicco for fixing 3.11.y compatibility!
15 Special thanks to github user AndreiLux for spreading the word about the leak!<br />
18 Installation as stand alone module:
19 ====================================
21     make -f Makefile.module KDIR="path to kernel source" CROSS_COMPILE="path to android chain tools (as linaro)/bin/SOMETHING- (see your folder for clues)"
23 Example how it's works for me!
25     make -f Makefile.module CROSS_COMPILE=../dorimanx-SG2-I9100-Kernel/android-toolchain/bin/arm-eabi- KDIR=../dorimanx-SG2-I9100-Kernel/
27 exfat.ko module file will be created in exfat source folder. and will work with kernel source you have used.
29     make -f Makefile.module install
31 To load the driver manually, run this as root:
33     modprobe exfat
35 To add to kernel you need to do this:
36 ======================================
38 cd your kernel source dir
40 mkdir fs/exfat
42 copy all files (except .git and .gitignore) from exfat-nofuse to your kernel source fs/exfat/
44 see
45 https://github.com/dorimanx/Dorimanx-SG2-I9100-Kernel/commit/e8fc728a68096db9ffcebff40244ebfb60a3de18
47 edit fs/Kconfig
48 edit fs/Makefile
50 cd your kernel source
51 make menuconfig
53 Go to:
54 > File systems > DOS/FAT/NT > check the exfat as MODULE (M)
55 > (437) Default codepage for exFAT
56 > (utf8) Default iocharset for exFAT
58 > ESC to main menu
59 > Save an Alternate Configuration File
60 > ESC ESC
62 build your kernel.
64 and you will have new module!
66 exfat.ko
68 have fun.
70 Free Software for the Free Minds!
71 =====================================