Timeline



09/30/98:

21:55 Changeset in rtems [aecfa2b]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
BSP submitted by Thomas Doerfler <td@…>: Finally I am through: I have found the last bugs that made RTEMS- 4.0-beta3 start on my ppc403 board from ROM. So now the '403 support is up to date again. Roughly I have added the following features: - support for the on-chip interrupt controller (in a separate module) - interrupt support for the console device - termios support for the console device ============================================== Since the BSP behaivour changed in some details (console no longer is polling, other memory layout etc) I have created a new BSP "helas403" rather than changing the "papyrus" BSP. The old "polled" console driver still sticks around in "console.c.polled" To get the BSP up and running, I had to create the new BSP files (derived from papyrus). Besides that, the following source areas have been changed: - c/src/lib/libcpu/powerpc/ppc403: changes to console driver, small changes to clock driver, new "ictrl" interrupt controller driver - c/src/exec/score/cpu/powerpc/ppc.h: some small changes (added ppc403 characteristics like a exception vector prefix register, some special register definitions). I am quite sure, they are compatible with the existing sources, although I did not check - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe limitation in the exception entries: Due to the current code arrangement, the "branch absolute" to the ISR handler may only jump to the first 128MByte or the last 128MByte of the 4GByte address range. When the ppc403 is running out of ROM, the ROM functions are located in the last 128MByte (0xFFF00000 and up). These addresses were not handled correctly (sign reduced) in "install_raw_handler". The change I added should work on existing ppc BSPs aswell... - c/src/lib/libc/termios.c: During my tests, I added one change you sent me, so this patch will already be incorporated in the current source tree. There are some smaller changes, see the attached diff file. ========================================= Concerning the GNU toolchain: I tried several tool chains. Finally I almost succeeded with egcs-1.0.3a with patch egcs-1.0.3-rtems-diff-19980527 I had to add the following lines to the egcs files. Without them configure complaint that the cross compiler could not generate executable output. - additional lines needed in egcs distribution in file gcc/config/rs6000/rtems.h: +++ lines start #undef STARTFILE_DEFAULT_SPEC #define STARTFILE_DEFAULT_SPEC "ecrti.o%s" #undef ENDFILE_DEFAULT_SPEC #define ENDFILE_DEFAULT_SPEC "ecrtn.o%s" ++++ lines end As far as I have seen in the Changelog of egcs, you have recently sent two patches affecting the powerpc support, but they were added in the wrong order.... :-( egcs-19980628 with patch egcs-19980628-rtems-diff-19980707 does not work! I used binutils 2.9.1 with patch binutils-2.9.1-rtems-diff-19980515 (binutils 2.8.1 does not work, internal error in gas) and newlib-1.8.0 with patch newlib-1.8.0-rtems-diff-19980707 Finally I had to poke a line in the "bit" script, since, on my LINUX machine, the GNU make is only available as "make", not as "gmake"... For all the tools and newlib I selected configuration "powerpc- rtems". -------------------------------------------- IMD Ingenieurbuero fuer Microcomputertechnik Thomas Doerfler Herbststrasse 8 D-82178 Puchheim Germany email: td@…
21:50 Changeset in rtems [be4284d0]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
BSP submitted by Thomas Doerfler <td@…>: Finally I am through: I have found the last bugs that made RTEMS- 4.0-beta3 start on my ppc403 board from ROM. So now the '403 support is up to date again. Roughly I have added the following features: - support for the on-chip interrupt controller (in a separate module) - interrupt support for the console device - termios support for the console device ============================================== Since the BSP behaivour changed in some details (console no longer is polling, other memory layout etc) I have created a new BSP "helas403" rather than changing the "papyrus" BSP. The old "polled" console driver still sticks around in "console.c.polled" To get the BSP up and running, I had to create the new BSP files (derived from papyrus). Besides that, the following source areas have been changed: - c/src/lib/libcpu/powerpc/ppc403: changes to console driver, small changes to clock driver, new "ictrl" interrupt controller driver - c/src/exec/score/cpu/powerpc/ppc.h: some small changes (added ppc403 characteristics like a exception vector prefix register, some special register definitions). I am quite sure, they are compatible with the existing sources, although I did not check - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe limitation in the exception entries: Due to the current code arrangement, the "branch absolute" to the ISR handler may only jump to the first 128MByte or the last 128MByte of the 4GByte address range. When the ppc403 is running out of ROM, the ROM functions are located in the last 128MByte (0xFFF00000 and up). These addresses were not handled correctly (sign reduced) in "install_raw_handler". The change I added should work on existing ppc BSPs aswell... - c/src/lib/libc/termios.c: During my tests, I added one change you sent me, so this patch will already be incorporated in the current source tree. There are some smaller changes, see the attached diff file. ========================================= Concerning the GNU toolchain: I tried several tool chains. Finally I almost succeeded with egcs-1.0.3a with patch egcs-1.0.3-rtems-diff-19980527 I had to add the following lines to the egcs files. Without them configure complaint that the cross compiler could not generate executable output. - additional lines needed in egcs distribution in file gcc/config/rs6000/rtems.h: +++ lines start #undef STARTFILE_DEFAULT_SPEC #define STARTFILE_DEFAULT_SPEC "ecrti.o%s" #undef ENDFILE_DEFAULT_SPEC #define ENDFILE_DEFAULT_SPEC "ecrtn.o%s" ++++ lines end As far as I have seen in the Changelog of egcs, you have recently sent two patches affecting the powerpc support, but they were added in the wrong order.... :-( egcs-19980628 with patch egcs-19980628-rtems-diff-19980707 does not work! I used binutils 2.9.1 with patch binutils-2.9.1-rtems-diff-19980515 (binutils 2.8.1 does not work, internal error in gas) and newlib-1.8.0 with patch newlib-1.8.0-rtems-diff-19980707 Finally I had to poke a line in the "bit" script, since, on my LINUX machine, the GNU make is only available as "make", not as "gmake"... For all the tools and newlib I selected configuration "powerpc- rtems". -------------------------------------------- IMD Ingenieurbuero fuer Microcomputertechnik Thomas Doerfler Herbststrasse 8 D-82178 Puchheim Germany email: td@…
21:18 Changeset in rtems [05d49928]4.104.114.84.95 by Wade A Smith <warm38@…>
Corrected TYPO error in the file.
21:15 Changeset in rtems [b8ea1c8e]4.104.114.84.95 by Wade A Smith <warm38@…>
Corrected TYPO errors in the file
20:58 Changeset in rtems [2c3840b]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added new autoconf test for i386 code16/code32 support. The guts of the test were suggested by Ian Taylor <ian@…> and Joel did the hard part of putting it in aclocal and editting all the offending Makefiles and source code which could use this feature.
20:52 Changeset in rtems [2405b767]4.104.114.84.95 by Wade A Smith <warm38@…>
Corrected TYPOs in the file
20:51 Changeset in rtems [f65b0903]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
New file from Ralf.
20:21 Changeset in rtems [8dd54b6]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated the STATUS CODE section for the routines in this file.
19:51 Changeset in rtems [b931d05a]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added Id's.
19:51 Changeset in rtems [5620149]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
New configure test from Ian Lance Taylor <ian@…>: If the target is an i386, this test checks whether or not the binutils is new enough to have good support for code16.
19:39 Changeset in rtems [1dedfde9]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated the STATUS CODE section of the routines in this file.
18:19 Changeset in rtems [8ed58e65]4.104.114.84.95 by Wade A Smith <warm38@…>
Made formatting changes to the file
17:27 Changeset in rtems [4ca5bd8]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Changed based on patch from pc386 linkcmds from Ian Lance Taylor <ian@…>: The pc386 linker scripts omits .gnu.linkonce.r* sections. It's not a big deal, but they should be treated like .rodata sections. ELF versions of g++ generate them for static constants defined in template classes, such as string::npos.
17:17 Changeset in rtems [d1d47664]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Ian Lance Taylor <ian@…>: The pc386 linker scripts omits .gnu.linkonce.r* sections. It's not a big deal, but they should be treated like .rodata sections. ELF versions of g++ generate them for static constants defined in template classes, such as string::npos.
15:45 Changeset in rtems [c11f512]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated the DESCRIPTION section of the times routine.
15:42 Changeset in rtems [a65c28e]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the fsync and fdatasync routines in this file.
15:40 Changeset in rtems [9dd23877]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated the STATUS CODE section for the truncate routine.
13:02 Changeset in rtems [17408b90]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Norum <eric@…>: I found that my 68040/68360 test programs would not run even after I fixed the `wrong BSP' problem. It seems that there's a bug in the interrupt handling code for processors with hardware interrupt stacks (e.g. 68040). The wrong status register was getting pushed on the stack for the `return from exception' to call _ISRDispatch. This ended up making the context switch code run on the interrupt stack, so interrupt-driven context switches would always fail. I guess that no one has tried running any of the RTEMS-4.0 snapshots on a 68040 machine! Anyhow, here are the patches for 1) gen68360.cfg --- to fix the `wrong-BSP' problem. 2) m68k/cpu_asm.s --- to fix the hardware interrupt stack problem. With these patches in place, the network demo programs run on my 68040/68360 system. The paranoia program runs with no failures, defects nor flaws.

