Below are the steps that can be used to build a Debian file system on a ARM platform,
1) Download debootstrap-udeb package from Debian website
wget
http://http.us.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3.2etch1_arm.udebunpack it with the following command,
dpkg-deb -x debootstrap-udeb_0.3.3.2etch1_arm.udeb /
to install the bootstrap package
2) Mount a clean partition on /mnt and run the bootstrap program to install base package
debootstrap etch /mnt
http://ftp.us.debian.org/debian/3) edit /etc/inittab to setup serial line
for example,
T0:23:respawn:/sbin/getty -L ttyAM0 57600 vt100
Substitute the Debian distribution version with the one to be installed in step 1 and 2.