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.

1 Answer 1


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.

  • Thank you for your answer. However, I'm still confused as to how to remove the OS. I've typed the lsb_release -a command, and get Debian GNU/Linux 6.0.4 (squeeze) as my description. I try to therefore remove it using sudo apt-get --purge remove base-files. But I'm not sure if the OS has actually been removed or not. Could you help me in that area? The uname -a command gives me Linux foxboard 2.6.38.
    – Mahmoud
    Apr 14, 2014 at 12:24
  • Reliably removing the OS from within the running OS is typically quite difficult ;) The specs show it is installed on the micro SD card, simply take that out and format it...
    – HBruijn
    Apr 14, 2014 at 12:48
  • So by formatting the micro SD card, it will remove the OS on the board? Sorry I'm very new to all this!
    – Mahmoud
    Apr 14, 2014 at 12:51
  • Yes, the OS is installed on the SD card. Removing and formatting that is the same as removing the hard disk from your laptop or PC. There's a bootloader in the 256KB of FLASH memory chip which won't be effected but since there won't be an OS, the bootloader will simply hang with an error message.
    – HBruijn
    Apr 14, 2014 at 13:19
  • But if you don't actually know how to intentionally break it, will you be able to repair it?
    – HBruijn
    Apr 14, 2014 at 13:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .