一、Environment
1、PC Linux :REL4 (Kernel 2.6);
2、Compiler:gcc-4.1.1
3、ARM Linux:Kernel 2.6
二、Operation steps in PC Linux
1、Download source packages from URL below:
a、fuse-2.5.2.tar.gz
b、ntfs-3g-1.2812.tgz
2、Tar the two source packages
a、# tar zxvf fuse-2.5.2.tar.gz
# ./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar --with-kernel=/usr/src/linux-2.6.19.2
# make
# make install
After finishing all steps above , you will find a '.ko' file in '. /fuse-2.5.2/kernel/fuse.ko ' and a '.so' file in ' /usr/local/lib/libfuse.so.2.7.4 '.
b、# tar zxvf ntfs-3g-1.2812.tgz
# ./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar --with-kernel=/usr/src/linux-2.6.19.2
# make
# make install
After finishing all steps above , you will find a executed file 'ntfs-3g' in ' /usr/local/bin/ntfs-3g ' and a '.so' file in ' /usr/local/lib/libntfs-3g.so.0.0.0 '.
三、Operation steps in ARM Linux
1、# cp libfuse.so.2.7.4 /lib
# cp libntfs-3g.so.0.0.0 /lib
# cp ntfs-3g /bin
# insmod fuse.ko
# ntfs-3g -o silent /dev/sda1 /mnt/sd
It's ok . If you do those steps successfully , congratulation to you .
阅读(889) | 评论(0) | 转发(0) |