summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added optional data and instruction caching enable calls.Joel Sherrill1999-02-051-0/+13
|
* Reorganized into libchip style but not yet split out into multiple filesJoel Sherrill1999-02-041-152/+206
| | | | and placed in the right shareable directories.
* Works great now.Joel Sherrill1999-02-041-10/+27
|
* Added debug print routines for TX and RX descriptors.Joel Sherrill1999-02-021-65/+89
| | | | | Fixed bug where only the mbuf associated with the first TX fragment was being freed.
* Converted from DOS text file.Joel Sherrill1999-02-021-373/+373
|
* Can send and receive packets but fails when TDA wraps. There appearsJoel Sherrill1999-01-312-45/+113
| | | | to be a problem with overwriting the TX descriptors during an RX.
* Added prototype information about the SONIC driver.Joel Sherrill1999-01-261-0/+9
|
* Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to get cdtest.exe to run.Joel Sherrill1998-12-171-0/+2
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename allJoel Sherrill1998-12-1427-51/+51
| | | | | .s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake.
* Increased default amount of RAM.Joel Sherrill1998-12-031-1/+1
|
* Removed reference to stackchk.h.Joel Sherrill1998-12-031-4/+0
|
* Upped the memory to 8 Mbytes.Joel Sherrill1998-11-231-1/+2
|
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-11-192-4/+6
| | | | | | | | | | | | | | | 1) Socket timeout field changed from `short' to `long'. This makes longer timeouts possible. With a 1 kHz system clock the old system allowed timeouts only up to a little over 30 seconds! This change is a slightly cleaned-up version of the patch proposed by Ian Lance Taylor. 2) Major changes to BOOTP/DHCP reply handling. Now supports much of RFC2132. These changes were done at the request of, and with the assistance of, Erik Ivanenko. If you're making changes, you might want to change the network supplement Essentially just do a global search and replace of BOOTP with BOOTP/DHCP.
* Spacing.Joel Sherrill1998-10-271-1/+0
|
* Merged base line score603e BSPJoel Sherrill1998-10-261-28/+28
|
* Patch from Thomas Doerfler <td@imd.m.isar.de> to include theJoel Sherrill1998-10-151-1/+2
| | | | ppc403 interrupt control libcpu component.
* Commented out line which ran psim tests twice.Joel Sherrill1998-10-051-1/+1
|
* Update from Thomas Doerfler <td@imd.m.isar.de>.Joel Sherrill1998-10-051-0/+58
|
* BSP submitted by Thomas Doerfler <td@imd.m.isar.de>:Joel Sherrill1998-09-3019-0/+2091
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@imd.m.isar.de
* Changed based on patch from pc386 linkcmds from Ian Lance TaylorJoel Sherrill1998-09-302-1/+2
| | | | | | | | | <ian@airs.com>: 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.
* Updates to tree to make it build with all desired changes and the conversionJoel Sherrill1998-09-115-788/+835
| | | | of the SONIC driver to the new FreeBSD stack instead of KA9Q.
* If 0 out the code which touches the chip in questionable ways for processingJoel Sherrill1998-08-141-0/+6
| | | | a giant packet.
* Changed tm27 clear interrupt macro on all PPC BSPs except the papyrus.Joel Sherrill1998-08-141-0/+5
|
* Added information on caching.Joel Sherrill1998-08-141-0/+13
|
* Updated.Joel Sherrill1998-08-141-1/+1
|
* Fixed version referenceJoel Sherrill1998-08-131-1/+1
|
* Updated.Joel Sherrill1998-08-131-181/+179
|
* base line -- copied from erc32Joel Sherrill1998-08-131-0/+193
|
* Enable TX interrupts only when we need TDAs.Joel Sherrill1998-08-131-1/+0
|
* Cleaned up some debugging stuff.Joel Sherrill1998-08-131-23/+15
| | | | Redid interrupt handler to read imr/isr once and to write the imr once.
* Removed spurious prints and cleaned up XXX.Joel Sherrill1998-08-121-11/+10
|
* Added more debug information. There are probably debug prints left in.Joel Sherrill1998-08-121-24/+53
| | | | | Fixed one important bug. After wrapping the RX Descriptors all had the EOL bit set which resulted in everything slowing down massively.
* Fixed bug where the last link of the RDA was not initialized properly.Joel Sherrill1998-08-121-15/+30
|
* Added SONIC_DEBUG_DESCRIPTORS and changed debug level.Joel Sherrill1998-08-111-3/+11
|
* Survives 16-20 packets. Appears to be ok on TX buffer management.Joel Sherrill1998-08-101-11/+16
| | | | Problem appears to be on the RX buffer initialization side.
* Added printsJoel Sherrill1998-08-101-1/+2
|
* Can now reply to multiple successive pings successfully without being inJoel Sherrill1998-08-102-29/+22
| | | | | | promiscuous mode. It still dies somewhere between 16 and 20 pings.
* replies to ping -- forced into prosmiscuous modeJoel Sherrill1998-08-101-13/+21
|
* Reordered some stuff.Joel Sherrill1998-08-081-7/+10
|
* Changed debug level.Joel Sherrill1998-08-082-36/+96
| | | | | | | | | | | | | | | | Moved CAM Descriptor types to sonic.h. CAM memory is now malloced to insure it shares the same upper address bits. Removed increment of RX interrupt count on TX interrupt path. Added SONIC_DEBUG_FRAGMENTS and SONIC_DEBUG_CAM conditionals. Fixed bugs in fragment manipulation. First bug was that the pad overwrote the last fragment. The second bug was that the link information overwrote the size of the last fragment. Rewrote initialization of TDA to simplify it.
* Removed SonicRegisters structure since we now use register indicesJoel Sherrill1998-08-061-83/+15
| | | | | | | | and access routines. Added revision constants. Added in_use and EOL field values.
* Enabled specific types of debug info.Joel Sherrill1998-08-061-31/+55
| | | | | | | | | | | | Added pointer to RDA to sonic structure. Added macro names for values used in the in_use field of RDA entries. Rewrote the RX Descriptor Area initialization loop. Added a check to barf if this is a Rev B sonic chip. Enabled check that the CAM was properly loaded.
* Changed debug enable macros to support individually enabling differentJoel Sherrill1998-08-061-15/+30
| | | | | | | types of debug information. Removed call to rtems_panic which was based on checking a variable which was no longer being set.
* Card Resource Register was a 16-bit register not a 32-bit one.Joel Sherrill1998-08-065-28/+36
| | | | Used existing constants for bits on the register.
* Added support for the Card Resource Register. The new probe routinesJoel Sherrill1998-08-065-8/+107
| | | | | check for the presence of the DUART, SCC, and RTC. The SONIC check needs to be added in the future as the network driver is libchip'ed.
* Added constants which made the multiple bit settings more readableJoel Sherrill1998-08-051-0/+25
| | | | for the Data Configuration Register (DCR).
* DCR setting changed to match what the DY-4 Firmware initialized it to.Joel Sherrill1998-08-051-135/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This primarily included setting the state of the programmable outputs and the RX and TX FIFO depths. Moved all of the TX, RX, and RRA data structure initialization to before the hardware initialization. As part of this, the hardware initialization was consolidated. More than likely, some of this movement broke stuff. Used constants added to sonic.h which gave more logical names to some of the register bit settings. Switched to calloc to insure the data areas where initialized to 0. Commented out a panic check in the RX server which may or may not have been right. Increased the size of the CAM initialization area. It is possible that this could be decreased or code added to handle the management of multiple hardware addresses. Added sonic read and write register routines which aid greatly in debugging and provide the core for the eventual movement of this driver to libchip. Added debug code to the read and write register routines which can print the value read from or written to a register. This code also prints the register name which significantly eases reading the log.
* Switched to read/write register routines and added some basic debugJoel Sherrill1998-08-032-332/+473
| | | | help.
* Changed name of network driver.Joel Sherrill1998-07-301-1/+1
|
* Added temporary include of dmv170.hJoel Sherrill1998-07-301-0/+6
|