09/29/98:

21:53 Changeset in rtems [982ed3f8]4.104.114.84.95 by Wade A Smith <warm38@…>
Made cosmetic changes and documented routines in this file
21:52 Changeset in rtems [6e62b72e]4.104.114.84.95 by Wade A Smith <warm38@…>
Made cosmetic changes and documented routines in file.
21:51 Changeset in rtems [80189ac2]4.104.114.84.95 by Wade A Smith <warm38@…>
Made cosmetic changes, and document routines in the file.
21:51 Changeset in rtems [f1ccfde]4.104.114.84.95 by Wade A Smith <warm38@…>
Made cosmetic changes to the file and documented the time, times, and getimeofday routines.
12:40 Changeset in rtems [21bfd93]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Ralf Corsepius <corsepiu@…>: Please find enclosed a patch which enables me to build the bare-bsp for sh-rtems. Changes: 1. Add preinstall to libbsp/bare/include/Makefile.in 2. Removed FORCEIT, add preinstall to libbsp/sh/gensh1/include/Makefile.in 3. Disabled support of set_vector from sh code (shared/setvec.c is still present but isn't used anymore), set_vector replaced with standard rtems functions. Problems still present: 1. Support of spin-delays in bare bsp 2. Proper support of cpu frequency To configure I used: <srcdir>/configure \ --target=sh-rtems \ --prefix=<instdir>/sh-bare \ --enable-bare-cpu-model=sh7032 \ --enable-bare-cpu-cflags='-Wall -m1 -DMHZ=20 -DCPU_CONSOLE_DEVNAME="\"/dev/null\""' --enable-rtemsbsp=bare \ --disable-networking \ --disable-cxx \ --disable-posix \ --disable-tests IMO, if there are no objections to this patch, a similar approach should be applied to all CPUs/BSPs (esp. hppa1.1, mips64orion, ppc403, because they apply set_vector inside of libcpu).
12:15 Changeset in rtems [766ed7c]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Norum <eric@…>: Remember the test to see if a socket could be read and written at the same time by two different tasks? I discovered that if both tasks attempt to close the socket a panic can occur from inside the BSD code. Closing the same socket twice from two different threads is certainly an error, but a panic is not the greatest error reporting method :-) The following small change to the socket close routine should reduce the chances of the panic.
00:05 Changeset in rtems [d7fcc1d]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added sentence to indicate sections were deliberately empty. Added NONE to Notes sections and "-" to make this easier to fill out later.
00:04 Changeset in rtems [241e4c7c]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added sentence to indicate sections were deliberately empty.
00:02 Changeset in rtems [2341410c]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Fleshed out considerably. This is almost a passable manual now.

