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

2007-12-18 Thread Armin
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

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

2007-12-18 Thread Laurent Vivier
Le mardi 18 décembre 2007 à 08:40 -1000, Armin a écrit : 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

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

2007-12-18 Thread Armin
Laurent Vivier wrote: Le mardi 18 décembre 2007 à 08:40 -1000, Armin a écrit : 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

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

2007-12-17 Thread Johannes Schindelin
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]

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

2007-12-17 Thread Armin
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:

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

2007-12-17 Thread Laurent Vivier
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. Laurent Le lundi 17 décembre 2007 à 07:29 -1000, Armin a écrit : Johannes

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

2007-12-17 Thread Armin
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

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

2007-12-17 Thread Laurent Vivier
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