#FOX board G20 troubleshootings

##Problem description

Sometime after a **reboot** command the FOX Board G20 hangs.

##Solution

If you are using a self compiled kernel 2.6.38 uImage comment these two lines on **arch/arm/mach-at91/at91sam9_alt_reset.S**:
and make again a uImage:

<pre class="prettyprint">
//str   r2, [r0, #AT91_SDRAMC_TR]       @ disable SDRAM access
//str   r3, [r0, #AT91_SDRAMC_LPR]      @ power down SDRAM
</pre>

If you are using an Acme factory default uImage download this uImage file:

* [uImage_reboot](http://terzo.acmesystems.it/download/microsd/uImage_reboot) (MD5: 0f2ea8f58cb35bef889058077751a27f)

Rename it in **uImage** and copy it on the first microSD FAT32 partition called "kernel".

You can change it remotely copying the uImage in the directory **/media/mmc_p1**:

<pre class="minicom">
$ scp uImage_reboot root@[fox IP number]:/media/mmc_p1/uImage
</pre>

and rebooting the FOX.

#Hangs after some days of regular work

##Problem description

When used a Debian microSD Acme R14: The FOX hangs after some days of regular work

##Solution

Edit the file <b>/etc/cron.weekly/apt-xapian-index</b> end insert "exit 0" after the first line:
<pre>
#!/bin/sh
exit 0
</pre>

#The Linux Kernel doesn't find the rootfs at startup with some brand new microSD

Probably your FOX Board G20 mount an AcmeBoot loader version 1.19 or older. Move to the new a version 1.20 or higher 

# The rootfs goes up in read-only mode

##Problem

On the FOX board G20 the rootfs goes up in read-only mode

##Solution

This is due to a bug on the atmel-mci.c Kernel 2.6.32.2 driver up to September 2010. Use the the latest kernel image available on 
<a href="/foxg20_binary_repository">binary snapshot</a> to avoid this problem.

# U-boot can't find foxg20-script.bin

##Problem

On the FOX board G20 u-boot can't find foxg20-script.bin

##Solution

If you are still using the U-boot bootloader instead of <a href="/acmeboot">AcmeBoot</a> with a <a href="/foxg20_binary_repository">Debian microSD</a> 
higher than R03 add <a href="./foxg20-script.bin">foxg20-script.bin</a> on the first FAT partition of your bootable microSD or move from 
U-boot to <a href="/acmeboot">AcmeBoot</a>. 


