From: "David Ho" <davidkwho@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Enabling flash memory support (custom board)
Date: Wed, 05 Jul 2006 14:11:00 -0000 [thread overview]
Message-ID: <4dd15d180607050711m3738a085y4137bf1ff340bdfd@mail.gmail.com> (raw)
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?
Thanks,
David
diff --git a/packages/hal/arm/at91/satmodem/current/misc/redboot_ROM.ecm
b/packages/hal/arm/at91/satmodem/current/misc/redboot_ROM.ecm
index b6fa905..ad4032d 100644
--- a/packages/hal/arm/at91/satmodem/current/misc/redboot_ROM.ecm
+++ b/packages/hal/arm/at91/satmodem/current/misc/redboot_ROM.ecm
@@ -9,13 +9,15 @@ cdl_savefile_command cdl_interface { val
cdl_configuration eCos {
description "" ;
- hardware eb40a ;
+ hardware satmodem ;
template redboot ;
package -hardware CYGPKG_HAL_ARM current ;
package -hardware CYGPKG_HAL_ARM_AT91 current ;
+ package -hardware CYGPKG_DEVS_FLASH_AMD_AM29XXXXX current ;
package -template CYGPKG_HAL current ;
package -template CYGPKG_INFRA current ;
package -template CYGPKG_REDBOOT current ;
+ package CYGPKG_IO_FLASH current ;
};
cdl_option CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE {
@@ -51,11 +53,11 @@ cdl_component CYGBLD_BUILD_REDBOOT {
};
cdl_option CYGOPT_REDBOOT_FIS {
- user_value 0
+ user_value 1
};
cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
- user_value 0
+ user_value 1
};
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
--
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 reply other threads:[~2006-07-05 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-05 14:11 David Ho [this message]
2006-07-05 14:55 ` Gary Thomas
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=4dd15d180607050711m3738a085y4137bf1ff340bdfd@mail.gmail.com \
--to=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).