Skip to content
tmolteno edited this page Sep 6, 2011 · 16 revisions

WOpenFat is a Fat Filesystem for embedded processors, created by the Electronics Research Group at the University of Otago, and supported by a grant from the New Zealand Ministry of Science and Innovation. The majority of the coding is done by Gareth MacMullin. The

Build an ARM Toolchain

Unless you already have one, build a toolchain see here for instructions. The rest of this tutuorial assumes that you have built the toolchain with PREFIX=/usr.

apt-get build-dep gcc-4.5
./summon_arm_toolchain SUDO=sudo PREFIX=/usr

Build OpenFat

Get a copy of the openfat source from here

Steps:

tar -zxf tmolteno_openfat_xxx.tar.gz
cd openfat_xxxx
make HOST=stm32
cd stm32
make

Testing Openfat

To test, you need a Fat32 image. To do this,

cd unix
sudo make fat32.img
sudo mount fat32.img /media/test
sudo cp Makefile /media/test
sudo umount /media/test
The last line copies a file onto the fat32 filesystem.
Clone this wiki locally