This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building problem with redboot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]