]> git.ipfire.org Git - people/ms/u-boot.git/commit
mkimage : Fix generating multi and script images
authorPhilippe De Swert <philippedeswert@gmail.com>
Thu, 3 Dec 2015 22:11:23 +0000 (00:11 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:35 +0000 (18:22 -0500)
commit6ae6e16005252dbca0b4a06beea1be895df48e16
tree34f64659ccfe139f46906f18fb5c012a0a28d787
parente9acb9ea430e3638f1306993b10a10385092b20a
mkimage : Fix generating multi and script images

Seems 92a655c3 broke creating multi and script type images.
Since the file1:file2:file3 string does not get split up,
it fails on trying to open an non-existing file.

mkimage -A arm -O linux -T multi -C none -d zImage:splash.bmp:device.dtb uimage
tools/mkimage: Can't open zImage:splash.bmp:device.dtb: No such file or directory

Since the sizes of the different parts seem to get added in the actual
routine that handles multi and script type images, we can probably skip the
bit of the code that causes the failure for that type of images.

Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>
tools/mkimage.c