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.