qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-6.0?] hw/arm/imx25_pdk: Fix error message for invalid RAM


From: Richard Henderson
Subject: Re: [PATCH-for-6.0?] hw/arm/imx25_pdk: Fix error message for invalid RAM size
Date: Wed, 7 Apr 2021 15:59:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/7/21 3:56 PM, Philippe Mathieu-Daudé wrote:
The i.MX25 PDK board has 2 banks for SDRAM, each can
address up to 256 MiB. So the total RAM usable for this
board is 512M. When we ask for more we get a misleading
error message:

   $ qemu-system-arm -M imx25-pdk -m 513M
   qemu-system-arm: Invalid RAM size, should be 128 MiB

Update the error message to better match the reality:

   $ qemu-system-arm -M imx25-pdk -m 513M
   qemu-system-arm: RAM size more than 512 MiB is not supported

Fixes: bf350daae02 ("arm/imx25_pdk: drop RAM size fixup")
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  hw/arm/imx25_pdk.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]