Commit Graph

5630 Commits

Author SHA1 Message Date
Till Straumann
dad43ef2eb 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR 845/bsps
	* startup/bspstart.c, start/start.S: setup BATs prior to attempting any
	device access - missing BAT mappings were probably the reason for the
	MMU malfunction assumption. Enabled MSR_DR.
2005-11-09 03:20:13 +00:00
Till Straumann
165527795f 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR 837/bsps
	make sure exceptions_in_RAM flag is set prior to initializing exception
	handling. Keep MCP disabled for memory probes :-( (the raven would
	otherwise fault on PCI config space access to empty slots).
2005-11-09 02:44:16 +00:00
Till Straumann
be1ab03a92 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR832/bsps
	* pci/pcibios.c: replace BSP_pciFindDevice implementation by pcibios
	call.
2005-11-08 18:53:50 +00:00
Till Straumann
4d790ba43e 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR832/bsps
	* startup/ldsegs.S: move CPU segment descriptor tables from .text to
	.data; the CPU modifies the descriptor tables and this could be a
	problem: a) if text segment is ever write-protected b) rtems-gdb-stub
	checksums the text segment against the file gdb is using. A checksum
	mismatch results because of the CPU touching the accessed bit...
2005-11-08 18:52:00 +00:00
Till Straumann
7a7ddeb0af 2005-11-07 Till Straumann <strauman@slac.stanford.edu>
PR 834/bsps
	* vectors/vectors.S: reload stack pointer/R1 from exception frame
    instead of adding static offset.
2005-11-08 03:42:13 +00:00
Joel Sherrill
5d6e54d08b 2005-10-06 Till Straumann <strauman@slac.stanford.edu>
PR 833/bsps
	* irq/irq_asm.S: Currently, all (new exception) BSPs explicitely enable
	the FPU across the user ISR but DONT save/restore the FPU context.
	Any use of the FPU fron the user handler (e.g., due to GCC
	optimizations) result in corruption. The fix results in an exception
	in such cases (user ISR must explicitely save/enable/restore FPU).
2005-10-06 19:36:09 +00:00
Joel Sherrill
cdd0fc8a89 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, Makefile.am: Fix hard-coded reference to leon BSP and use
	generated path. Remove ChangeLog entries copied from erc32.
2005-10-06 16:51:37 +00:00
Joel Sherrill
37f094158b 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Remove include of libchip/smc91111exp.h from bsp.h
	since it is not available when networking is disabled.
2005-10-06 12:08:15 +00:00
Joel Sherrill
aba5ed401e 2005-10-05 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, Makefile.am: Fix hard-coded reference to leon BSP and use
	generated path. Remove ChangeLog entries copied from erc32.
2005-10-05 23:02:08 +00:00
Joel Sherrill
7a92e3ddc3 2005-10-05 Joel Sherrill <joel@OARcorp.com>
* amba/amba.c: Fix obvious typo introduced with addition of missing CVS
	Ids.
2005-10-05 22:34:50 +00:00
Joel Sherrill
3ffa814199 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* network/Makefile.am, network/open_eth.c, network/open_eth.h: Portion
	of large update of SPARC BSPs. Includes addition of sis, leon2 and
	leon3 BSPs, deletion of leon BSP, addition of SMC91111 NIC driver and
	much more.
	* network/README.smc91111, network/smc91111.c, network/smc91111.h,
	network/smc91111config.h, network/smc91111exp.h: New files.
2005-10-05 19:29:23 +00:00
Joel Sherrill
774515b753 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, acinclude.m4: Portion of large update of SPARC BSPs.
	Includes addition of sis, leon2 and leon3 BSPs, deletion of leon BSP,
	addition of SMC91111 NIC driver and much more.
	* leon/.cvsignore, leon/ChangeLog, leon/Makefile.am, leon/README,
	leon/bsp_specs, leon/configure.ac, leon/times, leon/clock/.cvsignore,
	leon/clock/Makefile.am, leon/clock/ckinit.c, leon/console/.cvsignore,
	leon/console/Makefile.am, leon/console/console.c,
	leon/console/consolereserveresources.c, leon/console/debugputs.c,
	leon/gnatsupp/.cvsignore, leon/gnatsupp/Makefile.am,
	leon/gnatsupp/gnatsupp.c, leon/include/.cvsignore,
	leon/include/Makefile.am, leon/include/bsp.h, leon/include/coverhd.h,
	leon/include/leon.h, leon/leon_open_eth/.cvsignore,
	leon/leon_open_eth/Makefile.am, leon/leon_open_eth/leon_open_eth.c,
	leon/start/.cvsignore, leon/start/Makefile.am,
	leon/startup/.cvsignore, leon/startup/Makefile.am,
	leon/startup/boardinit.S, leon/startup/linkcmds,
	leon/startup/setvec.c, leon/startup/spurious.c,
	leon/timer/.cvsignore, leon/timer/Makefile.am, leon/timer/timer.c,
	leon/tools/.cvsignore, leon/tools/ChangeLog, leon/tools/Makefile.am,
	leon/tools/configure.ac, leon/tools/runtest.in,
	leon/wrapup/.cvsignore, leon/wrapup/Makefile.am: Removed.
