software =
{
	version = "1.0.1";
	hardware-compatibility: [ "encrypt" ];
	description = "Quasar firmware update";

	images: (
		{
			name = "rootfs";
			filename = "rootfs.ubifs";
			sha256 = "04c864c7eaa40fa5fe722ec4cf5dfb5cea2e0cc935b6c1092f5c9b8d034a1e3f";
			volume = "rootfs";
		},

		{
			name = "boot";
			filename = "boot.img.encrypt";
			sha256 = "691c58a0d4acfea41921d5b2eefd8320882faf80e75429932c0c8ddb9be335d3";
			device = "/dev/mtd2";
			type = "flash";
		},

		{
			name = "dtb";
			filename = "dt.img.encrypt";
			sha256 = "1c3c6963aee018158cb9ca09ec0397cc42c883cdfa5be2d8f257ac0ce8399beb";
			device = "/dev/dtb";
		}
	);

	files: (
		{
			name = "bootloader";
			filename = "u-boot.bin.encrypt.usb.bl2";
			sha256 = "837f206f6d90363d9e3acfa63a94659d92e514374a5466ef5a64eb607c7c245b";
			path = "/tmp/u-boot.bin.encrypt.usb.bl2";
		},

		{
			name = "tpl";
			filename = "u-boot.bin.encrypt.usb.tpl";
			sha256 = "f2aa5795b0e8626c75e7eef7fec8a84fe3e55ff92892ae2f800ba54c42dcf4e3";
			path = "/tmp/u-boot.bin.encrypt.usb.tpl";
		}
	);

	scripts: (
		{
			name = "tpl";
			filename = "flash-nand-copies.sh";
			sha256 = "d82ef6f4388caa06a1052114871c9e424384cb81a0826ab23190d1113471f96a";
			data = "/tmp/u-boot.bin.encrypt.usb.tpl /dev/mtd1 3M 0";
			type = "shellscript";
		},

		{
			name = "bootloader";
			filename = "flash-nand-copies.sh";
			sha256 = "d82ef6f4388caa06a1052114871c9e424384cb81a0826ab23190d1113471f96a";
			data = "/tmp/u-boot.bin.encrypt.usb.bl2 /dev/mtd0 0x80000 0x100000 0x180000 0x200000 0x280000 0x300000 0x380000 0";
			type = "shellscript";
		},
	);
}

