[PATCH 1/1] arm: add Android boot image support
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 12 06:01:09 EDT 2012
On Wed, Apr 11, 2012 at 07:42:34AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> The Android Image contains 3 components and params
>
> - kernel
> - initrd
> - second stage (optional)
>
> - tags addr
> - bootargs
>
> In fast boot the initrd is mandatory, in barebox we are less restrictive
> use the initrd only if present
>
> add to env params:
> image_noverwrite_bootargs
> Disable overwrite of the bootargs with the one present in aimage
>
> aimage_noverwrite_tags
> Disable overwrite of the tags addr with the one present in aimage
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Magnus Damm <magnus.damm at gmail.com>
> ---
> arch/arm/lib/bootm.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++
> commands/Kconfig | 7 +++
> include/aimage.h | 74 +++++++++++++++++++++++++
> 3 files changed, 228 insertions(+), 0 deletions(-)
> create mode 100644 include/aimage.h
>
> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
Can we have this in a seperate file? You made Android support optional
already and support is only registered when the option is enabled, but
the code is compiled even without the option.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list