DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Jan Luebbe <jlu@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [DistroKit] [PATCH 1/2] v7a/barebox: enable fastboot and mass storage gadget support
Date: Wed,  7 Sep 2022 15:23:42 +0200	[thread overview]
Message-ID: <20220907132343.3321447-1-jlu@pengutronix.de> (raw)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 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




             reply	other threads:[~2022-09-07 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07 13:23 Jan Luebbe [this message]
2022-09-07 13:23 ` [DistroKit] [PATCH 2/2] v7a: barebox: update diffs with enabled fastboot and mass storage gadget Jan Luebbe
2022-09-07 13:26 ` [DistroKit] [PATCH 1/2] v7a/barebox: enable fastboot and mass storage gadget support Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220907132343.3321447-1-jlu@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox