[PATCH 1/1] configs: qemu-riscv raise CONFIG_NR_DRAM_BANKS
Leo Liang
ycliang at andestech.com
Tue Apr 8 13:38:56 CEST 2025
On Thu, Apr 03, 2025 at 04:28:16PM +0200, Heinrich Schuchardt wrote:
> The number of memory banks in QEMU is not bounded by 1.
>
> In this example we have two banks:
>
> qemu-system-riscv64 \
> -machine virt \
> -nographic \
> -m 8192 \
> -smp 8,sockets=2,cores=4,threads=1 \
> -numa node,cpus=0-3,mem=4096 \
> -numa node,cpus=4-7,mem=4096 \
> -kernel u-boot
>
> As we will see RISC-V NUMA systems using U-Boot
> we should be able to emulate these.
>
> Use the default value defined in /Kconfig as 4.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> configs/qemu-riscv32_defconfig | 1 -
> configs/qemu-riscv32_smode_defconfig | 1 -
> configs/qemu-riscv32_spl_defconfig | 1 -
> configs/qemu-riscv64_defconfig | 1 -
> configs/qemu-riscv64_smode_defconfig | 1 -
> configs/qemu-riscv64_spl_defconfig | 1 -
> 6 files changed, 6 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list