All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken
@ 2012-07-24  5:58 Peter Crosthwaite
  2012-07-24  6:07 ` [Qemu-devel] [Bug 1028260] " Peter Crosthwaite
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Peter Crosthwaite @ 2012-07-24  5:58 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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 <peter.maydell@linaro.org>
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 <peter.maydell@linaro.org>

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1028260

Title:
  ARM: stellaris lm3s6965evb machine model broken

Status in QEMU:
  New

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 <peter.maydell@linaro.org>
  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 <peter.maydell@linaro.org>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1028260/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1028260] Re: ARM: stellaris lm3s6965evb machine model broken
  2012-07-24  5:58 [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken Peter Crosthwaite
@ 2012-07-24  6:07 ` Peter Crosthwaite
  2012-07-24  6:09 ` [Qemu-devel] [Bug 1028260] [NEW] " Peter Crosthwaite
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Crosthwaite @ 2012-07-24  6:07 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "Test vector to replicate bug"
   https://bugs.launchpad.net/qemu/+bug/1028260/+attachment/3233691/+files/stellaris-test.tar

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1028260

Title:
  ARM: stellaris lm3s6965evb machine model broken

Status in QEMU:
  New

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 <peter.maydell@linaro.org>
  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 <peter.maydell@linaro.org>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1028260/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken
  2012-07-24  5:58 [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken Peter Crosthwaite
  2012-07-24  6:07 ` [Qemu-devel] [Bug 1028260] " Peter Crosthwaite
@ 2012-07-24  6:09 ` Peter Crosthwaite
  2012-07-24 10:20   ` Peter Maydell
  2012-07-24 12:06 ` [Qemu-devel] [Bug 1028260] " Peter Maydell
  2012-10-18 22:36 ` Peter Maydell
  3 siblings, 1 reply; 6+ messages in thread
From: Peter Crosthwaite @ 2012-07-24  6:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Paul Brook

cc relevant maintainers (PMM and PB).

On Tue, Jul 24, 2012 at 3:58 PM, Peter Crosthwaite
<peter.crosthwaite@petalogix.com> wrote:
> Public bug reported:
>
> 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 <peter.maydell@linaro.org>
> 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 <peter.maydell@linaro.org>
>
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1028260
>
> Title:
>   ARM: stellaris lm3s6965evb machine model broken
>
> Status in QEMU:
>   New
>
> 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 <peter.maydell@linaro.org>
>   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 <peter.maydell@linaro.org>
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1028260/+subscriptions
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken
  2012-07-24  6:09 ` [Qemu-devel] [Bug 1028260] [NEW] " Peter Crosthwaite
@ 2012-07-24 10:20   ` Peter Maydell
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2012-07-24 10:20 UTC (permalink / raw)
  To: Peter Crosthwaite; +Cc: Paolo Bonzini, qemu-devel, Paul Brook

On 24 July 2012 07:09, Peter Crosthwaite
<peter.crosthwaite@petalogix.com> wrote:
>> The Stellaris lm3s6965evb Machine model is broken:
>> 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.

>> Bisection points at this commit:
>>
>> commit 1e8cae4dfea2bcc91d3820dcf4f9284e7b0abb28
>> Author: Peter Maydell <peter.maydell@linaro.org>
>> 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 <peter.maydell@linaro.org>

Yes. I think this was OK in review but got committed at
about the same time as a qdev reworking that meant that
every class in the hierarchy could have qdev properties
rather than the subclass always winning. There's a 'num-irq'
property for both armv7m-nvic and its parent class arm-gic-common
and I think they're clashing so we get the default value
specified by the parent class rather than the subclass.

I'm going to try a fix suggested by Paolo of deleting the
subclass property and instead adding an instance init fn
which fiddles the superclass's default value.

-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1028260] Re: ARM: stellaris lm3s6965evb machine model broken
  2012-07-24  5:58 [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken Peter Crosthwaite
  2012-07-24  6:07 ` [Qemu-devel] [Bug 1028260] " Peter Crosthwaite
  2012-07-24  6:09 ` [Qemu-devel] [Bug 1028260] [NEW] " Peter Crosthwaite
@ 2012-07-24 12:06 ` Peter Maydell
  2012-10-18 22:36 ` Peter Maydell
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2012-07-24 12:06 UTC (permalink / raw)
  To: qemu-devel

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

Patch that should fix this bug.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1028260

Title:
  ARM: stellaris lm3s6965evb machine model broken

Status in QEMU:
  New

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 <peter.maydell@linaro.org>
  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 <peter.maydell@linaro.org>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1028260/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1028260] Re: ARM: stellaris lm3s6965evb machine model broken
  2012-07-24  5:58 [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken Peter Crosthwaite
                   ` (2 preceding siblings ...)
  2012-07-24 12:06 ` [Qemu-devel] [Bug 1028260] " Peter Maydell
@ 2012-10-18 22:36 ` Peter Maydell
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2012-10-18 22:36 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1028260

Title:
  ARM: stellaris lm3s6965evb machine model broken

Status in QEMU:
  Fix Committed

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 <peter.maydell@linaro.org>
  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 <peter.maydell@linaro.org>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1028260/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-18 22:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-24  5:58 [Qemu-devel] [Bug 1028260] [NEW] ARM: stellaris lm3s6965evb machine model broken Peter Crosthwaite
2012-07-24  6:07 ` [Qemu-devel] [Bug 1028260] " Peter Crosthwaite
2012-07-24  6:09 ` [Qemu-devel] [Bug 1028260] [NEW] " Peter Crosthwaite
2012-07-24 10:20   ` Peter Maydell
2012-07-24 12:06 ` [Qemu-devel] [Bug 1028260] " Peter Maydell
2012-10-18 22:36 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.