[U-Boot] [PATCH 11/13] sunxi: Add support for android boot image

Ian Campbell ijc at hellion.org.uk
Tue Sep 1 15:54:09 CEST 2015


On Tue, 2015-09-01 at 13:29 +0200, Maxime Ripard wrote:
> On Tue, Sep 01, 2015 at 11:46:05AM +0100, Ian Campbell wrote:
> > On Tue, 2015-09-01 at 11:00 +0200, Paul Kocialkowski wrote:
> > > Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit :
> > > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote:
> > > > > When using the fastboot boot command, the image sent to U-Boot 
> > > > > will 
> > > > > be an
> > > > > Android boot image. If the support is missing, that won't 
> > > > > obviously 
> > > > > work,
> > > > > so we need it in our configuration.
> > > > 
> > > > Dumb question: Is it possible to boot anything _other_ than an 
> > > > android
> > > > boot image via fastboot?
> > > > 
> > > > If not then one of the two config options really ought to imply the
> > > > other.
> > > 
> > > Well, those options have not been moved to Kconfig yet, but when they
> > > do, there should indeed be such a dependency.
> > > 
> > > Otherwise, I believe it still makes sense to have two separate 
> > > options
> > > because one might want Android boot image support without fastboot.
> > 
> > Then fastboot should depend on android boot image support but not vice
> > -versa.
> 
> Indeed, but it's not yet a Kconfig option.

I'm not sure that's a necessary prerequisite, in some common place do:

#if defined(CONFIG_CMD_FASTBOOT) && !defined(CONFIG_ANDROID_BOOT_IMAGE)
#define CONFIG_ANDROID_BOOT_IMAGE
#endif

Ian.


More information about the U-Boot mailing list