This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Port eCos Redboot Olimex LPC2294 to Embest LPCEB2000 (lpc2292)


On Tue, Sep 19, 2006 at 09:30:16AM +0100, Miklos.Pflancer@dBResearch.co.uk wrote:
> Hi Segei
> 
> Once again thanks for your help, I now have Redboot working without flash support. However I would like to implement flash support for my board. My board contains Atmel AT49 flash memory. I have tried using the configtools to include this in my ecos project but I get the following message from configtool
> 
> 'Add and remove hardware packages by selecting a new hardware template'
> 
> Any ideas on how I can do this?

You need to add the flash package to your target in the ecos.db file. eg
The AT91 eb40 target is:

target eb40a {
        alias { "Atmel evaluation board (EB40A)" at91_eb40a }
        packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
                   CYGPKG_HAL_ARM_AT91_EB40A
                   CYGPKG_DEVS_FLASH_EB40A
                   CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX
                   CYGPKG_IO_SERIAL_ARM_AT91
                   CYGPKG_DEVICES_WATCHDOG_ARM_AT91
        }
        description "
        The eb40a target provides the packages needed to run eCos on an Atmel
        evaluation board (EB40A)."
}

Here you see the generic AT49XXXX package and the board specific
CYGPKG_DEVS_FLASH_EB40A package. You will need to write the board
specific package for your particular board. You might want to use the
EB40A code as an template, /packages/devs/flash/arm/eb40a/current/

     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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]