public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* ARM TARGET
@ 2000-05-26  8:23 Lavu Sridhar
  2000-05-26  8:49 ` Fernando Nasser
  0 siblings, 1 reply; 6+ messages in thread
From: Lavu Sridhar @ 2000-05-26  8:23 UTC (permalink / raw)
  To: gdb

I have downloaded the gdb 5.0 How do i configure for a target of arm7
processor. I am using Cirrus Logic CL7500FE Arm processor as my target.

regards,
Lavu Sridhar

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

* Re: ARM TARGET
  2000-05-26  8:23 ARM TARGET Lavu Sridhar
@ 2000-05-26  8:49 ` Fernando Nasser
  2000-05-26  8:55   ` Lavu Sridhar
  0 siblings, 1 reply; 6+ messages in thread
From: Fernando Nasser @ 2000-05-26  8:49 UTC (permalink / raw)
  To: lavu30; +Cc: gdb

Lavu Sridhar wrote:
> 
> I have downloaded the gdb 5.0 How do i configure for a target of arm7
> processor. I am using Cirrus Logic CL7500FE Arm processor as my target.
> 

configure it to arm-elf or arm-coff, depending on your preference for file format.

When compiling specify that your CPU is an arm7 one with -mcpu=arm7

Another parameter you may want to check is -march
The default seems to be armv5.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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

* Re: ARM TARGET
  2000-05-26  8:49 ` Fernando Nasser
@ 2000-05-26  8:55   ` Lavu Sridhar
  2000-05-26  9:27     ` Fernando Nasser
  0 siblings, 1 reply; 6+ messages in thread
From: Lavu Sridhar @ 2000-05-26  8:55 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: gdb

Thank you for the mail.

I have complied using the arm linux cross tool chain (binutils 2.9.5.0.22)
and have the vmlinux file. 

Using the gdb 5.0, I want to load the image into the CL7500FE processor.
How do I configure the target as my 7500FE processor? Do i give the
option:

./configure --target=arm-pc-linux-gnu

or some other option?

regards,
Lavu Sridhar

---------------------------------------------------------------

On Fri, 26 May 2000, Fernando Nasser wrote:

>Lavu Sridhar wrote:
>> 
>> I have downloaded the gdb 5.0 How do i configure for a target of arm7
>> processor. I am using Cirrus Logic CL7500FE Arm processor as my target.
>> 
>
>configure it to arm-elf or arm-coff, depending on your preference for file format.
>
>When compiling specify that your CPU is an arm7 one with -mcpu=arm7
>
>Another parameter you may want to check is -march
>The default seems to be armv5.
>
>-- 
>Fernando Nasser
>Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
>2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
>Toronto, Ontario   M4P 2C9              Fax:  416-482-6299
>

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

* Re: ARM TARGET
  2000-05-26  8:55   ` Lavu Sridhar
@ 2000-05-26  9:27     ` Fernando Nasser
  2000-05-26  9:35       ` Lavu Sridhar
  0 siblings, 1 reply; 6+ messages in thread
From: Fernando Nasser @ 2000-05-26  9:27 UTC (permalink / raw)
  To: ee96162; +Cc: gdb

Lavu Sridhar wrote:
> 
> Thank you for the mail.
> 
> I have complied using the arm linux cross tool chain (binutils 2.9.5.0.22)
> and have the vmlinux file.
> 
> Using the gdb 5.0, I want to load the image into the CL7500FE processor.
> How do I configure the target as my 7500FE processor? Do i give the
> option:
> 
> ./configure --target=arm-pc-linux-gnu
> 
> or some other option?
> 
You haven't mentioned Linux before so I assumed you had a board with a
monitor or something (an embedded target).

How did you configure your gdb after all (i.e., what was the configure
command you used)?

Have you run make install?  What is in your bin directory?


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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

* Re: ARM TARGET
  2000-05-26  9:27     ` Fernando Nasser
