diff --git a/board/friendlyarm/nanopc-t4/genimage.cfg b/board/friendlyarm/nanopc-t4/genimage.cfg index b3202f75d4..e616be6349 100644 --- a/board/friendlyarm/nanopc-t4/genimage.cfg +++ b/board/friendlyarm/nanopc-t4/genimage.cfg @@ -1,39 +1,39 @@ image boot.vfat { - vfat { - files = { - "Image", - "rk3399-nanopc-t4.dtb", - "extlinux" - } - } - size = 64M + vfat { + files = { + "Image", + "rk3399-nanopc-t4.dtb", + "extlinux" + } + } + + size = 64M } image sdcard.img { + hdimage { + gpt = true + } - hdimage { - gpt = true - } + partition loader1 { + image = "idbloader.img" + offset = 32K + } - partition loader1 { - image = "idbloader.img" - offset = 32K - } + partition loader2 { + image = "u-boot.itb" + offset = 8M + } - partition loader2 { - image = "u-boot.itb" - offset = 8M - } + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 16M + } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } }