[U-Boot-Users] autoscript?

Wolfgang Denk wd at denx.de
Fri Nov 29 12:14:29 CET 2002

Hi Steven,

in message <3DE74228.89AF6ED3 at imc-berlin.de> you wrote:
> how can a make an u-boot image that contains a kernel _and_ a script?

Well, _making_ the image is  easy.  the  mkimage  tool  will  happily
combine any files you pass to it into one multifile image (MFI).

But _using_ such  a  MFI  is  a  different  issue.  So  far,  PPCBoot
understands  only one format of MFIs, which consist of a Linux kernel
image as the first part and a ramdisk image as the second part.  This
is being handled buy the "bootm" command.

So far, there is no other support for MFIs.

> How is the syntax within the script?

A script is a text file containing commands. The syntax is  the  same
as  on the command line interface. Actually this is what happens: the
script will be passed to the command line interpreter, line by line.

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
The easiest way to figure the cost of living is to take  your  income
and add ten percent.

More information about the U-Boot mailing list