09/28/98:

22:54 Changeset in rtems [68e8f63]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Updated to reference the standards.
22:09 Changeset in rtems [0f58ab42]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the mount and umount routines.
22:08 Changeset in rtems [487c5d58]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the ftruncate and opendir routines. Removed reference to the readdir_r routine.

09/27/98:

16:37 Changeset in rtems [cb646cb9]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
New files.
16:00 Changeset in rtems [e21f7d8]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the following routines: dup, dup2, close, read, write, and fcntl.f

09/26/98:

19:33 Changeset in rtems [389c3e9]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the following routines in this file: rewinddir, pathconf, fpathconf, fchmod, fstat, mkfifo, and telldir

09/25/98:

20:11 Changeset in rtems [64183e20]4.104.114.84.95 by Wade A Smith <warm38@…>
Documented the creat, scandir, and access routines.
16:20 Changeset in rtems [9a0b008]4.104.114.84.95 by Wade A Smith <warm38@…>
Docmumented the access routine in for this file.
13:29 Changeset in rtems [165988d]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Fixed typos so this would build.
13:28 Changeset in rtems [b965227f]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Now compiles.
13:24 Changeset in rtems [1ee9a1a]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added information on every service in this chapter. Most of them are ENOSYS stubs at this time.
13:17 Changeset in rtems [97149ba]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Added ENOSYS stubs for a number of process routines.
12:50 Changeset in rtems [1d2366e]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Stuff added by Kerwin.

