On 4 June 2013 09:10, Jon Medhurst (Tixy) tixy@linaro.org wrote:
On Tue, 2013-06-04 at 00:07 -0400, David Long wrote:
I'm trying to build for versatile express to run under QEMU. When I boot under QEMU I get errors regarding the SD voltage, and it fails.
I've never really tried using QEMU so don't have any QEMU specific help to offer, but I have some questions...
What are the actual errors you get? What kernel config are you using? Do you have these options enabled?
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
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.
thanks -- PMM