This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: building problem with redboot
- From: Jesper Skov <jskov at redhat dot com>
- To: Jing Luo <Jing at vicom dot com>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 11 Mar 2002 08:13:43 +0100
- Subject: Re: [ECOS] building problem with redboot
- References: <B26EACBBAF91D411BD8500508BF7D695051D9A@earth.vicom.com>
On Wed, 2002-03-06 at 03:12, Jing Luo wrote:
> Hi,
>
> 1. I got a building problem when I want to have GDB debug function with
> redboot as the following.
> The detailed build output is as the attachment.
> The prblem is cyg_start have conflict definition in main.c and stubrom.c
> when it try to build gdb_module.o.
> I choosed CYGBLD_BUILD_GDB_STUBS & CYGBLD_BUILD_COMMON_GDB_STUBS &
> CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT in cfgtools.
All you have to do is build for the RedBoot template (i.e., ecosconfig
new <platform> redboot). Don't change any of the GDB related options.
They are all correct.
> 2. Thanks for your guys' help, I ported redboot to 80200. It can be booted
> into redboot now. :-)
> But When I load -m xMODEM, it takes about 10 seconds to get 'C' prompt. I
> can't figure out why it takes such a long time. The source code only takes
> about 500000us. Why?
Your HAL_DELAY_US macro/function does not work correctly, it would
appear. That's where you should look.
Jesper
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss