Autoload standalone programs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Autoload standalone programs

785 次查看
garimella
Contributor I

I was able to successfully run standalone applications located at examples/standalone folder on my mpc8309 board.

1)But every time I have to download *.srec file to the target. Is there a method to autorun my application without the downloads and the go command?

2)The example hello world.c compiles along with uboot, is there a way to compile outside uboot.Looked at forums and even ran the makefile in standalone folder, but does not compile. I was also dabbling with ./ltib -m shell, but without success

0 项奖励
回复
1 回复

639 次查看
Pavel
NXP Employee
NXP Employee

a) Burn binary code of your program to the Flash.

b) Prepare script for "go" command for your program. See the following pages:

http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec#Section_5.9.4.1.

and

http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec#Section_5.9.4.3.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复