URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [m68k/] [mvme162/] [README] - Rev 1765
Compare with Previous | Blame | View Log
---- EISCAT Scientific Association. M.Savitski---- This material is a part of the MVME162 Board Support Package-- for the RTEMS executive. Its licensing policies are those of the-- RTEMS distribution.---- Updated by Joel Sherrill (jsherril@redstone.army.mil) after-- inclusion in the standard release.---- README,v 1.7 1997/08/04 21:57:06 joel Exp--MVME162 Models--------------MVME162 model uses 68040.MVME162FX model uses XXX.MVME162LX model uses 68LC040.Do all models have 2 ZCC chips for a total of 4 serial ports?Extended Console Driver-----------------------This BSP includes an extended console driver which supports all 4 serialports on the MVME162LX model. It was submitted by Katsutoshi Shibuya<shibuya@mxb.meshnet.or.jp>.The application can choose this driver by using "CONSOLEX_DRIVER_TABLE_ENTRY"in the driver table definition, in place of "CONSOLE_DRIVER_TABLE_ENTRY".See consolex/cTest.c for an example and consolex/README for more information.This driver is only built for the mvme162lx bsp model.MVME162FX and DMA on the IP bus-------------------------------From Eric Vaitl <eric@viasat.com>:If you have any customers that will be using the 162FX, tell them tobe careful. The main difference between the 162 and the 162FX is DMAon the IP bus. I spent over a month trying to write a DMA HDLC driverfor GreenSprings IP-MP and couldn't get it to work. I talked to somepeople at GreenSprings, and they agreed that there really is no way toget DMA to work unless you know the size of the packets in advance.Once the IP2 chip DMA controller is given the character count andenabled, it doesn't accept further commands until all of thecharacters have arrived. The only way to terminate a DMA transferprematurely is by raising DMAEND* during the last read. None of the IPmodules that I know of are currently able to do that. GreenSprings isworking on the problem, but nothing is going to available for a fewmonths.Installation------------Nothing unique to the MVME162. It has been incorporated into thestandard release.Port Description----------------This section describes the initial port effort. There have beenadditions and modifications to the bsp since this was done.Interestingly, this was the first bsp submitted to the RTEMS projectand the submission offer came out of the blue with no priorcommunication with the author. :)The port was done using already existing ports to the M68020 boards,DMV152 and MVME136.The initial host development system was SUN/Solaris 2.3, andthe cross-development environment consisted of Free SoftwareFoundation (FSF)'s GNU C compiler (version 2.6), GNU Assembler(version 2.3) and GNU binary utilities binutils version 2.5.2,built with m68k as a target. The recent/latest versions of otherGNU programs (flex, make, etc) were also used at the build stage.In all subdirectories of the RTEMS distribution tree, the directoriesmvme136 were duplicated as mvme162.Essential modifications are detailed below:- the MVME162-specific hardware registers were described in bsp.h- timer and clock routines were made to use the MVME162's Tick Timers 1and 2, respectively- shared memory support was replaced by stubs for the time being- console IO was lifted entirely from the DMV152 support code, thanksto the fact that Z8530 SCC used in DMV152 is upwards compatible withthe Z85230 SCC of the MVME162. (Only the memory mapping of the SCCregisters had to be changed.)- symbols in several *.s files were prepended with underscores tocomply with the xgcc configuration used (it prepends underscores to allsymbols defined in c code)- linkcmds file was modified to place the linked code into the memoryconfigured for the board in use- bspstart.c was modified as follows:monitors_vector_table = (m68k_isr *)0xFFE00000;was made to point to the power-up location of MVME162 interrupt vectortable.- The shutdown is a temporary solution. To exit cleanly, it has to disableall enabled interrupts and restore the board to its power-up status.Presently this is not done satisfactorily, as a result, the board needsa hardware reset from the external VMEbus master or from the frontpanel to ensure correct operation for subsequent downloads.Host System-----------The VMEbus master used to externally control and download the MVME162is a FORCE CPU-2CE board running Solaris 2.3. A simple program to loads-records and start/reset the MVME162 was written. The code is in thefile tools/sload.cThis code depends on the external VMEbus master's vme driver and isprovided as an example, without the Makefile. The bulk of the programwhich parses the s-records is courtesy of Kym Newbery,(8918927y@lux.levels.unisa.edu.au).In general, apart from x-gcc, the tools most often used while buildingRTEMS for MVME162 were: find, grep, diff, and, of courseMVME162 Embedded Controller Programmer's Reference Guide,Motorola, MVME162PG/D1.Thanks------- to On-Line Applications Research Corporation (OAR) for developingRTEMS and making it available on a Technology Transfer basis;- to Joel Sherril, the leader of the RTEMS development group forstimulating and helpful discussions;- to Kym Newbery (8918927y@lux.levels.unisa.edu.au) for his s-recordparser;- to Gerd Truschinski (gt@first.gmd.de) for creating and running thecrossgcc mailing list- to FSF and Cygnus Support for great free software;What's new----------- 28.07.95 BSP adjusted to rtems-3.2.0.- Now console driver uses interrupts on receive (ring buffercode lifted with thanks from the IDP BSP next door (../idp))- both front-panel serial interfaces are supported- serious bug in timer interrupts fixed- interrupt test tm27 now supported+----------------------------------+-------------------------------+| Dr. Mikhail (Misha) Savitski | Voice : +46-980-79162 || Software Systems Engineer | Fax : +46-980-79161 || EISCAT Svalbard Radar Project | E-mail: mms@eiscathq.irf.se || EISCAT Scientific Association |----------- /\_/\ -----------|| Box 812 S-98128 Kiruna, Sweden | EIS { o o } CAT |+----------------------------------+-------oQQQ--(>I<)--QQQo-------+
