This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Debugging eCos using Insight/RedBoot over network
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Peter Dennett <pdennett at padsoft dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 29 Sep 2002 06:07:08 -0600
- Subject: Re: [ECOS] Debugging eCos using Insight/RedBoot over network
- References: <02c401c2674f$9a7d3790$5e01a8c0@RAD>
On Sat, 2002-09-28 at 18:31, Peter Dennett wrote:
> I am just starting with eCos and RedBoot so
> I have some newbie questions.
>
> I have an Cirrus 7212 on a edb7111-2 board.
> I am working with sources pulled from CVS
> 27-Sep-02.
>
> I have installed the pre-built RedHat RedBoot
> image on the board. I used fconfig to turn
> off DHCP and configured a static IP.
>
> (1) I can build TwoThreads.c using the eCos
> libraries produced by the "default" template,
> download, and debug. It seems to run fine.
>
> If I build eCos libraries using any "network" template
> (I think configured to the same static IP) I lose
> my debug session early on in start up.
>
> Any guidance on how to debug over the
> same net you are trying to operate on?
>
This will work, but you have to use a *different* IP address
for the RedBoot/GDB connection than you use for the eCos code.
> (2) I dont seem to be able to build my own
> RedBoot. I saw some notes in the archives
> from about a year ago and followed these
> but no joy. Seems pretty simple, select
> the target, select the RedBoot template,
> add some packages, set ROM execution,
> build.
>
> When I do this I dont see any traffic
> on the serial port as seen with the
> prebuilt one.
>
> Any hints here?
The proper approach is:
% ecosconfig new edb7xxx redboot
% ecosconfig import ${ECOS_REPOSITORY}/hal/arm/edb7xxx/current/misc/edb7212_redboot_ROM.ecm
% ecosconfig tree
% make
(or the equivalent ConfigTool steps)
This should build a version of RedBoot virtually identical
to the prebuilt image you've already used.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss