]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lsxl: use default load addresses for legacy boot
authorMichael Walle <michael@walle.cc>
Sun, 8 Feb 2015 19:06:05 +0000 (20:06 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:50:44 +0000 (13:50 +0200)
The load addresses for the bootcmd_legacy script were taken from the
original bootloader from Buffalo. But newer kernels are too big and the
uncompressing will overwrite parts of the initial ramdisk. Therefore,
we switch to the load addresses which are also used by the other boot
script.

Signed-off-by: Michael Walle <michael@walle.cc>
include/configs/lsxl.h

index a14bfe3a85a22e1c48a7c161c54a9e54dcdfd1b2..6c8e369861a9e0b7f83ab33be411922efd594b29 100644 (file)
        "ramdisk_addr=0x01000000\0"                                     \
        "fdt_addr=0x01ff0000\0"                                         \
        "bootcmd_legacy=ide reset "                                     \
-               "&& load ide ${hdpart} 0x00100000 /uImage.buffalo "     \
-               "&& load ide ${hdpart} 0x00800000 /initrd.buffalo "     \
-               "&& bootm 0x00100000 0x00800000\0"                      \
+               "&& load ide ${hdpart} ${kernel_addr} /uImage.buffalo " \
+               "&& load ide ${hdpart} ${ramdisk_addr} /initrd.buffalo "\
+               "&& bootm ${kernel_addr} ${ramdisk_addr}\0"             \
        "bootcmd_net=bootp ${kernel_addr} uImage "                      \
                "&& tftpboot ${ramdisk_addr} uInitrd "                  \
                "&& tftpboot ${fdt_addr} " CONFIG_FDTFILE " "           \