hi 高手们
每次我上电启动dm365后,都需要输入“root”才能运行demo,是否有方法可以在上电后不用输入root,直接可以运行demo呢?谢谢
环境:DM365开发板 dvsdk_dm365_4_02_00_06,linux-2.6.32.17-psp03.01.01.39
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi 高手们
每次我上电启动dm365后,都需要输入“root”才能运行demo,是否有方法可以在上电后不用输入root,直接可以运行demo呢?谢谢
环境:DM365开发板 dvsdk_dm365_4_02_00_06,linux-2.6.32.17-psp03.01.01.39
谢谢您的回复,可能是我表达不清楚,我只想免除输入root,对于demo的运行还是手动运行,不能上电后直接运行。
Louis 说:你好,
可以通过修改Linux启动脚本来自动启动demo,应该可以查询etc/inittab以及在对应的rcX.d下增加启动demo的脚本。
linux的问题,建议直接google之。
如 ‘linux 自动登录’ 之类的
已经解决了。
在etc/inittab中添加如下语句:
S1:2345:respawn:/bin/bsh ----》避开root
p1:2345:respawn:/davincibin/capture_prev_rsz_onthe_fly_bayer_mew -i1 -m4 ----》自动启动应用程序