Tool/software: Linux
Dear,
We designed a board broadly based on AM437x-GP-evm and we are using SDK 4.02.
We want initiate/run a script at boot-up for making touch screen work. I followed below Link and the ways are given below.

- Login to the root file system using:
- user name: root
- password: <no password>
- Change directory to the standard initscript directory /etc/init.d
- cd /etc/init.d
- Open a file for editing called helloworld.sh in the /etc/init.d directory.
- vi helloworld.sh
- Add the following lines to the helloworld.sh file
#!/bin/sh
echo "Hello from Sitara!!!"
/usr/bin/eGTouchD
- Give the init script executable permissions so that it can be run
- chmod +x helloworld.sh
- The init script has been created, but it has not been linked into the list of scripts to run on boot. To do so you will need to create a symlink to the script in the proper run level directory. The default run level is 5 so the symlink will be created there.
- cd /etc/rc5.d
- ln -s ../init.d/helloworld.sh S99helloworld
- rebooted board using the following command
- init 6
- Now I am not receiving "Hello from Sitara!!!" at the terminal screen at bootup and " /usr/bin/eGTouchD" file also does not execute.
- Does the problem exist with sdk 4.02 or run level number? How do i solve this issue?
- Regards,
- Winiston.P
