OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [powerpc/] [fads/] [v2_0/] [README] - Blame information for rev 737

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
The FADS MPC860 board port for eCos was contributed by Kevin Hester
2
 and is partly based on the files from Motorola's
3
"Example Software Initializing the SMC as a UART" package (smc2.zip)
4
available at:
5
 http://www.mot.com/SPS/RISC/netcomm/tools/index.html#MPC860_table
6
 
7
The eCos FADS board port is provided on an "as is" basis as unsupported code.
8
Red Hat does not maintain this code and does not guarantee its functionality
9
in any way.
10
 
11
All inquiries about this port should be directed to the 'ecos-discuss'
12
mailing list (see http://sourceware.cygnus.com/ecos/intouch.html for
13
details).
14
 
15
 
16
A few comments from Kevin:
17
----------------------------------------------------------------------------
18
 
19
GDB support is untested and I didn't include the GDB 'interrupt' via
20
the serial port support.  It would be straightforward for someone to
21
add this.
22
 
23
You can also pass on that is was very easy to write this HAL - it only
24
took a day starting from the Cogent PPC HAL.
25
 
26
I can't promise support, but I will occasionally download from the CVS
27
database and run it on our card.
28
 
29
Usage notes:
30
 
31
- The startup code in fads.S assumes that the build has been downloaded by
32
  the mpc8bug tool included with the FADS board.  An example usage would be:
33
  - build a FADS build (RAM build, GDB support off)
34
  - link your application with the kernel you previously built
35
  - run the Motorola mpc8bug tool.
36
  - issue a mcp8bug "LOAD foo.elf" command where foo is the application you
37
    have linked
38
  - issue a mpc8bug "GO" command
39
  - your program should now be running, the diag port is the upper serial
40
    port (SMC2)
41
 
42
- I haven't tried to run a "ROM" build.  The "RAM" build works great.  The
43
  ROM build will need to have fads.S setup more of the memory controller.
44
 
45
- I haven't tested the GDB interface - I have successfully run using the
46
  diag serial port and the example programs (such as "hello world").  GDB
47
  support should work, with the exception of interrupt support.
48
 
49
- The basic serial driver I added is based on the free Motorolla sample code
50
  included with the MPC860 board.  It assumes the link to the development
51
  station is via the SMC 2 port (the top serial port on the FADS board). This
52
  code in quicc_smc.c should be generalized to support any SMC port.
53
 
54
----------------------------------------------------------------------------
55
 
56
//===========================================================================
57
//####ECOSGPLCOPYRIGHTBEGIN####
58
// -------------------------------------------
59
// This file is part of eCos, the Embedded Configurable Operating System.
60
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
61
//
62
// eCos is free software; you can redistribute it and/or modify it under
63
// the terms of the GNU General Public License as published by the Free
64
// Software Foundation; either version 2 or (at your option) any later version.
65
//
66
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
67
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
68
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
69
// for more details.
70
//
71
// You should have received a copy of the GNU General Public License along
72
// with eCos; if not, write to the Free Software Foundation, Inc.,
73
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
74
//
75
// As a special exception, if other files instantiate templates or use macros
76
// or inline functions from this file, or you compile this file and link it
77
// with other works to produce a work based on this file, this file does not
78
// by itself cause the resulting work to be covered by the GNU General Public
79
// License. However the source code for this file must still be made available
80
// in accordance with section (3) of the GNU General Public License.
81
//
82
// This exception does not invalidate any other reasons why a work based on
83
// this file might be covered by the GNU General Public License.
84
//
85
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
86
// at http://sources.redhat.com/ecos/ecos-license/
87
// -------------------------------------------
88
//####ECOSGPLCOPYRIGHTEND####
89
//===========================================================================

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.