]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
AM335X: Set fdt_high for AM335X devices to enable booting with Device Tree
authorhvaibhav@ti.com <hvaibhav@ti.com>
Tue, 18 Sep 2012 09:26:05 +0000 (09:26 +0000)
committerTom Rini <trini@ti.com>
Thu, 7 Feb 2013 15:36:26 +0000 (10:36 -0500)
For AM335X boards, such as the EVM and Bone Linux kernel fails to
locate the device tree blob on boot. The reason being is that
u-boot is copying the DT blob to the upper part of RAM when booting
the kernel and the kernel is unable to access the blob.
By setting the fdt_high variable to 0xffffffff (to prevent the copy)
the kernel is able to locate the DT blob and boot.

This patch is tested on BeagleBone platform.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Tom Rini <trini@ti.com>
include/configs/am335x_evm.h

index 72459d859d18e5e1c8a7ecc7a9d71113e54607f0..33ee2c49d5b685adf94340a71e9dc7d89d3e4dee 100644 (file)
@@ -52,6 +52,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x80200000\0" \
        "fdtaddr=0x80F80000\0" \
+       "fdt_high=0xffffffff\0" \
        "rdaddr=0x81000000\0" \
        "bootfile=/boot/uImage\0" \
        "fdtfile=\0" \