<br><font size=2 face="sans-serif">I am using at91sam9g20 with 2.6.27 linux
kernel and having problem in booting the kernel on one of the board.</font>
<br><font size=2 face="sans-serif">I have analysed the arm register configuration
and have seen by disabling the data cache in the kernel at the below locations,
the kernel works fine on the bad board.</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3>1) The "arch/arm/boot/compressed/head.S"
which is used for decompressing the kernel and here i have changed the
code manually to not to enable the data cache.<br>
writing #0x0009 instead of #0x000d to the c1 register of the cp15.<br>
2) The "arch/arm/kernel/head.S" file and for this the CONFIG_CPU_DCACHE_DISABLE
kernel config option is sufficient to disable the data cache enabling.<br>
<br>
If i dont do the first one , i get<br>
Uncompressing Linux.............................................................<br>
................................................<br>
crc error<br>
-- System halted<br>
<br>
and if the first change is done and the seconds one is not done, then the
kernel boots up but fails to mount the RFS. On doing both changes the kernel
boots up fine with the RFS.<br>
I feel like data chache disabling is needed only at places where there
is some king of data decompression. </font>
<br>
<br><font size=3>It will be helpful if you can give some input on this
issue.</font>
<br>
<br><font size=3>Regards</font>