Hai,
I am having ARM linux kernel for the Beagle board. I have
customized the kernel and now I need to run the application once the
kernel is loaded. Can any one tell me how to insert the application
running scripts in kernel? Is there anything like rc file as we have
for blackfin kernel??
Kernel starts the ‘init’ process (/sbin/init IIRC) after it finished its own stuff. If you pass the kernel the init= commandline option it will start your app.
not sure if i'm going to address the issue here, jason, but that
initial invocation of "init" is totally independent of the distro's
init system, it's a kernel thing as you can see in the kernel source
file init/main.c, near the bottom:
panic("No init found. Try passing init= option to kernel. "
"See Linux Documentation/init.txt for guidance.");
so either the kernel finds one of those four programs to execute, or
your boot fails. how your system chooses to implement the "init"
process (sysv init, upstart, or whatever) is a different issue.