I am using an embedded board, a FOX G20 V with an ATMEL AT91SAM9G20 processor. I would like to know first of all, which specific linux version I am using on this board, but also, how to remove it. What commands do I type through the terminal to do so? Also, once that is done and the linux is removed, I would like to install a compatible compiler with the processor. Does anyone know how I can go about in doing so? Or does anyone have any available links in how I can install a compatible compiler for this board? I'm very new to embedded development and I'm stuck on these two steps at the moment. 
Uninstall Linux on an embedded board
linux;embedded
There's is not a standardized method to determine the OS and distribution. The uname -a command is pretty common and works for quite a few Unix like operating systems and often has hints to the actual OS. Linux specific are the /proc/version file and the common lsb_release -a command. Red Hat and derivative distributions like CentOS will have a file /etc/redhat-release. IIRC Debian and derivatives like Ubuntu have an equivalent /etc/debian_version file. A quick look at the specs suggest that the Fox G20 comes pre-installed with a Debian version. The Fox G20 getting started guide seems to have quite a bit of useful instructions as well.