Experimental Physics and
| |||||||||||||||||
|
Hi all, You create a tarball of the files you wish to include in the 'in- memory filesystem' and simply append the tarball to the executable image. The tarball filesystem doesn't take away from RAM during operation -- the RTEMS driver implements 'copy on write' . As long as you don't try to write any file the tarball stays completely in flash. Here's a script I put together that does this and also makes some changes to iocsh environment variables and such. At the moment it adjusts only the 'TOP' iocsh environment variable. It also looks for some APS-specific files in the 'asdstd' directory -- you'll likely want to remove the line that refers to that directory. Hope this is of some assistance. Attachment:
makeStandaloneIoc.sh -- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793
| ||||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |