[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2] hw/arm/boot: Increase compliance with kernel a
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v2] hw/arm/boot: Increase compliance with kernel arm64 boot protocol |
Date: |
Fri, 19 Oct 2018 11:59:33 +0100 |
On 16 October 2018 at 16:06, Stewart Hildebrand
<address@hidden> wrote:
> "The Image must be placed text_offset bytes from a 2MB aligned base
> address anywhere in usable system RAM and called there."
>
> For the virt board, we write our startup bootloader at the very
> bottom of RAM, so that bit can't be used for the image. To avoid
> overlap in case the image requests to be loaded at an offset
> smaller than our bootloader, we increment the load offset to the
> next 2MB.
>
> This fixes a boot failure for Xen AArch64.
>
> Signed-off-by: Stewart Hildebrand <address@hidden>
> ---
Applied to target-arm.next, thanks. I rephrased the comment a bit,
since this isn't a virt-board specific issue.
-- PMM