2005-10-05 19:26:31 +00:00
Joel Sherrill
1348869fbb 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	times, amba/.cvsignore, amba/Makefile.am, amba/amba.c,
	clock/.cvsignore, clock/Makefile.am, clock/ckinit.c,
	console/.cvsignore, console/Makefile.am, console/console.c,
	console/consolereserveresources.c, console/debugputs.c,
	gnatsupp/.cvsignore, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
	include/.cvsignore, include/Makefile.am, include/amba.h,
	include/bsp.h, include/coverhd.h, include/leon.h,
	leon_open_eth/.cvsignore, leon_open_eth/Makefile.am,
	leon_open_eth/leon_open_eth.c, leon_smc91111/.cvsignore,
	leon_smc91111/Makefile.am, leon_smc91111/leon_smc91111.c,
	start/.cvsignore, start/Makefile.am, startup/.cvsignore,
	startup/Makefile.am, startup/bspstart.c, startup/ithread.S,
	startup/linkcmds, startup/setvec.c, startup/spurious.c,
	timer/.cvsignore, timer/Makefile.am, timer/timer.c, tools/.cvsignore,
	tools/ChangeLog, tools/Makefile.am, tools/configure.ac,
	tools/runtest.in, wrapup/.cvsignore, wrapup/Makefile.am: New files.
2005-10-05 19:26:00 +00:00
Joel Sherrill
d2a30c77f5 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	times, clock/.cvsignore, clock/Makefile.am, clock/ckinit.c,
	console/.cvsignore, console/Makefile.am, console/console.c,
	console/consolereserveresources.c, console/debugputs.c,
	gnatsupp/.cvsignore, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	include/coverhd.h, include/leon.h, leon_open_eth/.cvsignore,
	leon_open_eth/Makefile.am, leon_open_eth/leon_open_eth.c,
	leon_smc91111/.cvsignore, leon_smc91111/Makefile.am,
	leon_smc91111/leon_smc91111.c, start/.cvsignore, start/Makefile.am,
	startup/.cvsignore, startup/Makefile.am, startup/linkcmds,
	startup/setvec.c, startup/spurious.c, timer/.cvsignore,
	timer/Makefile.am, timer/timer.c, tools/.cvsignore, tools/ChangeLog,
	tools/Makefile.am, tools/configure.ac, tools/runtest.in,
	wrapup/.cvsignore, wrapup/Makefile.am: New files.
2005-10-05 19:25:45 +00:00
Joel Sherrill
73c2d237de 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* ChangeLog, configure.ac, console/Makefile.am, console/console.c,
	console/debugputs.c, startup/Makefile.am, startup/linkcmds,
	tools/Makefile.am: Portion of large update of SPARC BSPs. Includes
	addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition
	of SMC91111 NIC driver and much more.
2005-10-05 19:25:07 +00:00
Joel Sherrill
d490fff3c1 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* Makefile.am, bspstart.c, gnatcommon.c, start.S: Portion of large
	update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs,
	deletion of leon BSP, addition of SMC91111 NIC driver and much more.
2005-10-05 19:24:48 +00:00
Joel Sherrill
fb573a71f1 2005-08-23 Karel Gardas <kgardas@objectsecurity.com>>
* timer/timer.c: Enhance to use either interupt-based timer
	functions on older CPUs or to use TSC-based timer functions on
	more recent (Pentium and above) CPUs. The decision is made in
	Timer_initialize function when it is called for the first time
	based on a result obtained from cpuid instruction during the BSP
	initialization phase. During the first call, there are also late
	bindings to the implementation functions initialized to
	appropriate values.
