|
@@ -13,15 +13,17 @@ image boot.vfat {
|
|
|
|
|
|
image sdcard.img {
|
|
|
hdimage {
|
|
|
- # for root=PARTUUID=feedc0de-02 support
|
|
|
- disk-signature = 0xfeedc0de
|
|
|
+ # for root=PARTLABEL support
|
|
|
+ gpt = true
|
|
|
+ # default GPT location conflicts with spl, move it after
|
|
|
+ gpt-location = 1M
|
|
|
}
|
|
|
|
|
|
partition u-boot {
|
|
|
in-partition-table = "no"
|
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
|
offset = 8192
|
|
|
- size = 1040384 # 1MB - 8192
|
|
|
+ size = 1056768 # 1MB - 8192 + 16384 (GPT)
|
|
|
}
|
|
|
|
|
|
partition boot {
|
|
@@ -30,6 +32,8 @@ image sdcard.img {
|
|
|
image = "boot.vfat"
|
|
|
}
|
|
|
|
|
|
+ # 'rootfs' will be used as the partition label, used
|
|
|
+ # with root=PARTLABEL=rootfs kernel commadn line
|
|
|
partition rootfs {
|
|
|
partition-type = 0x83
|
|
|
image = "rootfs.ext4"
|