[ECOS] Intel strata flash problem

Andrew Lunn andrew@lunn.ch
Tue Nov 9 12:14:00 GMT 2004


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



More information about the Ecos-discuss mailing list