On 06/04/13 04:10, Jon Medhurst (Tixy) wrote:
What are the actual errors you get? What kernel config are you using? Do you have these options enabled?
The errors are:
mmc0: host doesn't support card's voltages mmc0: error -22 whilst initialising SD card SD: Unknown CMD1
The above repeats quite a lot, probably forever. The kernel is 3.10-rc3. The config is vexpress_defconfig.
CONFIG_VEXPRESS_CONFIG=y CONFIG_SENSORS_VEXPRESS=y CONFIG_REGULATOR=y CONFIG_REGULATOR_VEXPRESS=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y
Thanks. CONFIG_REGULATOR was not set and setting it seems to have gotten me further. Adding SENSORS_VEXPRESS (and hwmon), and the LED support made no incremental difference.
On 06/04/13 04:28, Peter Maydell wrote:
On 4 June 2013 09:10, Jon Medhurst (Tixy) tixy@linaro.org wrote:
Does anyone know if QEMU emulates all the system register bits to actually get the above things working? Linux drivers to use these features were added to 3.7 so QEMU probably wouldn't have needed to support them 9 months ago.
Yes, QEMU 1.5 supports these, so a sufficiently recent QEMU will work fine. If you get these messages then you need to update your QEMU or use the right dtb blob for your kernel or fix your kernel config as Tixy suggests.
$ qemu-system-arm -version
QEMU emulator version 1.4.0 (Debian 1.4.0+dfsg-1expubuntu4), Copyright (c) 2003-2008 Fabrice Bellard
So my QEMU may be stale, and that may explain why now I get:
clcd-pl11x: probe of 10020000.clcd failed with error -22 clcd-pl11x: probe of 1001f000.clcd failed with error -22 vexpress-sysreg 10000000.sysreg: error -22 VD10: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 VD10_S2: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 VD10_S3: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 VCC1V8: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 DDR2VTT: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 VCC3V3: no parameters vexpress-sysreg 10000000.sysreg: error -22 vexpress-sysreg 10000000.sysreg: error -22 VIO: no parameters vexpress-sysreg 10000000.sysreg: error -22
However it looks to me like the SD is working now. I think the real problem now is that it's not succesfully mounting udev or the SD root partition (even though it sees both partitions). At this point I kind of need to make some progress so I'm going back to just using my Panda board.
-dl