summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-06-12Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill7-69/+173
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill180-2674/+4058
2000-05-08New file added on 4.5 branchJoel Sherrill1-0/+0
2000-04-13New file.Joel Sherrill1-0/+367
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill117-0/+399
adds .cvsignore.
2000-04-07Removed.Joel Sherrill1-18/+0
2000-04-05New file. Copied from i386ex BSP as missing from submission.Joel Sherrill1-0/+18
2000-04-05New files from John Cotton <John.Cotton@nrc.ca> and Charles-AntoineJoel Sherrill3-0/+3223
Gauthier <charles.gauthier@nrc.ca>. The power supply in their VMEbus cage died so it was submitted at this point. It passes ttcp which is a really good sign but they would like to do more testing and cleanup once their hardware is functional again. Please contact them if you are interested in using or fixing this driver. As their comments indicate, the performance is actually quite good even at this point as indicated by the ttcp results. Please note that this is by no means a final version. The code is still fairly ugly, and will require some further fixing. On the bright side, what is attached works. I finally ran the test programs successfully with optimized code and data cache enabled: netdemos worked, but failed on the UDP transfer (runs out of buffers). ttcp worked, with something like 1036 KB/sec Rx, 952 KB/sec Tx. tftp worked
2000-02-11Patch from Eric Norum <eric@cls.usask.ca> based on working withJoel Sherrill3-1/+45
Bob Wisdon <bobwis@ascweb.co.uk> and Chris Johns <ccj@acm.org> to resolve a random network lockup problem. ckinit.c: Occasional network lockups have been noted when the PIT has a higher interrupt request level than the CPM. The SCC1 bit in the CISR is set even though the SCC1 interrupt handler is not active. This blocks interrupts from SCC1 (and all other CPM sources) and locks up the system. It has not been determined whether the error is within the 68360 or in the RTEMS interrupt support assembler code. The solution, for now, is to set both PIT and CPM interrupt request levels to the same value (4). network.c: Set CPM transmitter buffer pointer (_tbptr) to beginning of frame before restarting transmitter. Don't retire transmitter buffer descriptors belonging to the restarted frame.
2000-02-08Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill16-33/+52
that contains: * Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams * Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in * Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible) * Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization) * Cleans up several bogus comments. * Removes MKLIB * Switches the version number to 4.5.0 (for testing version number handling)
2000-02-08Patch from Eric Norum <eric@cls.usask.ca> to remove race conditionsJoel Sherrill1-3/+9
when setting up receive buffer descriptors and when unmasking interrupts.
2000-02-03Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-8/+0
that contains the automake files for libnetworking plus a couple of minor fixes. [Now only one unused/unsupported Makefile.in remains (./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).] To apply: patch -p1 < rtems-rc-20000118-7.diff /bin/sh rtems-rc-20000118-7.rm /bin/sh rtems-rc-20000118-7.add ./bootstrap Notes: * I have tested this one by building all BSPs for m68k, powerpc, sh and unix with toolchains built since last weekend. * I did not touch libnetworking's directory layout.
2000-02-01Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-15/+16
that contains: * The fix for the gen68360/network/Makefile.am * automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :). * automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus) NOTES: * This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet). * This patch is against rtem-cvs as of this morning (MET). To apply: patch -p1 <rtems-rc-20000118-5.diff cvs rm -f ./c/src/lib/libbsp/Makefile.in cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in cvs rm -f ./c/src/lib/libcpu/Makefile.in cvs add ./c/src/lib/libbsp/Makefile.am cvs add ./c/src/lib/libbsp/shmdr/Makefile.am cvs add ./c/src/lib/libcpu/Makefile.am ./bootstrap
2000-01-31Removed references to non-existent include files.Joel Sherrill1-1/+1
2000-01-31Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill199-6372/+3356
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
2000-01-31Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+0
that contains: * cleanups to configuration files * A reworked gccnewlib.spec.in: I have reformated it for enhanced readability and added more rtems-base packages. It now should be free of any installation conflicts (If there still remain some, they should be regarded as bugs). * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486" now works). * removes libbsp/bare/wrapup * Further cleanups
2000-01-21Patch from Eric Norum <eric@cls.usask.ca>:Joel Sherrill1-28/+16
Some excellent sleuthing by Bob Wisdom <bobwis@ascweb.co.uk> revealed that an empty mbuf at the end of a packet chain would cause the `retire' function to blow up. Moving the line of code which bumps the transmit buffer descriptor pointer fixes the problem. Some additional cleanup of the sendpacket function was also completed.
2000-01-13Updated files missed in earlier batch from Eric Norum.Joel Sherrill2-26/+18
2000-01-13All m68k BSPs now build with new ELF style linkcmds.Joel Sherrill46-681/+192
2000-01-13Made sweep of changes to get all BSPs to the same point on the linkcmdsJoel Sherrill22-39/+102
and memory layout. Next step is to share the same bsp_pretasking_hook.
2000-01-13New patch from Eric Norum plus some minor mods by Joel.Joel Sherrill8-361/+310
2000-01-13Made _clear_end a "PROVIDE."Joel Sherrill1-1/+1
2000-01-12Eric Norum <eric@cls.usask.ca> submitted linker script and bsp_specsJoel Sherrill26-761/+1420
for the gen68360 that let it work with ELF and C++ exceptions. This was used as the basis for changes to EVERY m68k bsp_specs and linkcmds. Before this modification is over, the layout of the starting stack, heap, and workspace will likely be modified for every m68k BSP. Then they will all be very similar.
2000-01-12Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill15-118/+142
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12Patch rtems-rc-20000104-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+2
that fixes the following problems: 1. Removing bogus ';' in some configure.in (cosmetical fix) 2. Moves GAS_CODE16 checks to libbsp/i386/*/configure.in (essential fix) #2 was responsible for the gcc/binutils-2.9.5 choking while building for the pc386.
2000-01-11Removed old hack of using Configuration Table entry ticks_per_timesliceJoel Sherrill12-270/+212
being set to 0 to indicate that there should be no Clock Tick. This was used by the Timing Tests to avoid clock tick overhead perturbing execution times. Now the Timing Tests simply leave the Clock Tick Driver out of the Device Driver Table.
2000-01-10Fixed unterminated comment spotted by eagle eye Ralf CorsepiusJoel Sherrill1-0/+1
<corsepiu@faw.uni-ulm.de>.
2000-01-10Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+17
which does the following: * some cleanups, fixes, addtions to the libbsp automake transition patches * The missing Automake transistion patches all libcpu/<cpu>/<variant>/* previously not yet been converted to automake (libcpu/powerpc, libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc) => With this patch, libcpu/*/* is under full automake control. NOTES: * This patch is tested by building for random set of bsps affected by this patch, but not tested for all BSPs. * The parts of this patch related to libcpu/powerpc fix many small bugs inside of those Makefiles. * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape, IMO. Obviously most subdirectories seem to be build but are not included into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a different directory layout than all other powerpc/<variant>/ directories. Joel's note: I agree but the issue is that there is a conflict between including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting a BSP specifically decide to pick it up. There is no clear solution to this at the moment.
2000-01-10Patch rtems-rc-20000104-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill144-784/+973
that converts the m68k directory to automake. NOTE: This one is fully tested by building *all* bsps with ../../rtems-rc-20000104/configure \ --target=m68k-rtems \ --prefix=/tmp/rtems \ --enable-cxx \ --disable-posix \ --enable-rdbg \ --disable-networking \ --enable-maintainer-mode \ --enable-multiprocessing \ --disable-tests make
2000-01-05patch from Eric Norum <eric@cls.usask.ca> as follows:Joel Sherrill1-0/+124
At the request of kjoutwater@west.raytheon.com I'm submitting the following patch. c/src/lib/libbsp/m68k/gen68360/console/console.c Allow console baud rate to be set by debugger/downloader. c/src/lib/libbsp/m68k/gen68360/startup/init68360.c Add support for generic 68360 with static RAM.
2000-01-05Patch from Eric Norum <eric@cls.usask.ca> as follows:Joel Sherrill1-1/+6
At the request of kjoutwater@west.raytheon.com I'm submitting the following patch. c/src/lib/libbsp/m68k/gen68360/console/console.c Allow console baud rate to be set by debugger/downloader. c/src/lib/libbsp/m68k/gen68360/startup/init68360.c Add support for generic 68360 with static RAM.
2000-01-03Fixed path to shared/include/coverhd.h.Joel Sherrill3-3/+3
2000-01-03Patch from Eric Norum <eric@cls.usask.ca>:Joel Sherrill3-1/+5
In another attempt to get C++ exceptions working on the gen68360 target I tried building for the m68k-elf target. All the tools built and installed properly as did all of RTEMS. No applications would run, though -- not even hello.exe! It turns out the problem was in the linker script. The alignment was in the wrong place. Here's a patch. Exceptions still don't work, but at least I can get some things working with the ELF format now.
2000-01-03Updated times.Joel Sherrill2-150/+150
1999-12-21Now use coverhd.h out of the libbsp/shared directory.Joel Sherrill3-4/+6
1999-12-21Now use shared coverhd.hJoel Sherrill3-315/+0
1999-12-21Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-4/+4
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which apparently were introduced by moving the start directories and not having adapted the Makefile.ins. To apply: patch -p1 < rtems-rc-19991203-10.diff
1999-12-13Patch from Eric Norum <eric@cls.usask.ca> to change to gen68360 clock handling.Joel Sherrill1-30/+56
I got tired of having strange clock rates (e.g. #define CONFIGURE_MICROSECONDS_PER_TICK 52489) and drifting times-of-day with the gen68360 BSP so I changed the way the programmable-interval clock interrupt works. The new version will have some jitter in the intervals between individual calls to the rtems_clock_tick routine, but the long-term average will match the CONFIGURE_MICROSECONDS_PER_TICK
1999-11-30Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.Joel Sherrill8-8/+8
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
1999-11-29Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-6/+6
which (among other things) converted the mptests to automake. SUB_DIRS was used instead of SUBDIRS in some Makefile.ins (apparently a leftover from moving the start* directories) Addtional major bugs: * psxtests/include was empty (incomplete psxtests changes). * bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs) In addition I have added a few more changes (I couldn't resist) * automake support for itrontests * OPERATION_COUNT support in tmitrontests/ * automake support for tmitrontests * automake suppport for mptests * Some (minor) corrections to several configure.in/Makefile.ams => c/src/tests/ is completly under automake control, now. => we could start to sort out the structural issues with c/src/tests (tests/support, stubdr, tools, get "make dist" working)
1999-11-22Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill61-61/+61
to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-22Made it agree on PGM versus PGM/PGMS.Joel Sherrill3-3/+3
1999-11-22Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill8-8/+8
.. a major configuration cleanup ... major enhancement of automake support. ... and it contains a *major* breakthough: Automake support for libchip and libmisc *LEAF* directories. To implement this I have used several nasty tricks * The basical trick is to wrap an old Makefile.in's contents into a Makefile.am and still continue to use (i.e include) the old *.cfg files. * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make dependencies * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between automake and RTEMS make rules * Replaced each install:: and preinstall:: rule with make dependencies * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake convention) * Removed each manually added autoconf substitution which automake performs automatically. This is not yet full automake support, because using the temporary installation directory, preinstallation in general and building variants are in contradiction to automake's basic working principles ... ... the new Makefile.ams work still somewhat clumsy ... nevertheless they work (quite well). WARNING: At first glance this patch is small, but * it affects the whole configuration system. * it opens the road to introducing automake to all Makefile.ins currently not being under automake control. JOEL> Does this remove or add any files? Both, all Makefile.ins below libchip and libmisc get replaced with Makefile.ams.
1999-11-19Renaming all BSP specific startXXX directories to use the same name (start).Joel Sherrill19-33/+33
1999-11-19Renaming all BSP specific startXXX directories to use the same name (start).Joel Sherrill15-3896/+0
1999-11-17Updated copyright notice.Joel Sherrill123-246/+123
1999-11-16Moved start code from lib/start to libbsp.Joel Sherrill14-7/+462
1999-10-26Split console_reserve_resources to separate file to reduceJoel Sherrill3-7/+42
code size.
1999-10-11Now compiles for coff and elf.Joel Sherrill1-65/+185
1999-10-06Removed aclocal.m4 generated from aclocal macrosJoel Sherrill1-266/+0