@ 2000-05-26  9:35       ` Lavu Sridhar
  2000-05-26 10:05         ` Fernando Nasser
  0 siblings, 1 reply; 6+ messages in thread
From: Lavu Sridhar @ 2000-05-26  9:35 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: gdb

I have the file gdb 5.0 . I had to make changes in the gdb/makefile to
enable the target rdi debugging.

When I had done ./configure in the main directory, it was configuring gdb
for host i686 and target also i686, where as I want the target to be my
Cirrus Logic Arm 7500FE Baord. I do not know how to sepcify the exact
option for this arm processor. Currently the board has only the ANGEL
debugger program running.

I already have the vmlinux, and the zImage files for the Linxu kernel
2.3.99 . My host PC is RedHat 6.1 and i686 architecture.

I am using the gdb mainly for downloading the image files into the RAM on
my target baord from my Host PC.

I hope you could provide me with some suggestions.

Thanks
-Lavu Sridhar

On Fri, 26 May 2000, Fernando Nasser wrote:
>
>Lavu Sridhar wrote:
>> 
>> Thank you for the mail.
>> 
>> I have complied using the arm linux cross tool chain (binutils 2.9.5.0.22)
>> and have the vmlinux file.
>> 
>> Using the gdb 5.0, I want to load the image into the CL7500FE processor.
>> How do I configure the target as my 7500FE processor? Do i give the
>> option:
>> 
>> ./configure --target=arm-pc-linux-gnu
>> 
>> or some other option?
>> 
>You haven't mentioned Linux before so I assumed you had a board with a
>monitor or something (an embedded target).
>
>How did you configure your gdb after all (i.e., what was the configure
>command you used)?
>
>Have you run make install?  What is in your bin directory?
>

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

* Re: ARM TARGET
  2000-05-26  9:35       ` Lavu Sridhar
@ 2000-05-26 10:05         ` Fernando Nasser
  0 siblings, 0 replies; 6+ messages in thread
From: Fernando Nasser @ 2000-05-26 10:05 UTC (permalink / raw)
  To: ee96162; +Cc: gdb

Lavu Sridhar wrote:
> 
> I have the file gdb 5.0 . I had to make changes in the gdb/makefile to
> enable the target rdi debugging.
> 

You should not change anything.  Use the original gdb 5 tar file.

No changes are necessary to debug Angel targets.

But this is irrelevant (see below).


> When I had done ./configure in the main directory, it was configuring gdb
> for host i686 and target also i686, where as I want the target to be my
> Cirrus Logic Arm 7500FE Baord. I do not know how to sepcify the exact
> option for this arm processor. Currently the board has only the ANGEL
> debugger program running.
> 

Again you did not send me the configure command that you used.
However, it is clear from your description that you did not read the instructions
on how to build it.  Please do so before asking for help on the net groups/lists.
(Read the FAQs as well when they exist).

Your configure line will need a --target=arm-elf   or  a  --target=arm-coff
for the kind of board you have.

But, again, it won't do what you need...


> I already have the vmlinux, and the zImage files for the Linxu kernel
> 2.3.99 . My host PC is RedHat 6.1 and i686 architecture.
> 
> I am using the gdb mainly for downloading the image files into the RAM on
> my target baord from my Host PC.
> 

You are definitively in the wrong track AND in the wrong list.

The zImage file is not in a format that gdb can understand.  
vmlinus is (elf) but this is of no use to you.

I'd suggest you look at LILO (the arm version or arm equivalent of it) and
try to write some boot ROM code that either does what it does or loads it
from floppy or something.

But this is a topic for the ARM Linux mailing list.




-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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

end of thread, other threads:[~2000-05-26 10:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26  8:23 ARM TARGET Lavu Sridhar
2000-05-26  8:49 ` Fernando Nasser
2000-05-26  8:55   ` Lavu Sridhar
2000-05-26  9:27     ` Fernando Nasser
2000-05-26  9:35       ` Lavu Sridhar
2000-05-26 10:05         ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).