]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: rpi: set initrd_high
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 14 Feb 2016 18:23:24 +0000 (19:23 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Feb 2016 20:58:24 +0000 (20:58 +0000)
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>
include/configs/rpi-common.h

index 48f5fc2d0351fb28b0f4ed06c554d8adb557555f..97e5d2c795271d13bfbbb24ecadfd10d1b137d6e 100644 (file)
  */
 #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" \