2005-10-05 02:39:35 +00:00
Joel Sherrill
24b6d2f9a8 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 527/bsps
	PR 822/bsps
	* mpc8xx/clock/clock.c: Currently the MBX8xx BSP does not boot,
	because some logical errors are in the startup code. Additionally,
	the mpc8xx shared clock driver does not support the clocking scheme
	of some of the board variants, which are clocked from a
	32768Hz (!) external crystal.
2005-10-05 02:34:17 +00:00
Joel Sherrill
dc4bd19dfa Removed blank line. 2005-09-29 12:09:08 +00:00
Thomas Doerfler
3741506c42 2005-09-29 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR649/filesystem
	* ide/idecfg.c, configure.ac:
	added configuration items for primary/secondary
2005-09-29 11:50:47 +00:00
Joel Sherrill
8747cac1e3 Added reference to PR527. 2005-09-12 13:38:18 +00:00
Joel Sherrill
5a5af8c1a1 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 822/bsps
	* console/console.c, startup/bspstart.c, startup/imbx8xx.c,
	startup/mmutlbtab.c, startup/start.S, vectors/vectors_init.c:
	Currently the MBX8xx BSP does not boot, because some logical errors
	are in the startup code. Additionally, the mpc8xx shared clock driver
	does not support the clocking scheme of some of the board variants,
	which are clocked from a 32768Hz (!) external crystal.
2005-09-12 13:28:24 +00:00
Joel Sherrill
52adbd42e5 2005-09-09 Joel Sherrill <joel@OARcorp.com>
PR 577/bsps
	* console.c: Make the previously committed patch for this PR compile.
2005-09-09 11:19:25 +00:00
Joel Sherrill
feedcdc65f 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 628/rtems
	* psx04/init.c, psx04/psx04.scn: Update tests to reflect a signal of 0
	being an error.
2005-09-01 16:14:17 +00:00
Joel Sherrill
fd06f6c0d4 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: This file is only to be used by BSPs with the new
	interrupt API so checking for USE_ENHANCED_INTR_API is not needed.
2005-09-01 13:22:18 +00:00
Joel Sherrill
cc2efb6012 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* clock/Makefile.am, include/Makefile.am: Install tod.h
2005-09-01 13:20:47 +00:00
Joel Sherrill
4a4c78d97f 2005-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 577/bsps
	* console.c: The console_close() method currently calls StopRemoteTx()
	on all invocations. It should should be ok for last close only but
	not for any others. If you open a port multiple times, you only want
	to call StopRemoteTx() only as part of the last close.
2005-08-19 16:20:00 +00:00
Joel Sherrill
3424a93ace 2005-08-12 Phil Torre <ptorre@zetron.com>
PR 816/bsps
	* mpc8xx/include/mpc8xx.h: The struct which describes SCC Ethernet mode
	parameters (m8xxSCCENparms_t) does not match the hardware: members
	taddr_h and taddr_l are transposed. When loading new multicast group
	addresses into the hash table, the wrong hash bit is set.
2005-08-12 23:44:55 +00:00
Joel Sherrill
7918027fad 2005-05-20 Ralf Corsepius <ralf_corsepius@rtems.org>
PR 717/bsps
	* bootloader/Makefile.am: Typo results in wrong flags being used.
2005-05-20 19:53:48 +00:00
Joel Sherrill
da56a02f6c 2005-05-20 Sergei Organov <osv@topconrd.ru>
PR 750/networking
	* pppd/sys-rtems.c: Avoid NULL dereference in wait_input().
2005-05-20 19:31:18 +00:00
Jennifer Averett
0bdfa8d3ff 2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 781/misc
	* serial/ns16550_p.h: Fix baud rate calculation
2005-04-28 14:56:36 +00:00
Jennifer Averett
53923e8377 2005-04-11 Jennifer Averett<jennifer.averett@oarcorp.com>
PR 778/bsps
	* include/bsp.h, include/gen2.h, startup/FPGA.c, startup/Hwr_init.c,
	startup/bspstart.c, tod/tod.c:
        modify SCORE_.. to BSP_.. for externally used define's.
2005-04-11 20:18:20 +00:00
Jennifer Averett
64c3f790a2 2005-04-11 Jennifer Averett <jennifer@OARcorp.com>
PR 777/bsps
	* include/bsp.h: Add a Processor_Synchronize command in bsp.h
