[U-Boot-Users] scripting in u-boot

Wolfgang Denk wd at denx.de
Thu Apr 24 09:23:50 CEST 2003


Hi,

in message <903E17B6FF22A24C96B4E28C2C0214D7B2B73E at sr-bng-exc01.int.tsbu.net> you wrote:
>
>        i wanted to know if using scripts is possible in u-boot.if yes how???

Yes, it is possible.

Wite a text file containing your script and use the  mkimage  command
with option "-T script" to convert it into a script image.

> where do we store a script file coz we dont have a file system???how to run
> the script???etc..

Store it in flash like any other kernel or ramdisk image.
Run it using the "autoscr" command.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
A penny saved is a penny to squander.
- Ambrose Bierce




More information about the U-Boot mailing list