[PATCH 03/10] Add a command to find a load address

Simon Glass sjg at chromium.org
Sun Dec 8 16:29:30 CET 2024


On Sat, 23 Nov 2024 at 12:57, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
>
> From: Matthew Garrett <mgarrett at aurora.tech>
>
> For systems with more complicated firmware, the firmware memory map may
> vary significantly based on a number of factors. This makes it difficult to
> pick a hardcoded load address. Add a command for finding an available
> address with sufficient room to load the provided path.
>
> Signed-off-by: Matthew Garrett <mgarrett at aurora.tech>
> ---
>
>  cmd/Kconfig     |  7 ++++
>  cmd/Makefile    |  1 +
>  cmd/addr_find.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 95 insertions(+)
>  create mode 100644 cmd/addr_find.c

Reviewed-by: Simon Glass <sjg at chromium.org>

(again, this needs doc/ and test/cmd/...)

>
Applied to ci/master, thanks!


More information about the U-Boot mailing list