09/24/98:

20:30 Changeset in rtems [7a86dc4]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Improved missing directory message.
20:29 Changeset in rtems [85420c8]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Removed blank line.
15:43 Changeset in rtems [da38d8a]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Removed superfluous initialization of PC video.
13:55 Changeset in rtems [32f3e34]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Erik Ivanenko <erik.ivanenko@…>: Please find attached a start.s that includes a cli prior to the hlt instruction. This ensures that external interrupts cannot restart the system after returning to the startup code. ( According to the hlt docs, they will! ) Also find a new timer.c. ( I forgot to update the countdowm value in the timer when I changed the PSCLK frequency in start.s) . This improves timer accuracy. The raw_idt_notify messages are no longer infinite, I tested sp11 and sp05, both which were bad, and I have seen the message print once in one test. I think it's ok if it prints out once. In fact, I don't think you can effectively stop it!
13:46 Changeset in rtems [287e9584]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
New version from Erik Ivanenko <erik.ivanenko@…>.

09/23/98:

16:46 Changeset in rtems [1fd26a5]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Ralf Corsepius <corsepiu@…>.
16:41 Changeset in rtems [ecc3fe3]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
IDLE task stack size now specified as a field in the CPU Table for all ports.
16:34 Changeset in rtems [3b93a2de]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Modifed to zero out the C heap if the CPU Table indicates that the RTEMS workspace is to be zeroed out.
13:43 Changeset in rtems [87c857a9]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
changed version to 980923
13:43 Changeset in rtems [5d17a64]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Updated to remove bad comment.
13:25 Changeset in rtems [1cf2df40]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Removed printk() references.
13:22 Changeset in rtems [479c86dd]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Erik Ivanenko <erik.ivanenko@…>: Please find attached the two files that have been changed relative to 980921 . The changes here are in the handling of the counter-timer used as the basis for the rtems executive clock. For the most part, these are housekeeping changes. The PSCLK frequency change in start.s... was a part of several bug-fixes. The fix improves executive clock and timer accuracy. changes : start.s -- All timers are disabled by the initialization routine -- PSCLK ( used by clock and timers ) frequency changed to 1MHz The clock_initialize routine now assumes that the PSCLK frequency is exactly 1 MHz. ckinit.c Clock_isr -- removed division by 1000. Now use 'static' variable -- clock_intial_isr_value -- to reset Clock_isrs variable. clock_initialize -- moved counter timer initialization here. Values used to configure the timer are totally dependent on BSP_configuration.microseconds_per_tick ( and the PSCLK assumption). Initializes clock_initial_isr_value used by th Clock_isr to reset Clock_isrs. clock_on -- no longer configures the timer, just enables it. Since altering the number of sections in the BSP, I decided to give it a good "once over" . The clock handling is now cleaner.
13:20 Changeset in rtems [8a496e46]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Aleksey (Quality Quorum <qqi@…>): 1. Finally fixes raw interrupts for pc386 2. Makes some minor cleanup in console and startup 3. Makes rtems_termios_dequeue_characters() to return count of outstanding chars - it allows to simplify console isrs a little bit. 4. pc386 uart modified to be friendlier to termios parameter changes, to have minor performance improvement and to take advantage of of above termios modification.
13:17 Changeset in rtems [362b88e]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Switched "NEW_GAS" flag.
13:17 Changeset in rtems [f26f5828]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Regenerated.

