Experimental Physics and Industrial Control System
On Jun 6, 2007, at 4:08 PM, Phillip Sorensen wrote:
Hi all,
I am stating to work on a project using RTEMS on the uC5282
processor card. I noticed that the source has the ability to use a
tarball included in the image for the st.cmd file, etc.
I have not found any documentation on how to build a image with the
included tarball, or build the tarball. Does anyone use this
feature? How is it done?
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
Description: Binary data
--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
- References:
- RTEMS uC5282 with included tarball Phillip Sorensen
- Navigate by Date:
- Prev:
RTEMS uC5282 with included tarball Phillip Sorensen
- Next:
Automatically generate iocsh registrar code? Susanna Jacobson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RTEMS uC5282 with included tarball Phillip Sorensen
- Next:
Automatically generate iocsh registrar code? Susanna Jacobson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024