Commit Graph

60 Commits

Author SHA1 Message Date
Ric Claus
16a86162a2 Add Virtex4 and Virtex5 BSPs
This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.

These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART.  Thus the current console
driver just prints to a RAM buffer.

The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.
2012-03-30 10:03:43 -05:00
Sebastian Huber
fdd9de8001 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1799/bsps
	* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
	* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c,
	new-exceptions/bspsupport/vectors.h: Added support for SPE.
	* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
	BSPs.
2011-07-21 15:03:31 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Ralf Corsepius
309dbd07ff Whitespace removal. 2009-11-28 06:28:41 +00:00
Thomas Doerfler
574fb67510 updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP
2008-07-14 16:15:28 +00:00
Ralf Corsepius
48bdbf0a50 Remove OLD_EXCEPTIONS. 2008-02-19 18:10:33 +00:00
Ralf Corsepius
f5abd0837f Temporarily re-add OLD_EXCEPTIONS. 2008-02-19 18:00:01 +00:00
Ralf Corsepius
8f480195f0 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Deactivate old-exceptions.
2008-02-19 17:57:25 +00:00
Till Straumann
694c00cb4e 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, configure.ac, preinstall.am,
	new-exceptions/e500_raw_exc_init.c: Started adding
	support for e500 CPU. Most stuff is borrowed from mpc6xx.
2007-12-06 00:21:07 +00:00
Joel Sherrill
4a1eb75b90 2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Do not build networking drivers if
	networking is disabled.
2007-09-11 13:10:12 +00:00
Thomas Doerfler
f610e83f53 compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged many different versions of new exception handling code to shared sources. 2007-07-10 16:00:28 +00:00
Thomas Doerfler
78f96ab7c7 fixed some problems with shared PPC exception handling code 2007-07-05 20:32:43 +00:00
Ralf Corsepius
fcb0cd462c 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:06:55 +00:00
Ralf Corsepius
11c60096e2 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-10-17 06:35:01 +00:00
Ralf Corsepius
4bee7d9c3c 2006-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use RTEMS_AMPOLISH3.
2006-05-16 14:32:21 +00:00
Till Straumann
408bb717c9 2005-11-02 straumanatslacdotstanford.edu
* ChangeLog, configure.ac, mpc6xx/exceptions/raw_exception.c,
        shared/include/cpuIdent.c, shared/include/cpuIdent.h: recognize
        mpc7457 CPU; added definitions for high bats (#4..7) on 7450 CPUs
2005-11-02 23:24:48 +00:00
Ralf Corsepius
65f90ed23b Remove ppc403/Makefile. 2005-05-11 06:44:01 +00:00
Ralf Corsepius
530d63d65a Remove mpc8260/Makefile. 2005-05-11 06:19:16 +00:00
Ralf Corsepius
f45b7e2e56 Remove mpc8xx/Makefile. 2005-05-11 05:20:34 +00:00
Ralf Corsepius
abbb134cf0 Remove mpc6xx/Makefile. 2005-05-11 05:09:52 +00:00
Ralf Corsepius
4e8ea8d450 Remove mpc5xx/Makefile.
Remove mpc505/Makefile.
2005-05-11 03:54:41 +00:00
Ralf Corsepius
b348ab2c68 Remove shared/Makefile. 2005-05-10 13:40:23 +00:00
Ralf Corsepius
89c8d3fc7e Add AMPOLISH3. 2005-05-10 13:05:49 +00:00
Ralf Corsepius
20ad475567 2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: subdir-objects.
	Add compiler check for old/new-style exception processing.
2005-02-12 02:21:47 +00:00
Joel Sherrill
a84392db85 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
* configure.ac, mpc6xx/exceptions/raw_exception.c,
	mpc6xx/exceptions/raw_exception.h, mpc6xx/mmu/bat.c,
	mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, shared/include/cpuIdent.c,
	shared/include/cpuIdent.h: Add MPC8240 and MPC8245 support. There was
	also a significant amount of spelling and whitespace cleanup.
2004-11-10 23:51:57 +00:00
Eric Norum
e9aa9bb0a1 Add MPC7455 support. 2004-10-20 15:23:55 +00:00
Ralf Corsepius
1469078fc1 2004-10-19 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Remove RTEMS_ENABLE_BARE.
2004-10-19 07:47:26 +00:00
Ralf Corsepius
97891e5ea3 2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
2004-09-24 05:54:59 +00:00
Joel Sherrill
8430205c22 2004-04-12 David Querbach <querbach@realtime.bc.ca>
* README, configure.ac, mpc5xx/Makefile.am,
	mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h,
	mpc5xx/timer/timer.c, shared/include/cpuIdent.h: addition of a
	significant amount of MPC5xx support as part of the addition of the
	SS555 BSP.
	* mpc5xx/README, mpc5xx/clock/clock.c,
	mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h,
	mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h,
	mpc5xx/irq/irq_asm.S, mpc5xx/irq/irq_init.c,
	mpc5xx/vectors/vectors.S, mpc5xx/vectors/vectors.h,
	mpc5xx/vectors/vectors_init.c: New files.
	* mpc5xx/exceptions/asm_utils.S: Removed.
2004-04-12 22:04:28 +00:00
Ralf Corsepius
fc235f442f 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Add 2nd argument (rtems_updir) to RTEMS_TOP.
2004-03-26 09:11:59 +00:00
Ralf Corsepius
25f59b144c 2004-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.ac: Reflect having added mpc5xx.
2004-03-08 15:37:31 +00:00
Ralf Corsepius
f439d61ed7 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove.
	* configure.ac: Remove wrapup.
	* shared/Makefile.am: Use automake compilation rules.
	Build *.rels.
2004-01-30 15:26:36 +00:00
Ralf Corsepius
ba4eefd932 2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8.2.
	* Makefile.am, mpc505/Makefile.am, mpc6xx/Makefile.am,
	mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am,
	shared/Makefile.am: Use automake compilation rules.
	Add PREINSTALL_DIRS.
2004-01-21 18:05:13 +00:00
Ralf Corsepius
05180c14ab 2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ppc403/clock/Makefile.am: Remove.
	* ppc403/console/Makefile.am: Remove.
	* ppc403/ictrl/Makefile.am: Remove.
	* ppc403/timer/Makefile.am: Remove.
	* ppc403/tty_drv/Makefile.am: Remove.
	* ppc403/vectors/Makefile.am: Remove.
	* ppc403/Makefile.am: Merge-in Makefile.ams above.
	* configure.ac: Reflect changes to ppc403/Makefile.ams.
2003-12-16 09:16:26 +00:00
Ralf Corsepius
0151bc3038 2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc8xx/clock/Makefile.am: Remove.
	* mpc8xx/console-generic/Makefile.am: Remove.
	* mpc8xx/cpm/Makefile.am: Remove.
	* mpc8xx/exceptions/Makefile.am: Remove.
	* mpc8xx/mmu/Makefile.am: Remove.
	* mpc8xx/timer/Makefile.am: Remove.
	* mpc8xx/Makefile.am: Merge-in Makefile.ams above.
	* configure.ac: Reflect changes to mpc8xx/Makefile.ams.
2003-12-16 08:30:55 +00:00
Ralf Corsepius
52f8b55399 2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove mpc6xx/*/Makefile,  mpc8260/*/Makefile.
2003-12-16 07:57:57 +00:00
Ralf Corsepius
c9a1edfc98 2003-12-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/Makefile.am: Remove.
	* shared/src/Makefile.am: Remove.
	* shared/Makefile.am: Merge-in Makefile.ams above.
	* configure.ac: Reflect changes above.
2003-12-15 17:45:07 +00:00
Ralf Corsepius
810720b633 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-12 03:28:02 +00:00
Ralf Corsepius
c6328bee62 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-22 10:05:17 +00:00
Ralf Corsepius
c8e175104e 2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_CPU.
2003-10-21 11:18:07 +00:00
Ralf Corsepius
7dcc3feefc 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-08-11 14:20:43 +00:00
Ralf Corsepius
3c55718aca Merger from rtems-4-6-branch. 2003-03-11 09:06:13 +00:00
Ralf Corsepius
ccd81b60c2 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius
9b5c258556 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Ralf Corsepius
3b7aedac83 2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHEC_CUSTOM_BSP.
	* mpc505/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc505/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc505/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc6xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc6xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc6xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc6xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc6xx/wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8260/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mpc8xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/tty_drv/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* ppc403/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* shared/include/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* shared/src/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
2002-12-19 05:03:12 +00:00
Ralf Corsepius
dfa8fe34bb 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
2002-12-06 08:23:08 +00:00
Ralf Corsepius
0dcf8597c4 2002-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc8260/Makefile.am: Merge-in mpc8260/include/Makefile.am.
	* mpc8xx/Makefile.am: Merge-in mpc8xx/include/Makefile.am.
	* mpc8260/include/Makefile.am: Remove.
	* mpc8xx/include/Makefile.am: Remove.
	* configure.ac: Remove mpc8260/include/Makefile.
	Remove mpc8xx/include/Makefile.
2002-12-02 15:14:36 +00:00
Ralf Corsepius
a6ebf56053 2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_PROG_CCAS.
2002-12-01 12:00:26 +00:00
Ralf Corsepius
bdd85dc2a3 2002-09-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove duplicate mpc6xx/timer/Makefile from CONFIG_FILES.
2002-09-08 07:14:45 +00:00
Joel Sherrill
0d776cd247 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add
	the following:
	    - support for the MPC74000 (AKA G4); there is no
	      AltiVec support yet, however.
	    - the cache flushing assembly code uses hardware-flush on the G4.
	      Also, a couple of hardcoded numerical values were replaced
	      by more readable symbolic constants.
	    - extended interrupt-disabled code section so enclose the entire
	      cache flush/invalidate procedure (as recommended by the book).
	      This is not (latency) critical as it is only used by
	      init code but prevents possible corruption.
	    - Trivial page table support as been added.
	      (1:1 effective-virtual-physical address mapping which is only
	      useful only on CPUs which feature hardware TLB replacement,
	      e.g. >604.  This allows for write-protecting memory regions,
	      e.g. text/ro-data which makes catching corruptors a lot easier.
	      It also frees one DBAT/IBAT and gives more flexibility
	      for setting up address maps :-)
	    - setdbat() allows changing BAT0 also (since the BSP may use
	      a page table, BAT0 could be available...).
	    - asm_setdbatX() violated the SVR ABI by using
	      r20 as a scratch register; changed for r0
	    - according to the book, a context synchronizing instruction is
	      necessary prior to and after changing a DBAT -> isync added
2002-05-14 16:56:44 +00:00