qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] arm_boot: Change initrd load address to "hal


From: Cole Robinson
Subject: Re: [Qemu-devel] [PATCH v2] arm_boot: Change initrd load address to "halfway through RAM"
Date: Tue, 30 Oct 2012 10:56:46 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1

On 10/26/2012 11:29 AM, Peter Maydell wrote:
> To avoid continually having to bump the initrd load address
> to account for larger kernel images, put the initrd halfway
> through RAM. This allows large kernels on new boards with lots
> of RAM to work OK, without breaking existing usecases for
> boards with only 32MB of RAM.
> 
> Note that this change fixes in passing a bug where we were
> passing an overly large max_size to load_image_targphys()
> for the initrd, which meant that we wouldn't correctly refuse
> to load an enormous initrd that didn't actually fit into RAM.
> 
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> Changes v1->v2: put initrd at min(128M, ram_size / 2)
> rather than just at ram_size / 2.

I confirmed this patch fixes the original problem reported here:

https://bugzilla.redhat.com/show_bug.cgi?id=862766

Thanks Peter!

Tested-by: Cole Robinson <address@hidden>

Thanks,
Cole



reply via email to

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