summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332 (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-03-19Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill10-31/+119
This patch is the most scary of all proposals I've been mailing to you this week until now. It consists of 3 parts: 1. a patch 2. a perl script (acpolish) 3. a shell script wrapper to invoke the perl-script. The perl-script reads in each Makefile.in and modifies them ("polishes/beautifies" them :-). These modifications are not easy to describe: Basically, it hard-codes some automake Makefile-variables and rules into RTEMS autoconf-Makefile.ins (Note: autoconf vs. automake!!) and converts some settings/variables to configure scripts' requirements (Yes, plural). E.g. it adds the automake standard variables $top_builddir and $subdir, adds dependency rules for automatic re-generation of Makefiles from Makefile.in, adds support variables for relative paths to multiple configure scripts etc. The patch is a one-line patch to enable the support of the new features added by acpolish. The shell script is a wrapper which pokes around inside of the source tree for Makefile.ins and invokes acpolish on all autoconf-Makefile.ins. acpolish is designed to be able to run several times on the same Makefile.in and may once become a more general tool to convert RTEMS Makefile.in to automake. Therefore, I'd like to keep it inside of source tree. (e.g. as contrib/acpolish or c/update-tools/acpolish). However, it doesn't make sense to export it outside of RTEMS. To apply this: cd <source-tree> patch -p1 -E < <path-to-patch>/rtems-rc-19990318-1.diff tar xzvf <path-to>/rtems-rc-polish.tar.gz ./rtems-polish.sh ./autogen Note: The path contrib/acpolish is hard-coded into rtems-polish.sh, if you decide to put it in an alternative place, please modify rtems-polish.sh to reflect this change. Later: cvs rm make/rtems.cfg (It isn't used anymore) cvs add contrib cvs add contrib/acpolish cvs commit I've tested this intensively, but naturally I can't exclude bugs. Ralf. PS.: Most probably, this is the last "Towards automake" patch. The next one probably will be a real automake patch.
1999-03-19Towards automake X patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-0/+5
This one once again changes the scheme to preinstall bsp_specs. It moves generating PROJECT_ROOT/lib/bsp_specs to libbsp/<cpu>/<bsp>/wrapup/Makefile.in. I.e. it decentralizes generation of bsp_specs to a bsp-dependent directory, because preinstalling bsp_specs in a centralized Makefile like it has been done until now does not harmonize well with spliting the toplevel configure script in cpu and bsp-dependent configure scripts and automake. First apply the patch (rtems-rc-19990318-0.diff) below, then run the reorg-bsp_specs.sh script. IMO, this one is comparatively harmless and eases automake support significantly.
1999-03-16Patch from John S. Gwynne <jgwynne@mrcday.com> to correct minorJoel Sherrill7-62/+152
problems that prevented the 19990302 snapshot from running on the efi332. I'm happy to report that rtems-19990302 is running on the efi332 board. I have enclosed a few minor patches below to the efi332 bsp. All patches are within that library but one. make/custom/efi332.cfg has a patch to select the right CPU_CFLAGS (at one time -m68332 was a problem... -mcpu32 or -m68332 work fine now).
1999-02-18Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill10-3/+23
> 5) rtems-rc-19990202-1.diff/reorg-install.sh > > reorg-install.sh fixes a Makefile variable name clash of RTEMS > configuration files and automake/autoconf standards. > Until now, RTEMS used $(INSTALL) for install-if-change. Automake and > autoconf use $(INSTALL) for a bsd-compatible install. As > install-if-change and bsd-install are not compatible, I renamed all > references to install-if-changed to $(INSTALL_CHANGED) and used > $(INSTALL) for bsd-install (==automake/autoconf standard). When > automake will be introduced install-if-change will probably be replaced > by $(INSTALL) and therefore will slowly vanish. For the moment, this > patch fixes a very nasty problem which prevents adding any automake file > until now (There are still more).
1998-05-02removed warning for implicit declaration of boot_card()Joel Sherrill2-0/+2
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill2-29/+0
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
1998-04-15Transitioned to shared bsp_libc_init() and cleaned up comments.Joel Sherrill2-53/+26
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-13/+0
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-14Stack checker extension now accounted for in confdefs.hJoel Sherrill1-8/+0
1998-04-14Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1-14/+0
by newlib.
1998-03-30Moved bsp_postdriver_hook() to a shared file and made it a commonJoel Sherrill2-28/+4
component.
1998-03-21Switch to using a shared main() for all of the embedded BSPsJoel Sherrill4-21/+8
based on the GNU tools. This usually involved correcting the type of bsp_start(), bsp_cleanup(), adjusting the start code to call the right start routine (the shared boot_card()), and then removing code from bsp_start() which was performed in the new boot_card()/main() path.
1998-02-17updated copyright to 1998Joel Sherrill8-8/+8
1998-02-17Added .eh_frame, C++ constructor, and C++ destructor sections.Joel Sherrill1-0/+4
1998-02-11Incorporated Ralf Corsepius' idea for new -q flags to properly supportJoel Sherrill1-2/+7
"gmake debug".
1998-01-30Big patch form Ralf Corsepius described in this email:Joel Sherrill10-40/+20
Here is the result of my nightly work to get RTEMS_ROOT=$srcdir working with different shells and relative/absolute paths. What I did is relatively simple in principle: Instead of setting RTEMS_ROOT in configure.in and then let configure substitute @RTEMS_ROOT@ inside the Makefiles, I now let each Makefile set RTEMS_ROOT from each Makefile's @top_srcdir@ value. The difference is subtile, but with enormous side effects: - If RTEMS_ROOT is set in configure, then the same single value will be propagated to all Makefiles. This breaks using relative paths, as the relative path to the root of the source tree is used inside of all subdirectory Makefiles. - Now each Makefile.in sets RTEMS_ROOT = @top_srcdir@. top_srcdir is computed individually by configure for each single Makefile.in, hereby receiving the correct value, no matter if relative or absolute paths are used. To get this working, I needed to remove setting RTEMS_ROOT from target.cfg.in, because this overrides the value of RTEMS_ROOT from each individual Makefile. Furthermore, I removed RTEMS_CUSTOM from the Makefiles and replaced all "include $(RTEMS_CUSTOM)" directives with"include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP)". Perhaps you don't like this, but I think, to have one variable less is clearer and easier to understand than having several variables refering to the next one. I enclose a small patch to this mail, which - fixes the config.h problem (to finally clearify misunderstands) - removes assignment/subsitution of RTEMS_ROOT from configure.in - contains a workaround for the application Makefile's RTEMS_ROOT problem (reported by Eric) - removes some unused lines from the toplevel Makefile.in - removes assignment of RTEMS_ROOT from make/target.cfg.in
1998-01-20Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill10-10/+10
1998-01-16Ralf Corsepius reported a number of missing CVS Id's:Joel Sherrill4-1/+12
> RTEMS is under CVS control and has been since rtems 3.1.16 which was > around May 1995. So I just to add the $Id$. If you notice other files > with missing $Id$'s let me know. I try to keep w\up with it. Now that you have asked -- I'll attach a list of files lacking an RCS-Id to this mail. This list has been generated by a little sh-script I'll also enclose.
1997-12-20Moved -qnolinkcmds option so arguments passed on the command line areJoel Sherrill1-2/+2
interpreted at the right point per Eric Norum's discovery: The problem with the my previous `fix' for adding linker commands was with the ordering of the options to the linker. For example, to make a larger heap size, the application Makefile would CFLAGS_LD = -Wl,--defsym -Wl,HeapSize=0x40000 The command passed to the linker would be : m68k-rtems-ld .... -T xxx/linkcmds .... --defsym HeapSize=0x40000 ..... This doesn't work because the script in linkcmds inserts a default value for HeapSize if HeapSize is not defined by the time the linker looks at the linkcmds script. The solution seems to be to move the -T linkcmds%s in the bsp_specs file out of the link specfication and into the lib specification -- a little unorthodox, perhaps, but it seems to work!
1997-12-19Modified bsp_specs per Eric Norum's suggestion to handle -qnolinkcmdsJoel Sherrill1-1/+1
switch which lets the user specify a different linker script.
1997-12-10Modified a lot of files to take a first cut at supporting building fromJoel Sherrill10-10/+40
any directory in the build tree. The only variable which must be set before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
1997-10-08Modified to search RTEMS library before Newlib C library.Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill9-18/+18
1997-10-08Removed include directory at "build" point and the link of this directoryJoel Sherrill1-2/+2
to lib/include. Went to using a PROJECT_INCLUDE variable.
1997-09-15eliminated potential for overfilling buffer on readJoel Sherrill1-1/+0
1997-08-28Switched to new style which does not require hackspecs.awk.Joel Sherrill1-29/+13
1997-08-04Corrected typoJoel Sherrill1-1/+1
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill9-43/+43
of switching to the modified GNU GPL.
1997-04-16Fixed path which points to shared directory for all BSPs.Joel Sherrill1-1/+1
1997-04-15Switched all bsps which had an implementation of sbrk.c which onlyJoel Sherrill1-1/+1
returned an error to using a single shared copy of this file.
1997-04-15Removed many BSPs' copy of setvec.c and let them share the sameJoel Sherrill1-1/+1
implementation as all m68k BSPs.
1997-04-07removed noreturn from prototype to avoid warnings.Joel Sherrill3-3/+28
1997-04-07added cast to eliminate warning.Joel Sherrill1-1/+1
1997-04-01This set of changes is the build of what was required to convert toJoel Sherrill10-0/+457
GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved.
1997-03-11updates from John GwynneJoel Sherrill2-0/+358
1997-03-11updates from John GwynneJoel Sherrill13-50/+592
1997-01-29All RTEMS system call implementation renamed to be __rtems_*.Joel Sherrill1-4/+4
1997-01-28new file used by gcc 2.8.x -specs optionJoel Sherrill1-0/+34
1996-06-18changed reboot to a macro to avoid the "noreturn returns" warning.Joel Sherrill1-0/+4
1996-05-28added initial posix configuration supportJoel Sherrill1-1/+1
1996-02-21Dispersal of internal thread handler resulted in the SYSI task beingJoel Sherrill1-1/+1
only required in a multiprocessor system. It was replace by the MPCI Receive Server. As a result, the CPU Table field for extra stack for the SYSI task was changed to be extra stack for the MPCI Receive Server.
1995-12-20changes remerged after lost in disk crash -- recovered from snapshot, ↵Joel Sherrill1-1/+0
partially recovered working tree, etc
1995-12-19file lost in crash and re-addedJoel Sherrill1-0/+193
1995-10-30SPARC port passes all testsJoel Sherrill2-16/+11
1995-09-20Actually adding efi bsp's from John Gwynne after forgetting toJoel Sherrill11-0/+1393
commit them.