On 4 April 2013 17:17, Fabien Chouteau <chout...@adacore.com> wrote: > On 04/04/2013 02:43 PM, Peter Maydell wrote: >> The UI is all wrong, though: >> -kernel should always mean "load a Linux kernel" and we should >> have some other way (ideally a cross-architecture way) of saying >> "just load this binary blob and start it". (-bios isn't that >> because -bios tends to (a) mean different things on different >> boards and (b) mean 'put this in flash or whatever' rather than >> 'dump stuff in RAM and go'.) >> > > I think -kernel works fine for all architecture. Linux is not the only > kernel available ;)
But -kernel for QEMU specifically means Linux kernel; you might argue we should have picked a different option name but we're stuck with it now. The problem on ARM is that we treat '-kernel but this is an ELF file' and '-kernel and this is a binary blob' differently. -- PMM