From patchwork Thu Feb 24 11:22:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Hoyes X-Patchwork-Id: 4215 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC339C433EF for ; Thu, 24 Feb 2022 11:24:05 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.9082.1645701845102314905 for ; Thu, 24 Feb 2022 03:24:05 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: peter.hoyes@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B6DE7106F; Thu, 24 Feb 2022 03:24:04 -0800 (PST) Received: from e125920.cambridge.arm.com (unknown [10.1.199.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2D30C3F70D; Thu, 24 Feb 2022 03:24:04 -0800 (PST) From: Peter Hoyes To: meta-arm@lists.yoctoproject.org Cc: diego.sueiro@arm.com, Peter Hoyes Subject: [PATCH honister 5/8] arm-bsp/kernel: Use 4 Gb of RAM in fvp-baser-aemv8r64 Date: Thu, 24 Feb 2022 11:22:41 +0000 Message-Id: <20220224112244.1521611-6-peter.hoyes@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220224112244.1521611-1-peter.hoyes@arm.com> References: <20220224112244.1521611-1-peter.hoyes@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 24 Feb 2022 11:24:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3053 From: Peter Hoyes The FVP default configuration has bp.dram_size=4, which is sufficient for development and testing purposes, so remove the FVP_CONFIG override and set to 4 Gb in the device tree. Issue-Id: SCM-3871 Signed-off-by: Peter Hoyes Change-Id: I4a96062c9e94d36f5459f33c86aab4d4885bab43 --- meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf | 1 - .../linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf b/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf index c190e4c..cfbc73d 100644 --- a/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf +++ b/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf @@ -39,7 +39,6 @@ FVP_CONSOLE ?= "terminal_0" FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic" FVP_CONFIG[bp.dram_metadata.init_value] ?= "0" FVP_CONFIG[bp.dram_metadata.is_enabled] ?= "true" -FVP_CONFIG[bp.dram_size] ?= "8" FVP_CONFIG[bp.exclusive_monitor.monitor_access_level] ?= "1" FVP_CONFIG[bp.pl011_uart0.unbuffered_output] ?= "1" FVP_CONFIG[bp.pl011_uart0.untimed_fifos] ?= "true" diff --git a/meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts b/meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts index 4d6640a..a5078f2 100644 --- a/meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts +++ b/meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts @@ -13,7 +13,7 @@ #size-cells = <0x2>; device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>, - <0x00000008 0x80000000 0x1 0x80000000>; + <0x00000008 0x80000000 0x0 0x80000000>; }; cpus {