Comment 2 for bug 714600

Revision history for this message
Loïc Minier (lool) wrote : Re: No getty under qemu

I think this is a qemu issue; first, I tried forcing a getty to start on ttyO2 and at some point saw:
ttyO2: 717 input overrun(s)
on tty1 (repeated many times with different values); then I tried breaking into the initrd: I was expecting to be able to interact with linux on ttyO2 by passing the relevant console= cmdline and stopping the boot at the initrd; with an alpha2 beagle image that I'm starting with:
qemu-system-arm -M beaglexm -sd omap.img
and which will boot to a console on tty1, I'm interrupting the boot in u-boot and changing bootargs to stop in the initrd; I boot with:
setenv bootargs 'console=ttyO2,115200n8 break=top'
mmc rescan 0
fatload mmc 0:1 0x80000000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80000000 0x81600000

and then qemu indeed stop bootig at roughly the time where the initrd kicks in, and I can't input anything on the serial console anymore (it was working only within u-boot, not within linux)

Cheers,