OpenWrt Forum Archive

Topic: Adding exFat support

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Prerequisites:
- You must have checked out the OpenWrt build-system first.
- The toplevel build dir (TOPDIR) in this howto is ~/trunk

1) Clone the feeds file

cp -fpR feeds.conf.default feeds.conf

2) Add our custom feed

echo "src-link custom ../myfeed" >> feeds.conf

3) Get the Makefiles to add exFat support

mkdir -p myfeed/exfat/files
wget -O myfeed/exfat/Makefile http://enduser.subsignal.org/~trondah/tree/myfeed/exfat/Makefile
wget -O myfeed/exfat/files/Makefile http://enduser.subsignal.org/~trondah/tree/myfeed/exfat/files/Makefile

4) Install our custom feed and the exfat package

./scripts/feeds install -p custom
./scripts/feeds update custom -i
./scripts/feeds install exfat

5) Build exFat support into the image

mkdir -p ~/.openwrt
cat > ~/.openwrt/defconfig <<EOF
CONFIG_PACKAGE_exfat=y
CONFIG_PACKAGE_exfat-utils=y
EOF

6) rebuild OpenWrt

make defconfig
make V=s

Result:

ll -h bin/ar71xx/packages/ex*
-rw-r--r-- 1 openwrt openwrt 20K Jul 16 16:31 bin/ar71xx/packages/exfat-utils_r287-1_ar71xx.ipk
-rw-r--r-- 1 openwrt openwrt 22K Jul 16 16:31 bin/ar71xx/packages/exfat_r287-1_ar71xx.ipk

(Last edited by written_direcon on 18 Jul 2013, 23:26)

The site enduser.subsignal.org is down. Anyone got an alternate location for these Makefiles?

Any word on this?

@sindhus, Not sure what you are looking for...

There is a kmod-fs-exfat package at this point.   

I was trying to get it working on a 64gb micro-SD card that came formatted that way, but ultimatly gave up.  You may find some answers in this post.
https://forum.openwrt.org/viewtopic.php?id=65745

The discussion might have continued from here.