Mercurial > ecos
annotate packages/hal/powerpc/fads/current/README @ 66:bf00f99aec69 ecos-sw-2000-02-02
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
| author | jlarmour |
|---|---|
| date | Wed, 02 Feb 2000 19:57:02 +0000 |
| parents | c38311975d4f |
| children | e0c0827131d1 |
| rev | line source |
|---|---|
| 2 | 1 The FADS MPC860 board port for eCos was contributed by Kevin Hester |
| 2 <khester@opticworks.com> 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. | |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
8 Red Hat does not maintain this code and does not guarantee its functionality |
| 2 | 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 //####COPYRIGHTBEGIN#### | |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
58 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
59 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
60 // The contents of this file are subject to the Red Hat eCos Public License |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
61 // Version 1.1 (the "License"); you may not use this file except in |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
62 // compliance with the License. You may obtain a copy of the License at |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
63 // http://www.redhat.com/ |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
64 // |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
65 // Software distributed under the License is distributed on an "AS IS" |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
66 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
67 // License for the specific language governing rights and limitations under |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
68 // the License. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
69 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
70 // The Original Code is eCos - Embedded Configurable Operating System, |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
71 // released September 30, 1998. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
72 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
73 // The Initial Developer of the Original Code is Red Hat. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
74 // Portions created by Red Hat are |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
75 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
76 // All Rights Reserved. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
77 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
78 // |
| 2 | 79 //####COPYRIGHTEND#### |
| 80 //=========================================================================== |
