19:00 Changeset in rtems [270d58f] by Joel Sherrill <joel.sherrill@…>
New file to satisfy readdir() family.
18:44 Changeset in rtems [a90b990] by Joel Sherrill <joel.sherrill@…>
Missed this file in the initial merge.
14:52 Changeset in rtems [b5bb3d6] by Joel Sherrill <joel.sherrill@…>
Update from Geoffroy Montel (g_montel@…) to get in sync with termios and eliminate warnings.
14:51 Changeset in rtems [1d22b03] by Joel Sherrill <joel.sherrill@…>
Added Geoffroy Montel (g_montel@…) for the gen68340 BSP.


11:04 Changeset in rtems [5ae415b] by Joel Sherrill <joel.sherrill@…>
Added include of termios.h. Also added a block of comments above the console_tbl structure to explain each entry.
11:01 Changeset in rtems [bc2ebb4] by Joel Sherrill <joel.sherrill@…>
Added some address constants for the SCC and DUART to make it easier to fill in the configuration table.
11:00 Changeset in rtems [e7ff2b2] by Joel Sherrill <joel.sherrill@…>
New file added in the process of converting the console driver to libchip/serial.
11:00 Changeset in rtems [92a6454] by Joel Sherrill <joel.sherrill@…>
Converted the console driver to use libchip/serial and added support for the z85c30 found on the DMV177. This effort started with the console driver from the Radstone PPC2. But some simplifications were made in the hope that console.c can be made a shared file at some point in the near future. Split the debugio from console. This was done so at some point in the future printk support as is found in the pc386 BSP can be shared across all BSPs.


18:07 Changeset in rtems [0e8c2000] by Joel Sherrill <joel.sherrill@…>
Renamed old_start340.s to startfor340only.s


22:03 Changeset in rtems [132f194] by Joel Sherrill <joel.sherrill@…>
Initial submission of gen68340 BSP (should run on a 68349) from Geoffroy Montel <g_montel@…>.
21:33 Changeset in rtems [a05de51] by Joel Sherrill <joel.sherrill@…>
Added _stat_r and changed spacing.
21:33 Changeset in rtems [dd6dddc] by Joel Sherrill <joel.sherrill@…>
Fixed typo.


17:52 Changeset in rtems [4f0fc115] by Joel Sherrill <joel.sherrill@…>
Correction from Aleksey Romanov <qqi@…> to finish off his patch. I had trouble merging his original patch and this corrected a reject.
17:51 Changeset in rtems [dc95ee8d] by Joel Sherrill <joel.sherrill@…>
Changed prototype for console_write_support to eliminate a warning.


20:01 Changeset in rtems [cf65c408] by Joel Sherrill <joel.sherrill@…>
Bare BSP patch from Chris Johns <cjohns@…>. He also sent an example bare bsp but we have not decided how to integrate it yet.
18:51 Changeset in rtems [5d18fb0] by Joel Sherrill <joel.sherrill@…>
PC386 BSP enhancements from Aleksey Romanov (Quality Quorum <qqi@…>). Unfortunately after merging these, the pc386 will not boot using grub for for. It still does not work using netboot for me. Here is his summary of changes: rtems/c/src/lib/libbsp/i386/pc386/Makefile.in Added support for new sub-directory rtems/c/src/lib/libbsp/i386/pc386/bsp_specs Made possible to build COFF image rtems/c/src/lib/libbsp/i386/pc386/console/console.c Added support for serial consoles, selectable by patching binary image, added assert(), use _IBMPC_inch_sleep() instaed of _IMBPC_inch() rtems/c/src/lib/libbsp/i386/pc386/console/inch.c Added _IMBPC_inch_sleep() rtems/c/src/lib/libbsp/i386/pc386/console/outch.c Oops - just formatting rtems/c/src/lib/libbsp/i386/pc386/include/Makefile.in Added support for new files rtems/c/src/lib/libbsp/i386/pc386/include/bsp.h Added support for new features rtems/c/src/lib/libbsp/i386/pc386/include/pc386uart.h New file: definitions for serial ports rtems/c/src/lib/libbsp/i386/pc386/include/pcibios.h New file: definitions for PCI BIOS rtems/c/src/lib/libbsp/i386/pc386/pc386dev/Makefile.in New file: makefile in new directory rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub-glue.c New file: i386-stub interface rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub.c New file: i386-stub itself rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pc386uart.c New file: serial ports rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pcibios.c New file: PCI BIOS support rtems/c/src/lib/libbsp/i386/pc386/start/start.s Commented out DEBUG_EARLY stuff, everything is working fine rtems/c/src/lib/libbsp/i386/pc386/start/start16.s Cleaned up rtems/c/src/lib/libbsp/i386/pc386/startup/bspstart.c Added call to console_resereve_resources rtems/c/src/lib/libbsp/i386/pc386/startup/exit.c Added support for serial console rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.s Fixed typo in comments rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in Changed to reflect cnages in code rtems/c/src/lib/libbsp/i386/pc386/tools/bin2boot.c Trivialized, problem - I do not know how to make patch remove obsolete files - there are a lot of them there rtems/c/src/lib/libbsp/i386/pc386/tools/binpatch.c New file: utility to do binary patches rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in Added support for new directory rtems/make/custom/pc386.cfg Add COFF image building
17:09 Changeset in rtems [98100d2] by Joel Sherrill <joel.sherrill@…>
Monstrous patch from Ralf Corsepius <corsepiu@…>. I have 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 i3456?86-unknown-freebsd2.12? with i3456?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.


