forked from dorimanx/exfat-nofuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EXFAT 1.2.5 merged with Samsung Source 1.2.4 and modded, READ MORE be…
…low. Driver modded to work with 3.0.y up to 3.10.y + all recent fixes and guide how to add to kernel. I will be happy to add any other fixes to this driver. RXRZ passed ownership of the source to me.
- Loading branch information
Dorimanx
committed
Aug 25, 2013
1 parent
3e001ad
commit 0809cdb
Showing
25 changed files
with
1,078 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
config EXFAT_FS | ||
tristate "exFAT filesystem support" | ||
select NLS | ||
help | ||
exFAT driver from Samsung | ||
|
||
config EXFAT_DEFAULT_CODEPAGE | ||
int "Default codepage for exFAT" | ||
depends on EXFAT_FS | ||
default 437 | ||
help | ||
This option should be set to the codepage of your exFAT filesystems. | ||
|
||
config EXFAT_DEFAULT_IOCHARSET | ||
string "Default iocharset for exFAT" | ||
depends on EXFAT_FS | ||
default "utf8" | ||
help | ||
Set this to the default input/output character set you'd like exFAT to use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
# Exfat Linux kernel modules | ||
# | ||
|
||
obj-m += exfat.o | ||
obj-$(CONFIG_EXFAT_FS) += exfat.o | ||
|
||
exfat-y := exfat_core.o exfat_api.o exfat_blkdev.o exfat_cache.o exfat_super.o \ | ||
exfat_data.o exfat_global.o exfat_nls.o exfat_oal.o exfat_upcase.o | ||
|
||
EXTRA_FLAGS += -I$(PWD) | ||
|
||
#KDIR := /usr/src/linux/ | ||
KDIR := /lib/modules/$(shell uname -r)/build | ||
PWD := $(shell pwd) | ||
|
||
all: | ||
$(MAKE) -C $(KDIR) M=$(PWD) modules | ||
|
||
clean: | ||
$(MAKE) -C $(KDIR) M=$(PWD) clean | ||
|
||
help: | ||
$(MAKE) -C $(KDIR) M=$(PWD) help | ||
|
||
.PHONY : install | ||
install : all | ||
sudo $(MAKE) -C $(KDIR) M=$(PWD) modules_install; sudo depmod | ||
exfat_data.o exfat_global.o exfat_nls.o exfat_oal.o exfat_upcase.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,55 @@ | ||
exfat-nofuse | ||
============ | ||
|
||
Linux non-fuse read/write kernel driver for the exFAT file system.<br /> | ||
Originally ported from android kernel v3.0. | ||
|
||
|
||
Kudos to ksv1986 for the mutex patch!<br /> | ||
Thanks to JackNorris for being awesome and providing the clear_inode() patch.<br /> | ||
<br /> | ||
Big thanks to lqs for completing the driver! | ||
|
||
|
||
Special thanks to github user AndreiLux for spreading the word about the leak!<br /> | ||
|
||
|
||
Installation: | ||
> make<br /> | ||
> make install | ||
To load the driver manually, run this as root: | ||
> modprobe exfat | ||
|
||
Free Software for the Free Minds! | ||
exfat-nofuse | ||
============ | ||
|
||
Linux non-fuse read/write kernel driver for the exFAT file system.<br /> | ||
Originally ported from android kernel v3.0. | ||
|
||
|
||
Kudos to ksv1986 for the mutex patch!<br /> | ||
Thanks to JackNorris for being awesome and providing the clear_inode() patch.<br /> | ||
<br /> | ||
Big thanks to lqs for completing the driver! | ||
|
||
|
||
Special thanks to github user AndreiLux for spreading the word about the leak!<br /> | ||
|
||
To load the driver manually, run this as root: | ||
> modprobe exfat | ||
|
||
Free Software for the Free Minds! | ||
===================================== | ||
|
||
To add to kernel you need to do this: | ||
|
||
cd your kernel source dir | ||
|
||
mkdir fs/exfat | ||
|
||
copy all files (exept .git) from exfat-nofuse to your kernel source fs/exfat/ | ||
|
||
see | ||
https://github.com/dorimanx/Dorimanx-SG2-I9100-Kernel/commit/e8fc728a68096db9ffcebff40244ebfb60a3de18 | ||
|
||
edit fs/Kconfig | ||
edit fs/Makefile | ||
|
||
cd your kernel source | ||
make menuconfig | ||
|
||
go to: File systems > DOS/FAT/NT > check the exfat as MODULE (M) | ||
<M> exFAT filesystem support | ||
(437) Default codepage for exFAT | ||
(utf8) Default iocharset for exFAT | ||
|
||
ESC to main menu | ||
Save an Alternate Configuration File | ||
ESC ESC | ||
|
||
build your kernel. | ||
|
||
and you will have new module! | ||
|
||
exfat.ko | ||
|
||
have fun. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.