# Sample configuration file for the ISC dhcp server (www.isc.org) # ddns-update-style none; # OPTIONS # 129 provides a command line string to RTEMS/Gesys # GeSys will 'putenv()' all 'KEY=value' pairs it # finds. Hence, this mechanism can be used to pass # arbitrary items to applications which can use # 'getenv()' to retrieve the required information. # NOTE: GeSys itself tries getenv("INIT") to retrieve # the name of an initialization script. option cmdline code 129 = text; # # 150 passes the path to a GRUB config file (PC booting; # consult GRUB documentation for more info). option grubconfig code 150 = text; boot-unknown-clients off; use-host-decl-names on; subnet netmask { option routers ; # NTP is optional -- however, EPICS IOCs NEED it. option ntp-servers ; # DNS is optional but comfortable option domain-name ; option domain-name-servers ; # next-server ; # host declarations host { fixed-address ; hardware ethernet ; ##################################### # Filenames relative to /afs/slac/package/rtems/4.6.2 for different BSPs # (use in.tftpd -s /afs/slac/package/rtems/4.6.2): # # filename "target/ssrlApps/i386-rtems/pc586/bin/rtems.exe"; # filename "target/ssrlApps/powerpc-rtems/mvme2307/bin/rtems.exe"; # filename "target/ssrlApps/powerpc-rtems/svgm/bin/rtems.exe"; # filename "target/ssrlApps/m68k-rtems/mvme167/bin/rtems.exe"; # # IMPORTANT GRUB/PC NOTE: # GRUB does *not* honor the filename. It can use a script, however, where # the real file is defined. The 'filename' option is still required, though, # for RTEMS/GeSys to find the 'st.sys' script [optional initialization script # that is shared by all targets of a common BSP]. # # The grubconfig is only needed if you want to override the config provided # on the CD (which is the one this example maps to): grubconfig "(nd)/boot/grub/menu.lst"; # ##################################### ##################################### # Examples for environment setting: # read ini-script from NFS server 'nfshost' as uid/gid 5555/5556 # cmdline "INIT=5555.5556@nfshost:/afs/slac/package/rtems/4.6.2:examples/epics/iocBoot/iocexample/st.cmd-pc586"; # read ini-script from TFTP server 123.456.7.8 # cmdline "INIT=/TFTP/123.456.7.8/examples/epics/iocBoot/iocexample/st.cmd-mvme167"; # read ini-script from TFTP server == BOOTP server, pass TEST=blah to environment # cmdline "INIT=examples/epics/iocBoot/iocexample/st.cmd-mvme167 TEST=blah"; ##################################### } }