aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>2015-04-16 23:51:09 +0800
committerFathi Boudra <fathi.boudra@linaro.org>2015-05-07 09:51:02 +0300
commite9c31ef7daf440d2af7925d20b3392d1f8580543 (patch)
tree05b9d66256595190c50eec18973bfa810aecd536 /linaro_image_tools/media_create
parent91cbefa95502a1236e1c52d0248c97e7ea803fb4 (diff)
downloadlinaro-image-tools-e9c31ef7daf440d2af7925d20b3392d1f8580543.tar.gz
boards.py: Fix GPT table type when using reserved-boot-root partition layout.
The vfat partition type have to be EF00 because in partitions.py, partition.getFlagsAsString() returns 'boot' only when the type is EF00. Use 0C00 will cause partitions.py crash because no boot partition can be found. Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Diffstat (limited to 'linaro_image_tools/media_create')
-rw-r--r--linaro_image_tools/media_create/boards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro_image_tools/media_create/boards.py b/linaro_image_tools/media_create/boards.py
index 3b3c87d..629b119 100644
--- a/linaro_image_tools/media_create/boards.py
+++ b/linaro_image_tools/media_create/boards.py
@@ -542,7 +542,7 @@ class BoardConfig(object):
(loader_start, loader_len, boot_start, boot_len,
root_start) = self.get_reserved_params(should_align_boot_part)
return '-n 1:%s:%s -t 1:DA00 ' \
- '-n 2:%s:%s -t 2:0C00 ' \
+ '-n 2:%s:%s -t 2:EF00 ' \
'-n 3:%s:- -t 3:8300' % (
loader_start, loader_len, boot_start, boot_len, root_start)