source: rtems/c/src/lib/libbsp/powerpc/mvme5500/README.booting @ 3eb3c1ae

4.104.115
Last change on this file since 3eb3c1ae was 5734337, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/08 at 21:50:25

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspreset.c: New file.
  • startup/reboot.c: Removed.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1README.booting: written by S. Kate Feng <feng1@bnl.gov>, Aug. 28, 2007
2
3The bootloader is adapted from Till Straumann's Generic Mini-loader,
4which he wrote originally for the SVGM powerpc board.
5The BSP is built and tested on the 4.7 CVS RTEMS release.
6
7Booting requirement :
8-------------------------
9
101) One needs to setup BOOTP/DHCP and TFTP servers and /etc/bootptab(BOOTP)
11   or /etc/dhcpd.conf (DHCP) properly to boot the system.
12   (Note : EPICS needs a NTP server).
13 
142) Please copy the prebuilt RTEMS binary (e.g. misc/rtems5500-cexp.bin)
15   and perhaps others (e.g. misc/st.sys) to the /tftpboot/epics/hostname/bin/
16   directory or the TFTPBOOT one you specified in the 'tftpGet'
17   command of the boot script (as shown in the following example).
18
193) Example of the boot script setup carried out on the MOTLoad
20   command line :
21
22MVME5500> gevEdit mot-script-boot
23(Blank line terminates input.)
24tftpGet -a4000000 -cxx.xx.xx.xx -sxx.xx.xx.xx -m255.255.254.0 -d/dev/enet0 -fepics/hostname/bin/rtems5500-cexp.bin
25netShut
26go -a4000000
27
28
29Update Global Environment Area of NVRAM (Y/N) ? Y
30MVME5500>
31
32Note : (cxx.xx.xx.xx is the client IP address and
33        sxx.xx.xx.xx is the server IP address)
34
354) Other reference web sites for mvme5500 BSP:
36http://lansce.lanl.gov/EPICS/presentations/KateFeng%20RTEMS-mvme55001.ppt
37http://www.nsls.bnl.gov/facility/expsys/software/EPICS/
38http://www.nsls.bnl.gov/facility/expsys/software/EPICS/FAQ.txt
39
405) When generating code (especially C++) for this system, one should
41   use at least gcc-3.2 (preferrably a copy downloaded from the RTEMS
42   site [snapshot area] )
43
446) To reboot the RTEMS-MVME5500 (board reset), one can invoke the
45   bsp_reset() command at Cexp> prompt.
46 
477) Please reference http://www.slac.stanford.edu/~strauman/rtems
48for the source code and installation guidance of cexp, GeSys and
49other useful utilities such as telnet, nfs, and so on.
50
518) To get started with RTEMS/EPICS and to build development
52tools and BSP, I would recommend one to reference
53http://www.aps.anl.gov/epics/base/RTEMS/tutorial/
54in additional to the RTEMS document.
Note: See TracBrowser for help on using the repository browser.