add GPT support

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
This commit is contained in:
Michel Stempin 2020-10-13 13:38:30 +02:00
parent 14fb9f27c7
commit f43d9b7412
2 changed files with 9 additions and 1 deletions

View File

@ -11,8 +11,16 @@ image boot.vfat {
image sdcard.img { image sdcard.img {
hdimage { hdimage {
gpt = true
gpt-location = 800K # 688128 # 672K
} }
# partition gpt-header {
# in-partition-table = "no"
# offset = 1K
# size = 512
# }
partition u-boot { partition u-boot {
in-partition-table = "no" in-partition-table = "no"
image = "u-boot-sunxi-with-spl.bin" image = "u-boot-sunxi-with-spl.bin"

View File

@ -11,7 +11,7 @@ CONFIG_PERF_EVENTS=y
CONFIG_MODULES=y CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_UNLOAD=y
CONFIG_PARTITION_ADVANCED=y CONFIG_PARTITION_ADVANCED=y
# CONFIG_EFI_PARTITION is not set # CONFIG_MSDOS_PARTITION is not set
CONFIG_ARCH_SUNXI=y CONFIG_ARCH_SUNXI=y
# CONFIG_MACH_SUN4I is not set # CONFIG_MACH_SUN4I is not set
# CONFIG_MACH_SUN5I is not set # CONFIG_MACH_SUN5I is not set