From 375ae68e8dbd920f6e8b6ae5cebd40f1ae45350d Mon Sep 17 00:00:00 2001 From: Harry Liebel Date: Mon, 18 Nov 2013 16:05:21 +0000 Subject: [PATCH] Increase default amount of RAM for Base FVPs in FDTs - Large RAM-disks may have trouble starting with 2GB of memory. - Increase from 2GB to 4GB in FDT. Change-Id: I12c1b8e5db41114b88c69c48621cb21247a6a6a7 --- docs/change-log.md | 4 ++++ docs/user-guide.md | 4 ---- fdts/fvp-base-gicv2-psci.dtb | Bin 9061 -> 9077 bytes fdts/fvp-base-gicv2-psci.dts | 4 +--- fdts/fvp-base-gicv2legacy-psci.dtb | Bin 9061 -> 9077 bytes fdts/fvp-base-gicv2legacy-psci.dts | 4 +--- fdts/fvp-base-gicv3-psci.dtb | Bin 9528 -> 9544 bytes fdts/fvp-base-gicv3-psci.dts | 4 +--- 8 files changed, 7 insertions(+), 13 deletions(-) diff --git a/docs/change-log.md b/docs/change-log.md index 61499c78..ee9be775 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -20,6 +20,10 @@ Detailed changes since last release * Unmask SError and Debug exceptions in the trusted firmware. Also route external abort and SError interrupts to EL3. +* The amount of physical RAM available to Linux as specified in the FDTs for + Base FVPs have been increased from 2GB to 4GB. This resolves the issue of + failing to start user-space when using a RAM-disk file-system. + ARM Trusted Firmware - version 0.2 ================================== diff --git a/docs/user-guide.md b/docs/user-guide.md index 45e850b2..2c7439a7 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -338,10 +338,6 @@ To prepare a VirtioBlock file-system, do the following: ##### Prepare RAM-disk -NOTE: The RAM-disk option does not currently work with the Linux kernel version -described above; use the VirtioBlock method instead. For further information -please see the "Known issues" section in the [Change Log]. - To prepare a RAM-disk root file-system, do the following: 1. Download the file-system image: diff --git a/fdts/fvp-base-gicv2-psci.dtb b/fdts/fvp-base-gicv2-psci.dtb index bfb27106f6f791613c0c4b114408249c83e93165..5bfdcf1da5e6b0c0a7b5771a744a13eb08bc39ee 100644 GIT binary patch delta 61 zcmaFr_SH?`0`I@K3=GPp3=9k&3=9erCJKl%dTi9lXO&a{3Uvc9Lj#Baf(9_jz_ED& H>rq(%@lFjR delta 45 ycmezB_S8+_0`I@K3=GPt3=9k&3=9el69vQ>EjDW8vvLXmg}Q;5Ve; - /* + reg = <0x00000000 0x80000000 0 0x80000000>, <0x00000008 0x80000000 0 0x80000000>; - */ }; gic: interrupt-controller@2f000000 { diff --git a/fdts/fvp-base-gicv2legacy-psci.dtb b/fdts/fvp-base-gicv2legacy-psci.dtb index 227c16173d8f72ffe9172b9ca0976258665062c6..db17e980623c34eea37249373decccb09daa2736 100644 GIT binary patch delta 61 zcmaFr_SH?`0`I@K3=GPp3=9k&3=9erCJKl%dTi9lXO&a{3Uvc9Lj#Baf(9_jz_ED& H>rq(%@lFjR delta 45 ycmezB_S8+_0`I@K3=GPt3=9k&3=9el69vQ>EjDW8vvLXmg}Q;5Ve; - /* + reg = <0x00000000 0x80000000 0 0x80000000>, <0x00000008 0x80000000 0 0x80000000>; - */ }; gic: interrupt-controller@2c001000 { diff --git a/fdts/fvp-base-gicv3-psci.dtb b/fdts/fvp-base-gicv3-psci.dtb index 5198cc7ea75ff7b6c0bf78a95f8311da3d247d22..52f251b88d76668d967dfb1a07dc006e076dd366 100644 GIT binary patch delta 71 zcmdntb;3*F0`I@K3=FCs3=9lFtQ0a)K#X092gqY+nEakoW}~MctE2*u*9{f|5kSxY NCK)(3FJPS^4*+7V4pRUC delta 55 zcmX@%wZlu`0`I@K3=FCk3=9k&3=B#x69vTB75@Nv3=Nb2bINS=^kd}|0P?y)LYp_R H&X5NHv(OG2 diff --git a/fdts/fvp-base-gicv3-psci.dts b/fdts/fvp-base-gicv3-psci.dts index 8bafe267..c51a6724 100644 --- a/fdts/fvp-base-gicv3-psci.dts +++ b/fdts/fvp-base-gicv3-psci.dts @@ -115,10 +115,8 @@ memory@80000000 { device_type = "memory"; - reg = <0x00000000 0x80000000 0 0x80000000>; - /* + reg = <0x00000000 0x80000000 0 0x80000000>, <0x00000008 0x80000000 0 0x80000000>; - */ }; gic: interrupt-controller@2f000000 { -- 2.30.2