[U-Boot] bootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt"

Wolfgang Denk wd at denx.de
Mon Mar 29 14:32:25 CEST 2010


Dear Heiko Schocher,

In message <4BB08BE4.801 at denx.de> you wrote:
> Booting a "Multi-File Image" including a linux kernel, ramdisk and
> fdt, generated with
> 
> mkimage -A ppc \
>     -O linux \
>     -T multi \
>     -C gzip \
>     -a 00000000 \
>     -e 00000000 \
>     -n "kernel-2.6+initrd+dtb" \
>     -d "vmlinux.bin.gz:ramdisk_image.gz:board.dtb" \
>     multi.bin
> 
> actually fails, because ramdisk start and end addresses
> didn;t get initialized. This patch fixes this issue.
> 
> Tested on the KUP4K board.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
>  common/cmd_bootm.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

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
A witty saying proves nothing, but saying  something  pointless  gets
people's attention.


More information about the U-Boot mailing list