From: Gary Thomas <gary@mlbassoc.com>
To: David Ho <davidkwho@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Enabling flash memory support (custom board)
Date: Wed, 05 Jul 2006 14:55:00 -0000 [thread overview]
Message-ID: <44ABD2F2.1040604@mlbassoc.com> (raw)
In-Reply-To: <4dd15d180607050711m3738a085y4137bf1ff340bdfd@mail.gmail.com>
David Ho wrote:
> Hi,
>
> I am attempting to enable AMD/Spansion flash support for redboot but
> when I examined ecos.ecc, it is not active.
>
> # AMD AM29XXXXX FLASH memory support
> # FLASH memory device support for AMD AM29XXXXX
> #
> cdl_package CYGPKG_DEVS_FLASH_AMD_AM29XXXXX {
> # Packages cannot be added or removed, nor can their version be changed,
> # simply by editing their value. Instead the appropriate configuration
> # should be used to perform these actions.
>
> # This option is not active
> # ActiveIf constraint: CYGPKG_IO_FLASH
> # CYGPKG_IO_FLASH == current
> # --> 1
> # ActiveIf constraint: CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED
> # CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED (unknown) == 0
> # --> 0
> };
>
>
> Looking around, CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED is not set, I
> suppose I should not set this manually and let the inference engine
> figure it out.
>
> The question becomes, how do I do that?
>
> I have included in my ROM configuration IO_FLASH and DEV_FLASH_AMD,
> enabled FIS and FCONFIG.
>
> Is there anything I missed?
>
Your platform has to provide the implementation details for the
FLASH driver. Look around at how other platforms do it, e.g. the
A&M Adder uses this driver.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2006-07-05 14:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-05 14:11 David Ho
2006-07-05 14:55 ` Gary Thomas [this message]
2006-07-05 15:14 ` David Ho
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=44ABD2F2.1040604@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=davidkwho@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
/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).