[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CLI: Using -bios AND -kernel
From: |
Philippe Mathieu-Daudé |
Subject: |
CLI: Using -bios AND -kernel |
Date: |
Wed, 20 Oct 2021 12:12:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
Hi John / Paolo / Markus,
On 10/19/21 12:07, BALATON Zoltan wrote:
> On Tue, 19 Oct 2021, Christophe Leroy wrote:
>> Le 19/10/2021 à 11:39, Thomas Huth a écrit :
>>> On 19/10/2021 11.31, Christophe Leroy wrote:
[...]
>> I use the following command, but it does nothing, it stays in uboot
>> prompt as when I don't get a kernel argument
>>
>> ~/qemu/build/qemu-system-ppc -M taihu -bios
>> ~/Téléchargements/u-boot.bin -serial null -serial mon:stdio -kernel
>> arch/powerpc/boot/uImage
>
> I'm not sure using -bios and -kernel together makes sense, it probably
> starts u-boot in this case and you have to load and start the kernel
> from u-boot as you'd notmally do on a real machine. Alternatively you
> could use -kernel instead of -bios which then loads a kernel and starts
> it directly but not sure if it needs a firmware to work.
>
> Ot I could be completely wrong as I don't know this machine and haven't
> tried it.
Usually -bios overwrites -kernel/-append cmdline options.
Having them accepted together is probably a configuration mistake,
and we should reject that (generically).
You guys have been working on the CLI recently, is there an easy
way to not allow such combination?
Thanks,
Phil.
- Re: Deprecate the ppc405 boards in QEMU?, (continued)
- Re: Deprecate the ppc405 boards in QEMU?, Cédric Le Goater, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, LEROY Christophe, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, BALATON Zoltan, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, Thomas Huth, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, Cédric Le Goater, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, LEROY Christophe, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, Cédric Le Goater, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, LEROY Christophe, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, Philippe Mathieu-Daudé, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, BALATON Zoltan, 2021/10/20
- CLI: Using -bios AND -kernel,
Philippe Mathieu-Daudé <=
- Re: CLI: Using -bios AND -kernel, Thomas Huth, 2021/10/20
- Re: CLI: Using -bios AND -kernel, BALATON Zoltan, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU?, Greg Kurz, 2021/10/19
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), Cédric Le Goater, 2021/10/05
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), BALATON Zoltan, 2021/10/05
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), Thomas Huth, 2021/10/05
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), Philippe Mathieu-Daudé, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), BALATON Zoltan, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), Cédric Le Goater, 2021/10/20
- Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms), LEROY Christophe, 2021/10/20