summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move startup files to bspsSebastian Huber2018-04-203-43/+0
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* Remove make preinstallChris Johns2018-01-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* beatnik, motorola_powerpc, mvme3100, mvme5500: Simplify bsp_specsJoel Sherrill2017-12-201-0/+6
| | | | | | | | | This collection of BSPs shared the linker script shared/startup/linkcmds. I renamed that ot shared/startup/linkcmds.share and made a BSP family specific startup/linkcmds. This was needed because each BSP family had a different combination of start file name, undefined symbols, etc. Updates #3520.
* powerpc/motorola_powerpc/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-1/+2
|
* powerpc: motorola: Move bspreset.c to startup/Chirayu Desai2013-12-021-0/+27
| | | | * Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-031-264/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, motorola_powerpc/Makefile.am, mvme5500/Makefile.am, mvme5500/start/preload.S, mvme5500/startup/bspstart.c, shared/startup/bspstart.c: moved linkcmds to shared area for other BSPs to use 2005-11-03 straumanatslacdotstanforddotedu * shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts) 2005-11-02 straumanatslacdotstanford.edu * mvme5500/start/start.S, shared/start/start.S, shared/startup/bspstart.c: moved assembly code to C; setdbat now supports high bats on 7450 CPUs; added argument checking to setdbat; added getdbat; moved early initialization code (clear_bats) from BSP to libcpu (CPU_clear_bats_early) 2005-10-20 Eric Norum <norume@aps.anl.gov> * shared/pci/detect_raven_bridge.c, shared/startup/bspstart.c shared/vme/VMEConfig.h: Support MVME2100. 2005-10-17 Ralf Corsepius <ralf.corsepius@rtems.org> * Makefile.am: Merge-in shared/Makefile.am. * configure.ac: Remove shared/Makefile.am. * ChangeLog: Merge-in shared/ChangeLog. 2005-10-06 Till Straumann <strauman@slac.stanford.edu> PR 833/bsps * shared/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-09-16 richard.campbell@OARCorp.com * shared/startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written in inline assembly and containined a register direction error. 2005-07-28 Eric Norum <norume@aps.anl.gov> * shared/shared/clock/p_clock.c: Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running. Corresponding changes made to mvme5500/startup/bspstart.c. 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com> * shared/clock/p_clock.c, shared/irq/i8259.c, shared/irq/irq.c, shared/irq/irq.h: Modified to use rtems/irq.h. 2005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org> * shared/startup/bspstart.c, shared/tod/todcfg.c: Eliminate {un|}signed{8|16|32}. * shared/bootloader/pci.c: Eliminate {un|}signed{8|16|32}. Eliminate u32. 2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com> * shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/misc.c, shared/bootloader/pci.c, shared/bootloader/pci.h: Modified to depend upon rtems/pci.h 2005-05-06 Ralf Corsepius <ralf.corsepius@rtems.org> * shared/pci/pci.h: Add pci_bus_count(). 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com> * shared/irq/irq_init.c, shared/pci/pci.c, shared/pci/pcifinddevice.c, shared/startup/bspstart.c: Name change to support common PCI interface 2005-04-28 Joel Sherrill <joel@OARcorp.com> * acinclude.m4: Remove dmv177 and ppcn_60x. * configure.ac: Remove reference to dmv177. 2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com> * acinclude.m4: Initial release of ep1a bsp 2005-04-26 Joel Sherrill <joel@OARcorp.com> * shared/console/uart.h: Eliminate tabs. 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com> PR 779/bsp * shared/clock/p_clock.c, shared/console/console.c, shared/console/uart.c, shared/console/uart.h, shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_init.c: powerpc: add parameter to new exception interrupt handlers 2005-03-14 Joel Sherrill <joel@OARcorp.com> * shared/pci/pci.c, shared/pci/pci.h, shared/pci/pcifinddevice.c: Continue PCI API unification. All use pci_find_device(). Also reformat to remove tabs. 2005-03-04 Joel Sherrill <joel@OARcorp.com> * shared/pci/pci.c, shared/pci/pcifinddevice.c, shared/startup/bspstart.c: Make PCI initialize function part of the unified PCI API as pci_initialize(). 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org> * shared/startup/bspstart.c: Eliminate rtems_unsigned32. * shared/startup/bspstart.c, shared/start/start.S: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE. 2005-02-12 Joel Sherrill <joel@OARcorp.com> * shared/pci/pci.h: Remove contents that are duplicates of the pci.h in cpukit and include rtems/pci.h for the base set of PCI functionality. 2005-01-22 Ralf Corsepius <ralf.corsepius@rtems.org> * shared/tod/todcfg.c: size_t RTC_Count. 2005-01-04 Joel Sherrill <joel@OARcorp.com> * shared/ChangeLog, shared/startup/bspstart.c, shared/tod/todcfg.c: Remove warnings. 2004-12-30 Ralf Corsepius <ralf.corsepius@rtems.org> * acinclude.m4: Reflect eth_comm having been removed. 2004-11-30 Greg Menke <gregory.menke@gsfc.nasa.gov> PR 729/bsps PR 728/bsps * shared/bootloader/ppcboot.lds: Modified ppcboot.lds to include new .data and .rodata sections being generated by gcc-3.3.3 and above, the lack of which was causing the bootloader to crash. * shared/bootloader/pci.c: Removed the r->size=0 and r->base=0 assignement which makes too-large regions conflict with onboard hardware, replacing it with sfree which deletes the memory region from the setup code, leaving it disabled. 2004-11-30 Eric Norum <norume@aps.anl.gov> * mvme5500/include/bsp.h: Add definition for PCI_MEM_BASE_ADJUSTMENT 2004-10-26 Eric Norum <norume@aps.anl.gov> Remove environ common area -- it breaks newlib * powerpc/dmv177/start/start.S * powerpc/eth_comm/start/start.S * powerpc/mbx8xx/startup/start.S * powerpc/mvme5500/start/start.S * powerpc/ppcn_60x/start/start.S * powerpc/psim/start/start.S * powerpc/score603e/start/start.S * powerpc/shared/start/start.S * powerpc/ss555/startup/start.S 2004-10-20 Eric Norum <norume@aps.anl.gov> * configure.ac * mvme5500/....... * acinclude.m4: Add mvme5500 BSP 2004-09-27 Greg Menke <gregory.menke@gsfc.nasa.gov> PR 606/bsps * shared/bootloader/pci.c, shared/bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped. Reduced PCI space to match bat2. Fixed incorrect region size calculation in pci_read_bases. Set PCI latency timers to known sane values. Changed bridge PCI settings to minimum sane instead of whatever sounded neat in the PCI spec. Force pf regions to memory mapped to preserve byte access. 2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org> * configure.ac: Require automake > 1.9. 2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org> * acinclude.m4: Regenerate to include ss555. 2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY]). * acinclude.m4: Regenerate. 2004-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Reflect having removed shared/*/Makefile.am 2004-01-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use @RTEMS_BSP_FAMILY@ instead of $(RTEMS_BSP_FAMILY). 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Require automake >= 1.8, autoconf >= 2.59. 2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Misc cleanups and fixes. 2003-10-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * acinclude.m4: Reflect changes to bootstrap. 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Reflect having moved aclocal/. 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Reflect having moved automake/. 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Use rtems-bugs@rtems.com as bug report email address. 2003-07-18 Till Straumann <strauman@slac.stanford.edu> PR 288/rtems * support/new_exception_processing/cpu.c: _ISR_Nest_level is now properly maintained and does not reside in SPRG0. 2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov> PR 432/bsps * shared/bootloader/pci.c: Re-instated code that prevents remapping small IO regions, which if remapped would cause i8259 registers to move out from under the #define'd base addresses. * shared/startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256 megs, I incorrectly had extended it which would cause problems with PCI devices that defined prefetchable memory. 2003-06-13 Till Straumann <strauman@slac.stanford.edu> PR 415/bsps * shared/include/bsp.h, shared/pci/detect_raven_bridge.c, shared/startup/bspstart.c: Support enabling MCP exceptions on the host bridge. This can be used for memory probing on the VME bus. 2003-06-13 Greg Menke <gregory.menke@gsfc.nasa.gov> PR 405/bsps * shared/irq/irq.c, shared/irq/irq.h: Added support for shared interrupts. Existing single hander vectors are undisturbed, a new function added to allow adding/removing handlers from a vector. * shared/bootloader/pci.c: Added support for configuring devices for pci busses > 0 * shared/motorola/motorola.c, shared/motorola/motorola.h: Added interrupt routing tables in support of FixupPCI. This is board-specific, each board will have to supply information for FixupPCI() to do anything for it. * shared/startup/bspstart.c: Extended bat2 to cover entire PCI address space. * shared/pci/pci.c, shared/pci/pci.h: Added FixupPCI() to store vectors in the INTERRUPT_LINE register of pci devices any # of hops away from the host processor. 2003-04-15 Joel Sherrill <joel@OARcorp.com> PR 386/bsps * shared/vme/vmeconfig.c, shared/vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq. 2003-04-10 Till Straumann <strauman@slac.stanford.edu> PR 379/bsps * shared/console/console.c, shared/console/consoleIo.h, shared/console/polled_io.c, shared/irq/irq_init.c, shared/openpic/openpic.c, shared/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. * shared/console/uart.c, shared/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). * shared/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(). 2003-04-10 Joel Sherrill <joel@OARcorp.com> PR 383/bsps * shared/irq/irq.c: Fix bug introduced by conflicts in previous patches. 2003-03-25 Till Straumann <strauman@slac.stanford.edu> PR 360/bsps PR 349/bsps * shared/irq/irq.c, shared/vme/VME.h, shared/vme/vmeconfig.c, shared/irq/irq.c, shared/vme/VME.h, shared/vme/vmeconfig.c, shared/irq/irq.c, shared/vme/VME.h, shared/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. * shared/irq/irq.c, shared/irq/irq_init.c, shared/openpic/openpic.c, shared/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-18 Till Straumann <strauman@slac.stanford.edu> PR 356/bsps This patch makes RTEMS/powerpc/shared EABI compliant. * shared/irq/irq_init.c, shared/start/Makefile.am, shared/start/start.S, shared/startup/bspstart.c, shared/startup/pgtbl_setup.c, shared/vectors/vectors.h, shared/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). * shared/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-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove AC_CONFIG_AUX_DIR. 2003-02-20 Till Straumann <strauman@slac.stanford.edu> PR 349/bsps * shared/console/console.c, shared/console/uart.c, shared/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. * shared/startup/pgtbl_setup.c, shared/startup/pgtbl_activate.c: New files * shared/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 * shared/fix: remove implicit assumption that ISA interrupt vectors start at 0 * configure.ac, shared/vme/.cvsignore, shared/vme/Makefile.am, shared/vme/VME.h, shared/vme/VMEConfig.h, shared/vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use the vmeUniverse VME-PCI bridge driver. * shared/console/polled_io.c, shared/console/reboot.c, shared/irq/irq.c, shared/irq/irq_asm.S, shared/irq/irq_init.c, shared/openpic/Makefile.am, shared/startup/linkcmds, shared/vectors/vectors.S, shared/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: * shared/startup/Makefile.am, shared/startup/bspstart.c, shared/startup/linkcmds: Let the powerpc/shared (+derived) BSPs use pagetable support from libcpu. 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). * configure.ac: AC_PREREQ(2.57). 2003-01-20 Joel Sherrill <joel@OARcorp.com> * shared/startup/linkcmds*: Add FreeBSD sysctl() sections. 2002-12-19 Joel Sherrill <joel@OARcorp.com> * shared/console/console.c: Removed __assert() which conflicts with newlib. 2002-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP. 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov> * shared/bootloader/head.S: Added support for optional debug via PPCbug. Also turn off mmu/caches for the bootstrap phase, which seems to cause trouble with the 603. The cpu init functions in the bsp get all that stuff going properly. 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove RTEMS_CHECK_BSP_CACHE. 2002-11-17 Greg Menke <gregory.menke@gsfc.nasa.gov> * shared/irq/irq_init.c, shared/motorola/motorola.c: Support for MTX603e. 2002-10-31 Joel Sherrill <joel@OARcorp.com> * shared/bootloader/em86.c, shared/console/inch.c, shared/console/polled_io.c, shared/irq/irq.c, shared/motorola/motorola.c, shared/pci/detect_raven_bridge.c, shared/vectors/vectors_init.c: Removed warnings. 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache. 2002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/bootloader/em86real.S: Fix syntax error in comment near line 1185. 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/irq/irq_init.c: Include <rtems/bspIo.h>. * shared/bootloader/exception.S, shared/start/start.S: Reflect changes to <rtems/score/cpu.h>. * shared/bootloader/head.S, shared/bootloader/misc.c, shared/console/polled_io.c, shared/irq/irq.c, shared/irq/irq_asm.S, shared/vectors/vectors.S: Ditto. 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/startup/bspstart.c: Include <libcpu/cpuIdent.h>. 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/residual/residual.c: Include <string.h>. * shared/vectors/vectors_init.c: Include <rtems/bspIo.h> for printk. * shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/openpic/openpic.c: Ditto. 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am, shared/bootloader/Makefile.am, shared/Makefile.am, shared/clock/Makefile.am, shared/console/Makefile.am, shared/include/Makefile.am, shared/irq/Makefile.am, shared/motorola/Makefile.am, shared/openpic/Makefile.am, shared/pci/Makefile.am, shared/residual/Makefile.am, shared/start/Makefile.am, shared/startup/Makefile.am, shared/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS. * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). 2001-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/include/Makefile.am: Use _HEADER instead of H_FILES. * Makefile.am: Add DIST_SUBDIRS. * shared/include/bsp.h: Include <bspopts.h>. * shared/irq/Makefile.am, shared/openpic/Makefile.am: Ditto. 2001-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * support/new_exception_processing/Makefile.am, support/old_exception_processing/Makefile.am, support/old_exception_processing/cpu_asm.S, support/old_exception_processing/irq_stub.S: Modified to reflect old versus new exception processing being a per BSP option. * support/new_exception_processing/c_isr.inl, support/new_exception_processing/cpu.h, support/old_exception_processing/c_isr.inl, support/old_exception_processing/cpu.h, support/old_exception_processing/ppc_offs.h: Removed. 2001-11-20 Joel Sherrill <joel@OARcorp.com> * support/new_exception_processing/configure.ac, support/new_exception_processing/rtems/score/c_isr.inl, support/new_exception_processing/rtems/score/cpu.h, support/old_exception_processing/configure.ac, support/old_exception_processing/rtems/score/c_isr.inl, support/old_exception_processing/rtems/score/cpu.h, support/old_exception_processing/rtems/score/ppc_offs.h: New files missed in previous commit. * papyrus/.cvsignore, papyrus/ChangeLog, papyrus/Makefile.am, papyrus/README, papyrus/bsp_specs, papyrus/configure.ac, papyrus/times, papyrus/dlentry/.cvsignore, papyrus/dlentry/Makefile.am, papyrus/dlentry/dlentry.S, papyrus/flashentry/.cvsignore, papyrus/flashentry/Makefile.am, papyrus/flashentry/flashentry.S, papyrus/include/.cvsignore, papyrus/include/Makefile.am, papyrus/include/bsp.h, papyrus/include/coverhd.h, papyrus/startup/.cvsignore, papyrus/startup/Makefile.am, papyrus/startup/bspclean.c, papyrus/startup/bspstart.c, papyrus/startup/linkcmds, papyrus/startup/setvec.c, papyrus/wrapup/.cvsignore, papyrus/wrapup/Makefile.am: Deleted. * acinclude.m4: papyrus reference removed. 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se> This modification is part of the submitted modifications necessary to support the IBM PPC405 family. This submission was reviewed by Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did not negatively impact the ppc403 BSPs. The submission and tracking process was captured as PR50. * ChangeLog: Removed bogus comment on edit of generated file. * acinclude.m4: Added gen405 BSP. 2001-10-25 Joel Sherrill <joel@OARcorp.com> * shared/startup/linkcmds: Added _init and _fini. 2001-10-22 Joel Sherrill <joel@OARcorp.com> * acinclude.m4: Added mpc8260ads subdirectory. 2001-10-12 Joel Sherrill <joel@OARcorp.com> * shared/clock/p_clock.c, shared/startup/bspstart.c: Fixed typo. 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.ac: New file, generated from configure.in by autoupdate. * configure.in: Remove. 2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * acinclude.m4: New file. * configure.in: Use RTEMS_BSP_SUBDIR. 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shared/console/Makefile.am, shared/residual/Makefile.am, shared/irq/Makefile.am, shared/motorola/Makefile.am, shared/vectors/Makefile.am, shared/pci/Makefile.am, shared/openpic/Makefile.am: Use 'PREINSTALL_FILES ='. 2001-05-14 Tom Armistead <tom_armistead@phx.mcd.mot.com> * shared/start/start.S: Increased BAT0 mapping of RAM from 64 meg to 256 meg to allow operation on boards with larger RAM sizes. * shared/vectors/vectors_init.c: Modified to call 'generic' powerpc vector function (mpc60x_vector_is_valid) instead of MPC750 specific function to allow operation on boards with CPUs other than the MPC750. 2001-05-14 Till Straumann <strauman@slac.stanford.edu> * shared/bootloader/misc.c, shared/console/Makefile.am, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/polled_io.c, shared/console/uart.c, shared/console/uart.h, shared/include/bsp.h, shared/irq/Makefile.am, shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_init.c, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/Makefile.am, shared/pci/pci.c, shared/pci/pci.h, shared/residual/Makefile.am, shared/start/start.S, shared/startup/bspstart.c, shared/vectors/vectors.S, shared/vectors/vectors.h, shared/vectors/vectors_init.c: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance. 2001-05-09 Joel Sherrill <joel@OARcorp.com> * shared/startup/linkcmds: In support of gcc 3.1, added one of more of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*, .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections and direction of segments to memory regions may also have been addressed. This was a sweep across all BSPs. 2001-04-08 Joel Sherrill <joel@OARcorp.com> * shared/startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame 2001-03-30 Eric Valette <valette@crf.canon.fr> * shared/Makefile.am, shared/console/consoleIo.h, shared/include/bsp.h: These modifications are part of the conversion of the mpc8xx CPU to the "new exception processing model." * configure.in, motorola_powerpc/Makefile.am, motorola_powerpc/configure.in: These modifications are in support of switching the mpc8xx to the use the "new exception processing model." 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. 2000-11-01 Joel Sherrill <joel@OARcorp.com> * shared/startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. Header file order was cleaned up while doing this. 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization. 2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca> * shared/startup/linkcmds: Added lines so DWARF debug information would be available. Otherwise gdb complains that the offsets for the debug info are incorrect and doesn't load the files. 2000-09-05 Joel Sherrill <joel@OARcorp.com> * shared/start/start.S: Include proper files to compile. 2000-08-10 Joel Sherrill <joel@OARcorp.com> * ChangeLog, shared/ChangeLog: New file.
* 2004-11-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-11-171-5/+5
| | | | * startup/linkcmds: Add sections required by gcc 3.3.x so it will link.
* 2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>Joel Sherrill2004-11-161-3/+1
| | | | | * README.MVME2100: Update to include DBAT0. * startup/linkcmds: Add sections from new gcc versions.
* 2004-11-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-11-051-1/+3
| | | | * startup/linkcmds: Add .gnu.linkonce.b and .gnu.linkonce.bs sections.
* 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-302-57/+0
| | | | | | | | | | | | | | | * Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, irq/Makefile.am, motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am, start/Makefile.am, startup/Makefile.am, vectors/Makefile.am, vme/Makefile.am. Use automake compilation rules. Rename clock.rel to pclock.rel (Conflict with libcpu). * clock/Makefile.am, console/Makefile.am, irq/Makefile.am, motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am, start/Makefile.am, startup/Makefile.am, vectors/Makefile.am, vme/Makefile.am: Remove. * configure.ac: Reflect changes above. * wrapup/Makefile.am: Reflect changes above.
* 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-141-0/+5
| | | | | | | | | | | | | | * Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES. * bootloader/Makefile.am: Ditto. * irq/Makefile.am: Ditto. * motorola/Makefile.am: Ditto. * openpic/Makefile.am: Ditto. * pci/Makefile.am: Ditto. * start/Makefile.am: Ditto. * startup/Makefile.am: Ditto. * vectors/Makefile.am: Ditto. * vme/Makefile.am: Ditto.
* 2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-221-11/+22
| | | | | | | | | | | | | | | * bootloader/Makefile.am: Eliminate VPATH. * clock/Makefile.am: Eliminate VPATH. * console/Makefile.am: Eliminate VPATH. * irq/Makefile.am: Eliminate VPATH. * motorola/Makefile.am: Eliminate VPATH. * openpic/Makefile.am: Eliminate VPATH. * pci/Makefile.am: Eliminate VPATH. * residual/Makefile.am: Eliminate VPATH. * start/Makefile.am: Eliminate VPATH. * startup/Makefile.am: Eliminate VPATH. * vectors/Makefile.am: Eliminate VPATH. * vme/Makefile.am: Eliminate VPATH.
* 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-131-6/+6
| | | | | | * bootloader/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. * start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. * startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
* 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-121-0/+4
| | | | | | | | | | | | | * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * bootloader/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * irq/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * motorola/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * openpic/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * pci/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * start/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * vectors/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * vme/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* 2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-092-12/+11
| | | | | | | | * bootloader/Makefile.am: Misc cleanups and fixes. * motorola/Makefile.am: Misc cleanups and fixes. * start/Makefile.am: Misc cleanups and fixes. * startup/Makefile.am: Misc cleanups and fixes. * startup/linkcmds: Preparations for gcc-3.3.x.
* 2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-031-1/+1
| | | | | | * Makefile.am: Cosmetics. * bootloader/Makefile.am: Cosmetics. * startup/Makefile.am: Cosmetics.
* 2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-031-1/+0
| | | | | | | | | | | | | | | | | * Makefile.am: Add preinstallation dirstamp support. * bootloader/Makefile.am: Cosmetics. * clock/Makefile.am: Cosmetics. * console/Makefile.am: Cosmetics. * irq/Makefile.am: Add preinstallation dirstamp support. * motorola/Makefile.am: Cosmetics. * openpic/Makefile.am: Cosmetics. * pci/Makefile.am: Cosmetics. * residual/Makefile.am: Cosmetics. * start/Makefile.am: Cosmetics. * startup/Makefile.am: Cosmetics. * vectors/Makefile.am: Add preinstallation dirstamp support. * vme/Makefile.am: Add preinstallation dirstamp support. * wrapup/Makefile.am: Cosmetics.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-021-1/+1
| | | | | | | | | | | | | | | * clock/Makefile.am: Remove all-local: $(ARCH). * console/Makefile.am: Remove all-local: $(ARCH). * irq/Makefile.am: Remove all-local: $(ARCH). * motorola/Makefile.am: Remove all-local: $(ARCH). * openpic/Makefile.am: Remove all-local: $(ARCH). * pci/Makefile.am: Remove all-local: $(ARCH). * residual/Makefile.am: Remove all-local: $(ARCH). * start/Makefile.am: Remove all-local: $(ARCH). * startup/Makefile.am: Remove all-local: $(ARCH). * vectors/Makefile.am: Remove all-local: $(ARCH). * vme/Makefile.am: Remove all-local: $(ARCH). * wrapup/Makefile.am: Remove all-local: $(ARCH).
* 2003-09-26 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-09-261-1/+1
| | | | | | | PR 496/bsps * startup/Makefile.am: Use PowerPC shared sbrk() implementation which is used when initial heap size is limited to first 32 MB of RAM to satisfy boot loader requirements.
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-161-3/+3
| | | | | | | | | | | | | | | | | | Makefile.am: Reflect having moved automake. bootloader/Makefile.am: Reflect having moved automake. clock/Makefile.am: Reflect having moved automake. console/Makefile.am: Reflect having moved automake. include/Makefile.am: Reflect having moved automake. irq/Makefile.am: Reflect having moved automake. motorola/Makefile.am: Reflect having moved automake. openpic/Makefile.am: Reflect having moved automake. pci/Makefile.am: Reflect having moved automake. residual/Makefile.am: Reflect having moved automake. start/Makefile.am: Reflect having moved automake. startup/Makefile.am: Reflect having moved automake. vectors/Makefile.am: Reflect having moved automake. vme/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-181-1/+3
| | | | | | | | | | | | | 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-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-6/+15
| | | | | | | | 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.
* mkChangeLogList [-n]Joel Sherrill2003-01-201-0/+11
|
* 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-01-031-17/+12
| | | | | * startup/linkcmds: Shifted .init, .fini to match better with crtbegin/crtend linking.
* 2002-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-171-1/+0
| | | | | | | | | | | | | | * bootloader/Makefile.am: Don't include @RTEMS_BSP@.cfg. * clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * console/Makefile.am: Don't include @RTEMS_BSP@.cfg. * irq/Makefile.am: Don't include @RTEMS_BSP@.cfg. * motorola/Makefile.am: Don't include @RTEMS_BSP@.cfg. * openpic/Makefile.am: Don't include @RTEMS_BSP@.cfg. * pci/Makefile.am: Don't include @RTEMS_BSP@.cfg. * residual/Makefile.am: Don't include @RTEMS_BSP@.cfg. * start/Makefile.am: Don't include @RTEMS_BSP@.cfg. * startup/Makefile.am: Don't include @RTEMS_BSP@.cfg. * vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 2002-11-14 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2002-11-181-4/+63
| | | | | | | | * bsp_specs: Added crtbegin,crtend objects so C++ global objects constructors/destructors run correctly. * startup/linkcmds: Increased code length and updated the ctor/dtor sections to handle crtbegin, crtend objects. >
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-111-1/+1
| | | | | | | | | | | | | | | * bootloader/Makefile.am: Use .$(OBJEXT) instead of .o. * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * motorola/Makefile.am: Use .$(OBJEXT) instead of .o. * openpic/Makefile.am: Use .$(OBJEXT) instead of .o. * pci/Makefile.am: Use .$(OBJEXT) instead of .o. * residual/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-201-0/+2
| | | | * startup/Makefile.am: Add bsplib_DATA = linkcmds.
* 2001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-091-5/+5
| | | | | | | | * startup/linkcmds: In support of gcc 3.1, added one of more of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*, .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections and direction of segments to memory regions may also have been addressed. This was a sweep across all BSPs.
* 2001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-081-0/+1
| | | | * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * clock/Makefile.am: Remove AUTOMAKE_OPTIONS. * console/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * irq/Makefile.am: Remove AUTOMAKE_OPTIONS. * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS. * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS. * pci/Makefile.am: Remove AUTOMAKE_OPTIONS. * residual/Makefile.am: Remove AUTOMAKE_OPTIONS. * start/Makefile.am: Remove AUTOMAKE_OPTIONS. * startup/Makefile.am: Remove AUTOMAKE_OPTIONS. * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-10-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-251-2/+2
| | | | * startup/linkcmds: Added _init and _fini.
* 2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>Joel Sherrill2000-09-291-0/+41
| | | | | | * startup/linkcmds: Added lines so DWARF debug information would be available. Otherwise gdb complains that the offsets for the debug info are incorrect and doesn't load the files.
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-051-0/+1
| | | | | | | | * bootloader/Makefile.am, clock/Makefile.am, console/Makefile.am, irq/Makefile.am, motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am, start/Makefile.am, startup/Makefile.am, vectors/Makefile.am, wrapup/Makefile.am: Include compile.am
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-5/+4
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+2
| | | | adds .cvsignore.
* Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill2000-01-312-75/+36
| | | | | | | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams
* Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-01-101-3/+4
| | | | | | | | which converts the PowerPC BSPs to configuration and more automake. * Besides adding partial automake support, rsp converting all powerpc BSPs to make them compliant to the new configuration scheme, this patch attempts to fix several configuration bugs in powerpc related Makefiles.
* Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.Joel Sherrill1999-12-021-1/+1
| | | | | As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.
* Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.Joel Sherrill1999-12-021-315/+0
| | | | | As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.
* Updated copyright notice.Joel Sherrill1999-11-171-2/+1
|
* Removed empty file.Joel Sherrill1999-10-041-0/+0
|
* Applied patch rtems-rc-19990820-6.diff.gz fromJoel Sherrill1999-09-071-2/+2
| | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many Makefile.in's to Makefile.am's. This added a lot of files.
* Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill1999-08-101-3/+9
| | | | | | | | | | | | <raguet@crf.canon.fr>: - the dec21140 driver code has been hardened (various bug fixed) Emmanuel, - bug in the mcp750 init code have been fixed (interrupt stack/initial stack initialization), BSS correctly cleared (Eric V) - remote debugging over TCP/IP is nearly complete (berakpoints, backtrace, variables,...) (Eric V), - exception handling code has also been improved in order to fully support RDBG requirements (Eric V),
* Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-08-061-1/+1
| | | | | applied. This modified many Makefiles and custom files and makes many more settings (network, multiprocessing, etc) gnerated by autoconf.
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | A bug in acpolish made it into rtems-rc-19990709-0.diff, which unfortunately affects all Makefile.ins: * The maintainer mode conditional was erroniously applied to the dependencies of "Makefile". In case you already checked in rtems-rc-19990709-0.diff to CVS you have to check in all Makefile.ins again after applying the patch below :). Please apply the patch below as follows: patch -p1 < rtems-rc-19990709-1.diff tools/update/rtems-polish.sh -ac Note: There is no need to rerun your tests if you have used --enable-maintainer-mode to configure RTEMS, because this patch converts all Makefile.ins to the same settings as used for --enable-maintainer-mode.
* This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-07-261-24/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to move RTEMS more to automake/autoconf and GNU compliance. Finally, here they are: the "big-patch" patches - merged into one big patch (~1.5MB). Sorry for the delay, but testing took much more time than I had expected - esp. reworking the acpolish script triggered many more tiny issues than I had expected (cf. below). At least, now you've got something to spend your weekend with :-. WARNINGS: * I've gone a little (??) further than I had announced before. * Several directories have been moved. * Several files have been added and removed * I have tested it with many BSPs/CPUs and a variety of permutiations of configuration flags, but not with all. * Most parts of the patch are automatically generated, however there are many tiny manual modifications. APPLYING THE PATCH: ./autogen -c mkdir tools mv c/src/exec/score/tools tools/cpu mv c/build-tools tools/build mv c/update-tools tools/update patch -p1 -E < rtems-rc-19990709-0.diff ./autogen If the patch doesn't apply to rtems-cvs, I would suggest that you should try to apply it brute-force and then to run tools/update/rtems-polish.sh -ac -am afterwards. A recursive diff between rtems-19990709 + patch and rtems-cvs + patch then should report only a few dozen significant changes to configuration files which need to be merged manually (IIRC, I did not change any source files). *** Attention: There are files to be removed, moved, copied and added in/to CVS! NEWS/CHANGES: 1. Configuration takes place in 3 stages: 1. per host (toplevel configure script), 2. per target (c/configure), 3. per bsp c/src/configure automatically triggered from ./configure and c/Makefile.am. 2. Building of subdirectory c/ takes place in c/$(target_alias) for cross-targets in c/ for native targets 3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp> for cross-targets, c/<bsp> for native targets 4. c/build-tools moved to tools/build 5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out) 6. c/update-tools moved to tools/update 7. New subdirectory c/src/make, handles files from make/ on a per BSP basis 8. Maintainer mode support: Ie. if configuring with --enable-maintainer-mode disabled (the default), then tracking of many dependencies will be disabled in Makefiles. Esp. many dependencies for auto* generated files will be switched off in Makefiles. Ie. if not using "--enable-maintainer-mode" many auto* generated files will not be updated automatically, i.e. normal users should not be required to have auto* tools anymore (untested). 9. Independent configuration scripts for / (toplevel), tools/build, tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests, c/src/make 10. Automake support for all directories above and besides c/src 11. "preinstall" now is implemented as depth-first recursive make target 12. host compiled tools (exception bsp-tools) are accessed in location in the build tree instead of inside the build-tree when building RTEMS. 13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the build-tree - many tiny changes as consequence from this. 14. --with-cross-host support removed (offically announced obsolete by cygnus) 15. Changing the order of building libraries below c/src/lib/ 16. Former toplevel configure script broken into aclocal/*.m4 macros 17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed from *cfg. 18. sptables.h now generated by autoconf 19. Rules for "mkinstalldirs temporary installation tree" moved from c/Makefile to subdirectories. 20. Cpu-tools do not get installed. 21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams which are in directories with own configure scripts. 22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get overridden from the environment. 22. FIX: Handling of MP_PIECES in various Makefiles 23. FIX: Removing "::" rules from some Makefile.ins 24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m 755) - Now all include files use -m 644. 25. Removed many gnumake-conditionals in Makefile.ins - Partially replaced with automake-conditional, partially replaced with conditionalized Makefile variables (... _yes_V) 26. Massively reworked acpolish: acpolish now parses Makefile.ins and interprets parts of the Makefile.ins. 27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with explicit lists of files in Makefile.ins. 28. FIX: Replacing MKLIB with RANLIB in Makefile.ins 29. HACK: Add preinstallation for pc386 specific $(PROJECT_RELEASE)/BootImgs directory ... many more details, I can't recall KNOWN BUGS: 1. make [debug|profile]_install do not do what they are promissing. "make [debug|profile] install" does what "make [debug|profile]_install" has been doing. Proposal: remove [debug|profile]_install 2. Dependencies between temporary installation tree and source tree are not yet handled correctly. 3. Dependencies between temporary installation tree and source tree are handled ineffencently (Using INSTALL_CHANGE instead of make dependencies) 4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are redundant. 5. The new configure scripts still are in their infancy. They contain redundant checks and might still contain bugs, too. 6. RTEMS autoconf Makefile.ins use a mixture of configuration information gathered in c/$(target_alias)/<bsp>/make and of information collected from their configure scripts. 7. make dist is not fully functional 8. Subdirectory host-/build-/target- configure options (--target, --host, --build) do not conform to Cygnus/GNU conventions. 9. Some RTEMS autoconf Makefile.in's makefile targets are not supported in automake Makefile.ams/ins (e.g. get, clobber). 10. Some automake standard targets are not propagated from toplevel and c/Makefile.am to autoconf subdirectories (eg. make dist). 11. rpcgen generated files are not part of the source-tree (Automake conventions favor supplying generated files inside the source-tree, however there is no support for rpcgen generated files in automake, cf. yacc/lex support in automake). 12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per CPU, while librdb's sources can only be built per BSP. Raises the more general question whether librdbg located correctly in the source-tree. 13. All make/*cfg files are configured per cpu, currently there is no location to store per-bsp configuration information --> bsp.cfg, per aconfig.h? 14. "make install" without having run "make all" beforehand does not work. 15. handling of --enable-multiprocessing seems to be broken in make/custom/* 16. Makefile.ins still exploit many gmake features. 17. File permisson chaos on libraries (no explict -m for libraries/rels/etc). 18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not talking about "not-conforming to conventions", here :-). 19. Dependencies between configure scripts are not handled, eg. aborting "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state. 20. "make clean" does not delete <build-tree>/<bsp>. This is intentional for now, because rerunning "make" after "make clean" requires an explicit "make preinstall" afterwards now. This should be done automatically, but doesn't work in this case for now. To work around this problem <build-tree>/<bsp> is kept during "make clean" for now (HACK). TODO: 1. split out host-compiled bsp-tools 2. Use Cygnus/GNU standards for cross-compiling target-subdir (CC=CC_FOR_TARGET .. configure --host=${target_alias} --build=`config.guess'}), to be added to toplevel configure script after splitting out bsp-tools. 3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out per-cpu libraries - Are there any? 4. Further automake support 5. Converting subdirectories into standalone / self-contained subdirectories (Esp. moving their headers to the same common root as their sources, eg. mv lib/include/rtems++ lib/librtems++/include/rtems++) - This is the main obstacle which prevents moving further towards automake. 6. Propagating values from *.cfg into Makefiles instead of propagating them at make time via Makefile-fragments (i.e. try to avoid using *.cfg). 7. Testing on cygwin host (I *do* expect cygwin specific problems). 8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed anymore. GENERAL ISSUES: 1. Temporary installation tree -- Ian and I seem to disagree basically. Though I think that I understand his argumentation, I do not share it. IMO, his way of using the buildtree is mis-using the build-tree, relying on an inofficial feature of RTEMS's current implementation, which doesn't even work correctly in the current build-tree, though it attempts hard to do so. From my very POV, it unnecessarily complicates the structures of the source- and build-trees. It is not supported by automake (No automatic generation for the necessary rules) and complicates the transition to automake significantly (Generating the rules with an enhanced version of acpolish could be possible). As Ian correctly pointed out, here a management decision is needed - though I don't see the need to draw this decision in short terms. 2. preinstallation generally is a sure means to spoil the structure of the source tree, IMHO (No ranting intended, I am completly serious about this one). eg. through tree dependencies. The worst problem related to this I have found in the meantime is bsp_specs. bsp_specs is part of libbsp, ie. there is *no* way to build *any* part of the source tree *without* having a BSP *preinstalled*. Note: This issue is related to issue 1., but is not identical - The difference is the change of the order make rules have to be triggered. While preinstallation triggers rules spread all over the source tree before a "make all" can be run, a temporary installation tree could also be installed by post "make all" hooks (all-local:, to be run after make all in a directory is completed) if the directories' dependencies would be a tree, 3. Stuctural dependencies between subdirectories. 4. Depth of the source tree (Prevents multilibbing and introduces many unnecessary configure scripts). 5. per cpu vs. per bsp configuration (There are no real per-cpu parts yets :-). 6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much paths to Makefiles as possible. 7. General redesign of the source tree 8. Main installation point - Changing it to ${prefix}/${target_alias}. ? Besides item 8. (which is a must, IMHO), as far as I see most of them can not be solved soon and will remain issues in the mid- to long-term :-. REMARKS: * You (as the maintainer) should always use --enable-maintainer-mode when building RTEMS to ensure that maintainer mode generated files (esp. those in c/src/make) will be updated when make/* files have changed. * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/, $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment variables when using make RTEMS_BSP="....". * c/src/make is a temporary cludge until configuration issues are solved. At the moment it is configured per bsp, but contains per-target/cpu info only. Its main purpose now is to circumvent modifying make/*.cfg files, because I consider make/* to be frozen for backward compatibilty. * This patch should only affect configuration files. At least I do not remember having touched any source files. * To build the bare bsp you now need to mention it in --enable-rtemsbsp. Example: building gensh1 and sh1/bare simultaneously: ../rtems-rc-19990709-1/configure --target=sh-rtems \ --enable-rtemsbsp="bare gensh1" \ --prefix=/tmp/rtems \ --enable-bare-cpu-cflags='-DMHZ=20 -m1 -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \ --enable-bare-cpu-model=sh7032 \ --enable-maintainer-mode \ --enable-cxx make make install * The next steps in development would be to split out bsp-tools and then to change to Cygnus/GNU canonicalization conventions for building the c/ subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used instead of customized versions) FINAL REMARK: The issues mentioned in the lists above sound much worser than the situation actually is. Most of them are not specific to this patch, but are also valid for the snapshot. I just wrote down what I came across when working on the patch over the last few weeks. I wouldn't be too surprised if you don't like the patch at the current point in development. I am willing to discuss details and problems, I also have no problem if you would post-pone applying this patch to times after 4.1, but rejecting it as a whole for all times would be a false management decision, IMHO. Therefore I would suggest that you, if your time constaints allow it, should at least play a little while with this patch to understand what is going on and before drawing a decision on how to handle this proposal. I know this patch is neither perfect nor complete, but I consider it to be a major breakthrough. Don't be anxious because of the size of the patch, the core of the patch is rather small, the size is mainly the side effect of some systematic cleanups inside the Makefiles (result of acpolish). Feel free to ask if you encounter problems, if you don't understand something or if you meet bugs - I am far from being perfect and am prepared to answer them. Ralf. -- Ralf Corsepius Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW) Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690 mailto:corsepiu@faw.uni-ulm.de FAX: +49/731/501-999 http://www.faw.uni-ulm.de
* Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1999-07-092-2/+2
| | | | | | | | | | | | | | | - The same bug fix that was done on pc386 to prevent interrupt from occuring (never experienced it but who knows as I have 8259 emulation :() - Removed every compiler warning (except wrong ones and ones I can't do anything). - Removed any libc available code in code linked with mcp750 rtems executbale. Unfortunately using newlib functions for linking the bootloader does not work as the compilation options in bootloader (-mrelocatable -fixed-r13) are not compatible with newlib options. => I have put any libc external reference in one single new file (lib.c) that is linked only with the boot loader. Removing the file from ${OBJ} and using -lc crash the bootloader. Added big warning...
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splitsJoel Sherrill1999-07-021-1/+1
| | | | | | boot_card() and main() into separate files to ease configuration of other packages. This was a big step in the way to build TCL, ncurses, and zlib for RTEMS.
* Patch from Eric Valette <valette@crf.canon.fr> to clean up theJoel Sherrill1999-07-012-123/+9
| | | | previous submission.