qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch 1/2] switch support v2


From: Armin
Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2
Date: Tue, 18 Dec 2007 08:40:42 -1000
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Laurent Vivier wrote:
Le lundi 17 décembre 2007 à 09:40 -1000, Armin a écrit :
Laurent Vivier wrote:
Hi,

if you just want to configure which bank to use with pflash, perhaps you
can do something like:

qemu -drive if=pflash,unit=0

to use the first bank, and

qemu -drive if=pflash,unit=1

to use the second bank.
Yes, that might work for the flash case but does not address other switches settings. In my case, the Mainstone has two rotary switches that define which frequency to boot up in.

But I don't think qemu able to emulate frequency ?
So it should be useless.
I am sure that is true and my example might be very week in the above case.
I think if a board we are trying to emulate has boot time configurations governed by jumpers or switches for enabling or disabling certain hardware devices , then having a runtime solution seems more appropriate. It seems silly to have to rebuild to qemu if one wants to switch device A to be uart #2 from an IrdA device when using "-switches 1=on" could do the same.

regards,
Armin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]