qemu-ppc
[Top][All Lists]
Advanced

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

Re: Can't set memory size big enough for machine ppce500


From: Greg Kurz
Subject: Re: Can't set memory size big enough for machine ppce500
Date: Fri, 8 Jan 2021 09:21:13 +0100

On Thu, 7 Jan 2021 14:46:05 -0800
David VomLehn <dvomlehn@masten.aero> wrote:

> I'm new enough to qemu that there may be an obvious answer, but I don't
> know what it would be. I'm trying to use the ppce500 machine and the e500v2
> processor. I want to be able to allocate enough memory so that I can use
> the default PowerPC Linux kernel location of 0xc0000000. I would think the
> following would do this:
> 
> qemu-system-ppc -cpu e500v2 -machine ppce500 -s -S -no-reboot -no-shutdown
> -nogr
> aphic -dtb
> xes-linux/XPedite5550/FactoryImages/dtb-XPedite5550-1457-5.4.47-xes_r
> 2 -m 4096 -kernel buildroot/output/build/linux-custom/vmlinux
> 
> Instead, I only get 0x10000000 bytes of memory. Can QEMU do what I want to
> do and, if so, how is it done?

Default unit for -m is megabytes:

4096M == 4026 * 1024 * 1024 == 0x10000000

So everything is fine here and 4G is largely enough to run
linux.

The address where the kernel is mapped is a virtual address. It has
nothing to do with the available memory.

What issue are you facing ?


> --
> David VL




reply via email to

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