主题 : 请教:qq2440 linux 开机自动运行的led-player对应的跑马灯程序在什么位置 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 162
精华: 0
发帖: 17
金钱: 125 两
威望: 21 点
综合积分: 34 分
注册时间: 2008-02-25
最后登录: 2013-12-18
楼主  发表于: 2008-04-08 17:41

 请教:qq2440 linux 开机自动运行的led-player对应的跑马灯程序在什么位置

请教:qq2440 linux 开机自动运行的led-player对应的跑马灯程序在什么位置,

如何设置自动运行,(make之前设置)

tks
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-04-08 17:48
看/etc/rc.d/init.d/leds,该脚本在/etc/init.d/rcS里调用,开机自动运行
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 162
精华: 0
发帖: 17
金钱: 125 两
威望: 21 点
综合积分: 34 分
注册时间: 2008-02-25
最后登录: 2013-12-18
2楼  发表于: 2008-04-08 18:15
谢谢你的回复

这段话我看了,是手册里的,是linux运行后,再设置的方法

想知道在linux make之前把程序放什么位置(什么目录),自动运行怎么设置,在make之前怎么做会看到这些init.d的东西,而对应运行相应的程序!
[ 此贴被richgene在2008-04-08 20:09重新编辑 ]
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-04-08 22:01
1. 没有"linux make”这样的命令,如果有,请告诉我它完成什么事情
2. /etc/init.d/下所有的脚本都是"人"写的,脚本里调用文件系统里什么地方的什么脚本也是"人"决定的
3. 你可以解开光盘上提供的root_qtopia_*.tgz这样的文件系统压缩包,按照你的需要修改或者添加脚本和可执行档然后用mkyaffs这样的命令重新生成文件系统image下载到开发板的Flash里。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 162
精华: 0
发帖: 17
金钱: 125 两
威望: 21 点
综合积分: 34 分
注册时间: 2008-02-25
最后登录: 2013-12-18
4楼  发表于: 2008-04-08 22:17
tks very much 更钦佩版主的耐心
明白了,这个弯扰的,
下面研究root_qtopia_*.tgz
[ 此贴被richgene在2008-04-08 22:23重新编辑 ]
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-04-08 22:37
引用第4楼richgene于2008-04-08 22:17发表的  :
tks very much 更钦佩版主的耐心
明白了,这个弯扰的,
下面研究root_qtopia_*.tgz


耐心?对着小孩子,没办法啊
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 162
精华: 0
发帖: 17
金钱: 125 两
威望: 21 点
综合积分: 34 分
注册时间: 2008-02-25
最后登录: 2013-12-18
6楼  发表于: 2008-04-08 23:51
引用第5楼kasim于2008-04-08 22:37发表的  :


耐心?对着小孩子,没办法啊


顺风再问个问题,linux下有没有类似于window下dnw的程序,在bootloader下可以有比较高的速度下载程序的方法,jflash太慢了,
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2008-04-09 07:27
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."