public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Steven Clugston" <steven.clugston@newcastle.ac.uk>
To: "Andrew Lunn" <andrew@lunn.ch>
Cc: <ecos-patches@sources.redhat.com>
Subject: RE: Board package for MPL PATI
Date: Mon, 15 Sep 2008 09:26:00 -0000	[thread overview]
Message-ID: <EMEW-k8EAPr192da533b6d4003221b492852734e63e-BF4CBC36C003DA45A9CCCAC389476DCA048381DD@largo.campus.ncl.ac.uk> (raw)
In-Reply-To: <EMEW-k86B8ye2e1347665e80dcbeef93e58d075d19e-20080907100851.GC22058@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 2906 bytes --]



-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch] 
Sent: 07 September 2008 11:09
To: Steven Clugston
Cc: ecos-patches@sources.redhat.com
Subject: Re: Board package for MPL PATI


On Wed, Sep 03, 2008 at 02:07:25PM +0100, Steven Clugston wrote:
> Attached is a board package for the MPC555 based board called a PATI 
> (PowerPC controlled Analog and Timing I/O Intelligence) MPL AG 
> Elektronik of Switzerland.
> 
> Board info:
> http://www.mpl.ch/t2864.html
> 
> The board is a PC/104+ form factor PCI target that works stand-alone 
> as well.
> 
> There's 16Mb RAM, and 4Mb flash which I think is quite a bit more than

> cme555/ec555 boards.
> 
> It is essentially intended as an intelligent data acquisition or 
> controller card. The the mpc555 uP makes it useful for motor control 
> and automotive applications.
> 
> I've based the package on the ec555 and cme555 packages by Bob 
> Koninckx, but the packages add support for the on-board 28fxx flash 
> part, SDRAM controller configuration, and board specific reset etc 
> whilst making use of the (now) generic mpc555 serial driver.

Hi Steve

Thanks for the board port. Here are some comments:

Please remove all the comments:

## Alternative licenses for eCos may be arranged by contacting Red Hat,
Inc. ## at http://sources.redhat.com/ecos/ecos-license/

in the headers. This has not been true for years.

Please change the copyright lines, eg:
Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
to
Copyright (C) 2008 Free Software Foundation, Inc.

plf_misc.h has a long line it would be nice to split over two.

mlt_powerpc_pati_ram.h has a commented out line which can be deleted.
mlt_powerpc_pati_ram.h has two commented out line which can be deleted.

hal_diag.c says
// Default baudrate is 38400
// These values are calculated for a 40Mhz clock frequency
// This should be enough, we did not provide clock frequency as a
configuration 
// option anyway

which is wrong, there is a CDL option for the clock frequency
CYGHWR_HAL_POWERPC_BOARD_SPEED.

hal_diag.c: I _think_ cyg_hal_plf_serial_getc, cyg_hal_plf_serial_putc,
cyg_hal_plf_serial_write, cyg_hal_plf_serial_getc_timeout, and maybe
cyg_hal_plf_comms_init can be made static.

pati.s has a few long lines it would be nice to split. Also there are a
few commented out instructions which should be deleted.

plf_stub.c: The macros L1 and L2 do not appear to be used.

redboot_R[OA]M.ecm have a couple of commented out lines which should be
removed.

I've not tried to compile anything yet, but my impression so far is it
all looks good.

    Andrew



Hi Andrew

I've made the changes suggested in your comments (see attahced).

I think some of your comments may also apply to the existing two mpc555
platforms ec555/cme555 as well.

Thanks,

Steven







[-- Attachment #2: pati-board-revised.tar.gz --]
[-- Type: application/x-gzip, Size: 51253 bytes --]

       reply	other threads:[~2008-09-15  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <EMEW-k86B8ye2e1347665e80dcbeef93e58d075d19e-20080907100851.GC22058@lunn.ch>
2008-09-15  9:26 ` Steven Clugston [this message]
2008-09-16  8:41   ` Andrew Lunn
2008-09-03 13:08 Steven Clugston
2008-09-07 10:09 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EMEW-k8EAPr192da533b6d4003221b492852734e63e-BF4CBC36C003DA45A9CCCAC389476DCA048381DD@largo.campus.ncl.ac.uk \
    --to=steven.clugston@newcastle.ac.uk \
    --cc=andrew@lunn.ch \
    --cc=ecos-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).