summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2022-09-07 15:23:42 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2022-09-07 15:25:50 +0200
commitcaf27bfb454f567f4f626e28ffc2df1ca8e8501e (patch)
tree5d28dd4839bfb7a1b9d50a4c47f24b28ed026248
parent695f831581406b27269d14ebd2bccf3cc66beaa9 (diff)
downloadDistroKit-caf27bfb454f567f4f626e28ffc2df1ca8e8501e.tar.gz
DistroKit-caf27bfb454f567f4f626e28ffc2df1ca8e8501e.tar.xz
v7a/barebox: enable fastboot and mass storage gadget support
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Link: https://lore.pengutronix.de/20220907132343.3321447-1-jlu@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--configs/platform-v7a/barebox.config15
1 files changed, 12 insertions, 3 deletions
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index b7d48a3..688c914 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