* ARM TARGET
@ 2000-05-26 8:23 Lavu Sridhar
2000-05-26 8:49 ` Fernando Nasser
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re: ARM TARGET
2000-05-26 8:23 ARM TARGET Lavu Sridhar
@ 2000-05-26 8:49 ` Fernando Nasser
0 siblings, 0 replies; 4+ 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
From ee96162@ee.iitm.ernet.in Fri May 26 08:55:00 2000
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: ARM TARGET
Date: Fri, 26 May 2000 08:55:00 -0000
Message-id: <Pine.LNX.4.10.10005262124280.3272-100000@volt.ee.iitm.ernet.in>
References: <392E9CB2.AFF6E6AA@cygnus.com>
X-SW-Source: 2000-05/msg00135.html
Content-length: 1118
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] 4+ messages in thread
* Re: ARM TARGET
[not found] <Pine.LNX.4.10.10005262201320.5023-100000@volt.ee.iitm.ernet.in>
@ 2000-05-26 10:05 ` Fernando Nasser
0 siblings, 0 replies; 4+ messages in thread
From: Fernando Nasser @ 2000-05-26 10:05 UTC (permalink / raw)
To: ee96162; +Cc: gdb
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4831 bytes --]
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
From donnte@microsoft.com Fri May 26 10:30:00 2000
From: Donn Terry <donnte@microsoft.com>
To: Donn Terry <donnte@microsoft.com>, Mark Mitchell <mark@codesourcery.com>, rth@cygnus.com
Cc: kettenis@wins.uva.nl, Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE, kingdon@redhat.com, gdb@sourceware.cygnus.com
Subject: RE: Suggested (easier) fix to ... RE: Regressions problem (200 failures)
Date: Fri, 26 May 2000 10:30:00 -0000
Message-id: <309F4FC4705DC844987051A517E9E39B09D1C2@red-pt-02.redmond.corp.microsoft.com>
X-SW-Source: 2000-05/msg00139.html
Content-length: 2262
Title: RE: Suggested (easier) fix to ... RE: Regressions problem (200 fa ilures)
And a
bit more... the rebuild/regression did succeed (after some
tweaking)
and
the problem with __main is in the current CVS as well.
Â
Donn
-----Original Message----- From: Donn Terry Sent:
Thursday, May 25, 2000 8:23 PM To: Mark Mitchell;
rth@cygnus.com Cc: kettenis@wins.uva.nl;
Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE; kingdon@redhat.com;
gdb@sourceware.cygnus.com Subject: RE: Suggested (easier) fix to ...
RE: Regressions problem (200 failures)
Mark:
Â
I just tried to rebuild with my interim patch in place, and found that
RTH had completely
rewritten the area. If I don't run into too many ICEs during the
rebuild of the compiler
suite (it comes and goes regularly depending on who has patched what)
I'll know
something tomorrow (Fri) about what effect his changes had on this, but
from
 looking at the code, it may have the same problem. (I'm
skipping my patch for the moment.)
Â
Richard: quick synopsis: the code in this area doesn't (didn't?) take
into account the
possibility of there being a call to __main, with the consequence that
the initial
breakpoint for main ends up at the {, rather than at the first statement
*if* the
call to __main is generated.
Â
Donn
-----Original Message----- From: Mark Mitchell
Sent: Thu 5/25/2000 8:46 AM To: Donn Terry
Cc: kettenis@wins.uva.nl;
Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE; kingdon@redhat.com;
gdb@sourceware.cygnus.com Subject: RE: Suggested (easier) fix to
... RE: Regressions problem (200 fa ilures)
>>>>> "Donn" == Donn Terry
<donnte@microsoft.com> writes:
   Donn> I can't answer why any better
than the author of the change   Â
Donn> that started all this ;-) .
Touche.
OK, now I understand the problem -- thanks to you.Â
I'll look back at why I did what I did -- and then
see if I can figure out how to fix it.
Thanks for bearing with me on this.
-- Mark
Mitchell                 Â
mark@codesourcery.com CodeSourcery,
LLCÂ Â Â Â Â Â Â Â Â Â Â Â Â Â
http://www.codesourcery.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ARM TARGET
[not found] <Pine.LNX.4.10.10005262124280.3272-100000@volt.ee.iitm.ernet.in>
@ 2000-05-26 9:27 ` Fernando Nasser
0 siblings, 0 replies; 4+ 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
From ee96162@ee.iitm.ernet.in Fri May 26 09:35:00 2000
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: ARM TARGET
Date: Fri, 26 May 2000 09:35:00 -0000
Message-id: <Pine.LNX.4.10.10005262201320.5023-100000@volt.ee.iitm.ernet.in>
References: <392EA5CD.7F99B115@cygnus.com>
X-SW-Source: 2000-05/msg00137.html
Content-length: 1453
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] 4+ messages in thread
end of thread, other threads:[~2000-05-26 10:05 UTC | newest]
Thread overview: 4+ 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
[not found] <Pine.LNX.4.10.10005262124280.3272-100000@volt.ee.iitm.ernet.in>
2000-05-26 9:27 ` Fernando Nasser
[not found] <Pine.LNX.4.10.10005262201320.5023-100000@volt.ee.iitm.ernet.in>
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