summaryrefslogtreecommitdiffstats
path: root/doc/README.android-fastboot
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2015-03-11 10:02:31 -0700
committerLukasz Majewski <l.majewski@samsung.com>2015-04-14 10:19:04 +0200
commit8a41802f21cc270cb00ac7dc1263a4c136c9a31c (patch)
treed9249131c9e5e03a7787be821f8f67b3c0ea3239 /doc/README.android-fastboot
parent0a9ac5cb5e3c5a7f0c231432a0f7b690a03d8c8b (diff)
downloadblackbird-obmc-uboot-8a41802f21cc270cb00ac7dc1263a4c136c9a31c.tar.gz
blackbird-obmc-uboot-8a41802f21cc270cb00ac7dc1263a4c136c9a31c.zip
fastboot: check for alias when looking up partition by name
Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as "boot", "system" and "cache". Or, where the actual partition name doesn't match a standard partition name used commonly with fastboot. To set an alias, add an environment setting as follows: fastboot_partition_alias_<alias partition name>=<actual partition name> Example: fastboot_partition_alias_boot=LNX Signed-off-by: Michael Scott <michael.scott@linaro.org> Acked-by: Steve Rae <srae@broadcom.com> Cc: Steve Rae <srae@broadcom.com> Cc: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'doc/README.android-fastboot')
-rw-r--r--doc/README.android-fastboot9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.android-fastboot b/doc/README.android-fastboot
index 5526a4343c..04411e98bc 100644
--- a/doc/README.android-fastboot
+++ b/doc/README.android-fastboot
@@ -50,6 +50,15 @@ buffer should be as large as possible for a platform. The location of the
buffer and size are set with CONFIG_USB_FASTBOOT_BUF_ADDR and
CONFIG_USB_FASTBOOT_BUF_SIZE.
+Fastboot partition aliases can also be defined for devices where GPT
+limitations prevent user-friendly partition names such as "boot", "system"
+and "cache". Or, where the actual partition name doesn't match a standard
+partition name used commonly with fastboot. Current implentation checks
+aliases when accessing partitions by name (flash_write and erase functions).
+To define a partition alias add an environment variable similar to:
+fastboot_partition_alias_<alias partition name>=<actual partition name>
+Example: fastboot_partition_alias_boot=LNX
+
In Action
=========
Enter into fastboot by executing the fastboot command in u-boot and you
OpenPOWER on IntegriCloud