diff mbox

[2/2] Samsung/Arndale: Linux booting problem in presence of initrd

Message ID 1360939206-26681-2-git-send-email-rony.nandy@linaro.org
State Accepted
Headers show

Commit Message

Rony Nandy Feb. 15, 2013, 2:40 p.m. UTC
From: Shivamurthy Shastri <shiva.murthy@samsung.com>

Linux was not able to boot with initrd. Resolved by increasing offset for FDT.

Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com>
Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
---
 SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Ryan Harkin Feb. 18, 2013, 9:46 a.m. UTC | #1
Thanks Rony/Shivamurthy,

I've applied this patch locally and I'll push it out later today with
some other changes.

On 15 February 2013 14:40, Rony Nandy <rony.nandy@linaro.org> wrote:
> From: Shivamurthy Shastri <shiva.murthy@samsung.com>
>
> Linux was not able to boot with initrd. Resolved by increasing offset for FDT.
>
> Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com>
> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
Test-by: Ryan Harkin <ryan.harkin@linaro.org>

> ---
>  SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc b/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
> index 6116f4e..a545e80 100755
> --- a/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
> +++ b/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
> @@ -104,9 +104,12 @@
>    gArmTokenSpaceGuid.PcdFdSize|0x00200000              # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
>
>    # System Memory (256MB)
> -  gArmTokenSpaceGuid.PcdSystemMemoryBase|0x50000000 #0x40000000
> +  gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000
>    gArmTokenSpaceGuid.PcdSystemMemorySize|0x50000000
>
> +  #FDT offset
> +  gArmTokenSpaceGuid.PcdArmLinuxFdtMaxOffset|0x9000000
> +
>    # Size of the region used by UEFI in permanent memory (Reserved 64MB)
>    gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
>
> --
> 1.8.1.1
>
diff mbox

Patch

diff --git a/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc b/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
index 6116f4e..a545e80 100755
--- a/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
+++ b/SamsungPlatformPkg/ArndaleBoardPkg/arndale-Exynos5250.dsc
@@ -104,9 +104,12 @@ 
   gArmTokenSpaceGuid.PcdFdSize|0x00200000              # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
 
   # System Memory (256MB)
-  gArmTokenSpaceGuid.PcdSystemMemoryBase|0x50000000 #0x40000000
+  gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000
   gArmTokenSpaceGuid.PcdSystemMemorySize|0x50000000
 
+  #FDT offset
+  gArmTokenSpaceGuid.PcdArmLinuxFdtMaxOffset|0x9000000
+
   # Size of the region used by UEFI in permanent memory (Reserved 64MB)
   gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000