[OE-core] [PATCH] kernel-fitimage: Let U-Boot select ramdisk load/entry address
Denys Dmytriyenko
denis at denix.org
Thu Jan 19 17:37:00 UTC 2017
On Thu, Jan 19, 2017 at 08:58:03AM -0800, Rick Altherr wrote:
> If the ramdisk load and entry parameters are omitted in the FIT image
> specification, U-Boot will determine if the ramdisk needs to be
> relocated and will automatically allocate a location in RAM if so.
Sometimes it's useful to load ramdisk in a specific location. Your patch
unconditionally removes this support, which is not a desired change. I have
a patch queued up to do it conditionally, which I'll try to submit shortly.
--
Denys
> Signed-off-by: Rick Altherr <raltherr at google.com>
> ---
> meta/classes/kernel-fitimage.bbclass | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
> index 2934b3a31a..ee721d1fff 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -187,8 +187,6 @@ fitimage_emit_section_ramdisk() {
> arch = "${UBOOT_ARCH}";
> os = "linux";
> compression = "none";
> - load = <${UBOOT_RD_LOADADDRESS}>;
> - entry = <${UBOOT_RD_ENTRYPOINT}>;
> hash at 1 {
> algo = "${ramdisk_csum}";
> };
> --
> 2.11.0.483.g087da7b7c-goog
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list