From 5d825dd7bb33f30f9b19393467ff01fd9a5a13b2 Mon Sep 17 00:00:00 2001 From: Michel Stempin Date: Tue, 13 Oct 2020 13:38:30 +0200 Subject: [PATCH] add GPT support Signed-off-by: Michel Stempin --- FunKey/board/funkey/genimage.cfg | 8 ++++++++ FunKey/board/funkey/linux.config | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/FunKey/board/funkey/genimage.cfg b/FunKey/board/funkey/genimage.cfg index 93692e1..511d7fa 100644 --- a/FunKey/board/funkey/genimage.cfg +++ b/FunKey/board/funkey/genimage.cfg @@ -11,8 +11,16 @@ image boot.vfat { image sdcard.img { hdimage { + gpt = true + gpt-location = 800K # 688128 # 672K } +# partition gpt-header { +# in-partition-table = "no" +# offset = 1K +# size = 512 +# } + partition u-boot { in-partition-table = "no" image = "u-boot-sunxi-with-spl.bin" diff --git a/FunKey/board/funkey/linux.config b/FunKey/board/funkey/linux.config index e47d1ba..d1e3519 100644 --- a/FunKey/board/funkey/linux.config +++ b/FunKey/board/funkey/linux.config @@ -11,7 +11,7 @@ CONFIG_PERF_EVENTS=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_PARTITION_ADVANCED=y -# CONFIG_EFI_PARTITION is not set +# CONFIG_MSDOS_PARTITION is not set CONFIG_ARCH_SUNXI=y # CONFIG_MACH_SUN4I is not set # CONFIG_MACH_SUN5I is not set