Commit Graph

5432 Commits

Author SHA1 Message Date
Ralf Corsepius
a6242fa5d6 2003-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/Makefile.am: Remove -DBSP_IS_I386EX=1 (unused).
2003-05-15 09:36:58 +00:00
Chris Johns
e16f60cdc2 HOWTO changes. 2003-05-08 14:24:05 +00:00
Chris Johns
776c11161e Updated the GRUB version info and how to build GRUB from source.
Added how to boot over the network with a PXE Netboot BIOS.
2003-05-08 14:21:24 +00:00
Chris Johns
3bd8f85795 PR401. Missing causing issues when importing into CVS. 2003-05-02 07:53:57 +00:00
Ralf Corsepius
a02f9674d1 2003-04-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Add libide.a.
2003-04-29 08:03:48 +00:00
Joel Sherrill
eedf195795 2003-04-15 Joel Sherrill <joel@OARcorp.com>
PR 387/rtems_misc
	* ide/ata.c: Removed warning and moved to use of simpler libc routines.
	* ide/ata_internal.h: Added missing newline and end of file.
2003-04-15 13:03:40 +00:00
Ralf Corsepius
d8767c3e64 Merger from trunk. 2003-04-14 06:24:44 +00:00
cvs2git
7c608e88e5 This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-04-14 06:19:46 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2003-04-14	Ralf Corsepius <corsepiu@faw.uni-ulm.de>':
    c/src/lib/libbsp/i386/pc386/ide/.cvsignore
    c/src/lib/libbsp/powerpc/mbx8xx/ide/.cvsignore
    doc/develenv/direct.t
    doc/develenv/sample.t
    doc/develenv/utils.t
2003-04-14 06:19:47 +00:00
Joel Sherrill
b545552df8 2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 380/bsps
	* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h:
	make printk format strings compliant with libcpu/printk.
	minor fixes and lazy init bugfix.
2003-04-10 16:40:25 +00:00
Joel Sherrill
6ad3694786 2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 379/bsps
	* console/polled_io.c: libcpu provides 'printk' already.
	Therefore, the implementation in this file was removed (still
	used for the bootloader, though).  It now provides BSP_output_char()
	for libcpu's printk().
	* console/uart.c, console/uart.h: BSP_output_char_via_serial()
	prototype changed to match the BSP_output_char_function_type.  Note
	that the motorola BSPs use polled-io for the output_char routine, not
	the uart.c version. The latter can be used be other BSPs however
	(e.g. SVGM).
	* console/console.c, console/consoleIo.h, console/polled_io.c,
	irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
	Unfortunately, the supported 'printk' format string subset of the
	polled-io and libcpu implementations are different - hence, a few
	format strings in the ppc/shared BSP were changed.
2003-04-10 16:35:13 +00:00
Joel Sherrill
c3f8aa9d16 2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 371/pppd
	* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
	pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
	Change many symbols to static. There are still global symbols in
	rtemspppd.h which might need to be changed or converted into member
	of a structure which is dereferenced with a pointer that is managed
	as a per task variable. But this patch should avoid many conflicts.
2003-04-10 13:09:09 +00:00
Joel Sherrill
2d8eddea7a 2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 383/bsps
	* irq/irq.c: Fix bug introduced by conflicts in previous patches.
2003-04-10 13:05:10 +00:00
Ralf Corsepius
0793e35195 2003-04-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bsp.mak: Use var="$val" instead of var=${var=$val}. to satisfy
	Solaris /bin/sh.
	(Reported by Till Straumann <strauman@SLAC.Stanford.EDU>).
2003-04-08 05:22:37 +00:00
Joel Sherrill
dd6ad01947 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* bootloader/Makefile.am: Eliminate EABI CFLAGS from those used to
	compile the bootloader.
2003-03-27 18:44:42 +00:00
Joel Sherrill
5f83947367 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
	allowed in the cpukit source code since it must be buildable
	independent of any BSP. These files were moved to libchip/ide.
	* ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
2003-03-27 15:18:37 +00:00
Joel Sherrill
b7985c50a6 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* mpc8xx/include/mpc8xx.h: Add PCMCIA registers.
2003-03-25 18:36:34 +00:00
Joel Sherrill
08d43444a5 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* ide/Makefile.am, ide/ide_ctrl_cfg.h: General improvements which
	now work on pc386 and mbx8xx.
	* ide/ide_controller.c: New file.
2003-03-25 18:25:03 +00:00
Joel Sherrill
26e927f71b 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* startup/ldsegs.S: Increase alignment.
	* Makefile.am, configure.ac, include/bsp.h, wrapup/Makefile.am:
	Added IDE supporting infrastructure.
	* ide/Makefile.am, ide/ide.c, ide/idecfg.c: New files.  Added
	BSP support for libchip standard ide driver.
