-
Notifications
You must be signed in to change notification settings - Fork 8
Home
gsmcmullin edited this page Sep 8, 2011
·
16 revisions
OpenFat 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 McMullin.
Unless you already have one, build a toolchain see here for instructions. The rest of this tutorial assumes that you have built the toolchain with PREFIX=/usr.
apt-get build-dep gcc-4.5
./summon_arm_toolchain SUDO=sudo PREFIX=/usr
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
To test, you need a Fat32 image. To do this,
cd unix
sudo make fat32.img
sudo mount -o loop fat32.img /media/test
sudo cp Makefile /media/test
sudo umount /media/test
./fattest