Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Recently linuxRT has been 'ported' and running successfully on a few COTS linux servers such as the Dell PowerEdge servers
and SuperMicro Industrial PCs. A newer version of linuxRT was built by Till Straumann to support the new hardware.

The important change to the linuxRT RTOS was the addition of support for the Broadcom NIC chipsets which are
ethernet network controllers found in these servers.

...

The BIOS boot order was modified to over-ride the'boot out of hard-disk' or 'CD-ROM' which are the default in most cases,
and to perform network booting as the first choice.

...

This re-direction to the first serial port, instead of the terminal, was also done in BIOS to enable us to  observe the PC boot process remotely like all our IOCs,

...

Now create your EPICS application MyTest as below using standard templates and scripts:

(b) cd $APP/Test

As MyTest development continues, this is where you will be creating/checking out from CVS, several versions of your MyTest application, as you continue to develop.

Now create a sandbox area for MyTest.

mkdir Development

(c) cd Development

You are currently in:

...

This is the top directory for MyTest and referred as $(TOP).

(d) Using a perl script that automates the process, create MyTest:
makeBaseApp.pl -t slac MyTest

The perl script had populated your application using icdTemplates module that provides templates

that are used by ICD to support our style of IOC Application Building for the facilities we support.

...

EPICS_MBA_TEMPLATE_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/modules/icdTemplates/icdTemplates-R1-0-1

 

If you would like to know more about makeBaseApp.pl, type:

...

(i) Notice how the following line appears towards the beginning:
include $(TOP)/RELEASE_SITE

The above sets the paths for EPICS base path, modules path, App path, EPICS version and other EPICS environment variables packages, tools etc. to point to
the new EPICS base version R3-14-12-3_1-0. 

(ii) The file has the following line towards the end of it:

 

# Location of Linux Kernel Modules:

LINUX_KERNEL_MODULES=$(PACKAGE_SITE_TOP)/linuxKernel_Modules

 (iii) configure/RELEASE file may need some modifications from what was automatically generated: 
 
Change the various module version numbers as needed for your application.
Ensure that the specific versions included in your RELEASE file DO EXIST under the modules directory and are consistent.

For example, I decided to over-ride the version numbers for AUTOSAVE and IOCADMIN modules for MyTest as follows:

 

 They must also have been built for the linuxRT-x86 target. If something is missing, contact Ernest.

For EVENT module, Kukhee recommends us to use event-R4-1-3 or greater with I decided to over-ride the version numbers for AUTOSAVE and IOCADMIN modules for MyTest as follows, since the icdTemplates-generated versions have not yet been created or built for this base.

AUTOSAVE_MODULE_VERSION=autosave-R5-0_1-0
IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-12_1-1

For EVENT module, Kukhee recommends us to use event-R4-1-3 or greater with this base.
 
EVENT_MODULE_VERSION=event-R4-1-3

(v) Now 'make' your application from the top level directory $APP/MyApp to ensure your changes to  RELEASE files are good:

...