From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 07 Sep 2022 15:26:23 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oVv4P-009dVz-NP for lore@lore.pengutronix.de; Wed, 07 Sep 2022 15:26:23 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oVv4Q-0007fs-LP; Wed, 07 Sep 2022 15:26:22 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVv4P-0007fe-9C; Wed, 07 Sep 2022 15:26:21 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oVv4O-00FXmw-Pr; Wed, 07 Sep 2022 15:26:20 +0200 Date: Wed, 7 Sep 2022 15:26:20 +0200 From: Robert Schwebel To: Jan Luebbe Message-ID: References: <20220907132343.3321447-1-jlu@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220907132343.3321447-1-jlu@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH 1/2] v7a/barebox: enable fastboot and mass storage gadget support X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Series applied to next On Wed, Sep 07, 2022 at 03:23:42PM +0200, Jan Luebbe wrote: > Signed-off-by: Jan Luebbe > --- > configs/platform-v7a/barebox.config | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config > index b7d48a39ac5f..688c914edaf2 100644 > --- a/configs/platform-v7a/barebox.config > +++ b/configs/platform-v7a/barebox.config > @@ -96,6 +96,7 @@ CONFIG_STDDEV=y > CONFIG_MENUTREE=y > CONFIG_USBGADGET_START=y > CONFIG_BOOT=y > +CONFIG_FASTBOOT_BASE=y > > # > # General Settings > @@ -170,7 +171,7 @@ CONFIG_BLSPEC=y > CONFIG_FLEXIBLE_BOOTARGS=y > # CONFIG_MMCBLKDEV_ROOTARG is not set > CONFIG_BAREBOX_UPDATE=y > -# CONFIG_SYSTEM_PARTITIONS is not set > +CONFIG_SYSTEM_PARTITIONS=y > CONFIG_IMD=y > CONFIG_CONSOLE_FULL=y > # CONFIG_CONSOLE_SIMPLE is not set > @@ -215,6 +216,13 @@ CONFIG_EXTERNAL_DTS_FRAGMENTS="" > # CONFIG_BOOTM_OPTEE is not set > # CONFIG_PBL_OPTEE is not set > # end of OP-TEE loading > + > +# > +# Android Fastboot > +# > +CONFIG_FASTBOOT_SPARSE=y > +CONFIG_FASTBOOT_CMD_OEM=y > +# end of Android Fastboot > # end of General Settings > > # > @@ -600,8 +608,8 @@ CONFIG_USB_GADGET_AUTOSTART=y > # > # CONFIG_USB_GADGET_DFU is not set > CONFIG_USB_GADGET_SERIAL=y > -# CONFIG_USB_GADGET_FASTBOOT is not set > -# CONFIG_USB_GADGET_MASS_STORAGE is not set > +CONFIG_USB_GADGET_FASTBOOT=y > +CONFIG_USB_GADGET_MASS_STORAGE=y > # CONFIG_USB_MUSB is not set > # CONFIG_VIDEO is not set > # CONFIG_SOUND is not set > @@ -874,6 +882,7 @@ CONFIG_PROCESS_ESCAPE_SEQUENCE=y > CONFIG_LZO_DECOMPRESS=y > CONFIG_FNMATCH=y > CONFIG_QSORT=y > +CONFIG_IMAGE_SPARSE=y > CONFIG_LIBFDT=y > # CONFIG_RATP is not set > # CONFIG_ALLOW_PRNG_FALLBACK is not set > -- > 2.30.2 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |