* [Qemu-devel] [Bug 889868] [NEW] CM_CTRL always reads as 0x00000000 (arm/integratorcp)
@ 2011-11-13 15:51 Steven G. Messervey
2011-11-13 19:48 ` Peter Maydell
2011-12-15 19:13 ` [Qemu-devel] [Bug 889868] " Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Steven G. Messervey @ 2011-11-13 15:51 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
qemu -version: QEMU PC emulator version 0.12.5, Copyright (c) 2003-2008
Fabrice Bellard
uname -a: Linux zenwalk 2.6.37.4 #1 SMP PREEMPT Fri Mar 18 18:17:50 CET
2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel
GNU/Linux
command-line: qemu-system-arm -M integratorcp -cpu arm926 -m 16 -kernel
mykernel.elf -serial stdio
steps to reproduce:
--------------8<------------------------
@ assembler
@ after trivial set up for arm
read_ccmr:
ld r4,=0x10000000
ld r0,[r4,#0x0C]
------------------>8--------------------
---------------8<------------------------
; in C
int main(void) {
unsigned int volatile *ccmr,test1,test2,value;
ccmr = (unsigned int volatile *)0x1000000C;
test1 = (*ccmr); // reads as zero
(printk, printf,etc....)
value = 0x00000001; // set GREEN LED
(*ccmr) = value; // should set bit 0 in CM_CTL
test2 = (*ccmr); // should return 1!
if (test1 == test2) {
// printk.printf,etc
// if test2 == 1, this code
// is not reached
}
}
------------------------------>8-----------------
** Affects: qemu
Importance: Undecided
Status: New
** Tags: arm
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/889868
Title:
CM_CTRL always reads as 0x00000000 (arm/integratorcp)
Status in QEMU:
New
Bug description:
qemu -version: QEMU PC emulator version 0.12.5, Copyright (c)
2003-2008 Fabrice Bellard
uname -a: Linux zenwalk 2.6.37.4 #1 SMP PREEMPT Fri Mar 18 18:17:50
CET 2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz
GenuineIntel GNU/Linux
command-line: qemu-system-arm -M integratorcp -cpu arm926 -m 16
-kernel mykernel.elf -serial stdio
steps to reproduce:
--------------8<------------------------
@ assembler
@ after trivial set up for arm
read_ccmr:
ld r4,=0x10000000
ld r0,[r4,#0x0C]
------------------>8--------------------
---------------8<------------------------
; in C
int main(void) {
unsigned int volatile *ccmr,test1,test2,value;
ccmr = (unsigned int volatile *)0x1000000C;
test1 = (*ccmr); // reads as zero
(printk, printf,etc....)
value = 0x00000001; // set GREEN LED
(*ccmr) = value; // should set bit 0 in CM_CTL
test2 = (*ccmr); // should return 1!
if (test1 == test2) {
// printk.printf,etc
// if test2 == 1, this code
// is not reached
}
}
------------------------------>8-----------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/889868/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Bug 889868] [NEW] CM_CTRL always reads as 0x00000000 (arm/integratorcp)
2011-11-13 15:51 [Qemu-devel] [Bug 889868] [NEW] CM_CTRL always reads as 0x00000000 (arm/integratorcp) Steven G. Messervey
@ 2011-11-13 19:48 ` Peter Maydell
2011-12-15 19:13 ` [Qemu-devel] [Bug 889868] " Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2011-11-13 19:48 UTC (permalink / raw)
To: Bug 889868; +Cc: qemu-devel
On 13 November 2011 15:51, Steven G. Messervey
<889868@bugs.launchpad.net> wrote:
> qemu -version: QEMU PC emulator version 0.12.5, Copyright (c) 2003-2008
> Fabrice Bellard
This is an ancient version of QEMU which there is very little point
reporting bugs against. That said, I think this bug is fixed by commit
df3f457b which will be in the 1.0 release of QEMU (due out shortly).
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 889868] Re: CM_CTRL always reads as 0x00000000 (arm/integratorcp)
2011-11-13 15:51 [Qemu-devel] [Bug 889868] [NEW] CM_CTRL always reads as 0x00000000 (arm/integratorcp) Steven G. Messervey
2011-11-13 19:48 ` Peter Maydell
@ 2011-12-15 19:13 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2011-12-15 19:13 UTC (permalink / raw)
To: qemu-devel
1.0 is out now, so let's call this bug fixed.
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/889868
Title:
CM_CTRL always reads as 0x00000000 (arm/integratorcp)
Status in QEMU:
Fix Released
Bug description:
qemu -version: QEMU PC emulator version 0.12.5, Copyright (c)
2003-2008 Fabrice Bellard
uname -a: Linux zenwalk 2.6.37.4 #1 SMP PREEMPT Fri Mar 18 18:17:50
CET 2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz
GenuineIntel GNU/Linux
command-line: qemu-system-arm -M integratorcp -cpu arm926 -m 16
-kernel mykernel.elf -serial stdio
steps to reproduce:
--------------8<------------------------
@ assembler
@ after trivial set up for arm
read_ccmr:
ld r4,=0x10000000
ld r0,[r4,#0x0C]
------------------>8--------------------
---------------8<------------------------
; in C
int main(void) {
unsigned int volatile *ccmr,test1,test2,value;
ccmr = (unsigned int volatile *)0x1000000C;
test1 = (*ccmr); // reads as zero
(printk, printf,etc....)
value = 0x00000001; // set GREEN LED
(*ccmr) = value; // should set bit 0 in CM_CTL
test2 = (*ccmr); // should return 1!
if (test1 == test2) {
// printk.printf,etc
// if test2 == 1, this code
// is not reached
}
}
------------------------------>8-----------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/889868/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-15 19:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-13 15:51 [Qemu-devel] [Bug 889868] [NEW] CM_CTRL always reads as 0x00000000 (arm/integratorcp) Steven G. Messervey
2011-11-13 19:48 ` Peter Maydell
2011-12-15 19:13 ` [Qemu-devel] [Bug 889868] " 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.