qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Armin <akuster@kama-aina.net>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2
Date: Mon, 17 Dec 2007 09:40:59 -1000	[thread overview]
Message-ID: <4766D0CB.4010903@kama-aina.net> (raw)
In-Reply-To: <1197915422.17512.3.camel@frecb07144>

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.

- Armin
> Laurent
>
> Le lundi 17 décembre 2007 à 07:29 -1000, Armin a écrit :
>   
>> Johannes Schindelin wrote:
>>     
>>> Hi,
>>>
>>> On Sun, 16 Dec 2007, Armin wrote:
>>>
>>>   
>>>       
>>>> This may be one way to simulate switch or jumper settings one may change 
>>>> on a board before booting. It uses a simple text file for input. The 
>>>> file name is pointed to by -config <path to file> on the command line.
>>>>
>>>> example:
>>>> config file:
>>>> [switches]
>>>> 7:on
>>>> [jumpers]
>>>>     
>>>>         
>>> I find this format utterly ugly.  
>>>       
>> I can only make it better then : )
>>     
>>> You have sections like INI files, but 
>>> then refuse to keep to that format.
>>>
>>> Besides, I fail to see why this has to be a config file?  
>>>       
>> It can be named anything , I suppose "switch"would be better
>>     
>>> All other 
>>> settings are command line switches and/or monitor settings, and there is 
>>> no good reason why switches and jumpers should not be handled that way.
>>>   
>>>       
>> Do you mean something like -sw or -jp? 
>>
>> regards,
>> -Armin
>>
>>
>>
>>
>>     

  reply	other threads:[~2007-12-17 19:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-16 19:05 [Qemu-devel] [Patch 1/2] switch support v2 Armin
2007-12-17 10:27 ` Johannes Schindelin
2007-12-17 17:29   ` Armin
2007-12-17 18:07     ` Johannes Schindelin
2007-12-17 18:17     ` Laurent Vivier
2007-12-17 19:40       ` Armin [this message]
2007-12-17 20:00         ` Laurent Vivier
2007-12-18 18:40           ` Armin
2007-12-18 22:31             ` Laurent Vivier
2007-12-18 23:10               ` Armin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4766D0CB.4010903@kama-aina.net \
    --to=akuster@kama-aina.net \
    --cc=Laurent.Vivier@bull.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).