diff --git a/buildroot-external/board/ova/barebox.config b/buildroot-external/board/ova/barebox.config index 18bf0c4fa..407a3a162 100644 --- a/buildroot-external/board/ova/barebox.config +++ b/buildroot-external/board/ova/barebox.config @@ -3,13 +3,17 @@ CONFIG_PROMPT="hassio-os:" CONFIG_BLOCK=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y +CONFIG_PARTITION_DISK_EFI=y CONFIG_DEFAULT_COMPRESSION_LZ4=y CONFIG_STATE=y CONFIG_BOOTCHOOSER=y CONFIG_CLOCKSOURCE_EFI=y CONFIG_FS_EXT4=y -# CONFIG_FS_RAMFS is not set CONFIG_FS_FAT=y CONFIG_FS_SQUASHFS=y -CONFIG_ZLIB=y +CONFIG_FS_EFI=y +CONFIG_FS_EFIVARFS=y +CONFIG_FS_FAT=y +CONFIG_FS_FAT_WRITE=y +CONFIG_FS_FAT_LFN=y CONFIG_LZ4_DECOMPRESS=y diff --git a/buildroot-external/board/ova/genimage.config b/buildroot-external/board/ova/genimage.config new file mode 100644 index 000000000..8d6f27d7f --- /dev/null +++ b/buildroot-external/board/ova/genimage.config @@ -0,0 +1,54 @@ +image boot.vfat { + vfat { + files = { + "bzImage" + } + } + size = 64M +} + +image overlay.ext4 { + ext4 { + label = "overlay" + } + size = 128M +} + +image data.ext4 { + ext4 { + label = "data" + } + size = 128M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition root-a { + partition-type = 0x83 + image = "rootfs.squashfs" + size = 256M + } + + partition root-b { + partition-type = 0x83 + size = 256M + } + + partition overlay { + partition-type = 0x83 + image = "overlay.ext4" + } + + partition data { + partition-type = 0x83 + image = "data.ext4" + } +}