aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2022-01-07 17:39:13 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2022-01-20 09:50:54 +0100
commitb749d5ecdc066c70d20dc427de1a34d43aad557a (patch)
tree9c79c310b218553df6df55041cde055f54a5e6b4 /include/configs
parent25aff586f07a63b98f2192b7b8784553c09619cb (diff)
downloadu-boot-b749d5ecdc066c70d20dc427de1a34d43aad557a.zip
u-boot-b749d5ecdc066c70d20dc427de1a34d43aad557a.tar.gz
u-boot-b749d5ecdc066c70d20dc427de1a34d43aad557a.tar.bz2
configs: meson64_android: define raw parts for bootloader
Per the android documentation[1]: - the mmc2boot0 partition should be labeled "bootloader". - the mmc2boot1 partition should be labeled "bootenv". Also the u-boot documentation[2] refers to a BOOT1_OFFSET of 1 block. Define 2 raw partitions to store the bootloaders and the bootenv. [1] https://source.android.com/setup/build/devices#vim3-fastboot [2] https://u-boot.readthedocs.io/en/latest/board/amlogic/khadas-vim3l.html Suggested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20220107163913.3393563-1-mkorpershoek@baylibre.com Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/meson64_android.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h
index 0303d18..1266851 100644
--- a/include/configs/meson64_android.h
+++ b/include/configs/meson64_android.h
@@ -283,6 +283,8 @@
EXTRA_ANDROID_ENV_SETTINGS \
"partitions=" PARTS_DEFAULT "\0" \
"mmcdev=2\0" \
+ "fastboot_raw_partition_bootloader=0x1 0xfff mmcpart 1\0" \
+ "fastboot_raw_partition_bootenv=0x0 0xfff mmcpart 2\0" \
ANDROIDBOOT_GET_CURRENT_SLOT_CMD \
AVB_VERIFY_CMD \
"force_avb=0\0" \