wd at denx.de
Fri Nov 29 12:34:46 CET 2002
In message <3DE74E8B.B8B12592 at imc-berlin.de> you wrote:
> > Well, _making_ the image is easy. the mkimage tool will happily
> > combine any files you pass to it into one multifile image (MFI).
> I thought I've seen a command line option for "mkimage" saying something about
Sure. You can build a script image.
But your original question was how to "make an u-boot image that
contains a kernel _and_ a script". That would be a MFI, and there is
no script support for MFIs.
> Than how should I understand the following lines from
You can run a script image. This is an image that contains ONLY the
> Is this actually a multi step solution?
> First download the script, then download the binary data (e.g. kernel image) and
> then execute the script?
No. But you cannot combine a Linux kernel and a script in a single
MFI (yet). Or actually you can, but you canot make any use of such an
> Normally the board boots from flash (in detail: pImage is stored on a JFFS2
> partition, which serves as the root fs as well).
> But in the case that no (valid) pImage is found, I would like ppcboot (sorry,
> still using this) to automagically download a whole pFlashdisk image and burn
> that to the flash. So I thougth about using an MFI (containing the data and the
> update script) that gets downloaded...
Use the update script to download and install the kernel image, then.
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Old programmers never die, they just branch to a new address.
More information about the U-Boot