URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [helas403/] [README] - Rev 173
Compare with Previous | Blame | View Log
## $Id: README,v 1.2 2001-09-27 12:00:36 chris Exp $#BSP NAME: helas403BOARD: IMD, helas-ppcBUS: N/ACPU FAMILY: ppcCPU: PowerPC 403GACOPROCESSORS: N/AMODE: 32 bit modeDEBUG MONITOR: Modified Motorola FBUGPERIPHERALS===========TIMERS: 403GA internalRESOLUTION: .04 microsecondsSERIAL PORTS: 403GA internalREAL-TIME CLOCK: 403GA internalDMA: 403GA internalVIDEO: noneSCSI: noneNETWORKING: noneDRIVER INFORMATION==================CLOCK DRIVER: 403GA internalIOSUPP DRIVER: N/ASHMSUPP: N/ATIMER DRIVER: 403GA internalTTY DRIVER: 403GA internalSTDIO=====PORT: Console port 0ELECTRICAL: RS-232BAUD: 9600BITS PER CHARACTER: 8PARITY: NoneSTOP BITS: 1Notes=====Board description-----------------clock rate: 25 MHzbus width: 8-bit PROM, 32-bit DRAMROM: Up to 512KByte (Am29F040), 90 nsec chip select 0RAM: 4 to 32 MByte DRAM SIMM (autodetect), 70 nsec,no parity, at CS7 or CS6+CS7 (for two-bank-SIMMs)helas403 only supports single processor operations.Porting-------This board support package is written for a typical PPC403GAsystem. The rough features of this board are described above.This BSP contains files for two startup methods:- Direct start from Flash after powerup (with code run out of flash):This is the default configuration, it uses the filesflashentry/flashentry.sstartup/linkcmdsPlease note, that this configuration is good to startup the system,but it will not gain maximum performance due to slow Flash access (8bit wide only)- Start after software download into DRAM:This configuration will use:dlentry/dlentry.sstartup/linkcmds.dlIf you want to use the download configuration, it is sufficient torename the file "startup/linkcmds.dl" to "startup/linkcmds", it willautomatically reference the dlentry.s as entry code. (Renaming is notquite elegant, a more sophisticated solution will follow in future,any hints welcome ;-)For adapting this BSP to other boards, the following files should bemodified:- c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.sfor the memory controller configuration and other basic stuff- c/src/lib/libbsp/powerpc/helas403/startup/linkcmds[.dl]for the memory layout required- c/src/lib/libbsp/powerpc/helas403/startup/bspstart.cfor adaption of BSP_Configuration. here you can selectthe clock source for the timers and the serial interface(system clock or external clock pin), the clock rates, initialbaud rate and other stuff- c/src/lib/libbsp/powerpc/helas403/include/bsp.hsome BSP-related constantsThe actual drivers are placed in- c/src/lib/libcpu/powerpc/ppc403/*well, they should be generic, so there _should_ be no reasonto mess around there (but who knows...)
