Commit 9d313618866de521786b219e61dadcce73a46d84

Authored by Lubomir Rintel
Committed by Tom Rini
1 parent 15b51878be

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 <lkundrak@v3.sk>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/configs/rpi-common.h
... ... @@ -173,6 +173,7 @@
173 173 */
174 174 #define ENV_MEM_LAYOUT_SETTINGS \
175 175 "fdt_high=ffffffff\0" \
  176 + "initrd_high=ffffffff\0" \
176 177 "fdt_addr_r=0x00000100\0" \
177 178 "pxefile_addr_r=0x00100000\0" \
178 179 "kernel_addr_r=0x01000000\0" \