This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: flash_olpcx2294_v2 package
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: eCos patches list <ecos-patches at ecos dot sourceware dot org>
- Cc: Andrew Lunn <andrew at lunn dot ch>
- Date: Sun, 30 Nov 2008 14:49:43 +0200
- Subject: Re: flash_olpcx2294_v2 package
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=EsCljnn/tlZ6dPv0HlgyeCd3v7P4X5JBafAlHmIsCfs=; b=s1tWPEk6G+kmNn/JNwx8/jvrMo8vBswxsNGCzJmBlTdxYV4Yg3FEJpFb2sLzb7Lyw9 y77iKempwWYfgMYNHEQgF/G2FUQ9hAHKCEVBxOd4yJaNNC0k8oK3Za1ULPrdf0WlvcGT wjvt81A/6SNf+J8T24PDH+XmBIAJXPbemxHi0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xy5c67JWAHGsAgdFwmA0F1zJQ1+ez29kbnQPW8jgV+b3s8YfxVW/hZwIRPK00icdNa fBQxZbSeUuY/JPLjd3yl7SBc3uk09Eme/yRznLxORbEET5Ds/hhqsRlkzCOnCn6eQazx TT6iuv2c4nO+NM4oFnsU6WcPHM1OvnPjNIDYM=
- References: <20081130122309.GA15263@ubuntu.local>
Sergei Gavrikov wrote:
> Hello
>
> This is flash v2 driver for Olimex LPC-X2294 boards on top of strata_v2
> flash driver. Tested on Olimex LPC-H2294 board. Redboot's FIS works fine
> with the driver.
>
> SYNOPSYS
>
> ecosconfig remove flash_olpcx2294
> ecosconfig add strata_v2 flash_olpcx2294_v2 flash
>
> RFC: I described and the bottom boot blocks in the driver. What is a
> practic, to hide or show it? It seemed for me what I could describe
> flash geometry and as 64 x 0x10000.
I forgot ask about the second commentary. To compile v2 flash driver
it's need to define CYGARC_UNCACHED_ADDRESS macro. I put that in the
targets plf_io.h, but, it seems, that macro can be placed in lpc2xxx
variant, but, where to place the macro? I see 2 places: either var's
hal_cache.h or var_io.h. What will be the best a place? What is your
opinion?
Thanks,
Sergei