summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFilip Brozovic <fbrozovic@gmail.com>2020-06-29 13:14:37 +0200
committerMarek Vasut <marex@denx.de>2020-09-01 14:47:43 +0200
commita17c0cb85e3abe8601efaadbb287116d1142fefd (patch)
treebc3db8e28e4492a464ac2697de90a949f93f2a9f /doc
parent1468a1cc72afa210c35a4d0ed533de29110de648 (diff)
fastboot: Support defining raw partitions without a partition table
Add support for defining raw fastboot partitions in eMMC by specifying the offset and size in an environment variable. Optionally, the eMMC hardware partition number may also be specified. This makes it possible to e.g. update only part of the eMMC boot partition, instead of having to write the entire partition. Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/android/fastboot.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/android/fastboot.rst b/doc/android/fastboot.rst
index de3f6c37d7..2877c3cbaa 100644
--- a/doc/android/fastboot.rst
+++ b/doc/android/fastboot.rst
@@ -85,6 +85,25 @@ for example::
fastboot_partition_alias_boot=LNX
+Raw partition descriptors
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+In cases where no partition table is present, a raw partition descriptor can be
+defined, specifying the offset, size, and optionally the MMC hardware partition
+number for a given partition name.
+
+This is useful when using fastboot to flash files (e.g. SPL or U-Boot) to a
+specific offset in the eMMC boot partition, without having to update the entire
+boot partition.
+
+To define a raw partition descriptor, add an environment variable similar to::
+
+ fastboot_raw_partition_<raw partition name>=<offset> <size> [mmcpart <num>]
+
+for example::
+
+ fastboot_raw_partition_boot=0x100 0x1f00 mmcpart 1
+
Variable overrides
^^^^^^^^^^^^^^^^^^