kernel-fitimage: Let U-Boot select ramdisk load/entry address
PATCH 1/1 kernel-fitimage: Let U-Boot select ramdisk load/entry address
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.
--- meta/classes/kernel-fitimage.bbclass | 2 -- 1 file changed, 2 deletions(-)
meta/classes/kernel-fitimage.bbclass +0 -2
@@ -187,8 +187,6 @@ fitimage_emit_section_ramdisk() { arch = "${UBOOT_ARCH}"; os = "linux"; compression = "none"; - load = <${UBOOT_RD_LOADADDRESS}>; - entry = <${UBOOT_RD_ENTRYPOINT}>; hash@1 { algo = "${ramdisk_csum}"; };
Signature · 1 line
2.11.0.483.g087da7b7c-goog
Quoted 3 lines · Rick Altherr
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.
Signature · 1 line
Denys
Quoted 26 lines
Signed-off-by Rick Altherr <[email protected]>--- meta/classes/kernel-fitimage.bbclass | 2 -- 1 file changed, 2 deletions(-)meta/classes/kernel-fitimage.bbclass +0
-2@@ -187,8 +187,6 @@ fitimage_emit_section_ramdisk() { arch = "${UBOOT_ARCH}"; os = "linux"; compression = "none"; - load = <${UBOOT_RD_LOADADDRESS}>; - entry = <${UBOOT_RD_ENTRYPOINT}>; hash@1 { algo = "${ramdisk_csum}"; };Signature · 7 lines
2.11.0.483.g087da7b7c-goog -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 4 lines · Denys Dmytriyenko
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.
Would that be the same as Nathan's "kernel-fitimage.bbclass: Allow unset load/entry addresses for ramdisks"?
Ross
Ross and I were discussing that Nathan's patches in
http://lists.openembedded.org/pipermail/openembedded-core/2017-January/131012.html
are equivalent and were introduced first.
Quoted 16 lines · Ross
Quoted 6 lines · Denys Dmytriyenko
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.Would that be the same as Nathan's "kernel-fitimage.bbclass: Allow unset load/entry addresses for ramdisks"?
Ross
Quoted 9 lines · Ross
Quoted 4 lines · Denys Dmytriyenko
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.
Would that be the same as Nathan's "kernel-fitimage.bbclass: Allow unset load/entry addresses for ramdisks"?
Yeah, that one too, missed it... Been sitting there since October?
Signature · 1 line
Denys
Quoted 2 lines · Denys Dmytriyenko
Yeah, that one too, missed it... Been sitting there since October?
Nathan pinged earlier, it's in mut now and will be in master when RP has a moment. As you may have noticed, the recipe-specific-sysroots work is keeping him busy :)
Ross