This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Intel strata flash problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: mohit dot palsingh at wipro dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 9 Nov 2004 12:25:21 +0100
- Subject: Re: [ECOS] Intel strata flash problem
- References: <C1F81E780BC53D44A7C55DC6633F841405110B7A@blr-ec-msg05.wipro.com>
hi Mohit
You are going in the right direction. It seems the Excalibur board
uses 28F320C3 where as your board you say has 28F128J3. This is your
basic problem. To use the 28F128J3 you need to use the Strata
driver. You cannot add this to an existing hardware target. You need
to add a new target for your specific hardware. Take a look at the
ecos.db file. The excaliber target is
target excalibur_arm9 {
alias { "Altera ARM9/Excalibur board" excalibur_arm9 epxa10 }
packages { CYGPKG_HAL_ARM
CYGPKG_HAL_ARM_ARM9
CYGPKG_HAL_ARM_ARM9_EXCALIBUR
CYGPKG_DEVS_FLASH_INTEL_28FXXX
CYGPKG_DEVS_FLASH_ARM_EXCALIBUR
}
description "
The Excalibur target provides the packages needed to run
eCos on an Altera Excalibur board."
}
make your new target based on this. Change the
CYGPKG_DEVS_FLASH_INTEL_28FXXX to the Strata driver and you need to
write a new package to replace the CYGPKG_DEVS_FLASH_ARM_EXCALIBUR.
This last package contains the hardware specific information needed by
the Strata driver. I suggest you simply copy an existing one, such as
devs/flash/arm/asserbet which is used by the Asserbet board which has
Strata devices.
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