summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed consolex from build list. This file should be obsoleted by theJoel Sherrill1998-07-231-1/+3
| | | | libchip, libio, and termios efforts.
* Missed this file in the initial merge.Joel Sherrill1998-07-061-0/+59
|
* Update from Geoffroy Montel (g_montel@yahoo.com) to get in sync with termiosJoel Sherrill1998-07-065-32/+23
| | | | and eliminate warnings.
* Renamed old_start340.s to startfor340only.sJoel Sherrill1998-07-022-0/+1006
|
* Initial submission of gen68340 BSP (should run on a 68349) fromJoel Sherrill1998-07-0129-0/+5724
| | | | Geoffroy Montel <g_montel@yahoo.com>.
* Monstrous patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. I haveJoel Sherrill1998-06-272-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made no attempt to divide the comments up and place them with just the appropriate files. Here is an excerpt from Ralf's email: Changes including comments on changes I made after cycling through all the targets: * Added ranlib support. Now all targets use "ranlib" instead of "ar -s" to build an index for a library. If ranlib isn't detected during configuration, check if ar -s is working and try "ar -s" instead of * Removed $(XXX_FOR_TARGET) from make/target.cfg.in, use $(XXX) instead now. * gcc-target-default.cfg: LINK_XXXX-defines reworked to solve the -l problem under posix (cf gcc-target-default.cfg) * rtems-glom replaced by Makefile-rules inside of the wrapup/Makefile.in that has been using rtems-glom until now. * Removed CCC and friends in gcc-target-default.cfg, as they have been breaking CXX support. * Removed CONFIG.$(TARGET_ARCH).CC lines from several custom/*.cfg files, because this is now set in custom/default.cfg. * Added aclocal/ar-s.m4, check whether "ar -s" is working * Added aclocal/cygwin.m4 and aclocal/exeext.m4. * Reworked aclocal/canonicalize-tools.m4: Added ar -s check; fixes for problems when XXX_FOR_TARGET is given via environment variables (didn't work for gcc until now), adding cygwin check, improved autoconf-cache handling. * Removed -l from make rule dependencies. LINK_LIBS is now allowed to contain -L and -l. LINK_OBJS and LINK_FILES must not contain -L or -l. gcc28 make-exe rules now link using $(LINK_OBJS) $(LINK_LIBS) => Almost all custom/*.cfg are modified. This is very likely to break something because of typos or having missed to edit a file. Open problems, known bugs, things I didn't do: * custom/p4000.cfg seems to be out of date and requires to be reviewed. (JRS NOTE: It is subordinate p4650 and p4600 -- both of which build ok after minor changes.) * custom/psim.cfg needs to be reviewed, I added some changes to it, I am insecure about. (JRS NOTE: psim had a minor problem endif/endef swapped but runs fine.) * rtems-glom.in can now be removed. * gcc*.cfg files "make depend" rules don't honor language specific flags (e.g CXXFLAGS is ignored for *.cc) - Nothing to worry about now, but may cause problems for hosts/targets not using gcc or rtems-add-ons that use external packages. * AFAIS, the no_bsp BSP can't be build anymore, i.e. configure refused to configure for it whatever I tried. * The toplevel and toplevel+1 README files are quite out-dated * cygwin.m4 isn't of much use for rtems. In most cases (cf. aclocal/*.m4) it is worked around by directly using $host_os. I think I'll remove it soon after the next snapshot * Before release the cygwin patch needs to be tested under cygwin. I may have broken/missed something (esp. the sed-pattern to convert \\ into / may be broken). * You should try to build/run the posix-BSP under solaris - I don't expect problems, but I am not 100% sure, esp. with regard to ranlib/ar -s. * You should consider to convert all make/compilers/*.cfg files into make/compilers/*.cfg.in files and let autoconf generate the *.cfg. This may help getting rid of some if/then/else statements and help hard-coding some defines into those files in future and shouldn't disturb now. * Not having installed libc.a/libm.a on a host may still break building rtems, esp. when using -disable-gcc28 as the gcc27-configuration scheme directly accesses libc.a and libm.a. The problem should not appear when using gcc28 because it references libc/libm only through -lc and -lm which may be static or dynamic (I didn't test this). * shgen is not yet included (I didn't yet have enough time to integrate it). * I know about a few more configure-probs (esp. cross-checking --enable-* flags). + warn/refuse to configure when --enable-libcdir and --enable-gcc28 are given. + force --enable-libcdir when --disable-gcc28 is given * Replaced KSHELL with @KSH@ in some shell scripts generated by configure.in. * Added a dependency to aclocal/*.m4 in the toplevel Makefile => configure and aclocal.m4 will now be rebuild when any aclocal/*.m4 file is changed * Some changes to aclocal/gcc-pipe.m4 and aclocal/gcc-specs.m4 * Replaced i[[3456]]86-unknown-freebsd2.[[12]] with i[[3456]]86-*freebsd2.* in configure.in, as I suppose there might exist a variety of valid vendors (2nd field of the name-tripple) * Disabled override MAKEFLAGS in toplevel Makefile.in - Potential side-effects are not really clear to me. * In mvme162.cfg, $(LINK_LIBS) is missing in the CC line in gcc28's make-exe rule (yet another one I missed to edit). Just append $(LINK_LIBS) to the "CC" line, like I hopefully did to ALL other custom/*.cfg files. * the problem with mvme162lx.cfg is a follow-up problem of the mvme162.cfg-bug. * mvme162/console and idp/console had variables named Buffer which conflicted with similarly named variables in some tests.
* Added call to console_reserve_resources back in.Joel Sherrill1998-05-221-0/+6
|
* Updates from Pedro Romano.Joel Sherrill1998-05-181-4/+4
|
* Switched to termios callback structure.Joel Sherrill1998-05-041-12/+17
|
* Patch from Eric Norum to switch to termios callback structure andJoel Sherrill1998-05-041-15/+85
| | | | add support for changing the baudrate.
* removed warning for implicit declaration of resolve()Joel Sherrill1998-05-021-0/+1
|
* removed warning for `#ifdef' argument starts with a digitJoel Sherrill1998-05-021-1/+1
|
* removed warning for implicit declaration of boot_card()Joel Sherrill1998-05-024-0/+4
|
* update from Eric NorumJoel Sherrill1998-04-152-16/+15
|
* Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1998-04-1522-339/+1
| | | | | | | | | | | | 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.
* Transitioned to shared bsp_libc_init() and cleaned up comments.Joel Sherrill1998-04-1522-533/+223
|
* Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1998-04-1511-142/+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.
* Stack checker extension now accounted for in confdefs.hJoel Sherrill1998-04-1411-88/+0
|
* Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1998-04-1411-154/+0
| | | | by newlib.
* Moved bsp_postdriver_hook() to a shared file and made it a commonJoel Sherrill1998-03-3022-299/+39
| | | | component.
* Moved memcpy to newlib/libc/machine/m68kJoel Sherrill1998-03-251-1/+1
|
* m68k software interrupt stack support from Chris Johns and Eric Norum.Joel Sherrill1998-03-252-4/+4
|
* Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1998-03-241-2/+2
| | | | the CPU family name constants.
* Patches from Eric Norum:Joel Sherrill1998-03-239-174/+85
| | | | | | | Here are some patches to the gen68360 BSP. The improvements include: Boot prom run-time selection of DRAM size (1/4/16 Mbytes) Full 32-bit ethernet address obtained from boot prom. Updated README.
* Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1998-03-2134-235/+66
| | | | | | | | 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.
* Fixed typo.Joel Sherrill1998-03-201-1/+1
|
* Patch from Eric Norum:Joel Sherrill1998-02-231-1/+1
| | | | | | | | | Here's another small patch. The changes to socket.h are to provide some definitions that UNIX BSD socket programmers expect. The memcpy.c contains a memcpy routine optimized for the CPU32+. When I run the ttcp benchmark with this routine I get host->68360 transfers around 165 kbytes/sec (about a 25% improvement) and 68360->host transfers of around 290 kbytes/sec (about a 50% improvement).
* Patch from Eric Norum:Joel Sherrill1998-02-191-36/+42
| | | | | | | | | | While trying to work through this problem I decided that the build-time selection of the console I/O operation (polling or interrupt) was too clumsy. Here's a patch that allows run-time (actually init-time) selection of the console I/O mode. It also shows the need for another `flags' or `options' field in the rtems_driver_address_table structure...
* updated copyright to 1998Joel Sherrill1998-02-1797-97/+97
|
* Added .eh_frame, C++ constructor, and C++ destructor sections.Joel Sherrill1998-02-1711-0/+142
|
* Incorporated Ralf Corsepius' idea for new -q flags to properly supportJoel Sherrill1998-02-1111-22/+80
| | | | "gmake debug".
* Big patch form Ralf Corsepius described in this email:Joel Sherrill1998-01-3097-388/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added information about multilib problems.Joel Sherrill1998-01-231-0/+8
|
* Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill1998-01-2097-97/+97
|
* Ralf Corsepius reported a number of missing CVS Id's:Joel Sherrill1998-01-167-1/+16
| | | | | | | | | | > 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.
* Updates from Eric Norum. Changed CPU CFLAG and went to a common nameJoel Sherrill1998-01-061-150/+112
| | | | for the network driver attach entry point.
* Fixes from Eric Norum. C++ support added in previous version was broken:Joel Sherrill1997-12-223-291/+272
| | | | | | | | | | | | | | | | | | 1) In my haste to add C++ constructor/destructors to the 68360 linkcmds scripts I managed to break all existing 68360 programs. Linker scripts which actually produce a working executable are contained below. The problem was that the constructor/destructors weren't included before the etext symbol. On top of that Eric and I appear to have problems with attachments: 2) In deciphering the above problem I think I stumbled across the reason you've had with patches mailed from me. I noticed that the linkcmds (and linkcmds.bootp) scripts in the latest distribution have a control-M (carriage return) at the end of each line. Could you check the files below before installing them in the distribution and see that there aren't returns in the files? Maybe if I send everything as a tar attatchment things will work better.
* Corrected prototypes for all termios console write driver entries toJoel Sherrill1997-12-222-3/+3
| | | | properly reflect the const on the buffer pointer being passed in.
* Moved -qnolinkcmds option so arguments passed on the command line areJoel Sherrill1997-12-2011-22/+22
| | | | | | | | | | | | | | | | | | | | | 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!
* Update from Eric Norum to include C++ support.Joel Sherrill1997-12-203-239/+281
|
* Modified bsp_specs per Eric Norum's suggestion to handle -qnolinkcmdsJoel Sherrill1997-12-1911-11/+11
| | | | switch which lets the user specify a different linker script.
* Modified a lot of files to take a first cut at supporting building fromJoel Sherrill1997-12-1097-97/+388
| | | | | 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).
* Corrected call to rtems_termios_open.Joel Sherrill1997-11-301-1/+2
|
* Fixed assignment to dereference ch.Joel Sherrill1997-11-181-1/+1
|
* Changed from DOS style CR/LF to Unix style.Joel Sherrill1997-11-181-534/+534
|
* interrupt driven change from Eric NorumJoel Sherrill1997-11-151-11/+43
|
* Added TOD driver from Katsutoshi Shibuya.Joel Sherrill1997-10-236-3/+190
|
* Removed GEN68360_INIT.Joel Sherrill1997-10-231-8/+0
|
* Update from Eric Norum.Joel Sherrill1997-10-231-161/+153
|
* Updated console driver to use new read routine conventions.Joel Sherrill1997-10-231-6/+3
|