Booting automatically a binary image
Hi list,
I'd like to know how to configure u-boot in order to boot automatically a binary image, so when i reset my board i can get my program running. What code is important in order to do it? or where can i get a reference?
Regards,
Ivan Llopard.
Dear Ivan Llopard,
Quoted 4 lines · In message <[email protected]> you…
I'd like to know how to configure u-boot in order to boot automatically a binary image, so when i reset my board i can get my program running. What code is important in order to do it? or where can i get a reference?
I suggest you start reading the manual, see
http://www.denx.de/wiki/DULG/Manual
Pay special attention to the parts that describe the use of environment variables, and there especially the sections about the "bootcmd" variable. It may also help to read about the "setenv" and "saveenv" commands.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I'm frequently appalled by the low regard you Earthmen have for life. -- Spock, "The Galileo Seven", stardate 2822.3
Thanks Wolfgang, i'll take a look.
2009/10/14 Wolfgang Denk <[email protected]>
Quoted 28 lines
Dear Ivan Llopard,
In message <[email protected]>
Quoted 4 lines · you
I'd like to know how to configure u-boot in order to boot automatically a binary image, so when i reset my board i can get my program running. What code is important in order to do it? or where can i get a reference?
I suggest you start reading the manual, see
http://www.denx.de/wiki/DULG/ManualPay special attention to the parts that describe the use of environment variables, and there especially the sections about the "bootcmd" variable. It may also help to read about the "setenv" and "saveenv" commands.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I'm frequently appalled by the low regard you Earthmen have for life.-- Spock, "The Galileo Seven", stardate 2822.3