From 9d313618866de521786b219e61dadcce73a46d84 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 14 Feb 2016 19:23:24 +0100 Subject: [PATCH] ARM: rpi: set initrd_high The kernel gets much too sad when the ramdisk is loaded too high into the 1GiB of memory on Raspberry Pi 2: ## Flattened Device Tree blob at 00000100 Booting using the fdt blob at 0x000100 Loading Ramdisk to 39c14000, end 3ab45067 ... OK Using Device Tree in place at 00000100, end 000045ea ... [ 0.599346] Unpacking initramfs... [ 0.602924] Unable to handle kernel paging request at virtual address f9c14000 Placement of the device tree was fixed in 89ca1000 (ARM: rpi: set fdt_high in the default environment). Signed-off-by: Lubomir Rintel Acked-by: Stephen Warren --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h index 48f5fc2d03..97e5d2c795 100644 --- a/include/configs/rpi-common.h +++ b/include/configs/rpi-common.h @@ -173,6 +173,7 @@ */ #define ENV_MEM_LAYOUT_SETTINGS \ "fdt_high=ffffffff\0" \ + "initrd_high=ffffffff\0" \ "fdt_addr_r=0x00000100\0" \ "pxefile_addr_r=0x00100000\0" \ "kernel_addr_r=0x01000000\0" \