Changes between Version 4 and Version 5 of Docs/Prog/Manual/Foundation/ApplicationModeStartup
- Timestamp:
- 11/23/11 14:57:55 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/Foundation/ApplicationModeStartup
v4 v5 8 8 2. Standard Indicator 9 9 10 3. Setup11 12 When "1. Application Mode" is selected the uClinux operating system will startto allow applications to run.10 3. Legal metrology information / Setup 11 12 When "1. Application Mode" is selected the micro c Linux operating system will load to allow applications to run. 13 13 14 14 Linux uses a startup script file /etc/rc.d/rc.local to provide startup instructions. This script file is a text file containing a sequence of commands. This is similar to the AUTOEXEC.BAT file in an MS-DOS environment. … … 91 91 }}} 92 92 93 The command “sh” means to call a shell script. The “appmenu.sh” is the filename of the script, and the “&” ampersand character indicates that the script runs in a separate threadfrom the terminal. This allows for typing commands from the terminal while the script is running.93 The command “sh” means to call a shell script. The “appmenu.sh” is the filename of the script, and the “&” ampersand character indicates that the script runs in a separate process from the terminal. This allows for typing commands from the terminal while the script is running. 94 94 95 95 To view this script type: … … 266 266 If the value is from 21 to 38 a custom application script is executed. Refer to the “[wiki:Docs/Prog/Manual/ConfigurationUtility Configuration Utility] documentation for information about configuring custom menu items. 267 267 268 If the value is 99 the script will call the “reboot” function with the “&” character so that it runs in a different thread. The appmenu script will then exit. This is necessary so the reboot function can unmount the NAND. The reboot function will kill the wtsvr process if it is running and unmount the NAND then do a software restart of the OPI board microprocessor. The boot loader startup display will return. Note that this does not reboot the mainboard.268 If the value is 99 the script will call the “reboot” function with the “&” character so that it runs as a different process. The appmenu script will then exit. This is necessary so the reboot function can unmount the NAND. The reboot function will kill the wtsvr process if it is running and unmount the NAND then do a software restart of the OPI board microprocessor. The boot loader startup display will return. Note that this does not reboot the mainboard. 269 269 270 270 The “esac” statement is needed to end the “case” conditions. (esac is case spelled backwards). … … 282 282 The appmenu program displays the application menu. 283 283 284 '''/mnt/nand/bin/load rec''' – This application is normally automatically called, so a typical user need not know these details. When an “.S19” or “.bin” flash update is selected in the file manager a script file is created which calls the “loadsrec” program with the appropriate filename and options to perform the flash. It may be useful at times to call “loadsrec” manually, or to create special shell scripts which call “loadsrec”.284 '''/mnt/nand/bin/loadsrec''' – This application is normally automatically called, so a typical user need not know these details. When an “.S19” or “.bin” flash update is selected in the file manager a script file is created which calls the “loadsrec” program with the appropriate filename and options to perform the flash. It may be useful at times to call “loadsrec” manually, or to create special shell scripts which call “loadsrec”. 285 285 286 286 The command line must be specified such as: