From 28c7475b173da46bab8f4254447d92734818d440 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 27 Mar 2024 09:14:24 +0100 Subject: [PATCH] aarch64/xilinx-zynqmp: Relocate RAM area Use first 1GiB of the DDR RAM with the exception of a potential 64KiB NULL pointer protection area by default. The upper part of the DDR RAM may be used by the RPU or for dynamic memory. --- .../bsps/aarch64/xilinx-zynqmp/optramlen.yml | 9 ++++++--- .../bsps/aarch64/xilinx-zynqmp/optramori.yml | 15 ++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml index 9f488afd10..38022db38b 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml @@ -1,17 +1,20 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - get-integer: null -- assert-uint32: null +- assert-uint64: null - env-assign: null - format-and-define: null build-type: option copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG - Copyright (C) 2020 On-Line Applications Research (OAR) default: - enabled-by: true - value: 0x10000000 + value: 0x3fff0000 description: | - length of memory area available to the BSP + This option defines the length in bytes of the DDR memory area which is + statically available to the application. The default value takes a NULL + pointer protection are of 64KiB sizea into account. enabled-by: true format: '{:#010x}' links: [] diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml index 33f0946532..09377de9d5 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml @@ -1,23 +1,20 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - get-integer: null -- assert-uint32: null +- assert-uint64: null - env-assign: null - format-and-define: null build-type: option copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG - Copyright (C) 2020 On-Line Applications Research (OAR) default: -- enabled-by: - - aarch64/xilinx_zynqmp_lp64_a53 - - aarch64/xilinx_zynqmp_ilp32_zu3eg - - aarch64/xilinx_zynqmp_lp64_cfc400x - - aarch64/xilinx_zynqmp_lp64_zu3eg - value: 0x10000000 - enabled-by: true - value: 0x40018000 + value: 0x00010000 description: | - base address of memory area available to the BSP + This option defines the base address of the DDR memory area which is + statically available to the application. The default value takes a NULL + pointer protection area of 64KiB size into account. enabled-by: true format: '{:#010x}' links: []