This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Flash - the saga continues
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Matt Sartori <msartori at hanoverdisplays dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 30 Aug 2005 17:08:08 +0200
- Subject: Re: [ECOS] Flash - the saga continues
- References: <F9885E669725F248A1F6DB9109FDD67905E4E7@Molly.hanover.local>
On Tue, Aug 30, 2005 at 03:57:37PM +0100, Matt Sartori wrote:
> Hmm. The symbol appears in two object files:
>
> devs_flash_arm_str710fz2_flash.o whose first entry is
>
> 00000000 l df *ABS* 00000000 flash.c
> and further down that object file's table is
> 00000000 l d .text.flash_hwr_init 00000000
> and further still
> 00000000 g F .text.flash_hwr_init 00000050 flash_hwr_init
>
> the other object file that lists it is
> io_flash_flash.o: file format elf32-littlearm
> which again starts off with
> 00000000 l df *ABS* 00000000 flash.c
> and lists it as
> 00000000 *UND* 00000000 flash_hwr_init
>
> Looking in the relevant flash.c there is no sign of the flash_hwr_init
> function but...My driver files used to be called just flash.c and .h
> before I renamed them to MYBOARD_flash.c and .h and I now have a
> sneaking suspicion that the project somehow is still looking (and
> finding?) those.
> I have occasionally clicked clean in the configtool's build menu but
> perhaps that's not enough?
Nope. That is not enought
> I'll try and make a brand new directory and see what happens.
That should solve your problems.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss