From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 07 Sep 2022 15:23:56 +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 1oVv23-009dPD-67 for lore@lore.pengutronix.de; Wed, 07 Sep 2022 15:23:56 +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 1oVv23-0007Ey-W8; Wed, 07 Sep 2022 15:23:56 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVv1x-0007E3-VP; Wed, 07 Sep 2022 15:23:50 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oVv1v-004Rx3-DM; Wed, 07 Sep 2022 15:23:49 +0200 Received: from jlu by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oVv1w-00Dw7M-8p; Wed, 07 Sep 2022 15:23:48 +0200 From: Jan Luebbe To: distrokit@pengutronix.de Date: Wed, 7 Sep 2022 15:23:42 +0200 Message-Id: <20220907132343.3321447-1-jlu@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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: Jan Luebbe 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 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