From 1afb5fc1f9e8580865755d4595bdc9a953722490 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 19 Mar 2018 17:01:17 +0100 Subject: [PATCH 1/2] Create genimage.config --- buildroot-external/board/ova/genimage.config | 54 ++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 buildroot-external/board/ova/genimage.config 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" + } +} From 2bb6f013be66d1bd4a3b0f794b3ee83f6cbad07c Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 19 Mar 2018 17:35:27 +0100 Subject: [PATCH 2/2] Update barebox.config --- buildroot-external/board/ova/barebox.config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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