[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Fw: qemu integrator RAM size can't reach 128M when emul

From: Peter Maydell
Subject: Re: [Qemu-devel] Fw: qemu integrator RAM size can't reach 128M when emulate the arm926
Date: Tue, 14 Feb 2017 15:21:15 +0000

On 14 February 2017 at 13:45, heavybird <address@hidden> wrote:
> i tried use the integrator.c to emulate the arm926 which has 128M message but 
> found the RAM size can use is less than 32M. steps below. the qemu usding is 
> 2.8.
> 1  define the RAM from 0-128M in ld file.
> 2 write the test program to verify i can write/read the memory from 32M to 
> 64M continuously with address directly.
> 3 always failed when the size is close to 32M even though i changed start 
> address.
> 4 error message:
> qemu: hardware error: integratorcm_write3: Unimplemented offset 0x0
> CPU #0:
> R00=00000028 R01=00019000 R02=00000055 R03=10000000
> R04=0000ea9c R05=00000505 R06=00000606 R07=00000707
> R08=00000808 R09=00000909 R10=00001010 R11=0000feb4
> R12=00000000 R13=0000fea8 R14=00000338 R15=00000300

You don't give your test program, but I'm guessing
from this register dump that the address it is
trying to read is in r3 which is 0x10000000.
That is off the end of the RAM (which starts at 0
and goes up to just under 0x10000000 in the case when
you have the maximum possible 256MB RAM in this board).
In particular 0x10000000 is where the board's system
registers start, and the error above indicates that you
have attempted to write to one of them, not to RAM.

I suspect you have a bug in your test code.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]