diff options
author | Jan Čermák <sairon@sairon.cz> | 2025-04-30 19:15:35 +0200 |
---|---|---|
committer | Peter Robinson <pbrobinson@gmail.com> | 2025-06-15 12:54:34 +0100 |
commit | 0cd85170cfbe843c0927305ecabc9f772a76f58c (patch) | |
tree | 28cd786815736f55d1b1eecc32fc64a039e1f179 | |
parent | d7c449c3d83a986d61e38d1762433c0607caf5c5 (diff) |
configs: rpi: set NR_DRAM_BANKS to 8 to accommodate RAM on 16GB models
Raspberry Pi 5 can now have up to 16 GiB of RAM where the memory spans 8
DRAM banks in total. Increase the config value to 8 to initialize the
whole RAM. Without this change, kernel only sees 8 GiB of RAM on the 16
GiB CM5 as reported in [1].
[1] https://github.com/home-assistant/operating-system/issues/3989
Signed-off-by: Jan Čermák <sairon@sairon.cz>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
-rw-r--r-- | configs/rpi_arm64_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/rpi_arm64_defconfig b/configs/rpi_arm64_defconfig index 9fe5d177943..69e8e72c5d7 100644 --- a/configs/rpi_arm64_defconfig +++ b/configs/rpi_arm64_defconfig @@ -2,6 +2,7 @@ CONFIG_ARM=y CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_BCM283X=y CONFIG_TARGET_RPI_ARM64=y +CONFIG_NR_DRAM_BANKS=8 CONFIG_ENV_SIZE=0x4000 CONFIG_DEFAULT_DEVICE_TREE="bcm2711-rpi-4-b" CONFIG_OF_LIBFDT_OVERLAY=y |