Stefan Fritsch | 7 Feb 12:15
Picon
Favicon

Serial console with qemu/realview-eb

Hi,

I have some problems getting the serial console to work under qemu with 
ARM/realview-eb. I see the output from L4Linux but it does not get any input 
and also pressing escape does not enter jdb. I have tried qemu 1.0 and 
0.12.5. I call it with

qemu-system-arm -M realview-eb -nographic -m 
256 -kernel .../l4re/obj/l4/arm-rv/images/bootstrap_L4Linux_ARM.elf

Are there any options one need to pass with "-append"? "-append -serial_esc" 
does not make any difference. Any other ideas?

L4 version is from l4re-snapshot-2011081207.tar.xz

Output from qemu is below.

Cheers,
Stefan

L4 Bootstrapper
  Build: #12 Thu Jan 26 11:26:11 CET 2012, 4.4.1
  Scanning up to 256 MB RAM
  Memory size is 256MB (00000000 - 10000000)
  RAM: 0000000000000000 - 000000000fffffff: 262144kB
  Total RAM: 256MB
  mod09: 014bc000-017bc000: ramdisk-arm.rd
  mod08: 01201000-014bb524: vmlinuz.arm
  mod07: 01200000-012000bd: arm-rv.io
  mod06: 0111a000-011ff124: io
(Continue reading)

Julian Vetter | 7 Feb 14:50
Picon

Re: Serial console with qemu/realview-eb


Hi Stefan,
when I start Qemu I add the command line option "-serial stdio". Maybe
that helps. And my 'modules.list' entry contains 'kernel fiasco
-serial_esc'.

Cheers,
Julian

On 02/07/2012 12:15 PM, Stefan Fritsch wrote:
> Hi,
> 
> I have some problems getting the serial console to work under qemu
> with ARM/realview-eb. I see the output from L4Linux but it does not
> get any input and also pressing escape does not enter jdb. I have
> tried qemu 1.0 and 0.12.5. I call it with
> 
> qemu-system-arm -M realview-eb -nographic -m 256 -kernel
> .../l4re/obj/l4/arm-rv/images/bootstrap_L4Linux_ARM.elf
> 
> Are there any options one need to pass with "-append"? "-append
> -serial_esc" does not make any difference. Any other ideas?
> 
> L4 version is from l4re-snapshot-2011081207.tar.xz
> 
> Output from qemu is below.
> 
> Cheers, Stefan
> 
> L4 Bootstrapper Build: #12 Thu Jan 26 11:26:11 CET 2012, 4.4.1 
(Continue reading)

Stefan Fritsch | 7 Feb 16:04
Picon
Favicon

Re: Serial console with qemu/realview-eb

Hi Julian,

On Tuesday 07 February 2012 14:50:39 Julian Vetter wrote:
> when I start Qemu I add the command line option "-serial stdio". Maybe
> that helps. And my 'modules.list' entry contains 'kernel fiasco
> -serial_esc'.

"-nographic" implies "-serial stdio". But the problem was actually the 
missing  "kernel fiasco -serial_esc" line in modules.list. I somehow thought 
that the command line options would have to be provided externally, like they 
are with grub, but they are included in the built elf file. Thanks in any 
case.

Cheers,
Stefan

Gmane