ARM Linux上启动后运行应用程序的 [英] Run application program after linux bootup on ARM

查看:822
本文介绍了ARM Linux上启动后运行应用程序的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已加载引​​导程序和Linux移植对我的ARM处理器AM3892。现在我需要运行一个应用程序,但我没有任何控制台界面启动linux后,运行它。是否有可能,我的计划将尽快Linux将启动执行?请回复。
谢谢

I have loaded bootloader and ported linux on my ARM processor Am3892. Now i need to run one application program, but i don't have any console interface to run it after booting linux. Is there any possibility that my program will execute as soon as the linux will bootup? Please reply. Thank you

推荐答案

传递路径和应用程序名称,以内核为初始化引导参数,内核将只启动init进程本身(见:的 http://en.wikipedia.org/wiki/Linux_startup_process )。传统上,这个应用程序,然后开始处理守护程序,getty的,等等。

Pass the path and application name to the kernel as a boot parameter for init, the kernel will only start the init process itself (see: http://en.wikipedia.org/wiki/Linux_startup_process). Traditionally this application then handles starting daemons, geTTYs, etc.

大多数引导装载程序允许您指定为init程序的路径,作为在哪里可以找到内核配置的一部分。

Most boot loaders allow you to specify a path for the init app as part of the configuration for where to find the kernel.

例如。 /boot/vmlinuz-n.n.n的init = /路径/要/ app的

e.g. /boot/vmlinuz-n.n.n init=/path/to/theapp

如果你让我们知道你正在使用的引导装载程序之后,我们可以更具体。否则仰望如何Linux内核参数传递到您的引导加载程序。

If you let us know what boot loader you're using then perhaps we could more specific. Otherwise look up how to pass linux kernel arguments to your boot loader.

这篇关于ARM Linux上启动后运行应用程序的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