[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v5] Support u-boot noload images for arm as used b
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v5] Support u-boot noload images for arm as used by, NetBSD/evbarm GENERIC kernel. |
Date: |
Mon, 7 Jan 2019 15:55:50 +0000 |
On Mon, 7 Jan 2019 at 08:31, Nick Hudson <address@hidden> wrote:
>
>
> noload kernels are loaded with the u-boot image header and as a result
> the header size needs adding to the entry point. Fake up a hdr so the
> kernel image is loaded at the right address and the entry point is
> adjusted appropriately.
>
> The default location for the uboot file is 32MiB above bottom of DRAM.
> This matches the recommendation in Documentation/arm/Booting.
That avoids the bootloader-clash issue nicely.
> Clarify the load_uimage API to state the passing of a load address when an
> image doesn't specify one, or when loading a ramdisk is expected.
>
> Adjust callers of load_uimage, etc.
>
Applied to target-arm.next, thanks.
-- PMM