Intel MPCMM0001 Network Card User Manual


 
MPCMM0001 Chassis Management Module Software Technical Product Specification 201
Application Hosting
Application Hosting 22
The CMM allows applications to be hosted and run locally. This is useful as a method for adding
small custom management utilities to the CMM.
22.1 System Details
The CMM runs a customized version of embedded BlueCat* Linux* 4.0 on an Intel
®
80321 with
Intel
®
XScale
®
microarchitecture. Development support for BlueCat Linux is available on the web
at: http://www.lynuxworks.com.
22.2 Startup and Shutdown Scripts
The CMM is capable of running user created scripts automatically on boot up or shutdown.This
can be accomplished by editing the /etc/rc.d/init.d/userScripts file with a text editor. This is a
standard shell file just like /etc/rc.d/init.d/cmm. By default it just echos "Starting user services" and
"Shutting down user services". The user can add scripts or what they want to the file. The Ramdisk
version of /etc/inittab calls "/etc/rc.d/init.d/userScripts start" right after its starts the cmm software.
When you type reboot, it calls "/etc/rc.d/init.d/userScripts stop”.
22.3 System Resources Available to User Applications
Since the CMM has firmware of its own running at all times, user applications must adhere to
certain resource and directory constraints to avoid disrupting the CMM’s operation. Specifically,
restrictions are placed on an application’s consumption of file system storage space, RAM, and
interrupts. Exceeding these guidelines may interfere with proper operation of the CMM.
22.3.1 File System Storage Constraints
The following file system locations are available for storage by user applications. Storing files in
locations other than those explicitly listed here is not supported.
22.3.1.1 Flash Storage Locations
Applications should not perform excessive amounts of flash file I/O at runtime because this will
impair performance of the CMM.
/etc - Useful for storing configuration files. Do not add more than 300 KBytes to /etc.
/etc/rc.d/init.d - Useful for storing startup scripts. Do not add more than 300 KBytes to /etc.
/home - Useful for storing application binaries. Do not add more than 8 Mbyes to /home.