]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt"
authorHeiko Schocher <hs@denx.de>
Mon, 29 Mar 2010 11:15:48 +0000 (13:15 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 29 Mar 2010 12:31:42 +0000 (14:31 +0200)
commit24de2f4be00f81c58270d0df47296bf3a3601cef
tree0b1a77a213b63a4f042b60e5aa47c3c5baecd0dc
parent2883cc2d48e99fd1873ef8af03fee7966611b735
bootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt"

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@denx.de>
common/cmd_bootm.c