This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Port eCos Redboot Olimex LPC2294 to Embest LPCEB2000 (lpc2292)
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Miklos dot Pflancer at dBResearch dot co dot uk
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 19 Sep 2006 10:45:50 +0200
- Subject: Re: [ECOS] Port eCos Redboot Olimex LPC2294 to Embest LPCEB2000 (lpc2292)
- References: <450E89BA.6537.A6E864@localhost> <450FB8A8.26289.330B71@localhost>
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