ARM: stellaris lm3s6965evb machine model broken

Bug #1028260 reported by Peter Crosthwaite
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

The Stellaris lm3s6965evb Machine model is broken:

qemu-system-arm -M lm3s6965evb -kernel qs_ek-lm3s6965.bin
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/peterc/Petalogix/Internal/plgx_install/qemu-upstream-regression/petalinux-vx.x/tools/linux-i386/petalogix/bin/qemu-system-arm...done.
(gdb) r
Starting program: /home/peterc/Petalogix/Internal/plgx_install/qemu-upstream-regression/petalinux-vx.x/tools/linux-i386/petalogix/bin/qemu-system-arm -M lm3s6965evb -kernel qs_ek-lm3s6965.bin
[Thread debugging using libthread_db enabled]
warning: no loadable sections found in added symbol-file <in-memory>
[New Thread 0x7ffff63fc700 (LWP 15156)]
qemu-system-arm: /home/peterc/Petalogix/Internal/plgx_src/qemu/hw/qdev.c:309: qdev_get_gpio_in: Assertion `n >= 0 && n < dev->num_gpio_in' failed.

Program received signal SIGABRT, Aborted.
0x00000000006f4a2b in raise (sig=<value optimised out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
 in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) bt
#0 0x00000000006f4a2b in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
#1 0x00000000007089a0 in abort ()
#2 0x0000000000702c15 in __assert_fail ()
#3 0x0000000000463ffa in qdev_get_gpio_in ()
#4 0x0000000000588f94 in armv7m_init ()
#5 0x000000000060c62a in stellaris_init ()
#6 0x000000000060cc4e in lm3s6965evb_init ()
#7 0x00000000004fdb11 in main ()
(gdb)

Bisection points at this commit:

commit 1e8cae4dfea2bcc91d3820dcf4f9284e7b0abb28
Author: Peter Maydell <email address hidden>
Date: Wed May 2 16:49:42 2012 +0000

    hw/armv7m_nvic: Make the NVIC a freestanding class

    Rearrange the GIC and NVIC so both are straightforward
    subclasses of a common class, rather than having the NVIC
    source file textually include arm_gic.c.

    Signed-off-by: Peter Maydell <email address hidden>

Revision history for this message
Peter Crosthwaite (peter-crosthwaite) wrote :
Revision history for this message
Peter Maydell (pmaydell) wrote :

http://patchwork.ozlabs.org/patch/172820/

Patch that should fix this bug.

Peter Maydell (pmaydell)
Changed in qemu:
status: New → Fix Committed
Revision history for this message
Peter Maydell (pmaydell) wrote :

Fix went out in QEMU 1.3.0.

Changed in qemu:
status: Fix Committed → 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.