Thx Earlence. Yes, I have a real dev but it is not the same processor
version as the emulator.  I want to use emulator to collect some trace info
when dalvikvm runs, e.g., info about cache behavior and TCM access behavior.
I know it may be better to use other tools to get cache info, so I tried
valgrind. However, I failed to get it compiled for armv7 though it declares
support for this arch.

So, I may conclude that qumu do not support for such hardware emulation as
TCM, which does include in ARM926EJ-S core.

Do you have any suggestion about how to get cache behavior of Dalvik?

Thanks,
Earlence

On Wed, Jun 29, 2011 at 4:30 PM, Earlence <[email protected]> wrote:

> it maybe that your driver is written for an actual TCM but the
> goldfish emulated CPU does not support this.
> why don't you just use it on a real dev board where you are absolutely
> certain of the hardware?
>
> -Earlence
>
> On Jun 27, 8:16 am, Zova <[email protected]> wrote:
> > Thx for your reply. I know it is an emulator, and I also know Goldfish is
> > the name of virtual device. If you download the kernel for goldfish, you
> may
> > find folders arch/arm/goldfish/... and other config files. It's based on
> > ARM926EJ-S, so I tried to add modules support on it according to this
> link(
> http://linuxclues.blogspot.com/2010/05/build-compile-linux-kernel-and...)
> > Can you help me out?
> > [?]
> >
> >
> >
> > On Sat, Jun 25, 2011 at 3:18 AM, Earlence <[email protected]>
> wrote:
> > > goldfish is the emulator not a device.
> >
> > > On Jun 23, 2:15 pm, Zova <[email protected]> wrote:
> > > > Hi all,
> >
> > > > I wrote a driver to give support for ARM TCM(Tightly Coupled Memory,
> a
> > > > on-chip SRAM). I know Goldfish is based on ARM926EJ-S processor,
> which
> > > does
> > > > contain TCM.
> > > > So, I modified code of goldfish, added driver support code,  configed
> > > > CONFIG_MODULES=y and successfully compiled the kernel and ko files
> for
> > > > goldfish.
> > > > However, when I tried to insmod the module, it showed *insmod:
> > > init_module
> > > > 'tcm.ko' failed (Unknown error: 0)
> >
> > > > *So, does goldfish disable something since I can insmod tcm.ko
> > > successfully
> > > > in a real machine ?
> > > > Or, did I forget something to make it work?  Please give me some
> > > advice...
> >
> > > > Thanks very much.
> >
> > > > --
> > > > *Best Wishes
> > > > *
> >
> > > --
> > > unsubscribe: [email protected]
> > > website:http://groups.google.com/group/android-kernel
> >
> > --
> > *Best Wishes
> > *
> >
> >  330.gif
> > < 1KViewDownload
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>



-- 
*Best Wishes
*
顺颂学成/商琪/事就 ...

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to