To automate the settings and booting sequence of kernel for OMAP board, We have done the following steps:
Store the Kernel image in the NAND flash of the board...
File System is placed on the memory card so all the required folders are kept in the mmc.
Create a script file xyz.sh which will do the settings and launch of applications.
Add the entry of this script file in the file placed at following location:
In MMc Cards file system, check for /etc folder.
In /etc folder search for "init.d" folder, in this folder there will be a file named "rcS".
Open the "rcS" file
Search for "System Initialization Complete"
After this statement user application can be executed..
Add following statements:
echo -n "Starting User application"
sh /app/scripts/xyz.sh
This script will now be executed at the start-up and will do the settings and launch the application..
Happy Launching!!!
Subscribe to:
Post Comments (Atom)
2 comments:
nahiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
kya blog hai ye...techi paper lag raha hia
ohooo!!! galat section me dekh rahe ho aap...
Post a Comment