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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [powerpc/] [fads/] [current/] [README] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
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://ecos.sourceware.org/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 Free Software Foundation, 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
65
// version.
66
//
67
// eCos is distributed in the hope that it will be useful, but WITHOUT
68
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
69
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
70
// for more details.
71
//
72
// You should have received a copy of the GNU General Public License
73
// along with eCos; if not, write to the Free Software Foundation, Inc.,
74
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
75
//
76
// As a special exception, if other files instantiate templates or use
77
// macros or inline functions from this file, or you compile this file
78
// and link it with other works to produce a work based on this file,
79
// this file does not by itself cause the resulting work to be covered by
80
// the GNU General Public License. However the source code for this file
81
// must still be made available in accordance with section (3) of the GNU
82
// General Public License v2.
83
//
84
// This exception does not invalidate any other reasons why a work based
85
// on this file might be covered by the GNU General Public License.
86
// -------------------------------------------
87
// ####ECOSGPLCOPYRIGHTEND####
88
//===========================================================================

powered by: WebSVN 2.1.0

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