[U-Boot] [PATCH 3/6] cmd: Add 'load_android' command to load Android images.

Simon Glass sjg at chromium.org
Thu Apr 6 22:42:51 UTC 2017


Hi Alex,

On 2 April 2017 at 02:49, Alex Deymo <deymo at google.com> wrote:
> Android kernel images include a header that specifies addresses and
> kernel size. This patch adds a command to load these images from
> storage without specifying the size or address of them, and parsing
> them from the header instead.
> ---
>  cmd/Kconfig        |  9 +++++++++
>  cmd/Makefile       |  1 +
>  cmd/load_android.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 66 insertions(+)
>  create mode 100644 cmd/load_android.c

We normally use bootm for this. Can the header not be detected? If it
can be, you could use genimg_get_format() and avoid needing a new
command.

Regards,
SImon


More information about the U-Boot mailing list