18:42 Changeset in rtems [d13b247] by Joel Sherrill <joel.sherrill@…>
Clean up from Aleksey Romanov (Quality Quorum <qqi@…>). Here are his comments: I removed all unnecessary stuff from start16.s - setting idt and setting 16-bit stack using .code32 istructions.
16:54 Changeset in rtems [7252f656] by Joel Sherrill <joel.sherrill@…>
Added David Fiddes for ColdFire?.
16:26 Changeset in rtems [b22b1294] by Joel Sherrill <joel.sherrill@…>
Coldfire support patch from David Fiddes <D.J.Fiddes@…>.
16:21 Changeset in rtems [a5400c0] by Joel Sherrill <joel.sherrill@…>
Bare bsp patch from Chris Johns and regenerated files.
16:21 Changeset in rtems [43b78f15] by Joel Sherrill <joel.sherrill@…>
Added definition of RTEMSmcpu32p per patch from Robin Kirkham.
16:10 Changeset in rtems [924e17a] by Joel Sherrill <joel.sherrill@…>
Patch from Robin Kirkham <Robin.Kirkham@…> to distinguish between CPU32 and CPU32+ cores. Commentary follows: Unfortunately c/src/exec/score/cpu/m68k/m68k.h incorrectly defines M68K_HAS_MISALIGNED for the plain old CPU32 (it is correct for the CPU32+). As a consequence, the recently-relocated m68k memcpy() may still attempt misaligned memory accesses. I suggest that until such time as egcs/gcc differentiates these cores that we invent a new preprocessor symbol, RTEMSmcpu32p for this purpose, on the assumption that egcs may one day grow a -mcpu32+ option which will define a mcpu32p symbol (whether this option would also define mcpu32 is yet to be resolved). BSPs that have a CPU32+ (like gen68360) would for the time being define RTEMSmcpu32p using -D. The symbol is `RTEMSmcpu32p' because symbols of the form xxx should only be defined by the compiler itself. Note that the patch tests for RTEMSmcpu32p *before* mcpu32, since mcpu32 is still defined for the CPU32+. It does not change the gen68360 BSP. An aside: Note that in egcs-1.0.3a, the option -m68332 is identical to -mcpu32, except it defines mc68332 as well as mcpu32. This is only for the sake of compatibility. The story with -m68302 is similar; it defines mc68302 and mc68000. In my opinion these options are depreciated and ought to be avoided in RTEMS.


17:58 Changeset in rtems [803de41] by Joel Sherrill <joel.sherrill@…>
Suggestion from Robin Kirkham <Robin.Kirkham@…> to improve clarity.
14:51 Changeset in rtems [414ab59] by Joel Sherrill <joel.sherrill@…>


17:42 Changeset in rtems [4f0ffa57] by Joel Sherrill <joel.sherrill@…>
Removed RTS and DTR handling code since the MC68681 seems to only have automatic handling of RTS/CTS. This only protects the on-chip buffers and FIFOs -- not the termios queues as the RTS/CTS code in here did. It may be necessary in the future to enable this automatic support. Interrupt processing code added. In some places, channel and duart base addresses were swapped.
17:40 Changeset in rtems [ae21568c] by Joel Sherrill <joel.sherrill@…>
New file describing mc68681 libchip driver.
16:02 Changeset in rtems [beaaf49f] by Joel Sherrill <joel.sherrill@…>
Added numerous comments.
15:54 Changeset in rtems [a5d0c7c] by Joel Sherrill <joel.sherrill@…>
Added concept of "mate" -- the other port on the same DUART. This is needed to properly handle the interrupt mask register since it is shared.
14:59 Changeset in rtems [b7ebcea3] by Joel Sherrill <joel.sherrill@…>
Added close.
14:55 Changeset in rtems [25c3ff91] by Joel Sherrill <joel.sherrill@…>
Added set attributes and written initialize and first open.
14:54 Changeset in rtems [790d421] by Joel Sherrill <joel.sherrill@…>
Added more registers.
14:54 Changeset in rtems [9eef52b] by Joel Sherrill <joel.sherrill@…>
Added set attributes prototype.
14:54 Changeset in rtems [8a2d4f2b] by Joel Sherrill <joel.sherrill@…>
Added NULL entry for setAttributes.


11:49 Changeset in rtems [7deeb16] by Joel Sherrill <joel.sherrill@…>
Added initial part of iniitialization.
11:09 Changeset in rtems [ab2dbd7] by Joel Sherrill <joel.sherrill@…>
Added mc68681 stuff to the makefile. Added numerous constants to mc68681_p.h. Changed spacing. At this point the polled support is in but nothing else is right except the structure.
11:08 Changeset in rtems [36152b0e] by Joel Sherrill <joel.sherrill@…>
Moved get and set register/data typedefs to this file.
11:07 Changeset in rtems [4cd4c5a] by Joel Sherrill <joel.sherrill@…>
Moved set and get Register and Data type defininitions to serial.h. Cleaned up spacing.
10:34 Changeset in rtems [58b1e95] by Joel Sherrill <joel.sherrill@…>
Corrected spacing
10:17 Changeset in rtems [424e23ee] by Joel Sherrill <joel.sherrill@…>
spacing changes
10:15 Changeset in rtems [547de5d] by Joel Sherrill <joel.sherrill@…>
Removed blank lines and bad debug stuff
09:59 Changeset in rtems [e4acf68] by Joel Sherrill <joel.sherrill@…>
Added comments and corrected spacing.
09:56 Changeset in rtems [aa0da6b] by Joel Sherrill <joel.sherrill@…>
Added a comment and cleaned up spacing
09:28 Changeset in rtems [cd58d82] by Joel Sherrill <joel.sherrill@…>
Initial version of these files.
Note: See TracTimeline for information about the timeline view.