# Image for SD card boot on Atmel SAMA5D2 Xplained boards
#
image boot.vfat {
	vfat {
		files = {
			"zImage",
			"at91-sama5d2_xplained.dtb",
			"at91-sama5d2_xplained_pda4.dtb",
			"at91-sama5d2_xplained_pda7.dtb",
			"at91-sama5d2_xplained_pda7b.dtb",
			"boot.bin",
			"u-boot.bin"
		}
	}
	size = 16M
}

image sdcard.img {
	hdimage {
	}

	partition boot {
		partition-type = 0xC
		bootable = "true"
		image = "boot.vfat"
		offset = 1M
	}

	partition rootfs {
		partition-type = 0x83
		image = "rootfs.ext4"
		size = 512M
	}
}
