2009-12-21 16:26:17 How can I autorun my applications?
Jianxi Fu (UNITED STATES)
Message: 83802
Hi,
I go through the website
docs.blackfin.uclinux.org/doku.php?id=adding_user_applications
And know that I can add my own applicaiton to uImage file?
Moreover, I want this application autorun after uboot load the uImage,
How can I finish this step?
Jianxi
QuoteReplyEditDelete
2009-12-21 16:29:21 Re: How can I autorun my applications?
Mike Frysinger (UNITED STATES)
Message: 83803
use /etc/rc or /etc/inittab
QuoteReplyEditDelete
2009-12-22 13:32:52 Re: How can I autorun my applications?
Jianxi Fu (UNITED STATES)
Message: 83844
Dear Mike,
Could you tell me some detail instruction?
I tried but I failed.
What I did is following:
1. I modified romfs/etc/rc (or /etc/inittab) , add "/bin/hello"
2. make romfs, make image, make
3. Use new uImage, but failed
4. Then I check romfs/etc/rc & romfs/etc/inittab 2 files, and found them recover back without changing
I think there may be some procedure during makefile rewrite this two files, am I right?
Looking forward for your response.
Sincerely
Jianxi
QuoteReplyEditDelete
2009-12-22 14:18:25 Re: How can I autorun my applications?
Mike Frysinger (UNITED STATES)
Message: 83846
files in romfs/ get overwritten with the ones from your board config dir. so update those instead. look under vendors/.