]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lsxl: place the dtb below the inital ramdisk
authorMichael Walle <michael@walle.cc>
Sun, 8 Feb 2015 19:06:06 +0000 (20:06 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:50:44 +0000 (13:50 +0200)
The dtb was loaded at a memory address after the initial ramdisk. Thus a
large ramdisk would overwrite the dtb. Move it to "ramdisk_start - 64k".
64k should be enough for the device tree blob. Also the kernel
documentation arm/Booting suggests to put the dtb before the initial
ramdisk.

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

index 6c8e369861a9e0b7f83ab33be411922efd594b29..dff90250a01939d86e5cc6215a47298f924af2aa 100644 (file)
        "hdpart=0:1\0"                                                  \
        "kernel_addr=0x00800000\0"                                      \
        "ramdisk_addr=0x01000000\0"                                     \
-       "fdt_addr=0x01ff0000\0"                                         \
+       "fdt_addr=0x00ff0000\0"                                         \
        "bootcmd_legacy=ide reset "                                     \
                "&& load ide ${hdpart} ${kernel_addr} /uImage.buffalo " \
                "&& load ide ${hdpart} ${ramdisk_addr} /initrd.buffalo "\