2005-04-11 19:58:14 +00:00
Joel Sherrill
70541799ee 2005-03-17 Joel Sherrill <joel@OARcorp.com>
* irq/.cvsignore: New file.
2005-03-17 14:26:17 +00:00
Joel Sherrill
44eb0beb20 2005-01-20 Joel Sherrill <joel@OARcorp.com>
PR 743/bsps
	* clock/Makefile.am: Did not install tod.h.
2005-01-20 16:54:45 +00:00
Ralf Corsepius
410c6f8593 2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 704/bsps.
	* ide_ctrl.c: Removed (obsolete).
2004-12-10 09:29:41 +00:00
Joel Sherrill
0bedb7eced 2004-11-23 Richard Campbell <richard.campbell@oarcorp.com>
* startup/bspstart.c: Removed mpc824x conditionals around call to
	L1_caches_enables, conditionals are now in mmuAsm.S.
 	* vme/VMEConfig.h: Set up VME A16, A24 and A32 windows at different
	locations for mvme2100.
	* vme/vmeconfig.c: Fixed spelling.
2004-11-23 15:44:50 +00:00
Joel Sherrill
21b54fc117 2004-11-23 Richard Campbell <richard.campbell@oarcorp.com>
* powerpc/mpc6xx/mmu/mmuAsm.S: Enable L1 instruction cache only for
	mpc8240 and mpc8245.
2004-11-23 15:31:19 +00:00
Joel Sherrill
9146692992 Add PR617 as fixed by conversion to new exceptions. 2004-11-22 23:37:11 +00:00
Joel Sherrill
bf423bdb2b 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
* Makefile.am, wrapup/Makefile.am: Pick up SHM driver when MP enabled.
2004-11-22 23:32:33 +00:00
Jennifer Averett
848d015196 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
* sp07/buffered_io.c: Remove warning.
2004-11-22 22:34:36 +00:00
Jennifer Averett
f778d4c531 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
PR 581/bsps
	* mpc6xx/exceptions/raw_exception.c, shared/include/cpuIdent.h:
	Converting PSIM to new exception model required addition of PSIM CPU
	model.
2004-11-22 22:32:47 +00:00
Jennifer Averett
561f53b71e 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
PR 581/bsps
	* Makefile.am, bsp_specs, configure.ac, clock/Makefile.am,
	include/bsp.h, start/Makefile.am, start/start.S, startup/Makefile.am,
	startup/bspstart.c, startup/linkcmds, vectors/Makefile.am,
	vectors/vectors.S, wrapup/Makefile.am: Convert PSIM to new exception
	model.
	* irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c: New files.
	* clock/clock.c: Removed.
2004-11-22 22:30:59 +00:00
Jennifer Averett
24fced7e13 2004-11-22 Joel Sherrill <joel@OARcorp.com>
PR 693/misc
	* rtc/mc146818a_ioreg.c: Disable unless on a target with in/outport
	routines.
2004-11-22 22:25:05 +00:00
cvs2git
52d276b6bc This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2004-11-22 22:13:35 UTC Jennifer Averett <Jennifer.Averett@OARcorp.com> '2004-11-22	Jennifer Averett <jennifer@OARcorp.com>':
    c/src/lib/libbsp/powerpc/psim/irq/irq.c
    c/src/lib/libbsp/powerpc/psim/irq/irq.h
    c/src/lib/libbsp/powerpc/psim/irq/irq_asm.S
    c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
2004-11-22 22:13:36 +00:00
Ralf Corsepius
0293ad1159 2004-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 721/tests
	* itronsem01/init.c: Fix bogus assert.
2004-11-22 08:19:13 +00:00
Joel Sherrill
30062b7576 2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>
* vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some
	boards -- notably the MVME2100 -- return the physical address, not an
	offset in PCI memory space.
2004-11-16 23:00:27 +00:00
Joel Sherrill
022ee190c8 2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>
* README.MVME2100: Update to include DBAT0.
	* bsp_specs: Fix spacing.
2004-11-16 22:57:50 +00:00
Joel Sherrill
70fefe6879 2004-11-10 Joel Sherrill <joel@oarcorp.com>
* tod.c: Add include of tod.h to remove warnings.
2004-11-10 22:38:38 +00:00
Joel Sherrill
d700909e7e 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 22:37:57 +00:00