diff mbox

[U-Boot] ARM: rpi: set initrd_high

Message ID 1455474204-827-1-git-send-email-lkundrak@v3.sk
State Accepted
Commit 9d313618866de521786b219e61dadcce73a46d84
Delegated to: Tom Rini
Headers show

Commit Message

Lubomir Rintel Feb. 14, 2016, 6:23 p.m. UTC
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>
---
 include/configs/rpi-common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Warren Feb. 14, 2016, 7:30 p.m. UTC | #1
On 02/14/2016 11:23 AM, Lubomir Rintel wrote:
> 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).

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tom Rini Feb. 15, 2016, 10:35 p.m. UTC | #2
On Sun, Feb 14, 2016 at 07:23:24PM +0100, Lubomir Rintel wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 48f5fc2..97e5d2c 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" \