qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] extensions to the -m memory option


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] extensions to the -m memory option
Date: Fri, 29 May 2015 13:08:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


On 29/05/2015 00:11, Liviu Ionescu wrote:
> for more flexibility, in the new Cortex-M implementation I'm working on, I 
> can overwrite the vendor defined MCU internal SRAM size by using: 
> 
>       -m sizeK
> 
> I'm trying to find a way to also overwrite the internal flash size and the 
> first idea I had was to extend the "-m" command like:
> 
>       -m sizeK,flash=sizeK
> 
> would this be ok? 
> 
> for more readability I would prefer something like:
> 
>       --memory ram=sizeK,flash=sizeK
> 
> any other suggestions?

If the flash is persistent, it should be tied to either "-pflash" (NOR)
or "-mtd" (NAND).  Just using a different image then results in resizing
the flash.

Paolo



reply via email to

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