-S doesn't freeze CPU as expected

Bug #556560 reported by Sameh Shaker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

The command used:
qemu-system-arm -nographic -m 256 -M versatileab -kernel ~/Embedded/working/versatilepb/u
-boot -s -S

Qemu version:
QEMU PC emulator version 0.12.3, Copyright (c) 2003-2008 Fabrice Bellard

Problem description; the version I previously used (0.11.0-rc2) used to freeze the CPU upon startup, allowing me to connect with GDB and start debugging and loading different images....
Here is just starts execution as soon as I hit enter like so...
root@sameh-laptop:~/# qemu-system-arm -nographic -m 256 -M versatileab -kernel ~/Embedded/working/versatilepb/u
-boot -s -S

U-Boot 2009.11.1 (Mar 28 2010 - 18:37:25)

DRAM: 0 kB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 kB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: SMC91111-0
VersatilePB #
VersatilePB #
VersatilePB # QEMU: Terminated

Revision history for this message
P. Baars (phbaars) wrote :

Qemu 0.12.3 CPU does not freeze after startup. Works ok in previous versions (0.9.1 and 0.11.1). No displayed error. Connects to Insight as expected but does not stop at ffff:fff0.
qemu.exe -s -S

Revision history for this message
Anthony Liguori (anthony-codemonkey) wrote :

Your command line includes '-boot -s' which appears invalid since boot requires an argument. Can you confirm that the problem still occurs with a proper command line.

Changed in qemu:
status: New → Incomplete
Revision history for this message
Matthew Davey (mdavey) wrote :

Actually you have read that incorrectly, the "-boot" was part of the argument to the "-kernel". Their command line states "~/Embedded/working/versatilepb/u-boot" which was broken over the end of line:

qemu-system-arm -nographic -m 256 -M versatileab -kernel ~/Embedded/working/versatilepb/u-boot -s -S

Revision history for this message
Peter Maydell (pmaydell) wrote :

-s -S works for me, so I'm going to assume this bug has been fixed at some point in the last 2 years. Reopen if it still persists in QEMU 1.1.

Changed in qemu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.