Booting CNS3420 EVB v 1.3 failed with 2.6.36 (and 2.6.35)

Lin Mac mkl0301 at gmail.com
Tue Nov 9 23:00:36 EST 2010


2010/11/9 Anton Vorontsov <cbouatmailru at gmail.com>:
>> BTW, the default boot command includes root=/dev/mmcblk0p1, but
>> CONFIG_MMC_SDHCI_CNS3XXX is not enabled.
>> Even if it is enabled, I got a crash once mounted. It works fine
>> without L1 cache enabled (CONFIG_CPU_ICACHE_DISABLE,
>> CONFIG_CPU_DCACHE_DISABLE). So it seems there are some cache coherency
>> issue on the SDHC device.
> I recalling I observed something like this, and it was somehow
> related to the memory setup. The old (Jan 20 2010) U-Boot that
> I used was configuring RAM incorrectly, and caches were just
> unveiling the problem.

I was using vanilla kernel. And I just found that Catalin's patches
for cache maintenance changes is not in vanilla kernel. Using
Catalin's kernel fixed this issue. It is due to the SDHCI driver is in
PIO mode, and hit the cache coherency issue with PIO mode.

Best Regards,
Mac Lin.



More information about the linux-arm-kernel mailing list