On Tue, 2013-02-12 at 16:51 -0800, Eric Huang wrote:
Hi, I tried to boot Android on TC2, using Linaro 12-11 release. I am getting error messages indicating SD card detection failure.
There is no mention of 'mmc' anywhere in the boot log and there normally is several lines associated with the device driver getting started, so yes, it looks like the MMC device isn't getting detected at all.
What version of the firmware are you using? My first guess as to the cause of the problem would be that you are using firmware from the latest Version 5 of the Versatile Express CD. This includes an IOFGA update which adds a new variant of the PL180 MMC device, and the 12.11 release doesn't include support for that. What does your MBIOFPGA line in MB/HBI0190D/board.txt look like? If it has "io_b108.bit" you have the newer version.
If that is the problem then you have three choices.
1. Use the latest 13.01 Android release. You will also need some extra firmware updates from ARM for this. The steps are shown in the 'Firmware Update' tab of http://releases.linaro.org/13.01/android/vexpress
2. Stick with the 12.11 Android release and revert to the firmware from the Version 4 Versatile Express CD. Again, the firmware will need to be patched and the steps are in the 'Firmware Update' section of the release notes for the 12.11 release: http://releases.linaro.org/12.11/android/vexpress
3. This is an option I haven't tested and may not work... Recompile the kernel in the 12.11 release after applying this MMC patch: http://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=commit%3...
If I've guess wrong and this isn't the cause of the problem, then it would be good to check exactly what firmware you have installed, so could you send these files from your Versatile Express:
MB/HBI0190D/board.txt SITE1/HBI0249A/board.txt SITE1/HBI0249A/images.txt