public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Matt Sartori <msartori@hanoverdisplays.com>
Cc: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] Flash - the saga continues
Date: Tue, 30 Aug 2005 14:58:00 -0000	[thread overview]
Message-ID: <20050830142906.GV10767@lunn.ch> (raw)
In-Reply-To: <F9885E669725F248A1F6DB9109FDD67905E4E6@Molly.hanover.local>

On Tue, Aug 30, 2005 at 02:19:47PM +0100, Matt Sartori wrote:
> Hi Andrew.
> I'm using my own flash drivers which I've placed in
> /packages/devs/flash/arm/myboard/current/src and, in the configtool
> packages window the packages used for my particular configuration are
> both the "generic FLASH memory support" and the "FLASH memory support
> for the ARM STR710FZ2" (which I've been referring to as my board in my
> postings). All the stuff I've not written myself came from a cvs
> snapshot from a month or so back.
> 
> The CYGPKG_REDBOOT_FLASH is set to true.
> I know that Redboot is using (or at least calling the expected
> functions) because on reset it now displays the message;
> "FLASH: 0x00000000 - 0x0, 0 blocks of 0x00000000 bytes each."
> I have put a hang (while(1);) in the function that calls the
> flash_hwr_init (called flash_init in
> /packages/io/flash/current/src/flash.c) and it does hang, but putting
> the same in my flash_hwr_init doesn't hang it, ergo it must be calling
> some other flash_hwr_init. My suspicions were then confirmed when I
> renamed my flash_hwr_init and Redboot didn't bat an eyelid.

Try

XXX-elf-objdump --syms install/lib/libtarget.a | less

Then search for flash_hwr_init. You can then see which object file the
symbol is in. That should give you some clues.

        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

  parent reply	other threads:[~2005-08-30 14:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 14:25 Matt Sartori
2005-08-30 14:29 ` Void Ptr
2005-08-30 14:31   ` Void Ptr
2005-08-30 15:08   ` [ECOS] Bringing up LPC2124 Void Ptr
2005-08-30 14:58 ` Andrew Lunn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-30 16:43 [ECOS] Flash - the saga continues Matt Sartori
2005-08-30 23:01 ` Andrew Lunn
2005-08-30 15:13 Matt Sartori
2005-08-30 15:16 ` Andrew Lunn
2005-08-30 12:25 Matt Sartori
2005-08-30 13:20 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050830142906.GV10767@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=msartori@hanoverdisplays.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).