Autoload standalone programs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autoload standalone programs

373 Views
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 Kudos
1 Reply

227 Views
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 Kudos