[U-Boot] [PATCH 2/3] lsxl: place the dtb below the inital ramdisk

Michael Walle michael at walle.cc
Sun Feb 8 20:06:06 CET 2015


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 at walle.cc>
---
 include/configs/lsxl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index 6c8e369..dff9025 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -125,7 +125,7 @@
 	"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 "\
-- 
2.1.4



More information about the U-Boot mailing list