2003-03-25 18:21:29 +00:00
Joel Sherrill
086e708d3f 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystem
	* ide/*: added BSP support for libchip standard ide driver
2003-03-25 18:17:25 +00:00
Joel Sherrill
2742cc30e5 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 360/bsps
	* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
	BSP code had set the task priority register multiple times of
	the OpenPIC instead of setting the individual source priorities.
	This patch adds openpic_get_source_priority() and
	openpic_set_source_priority() calls and lets IRQ management code
	use them.
2003-03-25 16:55:29 +00:00
Joel Sherrill
a3ef256740 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.
2003-03-25 16:46:01 +00:00
Joel Sherrill
c960a72529 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:40:08 +00:00
Ralf Corsepius
4bab4aff51 Merger from CVS-trunk. 2003-03-25 08:06:19 +00:00
Joel Sherrill
186d8b23ce 2003-03-19 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Fixed so sysctl sections appear correctly. Also
	increased RAM (a lie) so all programs link.
2003-03-20 00:17:15 +00:00
Ralf Corsepius
ccb739c6b3 2003-03-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Remove strlcpy, strlcat.
2003-03-19 00:51:54 +00:00
Joel Sherrill
2ae52c7583 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	This patch makes RTEMS/powerpc/shared EABI compliant.
	* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
	startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
	zero_bss() should clear not only bss but sbss and sbss2
	also (this is probably a bugfix, as sbss/sbss2 are
	probably used even if -msdata=eabi is not specified).
	* start/rtems_crti.S: New file which must
	be linked immediately after ecrti.o. rtems_crti.o contains
	a code snippet who lets __init() return immediately. Also,
	a new entry point '_init' to the C++ Ctors is generated
	for use by the RTEMS Thread_Handler.
2003-03-18 19:24:59 +00:00
Joel Sherrill
9cfccae23f 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
2003-03-18 19:22:55 +00:00
cvs2git
6ac7a12b3f This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-03-18 19:20:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-03-18  Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libbsp/powerpc/shared/start/rtems_crti.S
2003-03-18 19:20:56 +00:00
Joel Sherrill
98847ed837 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* bsp_specs, start/Makefile.am, startup/linkcmds
	This patch makes RTEMS/powerpc/shared EABI compliant.
	Declare all linker-script defined addresses as
	variables of unknown size and not as short objects
	like 'int', 'void*' etc.
	This prevents the compiler from generating a relocation
	who assumes the existence of an __rtems_end object in
	one of the short data areas (which would result in a
	linker error).
2003-03-18 18:16:53 +00:00
Joel Sherrill
95501284c6 2003-03-18 Joel Sherrill <joel@OARcorp.com>
* comm/GDB.HOWTO: Updated.
2003-03-18 14:25:40 +00:00
Ralf Corsepius
b18646c909 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 10:45:24 +00:00
Ralf Corsepius
0b5d1b0a8a Fix ChangeLog 2003-03-06 06:05:21 +00:00
Ralf Corsepius
f87a9f2558 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add support/.
	* support/Makefile.am: New.
	* support/version.c: New.
	* wrapup/Makefile.am: Add support/libsupport.a.
2003-03-06 06:01:31 +00:00
Ralf Corsepius
b3ceb8973d 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Build librtems++$(LIB_VARIANT).a
2003-03-04 17:12:06 +00:00
Ralf Corsepius
d24f574e07 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Use SRC += instead of make-vars.
2003-03-04 11:27:58 +00:00
Joel Sherrill
c074ea2eae 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c,
	mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c,
	shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c,
	shared/src/stackTrace.h, powerpc/registers.h:
	  - undo improper 'fix' who broke mpc604r identification
	  - fix: 7400 identification PVR value was wrong
	  - enhance 'setdbat()' to switch OFF a given BAT if called with 0 size
	  - fix: page table support bugfix
	  - enhancement: provide routines to take and print stack trace
	    snapshots
	  - add definitions for HID1 and DABR SPRs
2003-02-20 22:07:54 +00:00
cvs2git
da1100e035 This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-02-20 22:07:22 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-02-20	Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libcpu/powerpc/shared/src/stack.c
    c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
2003-02-20 22:07:23 +00:00
Joel Sherrill
ef42b5c2e9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:59:02 +00:00
Joel Sherrill
83ae314d4e 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
	Let the powerpc/shared (+derived) BSPs use pagetable support
	from libcpu.
2003-02-20 21:57:44 +00:00
Joel Sherrill
ff4e9fe7a1 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
	Let the powerpc/shared (+derived) BSPs use pagetable support
	from libcpu.
2003-02-20 21:57:22 +00:00
Joel Sherrill
3c2f21a987 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
	* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
2003-02-20 21:57:21 +00:00
Joel Sherrill
5cfb5ca283 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* openpic/Makefile.am, pci/Makefile.am:
	  - install the 'openpic.h' and 'pci.h' headers
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
2003-02-20 21:52:21 +00:00
Joel Sherrill
e7625fc6c9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
	irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
	vectors/vectors.S, vectors/vectors_init.c:
	  - install the 'openpic.h' and 'pci.h' headers
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
2003-02-20 21:48:25 +00:00
Joel Sherrill
837a1323e3 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
	* startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
	Let the powerpc/shared (+derived) BSPs use pagetable support
   	from libcpu.
2003-02-20 21:45:49 +00:00
Joel Sherrill
422d561d4a 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
	vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
	the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:42:15 +00:00
Joel Sherrill
01fdbb1f30 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* console/console.c, console/uart.c, console/uart.h: implement
	IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
	callback.  The callback routine (if installed) is invoked from the
	UART ISR when a BREAK interrupt is detected.  This can be used
	e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
	use the serial line break condition) NOTE: The callback runs in
	ISR context.
2003-02-20 21:38:50 +00:00
Joel Sherrill
254f0552cb 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* README.universe, vmeUniverse/README.porting
	vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c,
	vmeUniverse/vmeUniverse.h: Update of the VME universe driver.
	* vmeUniverse/README.porting: New file.
2003-02-20 21:37:34 +00:00
cvs2git
03dfa5ee5f This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-02-20 21:35:57 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-02-20	Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libbsp/shared/vmeUniverse/README.porting
2003-02-20 21:35:58 +00:00
Joel Sherrill
c16310759a 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 353/bsps
	* include/bsp.h: Let the application override the network driver
	and attach routine.
2003-02-20 21:25:11 +00:00
Joel Sherrill
6ba05a77cc Fixed typo in PR category. 2003-02-20 21:22:34 +00:00