I want to be able to write a c program (.exe), upload it to an SD card (and
add the relevent boot files to the SD card) and then get the beaglebone to
boot up from the SD card and run the program on startup.

First compile the executable(hello.o suppose) with the arm toolchain you
have.
Copy the executable in /etc/init.d
Change the permissions of the file (chmod +x)
Go to the /etc/rc5.d directory
Execute ln -s  /etc/init.d/hello.o S99hello
Reboot and check whether on startup it is getting execute or not

P.S.-  I am also a newbie. This is how I did this. Not knowing whether this
is the only method

Regards,
Saket Sinha

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to