From b2f6b97b78b47362c74f2fbe59c1f4f390cb458f Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Wed, 27 Jan 2021 14:46:48 +0100 Subject: fastboot: add command to select the default emmc hwpart for boot Add fastboot command oem partconf which executes the command ``mmc partconf 0`` on the current mmc device to configure the eMMC boot partition with : boot_ack boot_partition, so the command is: $> fastboot oem partconf: The partition_access argument is forced to 0 (userdata) Signed-off-by: Patrick Delaunay [lukma - Kconfig adjustments after merging this patch] --- doc/android/fastboot.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/android/fastboot.rst') diff --git a/doc/android/fastboot.rst b/doc/android/fastboot.rst index 2877c3cbaa..d8cb64261c 100644 --- a/doc/android/fastboot.rst +++ b/doc/android/fastboot.rst @@ -23,6 +23,8 @@ The current implementation supports the following standard commands: The following OEM commands are supported (if enabled): - ``oem format`` - this executes ``gpt write mmc %x $partitions`` +- ``oem partconf`` - this executes ``mmc partconf %x 0`` to configure eMMC + with = boot_ack boot_partition Support for both eMMC and NAND devices is included. -- cgit v1.2.3