This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Porting trouble
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Christer Kaivo-oja <christer dot kaivo at kvaser dot se>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 24 May 2002 12:16:22 +0200
- Subject: Re: [ECOS] Porting trouble
- References: <200205240902.g4O92aq16448@ruebert.ieee.org> <1022232523.15376.4.camel@stream.amrsystems.com> <200205241013.g4OADHj17937@rubicon.hasler.ascom.ch>
> Well.. The thing is, The only way I have to download stuff to the board is
> using the pre-installed monitor, which requires me to use BOOTP to download
> stuff onto the board, so I'm not really using ROM.. I have a diode ramp set
> up on a I/O port on the board which is directly mapped into memory
> (0x19800000). So If I'm able to write to that address, I will easily see it.
>
> But I'm not getting anywhere.. What I'm doing is this:
>
> > ecosconfig new assabet stubs
> > ecosconfig tree
> > make
> > build.boot.elf install/bin/gdb_module.img gdb.hex
> (this build-boot thing is what converts the elf binary to the format needed
> for the bootp transfer)
>
> Unfortunately, there is no disassembler on the board, so I can't really see
> what code is being run
objdump can disassemble
arm-elf-objdump --disassemble build.boot.elf | less
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss