Comment 16 for bug 570588

Revision history for this message
Peter Maydell (pmaydell) wrote :

I wrote:
"The physical memory map on versatile hardware does not allow more than 256MB of space for RAM. The bug here is just that qemu should exit with a helpful error message"

...and I've just submitted the following two patches upstream which implement this:

http://patchwork.ozlabs.org/patch/87807/
http://patchwork.ozlabs.org/patch/87806/

so passing '-M versatilepb -m 512' to qemu-system-arm results in it failing cleanly with the message:
qemu: maximum permitted RAM size for 'versatilepb' is 256M