diff options
author | Dirk Behme <dirk.behme@de.bosch.com> | 2012-01-13 03:49:24 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-12 13:11:26 +0400 |
commit | 7e9603e74ef95a0900771d63ba499b3e80300e55 (patch) | |
tree | 461c7459ba5b5f58e5a486fad76484aa16df931f /include/configs/mx6qsabrelite.h | |
parent | 8e7d7b6b250cc123555d0250abef0e22b5770467 (diff) | |
download | u-boot-7e9603e74ef95a0900771d63ba499b3e80300e55.tar.xz |
i.mx6q: configs: Add fdt_high and initrd_high variables
To be able to load the device tree and initrd correctly, set
the fdt_high and initrd_high environment variables.
Using 0xffffffff implies that the device tree and the initrd
are initially copied to working addresses. This will avoid an
additional copy.
Loading the device tree to 0x30000000 and the initrd to 0x3c000000
should work for both boards, the ARM2 and SabreLite.
Example (SabreLite):
fatload mmc 0:2 0x10000000 uImage
fatload mmc 0:2 0x3c000000 uInitrd
fatload mmc 0:2 0x30000000 board.dtb
bootm 0x10000000 0x3c000000 0x30000000
Note: This requires that the kernel has CONFIG_HIGHMEM enabled.
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
CC: Jason Liu <jason.hui@linaro.org>
CC: Stefano Babic <sbabic@denx.de>
Acked-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'include/configs/mx6qsabrelite.h')
-rw-r--r-- | include/configs/mx6qsabrelite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 464f0ec650..ba09f15a73 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -78,6 +78,8 @@ "script=boot.scr\0" \ "uimage=uImage\0" \ "console=ttymxc3\0" \ + "fdt_high=0xffffffff\0" \ + "initrd_high=0xffffffff\0" \ "mmcdev=0\0" \ "mmcpart=2\0" \ "mmcroot=/dev/mmcblk0p3 rootwait rw\0" \ |