porting reversible on arm/mips

paawan oza paawan1982@yahoo.com
Mon Dec 14 15:42:00 GMT 2009


Hi Hui and Michael,

I have been trying to setup qemu, on suse10 sp1/2 host... I did not get correct source till now.
I got some binaries for suse10.2.    (kqemu.ko was not compatible)
And also arm kernel images, I did not get the one.
setting up qemu on 2.6.16 suse10.2 with arm kernel seems to be not so friendly.
if any pointer links, will be helpful to me.

another option what Micahel suggested...
"There's a nice separation in prec between architecture and OS/ABI.  You could begin with the arm simulator that comes
built-in to gdb, and do the architecture part before tackling the Linux ABI part."
above also seems to be good too. for the time being I just concentrate on arch part and forget Linux ABI for the time being..

please provide your inputs.

Regards,
Oza.



----- Original Message ----
From: paawan oza <paawan1982@yahoo.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: Hui Zhu <teawater@gmail.com>; "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Sat, December 12, 2009 8:58:11 AM
Subject: Re: porting reversible on arm/mips

Hi All,

In conclusion we have following approaches to go ahead with.

1) have qemu or skyeye on windows and get the arm kernel on to it.

2) Using arm-elf-gdb, and use 'target simulator' command, and cross compiling test programs for arm.

1st gives me complete environment.
2nd may be a part of it.

any thing is ok as long as that gives smooth start.
I will try to setup qemu first and see.

Thanks for your help.
Regards,
Oza.



----- Original Message ----
From: Michael Snyder <msnyder@vmware.com>
To: paawan oza <paawan1982@yahoo.com>
Cc: Hui Zhu <teawater@gmail.com>; "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Sat, December 12, 2009 12:19:12 AM
Subject: Re: porting reversible on arm/mips

paawan oza wrote:
> I am not sure whether I got the term 'arm simulator built in gdb"
> can you give some more pointers ?

If you configure gdb as "arm-elf", gdb will build with
its own linked-in arm simulator which you can use by
means of the gdb command "target simulator".


> If I understand correctly,
> 
> there is no need for simulators, compile gdb with some options, on x86, that will simulate arm gdb with some basic arm environment!
> and I can try to finish architecture part first.

That is correct.   You can build arm-elf-gdb on x86 host.
You will probably want to build arm-elf-gcc and asm and linker,
so that you can compile test programs to simulate.


> ----- Original Message ----
> From: Michael Snyder <msnyder@vmware.com>
> To: paawan oza <paawan1982@yahoo.com>
> Cc: Hui Zhu <teawater@gmail.com>; "gdb@sourceware.org" <gdb@sourceware.org>
> Sent: Fri, December 11, 2009 8:41:27 AM
> Subject: Re: porting reversible on arm/mips
> 
> paawan oza wrote:
>> My target may be arm/mips.
>> but some of the common hurdles are following.
>> 
>> 1) getting virtual machine which has capability gives me arm processor
>> 
>> 2) getting the arm linux ISO. Can somebody give me some pointers regarding above ?
> 
> There's a nice separation in prec between architecture and
> OS/ABI.  You could begin with the arm simulator that comes
> built-in to gdb, and do the architecture part before
> tackling the Linux ABI part.
> 
> 
>      


      



More information about the Gdb mailing list