public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* New HAL for Olimex LPCX22XX boards
@ 2009-08-13 13:49 Sergei Gavrikov
  2009-08-14  8:04 ` Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Gavrikov @ 2009-08-13 13:49 UTC (permalink / raw)
  To: eCos patches list

Hello

Two months ago (it so happened) I reworked and expanded HAL for six
almost the same boards from OLIMEX which are based on NXP LPC2214,
LPC2294 CPUs: http://bitbucket.org/tickling/olpcx22xx/wiki/Home

I entered generic package `olpcx22xx' and 6 targets (boards) around that
package: http://bitbucket.org/tickling/olpcx22xx/src/

The HAL startup code is a common part for the boards and was implemented
in C. There are a few working examples how to manage SPI, I2C, CAN buses
on the targets: http://bitbucket.org/tickling/olpcx22xx/wiki/Examples

I do not generate a patch just now, because the sources have not ECOSGPL
banners yet (it's easier to read them) and I do not know, would such a
replacement be interesting for community. I need a feedback.

FYI: You no need to install mercurial to overview the code, here are the
links for the direct downloads

http://bitbucket.org/tickling/olpcx22xx/get/tip.zip
http://bitbucket.org/tickling/olpcx22xx/get/tip.gz
http://bitbucket.org/tickling/olpcx22xx/get/tip.bz2

There is install script (install.sh) there which replaces old targets
and adds new ones.

Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: New HAL for Olimex LPCX22XX boards
  2009-08-13 13:49 New HAL for Olimex LPCX22XX boards Sergei Gavrikov
@ 2009-08-14  8:04 ` Sergei Gavrikov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Gavrikov @ 2009-08-14  8:04 UTC (permalink / raw)
  To: eCos patches list

On Thu, Aug 13, 2009 at 04:51:05PM +0300, Sergei Gavrikov wrote:
> The HAL startup code is a common part for the boards and was implemented

A fresh look and tweak: all 6 (boards) + 1 (common) HALs were moved from
hal/arm/lpc2xxx into separate folder hal/arm/lpcx22xx/olpcx22xx/*. There
is not forest in arm/lpc2xxx anymore. It seemed for me that likes AT91
board variants now.

> I do not generate a patch just now, because the sources have not ECOSGPL
> banners yet (it's easier to read them) and I do not know, would such a
> replacement be interesting for community. I need a feedback.
> 
> FYI: You no need to install mercurial to overview the code, here are the
> links for the direct downloads

The below are freshmeat now. All templates: "redboot" {RAM,ROM,ROMRAM},
"default", and "net" were rebuilt to test the tweak (new HAL tree
arrangment).

> http://bitbucket.org/tickling/olpcx22xx/get/tip.zip
> http://bitbucket.org/tickling/olpcx22xx/get/tip.gz
> http://bitbucket.org/tickling/olpcx22xx/get/tip.bz2
> 
> There is install script (install.sh) there which replaces old targets
> and adds new ones.

And I forget one thing. LPC-E2294 Rev. B has Davicom DM9000 ethrenet
controller. My ethernet driver for the board needs this patch
http://bugs.ecos.sourceware.org/attachment.cgi?id=739

This request is not applied still
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000780

Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-14  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-13 13:49 New HAL for Olimex LPCX22XX boards Sergei Gavrikov
2009-08-14  8:04 ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).