[ee732739] | 1 | README.booting: written by S. Kate Feng <feng1@bnl.gov>, Aug. 28, 2007 |
---|
[7be6ad9] | 2 | |
---|
| 3 | The bootloader is adapted from Till Straumann's Generic Mini-loader, |
---|
[ee732739] | 4 | which he wrote originally for the SVGM powerpc board. |
---|
| 5 | The BSP is built and tested on the 4.7 CVS RTEMS release. |
---|
[7be6ad9] | 6 | |
---|
| 7 | Booting requirement : |
---|
| 8 | ------------------------- |
---|
| 9 | |
---|
[ee732739] | 10 | 1) 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). |
---|
[7be6ad9] | 13 | |
---|
| 14 | 2) 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 | |
---|
| 19 | 3) Example of the boot script setup carried out on the MOTLoad |
---|
| 20 | command line : |
---|
| 21 | |
---|
| 22 | MVME5500> gevEdit mot-script-boot |
---|
| 23 | (Blank line terminates input.) |
---|
| 24 | tftpGet -a4000000 -cxx.xx.xx.xx -sxx.xx.xx.xx -m255.255.254.0 -d/dev/enet0 -fepics/hostname/bin/rtems5500-cexp.bin |
---|
| 25 | netShut |
---|
| 26 | go -a4000000 |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | Update Global Environment Area of NVRAM (Y/N) ? Y |
---|
| 30 | MVME5500> |
---|
| 31 | |
---|
| 32 | Note : (cxx.xx.xx.xx is the client IP address and |
---|
| 33 | sxx.xx.xx.xx is the server IP address) |
---|
| 34 | |
---|
[ee732739] | 35 | 4) Other reference web sites for mvme5500 BSP: |
---|
[7be6ad9] | 36 | http://lansce.lanl.gov/EPICS/presentations/KateFeng%20RTEMS-mvme55001.ppt |
---|
[ee732739] | 37 | http://www.nsls.bnl.gov/facility/expsys/software/EPICS/ |
---|
| 38 | http://www.nsls.bnl.gov/facility/expsys/software/EPICS/FAQ.txt |
---|
[7be6ad9] | 39 | |
---|
| 40 | 5) 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 | |
---|
| 44 | 6) To reboot the RTEMS-MVME5500 (board reset), one can invoke the |
---|
| 45 | rtemsReboot() command at Cexp> prompt. |
---|
| 46 | |
---|
| 47 | 7) Please reference http://www.slac.stanford.edu/~strauman/rtems |
---|
| 48 | for the source code and installation guidance of cexp, GeSys and |
---|
| 49 | other useful utilities such as telnet, nfs, and so on. |
---|
| 50 | |
---|
| 51 | 8) To get started with RTEMS/EPICS and to build development |
---|
| 52 | tools and BSP, I would recommend one to reference |
---|
| 53 | http://www.aps.anl.gov/epics/base/RTEMS/tutorial/ |
---|
| 54 | in additional to the RTEMS document. |
---|