09/21/98:

22:04 Changeset in rtems [6385cbd]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated file based upon red-lines received.
21:34 Changeset in rtems [98bdf7a]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated file based upon read_lines received.
21:31 Changeset in rtems [f8c5bad]4.104.114.84.95 by Wade A Smith <warm38@…>
Updated file based upon red-lines received.
16:38 Changeset in rtems [af973e57]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
changed version to 980921
15:27 Changeset in rtems [219aedad]4.104.114.84.95 by Wade A Smith <warm38@…>
Modified sentences in the file to avoid using "shall" statements.
15:17 Changeset in rtems [f9b0efb0]4.104.114.84.95 by Wade A Smith <warm38@…>
Described the constants used by the admin_type in the background section of this file.
01:45 Changeset in rtems [42424ef]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Corrected ColdFire? port information.
01:29 Changeset in rtems [e62488d]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
New file from Emmanuel Raguet <raguet@…>.
00:46 Changeset in rtems [718dc95]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Norum <eric@…>: Here's a patch to make the rtems_showroute routine a little more useful. For `host' route table entries the link-level address is now displayed. This is equivalent to the old `show arp table' information displayed by the KA9Q code.
00:42 Changeset in rtems [7ddcfb8c]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Norum and David Fiddes to put ColdFire? support in the inet checksum routine.
00:40 Changeset in rtems [97d7b068]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Update from Aleksey (Quality Quorum <qqi@…>) to pick up some patches missing from 980911.
00:39 Changeset in rtems [75e44fa3]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Removed by patch from Aleksey.
00:38 Changeset in rtems [3f929757]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patches from Aleksey which were not in 980911. I am sending you patch which was lost. As far as I remember there were minor patches on top of it, either by Eric Valette or by Eric Norum or by both.
00:24 Changeset in rtems [c610a1f3]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Update from Eric Valette <valette@…>: Here are patches that bring 980911 back to what I think is a correct version of raw IDT management as well as a correct initialisation of video console and rtems managed interrupts.
00:23 Changeset in rtems [04bc5d9]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Update from Erik Ivanenko <erik.ivanenko@…> to bring the i386ex bsp up to date. 1) A 'hlt' instruction is coded in case of a return from boot_card in start.s.
00:01 Changeset in rtems [30ba752]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Norum: I fixed the problems noted by Victor Vengerov. 1) Fix typo in cfsetispeed(). 2) In rtems_termios_open, ensure that args->iop->data1 is set before calling device-specific open routine.

09/20/98:

23:52 Changeset in rtems [6bd0fe4]4.104.114.84.95 by Joel Sherrill <joel.sherrill@…>
Patch from Eric Valette <valette@…>: Compiled and booted without problem. However console was set on COM2. At least for 4.0 it should be video :-)

09/16/98:

15:15 Changeset in rtems [6c455f37]4.104.114.84.95 by Wade A Smith <warm38@…>
Remove many of the shall verbs and replaced them with present tense verbs
Note: See TracTimeline for information about the timeline view.