From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: XEN[ARM] Master not working on Allwinner A20 Date: Sun, 05 Jan 2014 20:23:37 +0000 Message-ID: <52C9BF49.9010303@linaro.org> References: <1387188577.20076.44.camel@kazak.uk.xensource.com> <1387199654.10247.30.camel@kazak.uk.xensource.com> <52B05913.2080300@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "karim.allah.ahmed@gmail.com" Cc: Julien Grall , peter , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Karim, On 01/05/2014 04:48 PM, karim.allah.ahmed@gmail.com wrote: > It's failing because none of the zones has a contiguous memory block > with an order bigger than 15 ( 128M ). I think this is due to the > alignment of the phys_start with buddy system in cubieboard, I'll look > further and let you know if there's a cleaner approach to fix that. Currently we support only one memory bank for dom0 when the 1:1 mapping is enabled. This solution is not reliable because it will depends where U-boot has loaded modules (kernel, initramfs, dtb,...) in the RAM. The proper solution would be to support multiple banks for dom0. When Xen will allocate dom0 memory, it will split the total amount of RAM in small chunk, so it will likely be able to allocate the memory correctly, even with the 1:1 mapping. Sincerely yours, -- Julien Grall